Categorygithub.com/ryankwilliams/ocm-toolbox
modulepackage
0.0.0-20240428233033-611634df9b50
Repository: https://github.com/ryankwilliams/ocm-toolbox.git
Documentation: pkg.go.dev

# 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
  1. Container image
podman run ghcr.io/ryankwilliams/ocm-toolbox:main --help
  1. 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.

ocm-toolbox --help

Examples

  1. List cluster details
ocm-toolbox cluster-details
  1. Get cluster credentials
ocm-toolbox cluster-credentials --cluster-id <CLUSTER_ID>
  1. Update cluster expiration timestamp
ocm-toolbox set-cluster-expiration --cluster-id <CLUSTER_ID> \
--duration 60

# Packages

No description provided by the author
No description provided by the author