Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryankwilliams/ocm-toolbox
Collection of command line tools to help with day to day tasks while working with OCM
https://github.com/ryankwilliams/ocm-toolbox
Last synced: 10 days ago
JSON representation
Collection of command line tools to help with day to day tasks while working with OCM
- Host: GitHub
- URL: https://github.com/ryankwilliams/ocm-toolbox
- Owner: ryankwilliams
- License: gpl-3.0
- Created: 2022-11-10T21:34:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T23:30:33.000Z (7 months ago)
- Last Synced: 2024-06-20T12:04:02.941Z (5 months ago)
- Language: Go
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OCM Toolbox (ocm-toolbox)
Command line utility to help with day to day tasks when working with
OCM (OpenShift Cluster Manager).## Install
You can install/run `ocm-toolbox` by any of the following methods:
1. Go install
```
go install github.com/ryankwilliams/ocm-toolbox@main
```2. Container image
```
podman run ghcr.io/ryankwilliams/ocm-toolbox:main --help
```3. Build binary
```
make build
./out/ocm-toolbox
```## Usage
Different sub-commands exist within `ocm-toolbox`. Each sub-command will
have different options and a help menu.```shell
ocm-toolbox --help
```### Examples
1. List cluster details
```shell
ocm-toolbox cluster-details
```2. Get cluster credentials
```shell
ocm-toolbox cluster-credentials --cluster-id
```3. Update cluster expiration timestamp
```shell
ocm-toolbox set-cluster-expiration --cluster-id \
--duration 60
```