accounts

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ComponentStatusDefaultPodName = "Unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountBaseOptions

type AccountBaseOptions struct {
	ClusterName   string
	CharType      string
	ComponentName string
	PodName       string
	Pod           *corev1.Pod
	Verbose       bool
	AccountOp     lorryutil.OperationKind
	RequestMeta   map[string]interface{}
	*action.ExecOptions
}

func (*AccountBaseOptions) AddFlags

func (o *AccountBaseOptions) AddFlags(cmd *cobra.Command)

func (*AccountBaseOptions) Complete

func (o *AccountBaseOptions) Complete() error

func (*AccountBaseOptions) Validate

func (o *AccountBaseOptions) Validate(args []string) error

type CreateUserOptions

type CreateUserOptions struct {
	*AccountBaseOptions
	UserName string
	Password string
}

func NewCreateUserOptions

func NewCreateUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *CreateUserOptions

func (*CreateUserOptions) AddFlags

func (o *CreateUserOptions) AddFlags(cmd *cobra.Command)

func (*CreateUserOptions) Complete

func (o *CreateUserOptions) Complete() error

func (*CreateUserOptions) Exec added in v0.7.3

func (o *CreateUserOptions) Exec() error

func (*CreateUserOptions) Run

func (o *CreateUserOptions) Run() error

func (*CreateUserOptions) Validate

func (o *CreateUserOptions) Validate() error

type DeleteUserOptions

type DeleteUserOptions struct {
	*AccountBaseOptions
	AutoApprove bool
	UserName    string
}

func NewDeleteUserOptions

func NewDeleteUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *DeleteUserOptions

func (*DeleteUserOptions) AddFlags

func (o *DeleteUserOptions) AddFlags(cmd *cobra.Command)

func (*DeleteUserOptions) Complete

func (o *DeleteUserOptions) Complete() error

func (*DeleteUserOptions) Exec added in v0.7.3

func (o *DeleteUserOptions) Exec() error

func (*DeleteUserOptions) Run

func (o *DeleteUserOptions) Run() error

func (*DeleteUserOptions) Validate

func (o *DeleteUserOptions) Validate() error

type DescribeUserOptions

type DescribeUserOptions struct {
	*AccountBaseOptions
	UserName string
	User     map[string]interface{}
}

func (*DescribeUserOptions) AddFlags

func (o *DescribeUserOptions) AddFlags(cmd *cobra.Command)

func (*DescribeUserOptions) Complete

func (o *DescribeUserOptions) Complete() error

func (*DescribeUserOptions) Exec added in v0.7.3

func (o *DescribeUserOptions) Exec() error

func (*DescribeUserOptions) Run

func (o *DescribeUserOptions) Run() error

func (DescribeUserOptions) Validate

func (o DescribeUserOptions) Validate() error

type GrantOptions

type GrantOptions struct {
	*AccountBaseOptions
	UserName string
	RoleName string
}

func NewGrantOptions

func NewGrantOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *GrantOptions

func (*GrantOptions) AddFlags

func (o *GrantOptions) AddFlags(cmd *cobra.Command)

func (*GrantOptions) Complete

func (o *GrantOptions) Complete() error

func (*GrantOptions) Exec added in v0.7.3

func (o *GrantOptions) Exec() error

func (*GrantOptions) Run

func (o *GrantOptions) Run() error

func (*GrantOptions) Validate

func (o *GrantOptions) Validate() error

type ListUserOptions

type ListUserOptions struct {
	*AccountBaseOptions
	UsersInfo []map[string]interface{}
}

func NewListUserOptions

func NewListUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *ListUserOptions

func (*ListUserOptions) Complete

func (o *ListUserOptions) Complete() error

func (*ListUserOptions) Exec added in v0.7.3

func (o *ListUserOptions) Exec() error

func (*ListUserOptions) Run

func (o *ListUserOptions) Run() error

func (ListUserOptions) Validate

func (o ListUserOptions) Validate(args []string) error

type RevokeOptions

type RevokeOptions struct {
	*AccountBaseOptions
	// contains filtered or unexported fields
}

func NewRevokeOptions

func NewRevokeOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *RevokeOptions

func (*RevokeOptions) AddFlags

func (o *RevokeOptions) AddFlags(cmd *cobra.Command)

func (*RevokeOptions) Complete

func (o *RevokeOptions) Complete(f cmdutil.Factory) error

func (*RevokeOptions) Run

func (*RevokeOptions) Validate

func (o *RevokeOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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