user

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(cmd *cobra.Command, o *cmdutil.CliOptions)

func CreateCmd added in v0.8.0

func CreateCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command

func DeleteCmd added in v0.8.0

func DeleteCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command

func GetCmd added in v0.8.0

func GetCmd(cmd *cobra.Command, cliOpt *cmdutil.CliOptions) *cobra.Command

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

func (*CreateOption) RunE added in v0.8.0

func (o *CreateOption) RunE(cmd *cobra.Command, args []string) error

func (*CreateOption) Validate added in v0.8.0

func (o *CreateOption) Validate(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

func (*DeleteOption) RunE added in v0.8.0

func (o *DeleteOption) RunE(cmd *cobra.Command, args []string) error

func (*DeleteOption) Validate added in v0.8.0

func (o *DeleteOption) Validate(cmd *cobra.Command, args []string) error

type GetOption added in v0.8.0

type GetOption struct {
	*cmdutil.CliOptions
}

func (*GetOption) Complete added in v0.8.0

func (o *GetOption) Complete(cmd *cobra.Command, args []string) error

func (*GetOption) PreRunE added in v0.8.0

func (o *GetOption) PreRunE(cmd *cobra.Command, args []string) error

func (*GetOption) RunE added in v0.8.0

func (o *GetOption) RunE(cmd *cobra.Command, args []string) error

func (*GetOption) Validate added in v0.8.0

func (o *GetOption) Validate(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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