Documentation ¶
Overview ¶
Package iamctl provides the functions used by the iamctl command line tool under github.com/marmotedu/iam/cmd. The functions are kept in this package to better support unit testing. The main() method for iamctl 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 |
---|---|
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. |
completion
Package completion output shell completion code for the specified shell (bash or zsh).
|
Package completion output shell completion code for the specified shell (bash or zsh). |
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. |
new
Package new used to generate demo command code.
|
Package new 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). |
policy
Package policy provides functions to manage authorization policies on iam platform.
|
Package policy provides functions to manage authorization policies on iam platform. |
secret
Package secret provides functions to manage secrets on iam platform.
|
Package secret provides functions to manage secrets on iam platform. |
set
Package set used to set specific features on objects.
|
Package set used to set specific features on objects. |
user
Package user provides functions to manage users on iam platform.
|
Package user provides functions to manage users on iam platform. |
validate
Package validate validate the basic environment for iamctl to run.
|
Package validate validate the basic environment for iamctl to run. |
version
Package version print the client and server version information.
|
Package version print the client and server version information. |
util
|
|
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). |
Click to show internal directories.
Click to hide internal directories.