package
3.16.1+incompatible
Repository: https://github.com/redhat-developer/odo.git
Documentation: pkg.go.dev
# Functions
ConvertListLocalToMachine converts storage config list to StorageList type.
ListStorage gets all the storage from the devfile.yaml.
NewClient gets the appropriate Storage client based on the parameters.
NewMockClient creates a new mock instance.
NewStorage returns an instance of Storage storagePath indicates the path to which the storage is mounted to, "" if not mounted.
NewStorageList returns an instance of a list containning the `items` storages.
NewStorageWithContainer returns an instance of Storage with container specified storagePath indicates the path to which the storage is mounted to, "" if not mounted.
Push creates and deletes the required persistent storages and returns the list of ephemeral storages it compares the local storage against the storage on the cluster.
# Constants
DefaultVolumeSize Default volume size for volumes defined in a devfile.
OdoSourceVolume is the constant containing the name of the emptyDir volume containing the project source.
OdoSourceVolumeSize specifies size for odo source volume.
SharedDataMountPath The Mount Path for the container mounting the odo volume.
SharedDataVolumeName is the constant containing the name of the emptyDir volume containing shared data for odo.
StateTypeLocallyDeleted means that Storage was deleted from the local config, but it is still present on the cluster.
StateTypeNotPushed means that Storage is only in local config, but not on the cluster.
StateTypePushed means that Storage is present both locally and on cluster.
No description provided by the author
# Structs
No description provided by the author
LocalStorage holds storage related information.
MockClient is a mock of Client interface.
MockClientMockRecorder is the mock recorder for MockClient.
Storage holds the information about storage attached to the component.
StorageList is a list of storages.
StorageSpec indicates size and path of storage.
# Interfaces
No description provided by the author
# Type aliases
StorageState.