Documentation
¶
Index ¶
- func Execute()
- func GenerateCommandDocs(cmd *cobra.Command, commandsToDocument map[string]DocumentedCmd, ...) error
- func NewBundleCmd() *cobra.Command
- func NewInspectBundleCmd() *cobra.Command
- func NewInspectJWTCmd() *cobra.Command
- func NewInspectX509Cmd() *cobra.Command
- func NewJWTSVIDCmd() *cobra.Command
- func NewVerifyJWTSVIDCmd() *cobra.Command
- func NewVerifyX509Cmd() *cobra.Command
- func NewVerifyX509SVIDCmd() *cobra.Command
- func NewWatchBundleCmd() *cobra.Command
- func NewWatchJWTSVIDCmd() *cobra.Command
- func NewWatchX509SVIDCmd() *cobra.Command
- func NewX509SVIDCmd() *cobra.Command
- func SetVersionInfo(v, c, d string)
- type DocumentedCmd
- type Options
- type PromptUIPrompter
- type Prompter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GenerateCommandDocs ¶
func NewBundleCmd ¶
func NewInspectBundleCmd ¶
func NewInspectJWTCmd ¶
func NewInspectX509Cmd ¶
func NewJWTSVIDCmd ¶
func NewVerifyJWTSVIDCmd ¶
func NewVerifyX509Cmd ¶
func NewVerifyX509SVIDCmd ¶
func NewWatchBundleCmd ¶
NewWatchBundleCmd returns the `watch bundle` subcommand.
func NewWatchJWTSVIDCmd ¶
NewWatchJWTSVIDCmd returns the `watch jwt-svid` subcommand.
func NewWatchX509SVIDCmd ¶
NewWatchX509SVIDCmd returns the `watch x509-svid` subcommand.
func NewX509SVIDCmd ¶
func SetVersionInfo ¶ added in v0.1.1
func SetVersionInfo(v, c, d string)
SetVersionInfo wires build-time version details into the root command, enabling the --version flag. Empty arguments are ignored so callers can pass through unset ldflags without clobbering the defaults.
Types ¶
type DocumentedCmd ¶
type DocumentedCmd struct {
SidebarPosition int
SubCommands map[string]DocumentedCmd
// contains filtered or unexported fields
}
type PromptUIPrompter ¶
type PromptUIPrompter struct{}
func NewPromptUIPrompter ¶
func NewPromptUIPrompter() *PromptUIPrompter
Click to show internal directories.
Click to hide internal directories.