storage

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const RecommendedCommandName = "storage"

RecommendedCommandName is the recommended command name

Variables

This section is empty.

Functions

func NewCmdStorage

func NewCmdStorage(name, fullName string) *cobra.Command

NewCmdStorage implements the odo storage command

func NewCmdStorageCreate

func NewCmdStorageCreate(name, fullName string) *cobra.Command

NewCmdStorageCreate implements the odo storage create command.

func NewCmdStorageDelete

func NewCmdStorageDelete(name, fullName string) *cobra.Command

NewCmdStorageDelete implements the odo storage delete command.

func NewCmdStorageList

func NewCmdStorageList(name, fullName string) *cobra.Command

NewCmdStorageList implements the odo storage list command.

func NewCmdStorageMount

func NewCmdStorageMount(name, fullName string) *cobra.Command

NewCmdStorageMount implements the odo storage mount command.

func NewCmdStorageUnMount

func NewCmdStorageUnMount(name, fullName string) *cobra.Command

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

func (o *StorageCreateOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

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

func (o *StorageDeleteOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

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

func (o *StorageListOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

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

func (o *StorageMountOptions) Complete(name string, cmd *cobra.Command, args []string) (err error)

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

Jump to

Keyboard shortcuts

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