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 ¶
NewCmdStorageCreate implements the odo storage create command.
func NewCmdStorageDelete ¶
NewCmdStorageDelete implements the odo storage delete command.
func NewCmdStorageList ¶
NewCmdStorageList implements the odo storage list command.
func NewCmdStorageMount ¶
NewCmdStorageMount implements the odo storage mount command.
func NewCmdStorageUnMount ¶
NewCmdStorageUnMount implements the odo storage unmount command.
Types ¶
type StorageCreateOptions ¶
type StorageCreateOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageCreateOptions ¶
func NewStorageCreateOptions() *StorageCreateOptions
NewStorageCreateOptions creates a new StorageCreateOptions instance
func (*StorageCreateOptions) Complete ¶
Complete completes StorageCreateOptions after they've been created
func (*StorageCreateOptions) Run ¶
func (o *StorageCreateOptions) Run() (err error)
Run contains the logic for the odo storage create command
func (*StorageCreateOptions) Validate ¶
func (o *StorageCreateOptions) Validate() (err error)
Validate validates the StorageCreateOptions based on completed values
type StorageDeleteOptions ¶
type StorageDeleteOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageDeleteOptions ¶
func NewStorageDeleteOptions() *StorageDeleteOptions
NewStorageDeleteOptions creates a new StorageDeleteOptions instance
func (*StorageDeleteOptions) Complete ¶
Complete completes StorageDeleteOptions after they've been created
func (*StorageDeleteOptions) Run ¶
func (o *StorageDeleteOptions) Run() (err error)
Run contains the logic for the odo storage delete command
func (*StorageDeleteOptions) Validate ¶
func (o *StorageDeleteOptions) Validate() (err error)
Validate validates the StorageDeleteOptions based on completed values
type StorageListOptions ¶
type StorageListOptions struct { *genericclioptions.Context parser.DevfileObj // contains filtered or unexported fields }
func NewStorageListOptions ¶
func NewStorageListOptions() *StorageListOptions
NewStorageListOptions creates a new StorageListOptions instance
func (*StorageListOptions) Complete ¶
Complete completes StorageListOptions after they've been created
func (*StorageListOptions) Run ¶
func (o *StorageListOptions) Run() (err error)
func (*StorageListOptions) Validate ¶
func (o *StorageListOptions) Validate() (err error)
Validate validates the StorageListOptions based on completed values
type StorageMountOptions ¶
type StorageMountOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageMountOptions ¶
func NewStorageMountOptions() *StorageMountOptions
NewStorageMountOptions creates a new StorageMountOptions instance
func (*StorageMountOptions) Complete ¶
Complete completes StorageMountOptions after they've been created
func (*StorageMountOptions) Run ¶
func (o *StorageMountOptions) Run() (err error)
Run contains the logic for the odo storage mount command
func (*StorageMountOptions) Validate ¶
func (o *StorageMountOptions) Validate() (err error)
Validate validates the StorageMountOptions based on completed values
type StorageUnMountOptions ¶
type StorageUnMountOptions struct { *genericclioptions.Context // contains filtered or unexported fields }
func NewStorageUnMountOptions ¶
func NewStorageUnMountOptions() *StorageUnMountOptions
NewStorageUnMountOptions creates a new StorageUnMountOptions instance
func (*StorageUnMountOptions) Complete ¶
func (o *StorageUnMountOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)
Complete completes StorageUnMountOptions after they've been created
func (*StorageUnMountOptions) Run ¶
func (o *StorageUnMountOptions) Run() (err error)
Run contains the logic for the odo storage unmount command
func (*StorageUnMountOptions) Validate ¶
func (o *StorageUnMountOptions) Validate() (err error)
Validate validates the StorageUnMountOptions based on completed values