Documentation ¶
Index ¶
- Constants
- func NewCmdStorage(name, fullName string) *cobra.Command
- func NewCmdStorageCreate(name, fullName string) *cobra.Command
- func NewCmdStorageDelete(name, fullName string) *cobra.Command
- func NewCmdStorageList(name, fullName string) *cobra.Command
- func NewCmdStorageMount(name, fullName string) *cobra.Command
- func NewCmdStorageUnMount(name, fullName string) *cobra.Command
- type StorageCreateOptions
- type StorageDeleteOptions
- type StorageListOptions
- type StorageMountOptions
- type StorageUnMountOptions
Constants ¶
const RecommendedCommandName = "storage"
RecommendedCommandName is the recommended command name
Variables ¶
This section is empty.
Functions ¶
func NewCmdStorage ¶
NewCmdStorage implements the odo storage command
func NewCmdStorageCreate ¶ added in v0.0.19
NewCmdStorageCreate implements the odo storage create command.
func NewCmdStorageDelete ¶ added in v0.0.19
NewCmdStorageDelete implements the odo storage delete command.
func NewCmdStorageList ¶ added in v0.0.19
NewCmdStorageList implements the odo storage list command.
func NewCmdStorageMount ¶ added in v0.0.19
NewCmdStorageMount implements the odo storage mount command.
func NewCmdStorageUnMount ¶ added in v0.0.19
NewCmdStorageUnMount implements the odo storage unmount command.
Types ¶
type StorageCreateOptions ¶ added in v0.0.19
type StorageCreateOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageCreateOptions ¶ added in v0.0.19
func NewStorageCreateOptions() *StorageCreateOptions
NewStorageCreateOptions creates a new StorageCreateOptions instance
func (*StorageCreateOptions) Complete ¶ added in v0.0.19
Complete completes StorageCreateOptions after they've been created
func (*StorageCreateOptions) Run ¶ added in v0.0.19
func (o *StorageCreateOptions) Run() (err error)
Run contains the logic for the odo storage create command
func (*StorageCreateOptions) Validate ¶ added in v0.0.19
func (o *StorageCreateOptions) Validate() (err error)
Validate validates the StorageCreateOptions based on completed values
type StorageDeleteOptions ¶ added in v0.0.19
type StorageDeleteOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageDeleteOptions ¶ added in v0.0.19
func NewStorageDeleteOptions() *StorageDeleteOptions
NewStorageDeleteOptions creates a new StorageDeleteOptions instance
func (*StorageDeleteOptions) Complete ¶ added in v0.0.19
Complete completes StorageDeleteOptions after they've been created
func (*StorageDeleteOptions) Run ¶ added in v0.0.19
func (o *StorageDeleteOptions) Run() (err error)
Run contains the logic for the odo storage delete command
func (*StorageDeleteOptions) Validate ¶ added in v0.0.19
func (o *StorageDeleteOptions) Validate() (err error)
Validate validates the StorageDeleteOptions based on completed values
type StorageListOptions ¶ added in v0.0.19
type StorageListOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageListOptions ¶ added in v0.0.19
func NewStorageListOptions() *StorageListOptions
NewStorageListOptions creates a new StorageListOptions instance
func (*StorageListOptions) Complete ¶ added in v0.0.19
Complete completes StorageListOptions after they've been created
func (*StorageListOptions) Run ¶ added in v0.0.19
func (o *StorageListOptions) Run() (err error)
func (*StorageListOptions) Validate ¶ added in v0.0.19
func (o *StorageListOptions) Validate() (err error)
Validate validates the StorageListOptions based on completed values
type StorageMountOptions ¶ added in v0.0.19
type StorageMountOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageMountOptions ¶ added in v0.0.19
func NewStorageMountOptions() *StorageMountOptions
NewStorageMountOptions creates a new StorageMountOptions instance
func (*StorageMountOptions) Complete ¶ added in v0.0.19
Complete completes StorageMountOptions after they've been created
func (*StorageMountOptions) Run ¶ added in v0.0.19
func (o *StorageMountOptions) Run() (err error)
Run contains the logic for the odo storage mount command
func (*StorageMountOptions) Validate ¶ added in v0.0.19
func (o *StorageMountOptions) Validate() (err error)
Validate validates the StorageMountOptions based on completed values
type StorageUnMountOptions ¶ added in v0.0.19
type StorageUnMountOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageUnMountOptions ¶ added in v0.0.19
func NewStorageUnMountOptions() *StorageUnMountOptions
NewStorageUnMountOptions creates a new StorageUnMountOptions instance
func (*StorageUnMountOptions) Complete ¶ added in v0.0.19
func (o *StorageUnMountOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)
Complete completes StorageUnMountOptions after they've been created
func (*StorageUnMountOptions) Run ¶ added in v0.0.19
func (o *StorageUnMountOptions) Run() (err error)
Run contains the logic for the odo storage unmount command
func (*StorageUnMountOptions) Validate ¶ added in v0.0.19
func (o *StorageUnMountOptions) Validate() (err error)
Validate validates the StorageUnMountOptions based on completed values