Documentation
¶
Index ¶
- func NewCmdToken(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewCmdTokenCreate(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewCmdTokenDelete(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- func NewCmdTokenList(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- type CreateOptions
- type DeleteOptions
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdToken ¶
NewCmdToken returns the `echoctl token` command group
func NewCmdTokenCreate ¶
NewCmdTokenCreate returns a cobra command for creating bootstrap tokens.
func NewCmdTokenDelete ¶
NewCmdTokenDelete returns a cobra command for deleting a bootstrap token.
func NewCmdTokenList ¶
NewCmdTokenList returns a cobra command for listing bootstrap tokens.
Types ¶
type CreateOptions ¶
type CreateOptions struct {
AdminToken string
TTL string
MaxUsages int32
Description string
genericclioptions.IOStreams
// contains filtered or unexported fields
}
CreateOptions holds options for the token create command.
func (*CreateOptions) Validate ¶
func (o *CreateOptions) Validate() error
type DeleteOptions ¶
type DeleteOptions struct {
AdminToken string
TokenID string
genericclioptions.IOStreams
// contains filtered or unexported fields
}
DeleteOptions holds options for the token delete command.
func (*DeleteOptions) Validate ¶
func (o *DeleteOptions) Validate() error
type ListOptions ¶
type ListOptions struct {
AdminToken string
genericclioptions.IOStreams
// contains filtered or unexported fields
}
ListOptions holds options for the token list command.
func (*ListOptions) Validate ¶
func (o *ListOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.