ocm-toolbox

command module
v0.0.0-...-5fcc6a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg
ocm

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL