onexctl

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package onexctl provides the functions used by the onexctl command line tool under github.com/superproj/onex/internal/onexctl/cmd. The functions are kept in this package to better support unit testing. The main() method for onexctl is only an entry point and should contain no functionality.

Index

Constants

View Source
const (
	// TableWidth defines the table width for 'github.com/olekukonko/tablewriter'.
	TableWidth = 50
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
Package cmd create a root cobra command and add subcommands to it.
Package cmd create a root cobra command and add subcommands to it.
color
Package color print colors supported by the current terminal.
Package color print colors supported by the current terminal.
info
Package info print the host information.
Package info print the host information.
jwt
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
Package jwt can be used to sign/show/verify jwt token with given secretID and secretKey.
minerset
Package minerset provides functions to manage minersets on onex platform.
Package minerset provides functions to manage minersets on onex platform.
new
Package used to generate demo command code.
Package used to generate demo command code.
options
Package options print a list of global command-line options (applies to all commands).
Package options print a list of global command-line options (applies to all commands).
secret
Package secret provides functions to manage secrets on onex platform.
Package secret provides functions to manage secrets on onex platform.
user
Package user provides functions to manage users on onex cloud platform.
Package user provides functions to manage users on onex cloud platform.
validate
Package validate is used to validate the basic environment for onexctl to run.
Package validate is used to validate the basic environment for onexctl to run.
version
Package version print the client and server version information.
Package version print the client and server version information.
interrupt
Package interrupt deal with signals.
Package interrupt deal with signals.
templates
Package templates provides template functions for working with templates.
Package templates provides template functions for working with templates.
term
Package term provides structures and helper functions to work with terminal (state, sizes).
Package term provides structures and helper functions to work with terminal (state, sizes).

Jump to

Keyboard shortcuts

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