Documentation ¶
Index ¶
- func AddCommand(cmd *cobra.Command, o *cmdutil.CliOptions)
- func CreateCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command
- func DeleteCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command
- func GetCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command
- type CreateOption
- type DeleteOption
- type GetOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommand ¶
func AddCommand(cmd *cobra.Command, o *cmdutil.CliOptions)
Types ¶
type CreateOption ¶ added in v0.8.0
type CreateOption struct { *cmdutil.CliOptions UserName string DisplayName string Roles []string AuthType string Admin bool Addons []string ClusterAddons []string // contains filtered or unexported fields }
func (*CreateOption) Complete ¶ added in v0.8.0
func (o *CreateOption) Complete(cmd *cobra.Command, args []string) error
func (*CreateOption) PreRunE ¶ added in v0.8.0
func (o *CreateOption) PreRunE(cmd *cobra.Command, args []string) error
type DeleteOption ¶ added in v0.8.0
type DeleteOption struct { *cmdutil.CliOptions UserName string }
func (*DeleteOption) Complete ¶ added in v0.8.0
func (o *DeleteOption) Complete(cmd *cobra.Command, args []string) error
func (*DeleteOption) PreRunE ¶ added in v0.8.0
func (o *DeleteOption) PreRunE(cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.