Documentation ¶
Index ¶
- type AccountBaseOptions
- func (o *AccountBaseOptions) AddFlags(cmd *cobra.Command)
- func (o *AccountBaseOptions) Complete(f cmdutil.Factory) error
- func (o *AccountBaseOptions) Do() (lorryutil.SQLChannelResponse, error)
- func (o *AccountBaseOptions) Run(cmd *cobra.Command, f cmdutil.Factory, streams genericiooptions.IOStreams) error
- func (o *AccountBaseOptions) Validate(args []string) error
- type CreateUserOptions
- type DeleteUserOptions
- type DescribeUserOptions
- type GrantOptions
- type ListUserOptions
Constants ¶
This section is empty.
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{} *exec.ExecOptions }
func NewAccountBaseOptions ¶
func NewAccountBaseOptions(f cmdutil.Factory, streams genericiooptions.IOStreams, op lorryutil.OperationKind) *AccountBaseOptions
func (*AccountBaseOptions) AddFlags ¶
func (o *AccountBaseOptions) AddFlags(cmd *cobra.Command)
func (*AccountBaseOptions) Complete ¶
func (o *AccountBaseOptions) Complete(f cmdutil.Factory) error
func (*AccountBaseOptions) Do ¶
func (o *AccountBaseOptions) Do() (lorryutil.SQLChannelResponse, error)
func (*AccountBaseOptions) Run ¶
func (o *AccountBaseOptions) Run(cmd *cobra.Command, f cmdutil.Factory, streams genericiooptions.IOStreams) error
func (*AccountBaseOptions) Validate ¶
func (o *AccountBaseOptions) Validate(args []string) error
type CreateUserOptions ¶
type CreateUserOptions struct { *AccountBaseOptions // contains filtered or unexported fields }
func NewCreateUserOptions ¶
func NewCreateUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *CreateUserOptions
func (*CreateUserOptions) AddFlags ¶
func (o *CreateUserOptions) AddFlags(cmd *cobra.Command)
func (CreateUserOptions) Validate ¶
func (o CreateUserOptions) Validate(args []string) error
type DeleteUserOptions ¶
type DeleteUserOptions struct { *AccountBaseOptions AutoApprove bool // contains filtered or unexported fields }
func NewDeleteUserOptions ¶
func NewDeleteUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *DeleteUserOptions
func (*DeleteUserOptions) AddFlags ¶
func (o *DeleteUserOptions) AddFlags(cmd *cobra.Command)
func (*DeleteUserOptions) Validate ¶
func (o *DeleteUserOptions) Validate(args []string) error
type DescribeUserOptions ¶
type DescribeUserOptions struct { *AccountBaseOptions // contains filtered or unexported fields }
func NewDescribeUserOptions ¶
func NewDescribeUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *DescribeUserOptions
func (*DescribeUserOptions) AddFlags ¶
func (o *DescribeUserOptions) AddFlags(cmd *cobra.Command)
func (*DescribeUserOptions) Complete ¶
func (o *DescribeUserOptions) Complete(f cmdutil.Factory) error
func (DescribeUserOptions) Validate ¶
func (o DescribeUserOptions) Validate(args []string) error
type GrantOptions ¶
type GrantOptions struct { *AccountBaseOptions // contains filtered or unexported fields }
func NewGrantOptions ¶
func NewGrantOptions(f cmdutil.Factory, streams genericiooptions.IOStreams, op lorryutil.OperationKind) *GrantOptions
func (*GrantOptions) AddFlags ¶
func (o *GrantOptions) AddFlags(cmd *cobra.Command)
func (*GrantOptions) Validate ¶
func (o *GrantOptions) Validate(args []string) error
type ListUserOptions ¶
type ListUserOptions struct {
*AccountBaseOptions
}
func NewListUserOptions ¶
func NewListUserOptions(f cmdutil.Factory, streams genericiooptions.IOStreams) *ListUserOptions
func (ListUserOptions) Validate ¶
func (o ListUserOptions) Validate(args []string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.