Versions in this module Expand all Collapse all v1 v1.2.6 Aug 31, 2020 Changes in this version + const StateTypeLocallyDeleted + const StateTypeNotPushed + const StateTypePushed + func Create(client *occlient.Client, name string, size string, componentName string, ...) (*corev1.PersistentVolumeClaim, error) + func Delete(client *occlient.Client, name string) error + func Exists(client *occlient.Client, storageName string, applicationName string) (bool, error) + func GetComponentNameFromStorageName(client *occlient.Client, storageName string) (string, error) + func GetStorageNameFromMountPath(client *occlient.Client, path string, componentName string, ...) (string, error) + func IsMounted(client *occlient.Client, storageName string, componentName string, ...) (bool, error) + func MachineReadableSuccessOutput(storageName string, message string) + func Mount(client *occlient.Client, path string, storageName string, componentName string, ...) error + func Push(client *occlient.Client, storageList StorageList, ...) (map[string]*corev1.PersistentVolumeClaim, map[string]string, error) + func Unmount(client *occlient.Client, storageName string, componentName string, ...) error + type Storage struct + Spec StorageSpec + Status StorageStatus + func GetMachineFormatWithContainer(storageName, storageSize, storagePath string, container string) Storage + func GetMachineReadableFormat(storageName, storageSize, storagePath string) Storage + type StorageList struct + Items []Storage + func ConvertListLocalToMachine(storageListConfig []config.ComponentStorageSettings) StorageList + func DevfileList(kClient *kclient.Client, devfileData data.DevfileData, componentName string) (StorageList, error) + func GetMachineReadableFormatForList(storage []Storage) StorageList + func List(client *occlient.Client, componentName string, applicationName string) (StorageList, error) + func ListMounted(client *occlient.Client, componentName string, applicationName string) (StorageList, error) + func ListStorageWithState(client *occlient.Client, localConfig *config.LocalConfigInfo, ...) (StorageList, error) + func ListUnmounted(client *occlient.Client, applicationName string) (StorageList, error) + func (storages StorageList) Get(storageName string) Storage + type StorageSpec struct + ContainerName string + Path string + Size string + type StorageStatus string