Documentation ¶
Index ¶
- func NewCommand(f client.Factory) *cobra.Command
- func NewCreateCommand(f client.Factory, use string) *cobra.Command
- func NewGetCommand(f client.Factory, use string) *cobra.Command
- func NewSetCommand(f client.Factory, use string) *cobra.Command
- type CreateOptions
- func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
- func (o *CreateOptions) BuildVolumeSnapshotLocation(namespace string) *api.VolumeSnapshotLocation
- func (o *CreateOptions) Complete(args []string, f client.Factory) error
- func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error
- func (o *CreateOptions) Validate(c *cobra.Command, args []string, f client.Factory) error
- type SetOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOptions ¶
type CreateOptions struct { Name string Provider string Config flag.Map Labels flag.Map Credential flag.Map }
func NewCreateOptions ¶
func NewCreateOptions() *CreateOptions
func (*CreateOptions) BindFlags ¶
func (o *CreateOptions) BindFlags(flags *pflag.FlagSet)
func (*CreateOptions) BuildVolumeSnapshotLocation ¶ added in v1.10.0
func (o *CreateOptions) BuildVolumeSnapshotLocation(namespace string) *api.VolumeSnapshotLocation
type SetOptions ¶ added in v1.6.0
func NewSetOptions ¶ added in v1.6.0
func NewSetOptions() *SetOptions
func (*SetOptions) BindFlags ¶ added in v1.6.0
func (o *SetOptions) BindFlags(flags *pflag.FlagSet)
func (*SetOptions) Complete ¶ added in v1.6.0
func (o *SetOptions) Complete(args []string, f client.Factory) error
Click to show internal directories.
Click to hide internal directories.