Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSupportedComponents ¶
func GetSupportedComponents(data versions.DevfileData) []common.DevfileComponent
GetSupportedComponents iterates through the components in the devfile and returns a list of odo supported components
Types ¶
type AdapterContext ¶
type AdapterContext struct { ComponentName string // ComponentName is the odo component name, it is NOT related to any devfile components Devfile devfile.DevfileObj // Devfile is the object returned by the Devfile parser }
AdapterContext is a construct that is common to all adapters
type ComponentAdapter ¶
type ComponentAdapter interface {
Create() error
}
ComponentAdapter defines the component functions that platform-specific adapters must implement
type DevfileVolume ¶
DevfileVolume is a struct for Devfile volume that is common to all the adapters
type Storage ¶
type Storage struct { Name string Volume DevfileVolume }
Storage is a struct that is common to all the adapters
type StorageAdapter ¶
StorageAdapter defines the storage functions that platform-specific adapters must implement
Click to show internal directories.
Click to hide internal directories.