Documentation ¶
Index ¶
- Constants
- func DoVolumeActivate(volume model.Volume, storagePool model.StoragePool, ...) error
- func DoVolumeRemove(volume model.Volume, storagePool model.StoragePool, ...) error
- func IsRancher(volume model.Volume) (bool, error)
- func IsRancherVolume(volume model.Volume) (bool, error)
- func IsVolumeActive(volume model.Volume, storagePool model.StoragePool, ...) (bool, error)
- func IsVolumeRemoved(volume model.Volume, storagePool model.StoragePool, client *engineCli.Client) (bool, error)
- func VolumeActivateDocker(volume model.Volume, storagePool model.StoragePool, ...) error
- func VolumeActivateFlex(volume model.Volume) error
- func VolumeRemoveDocker(volume model.Volume, storagePool model.StoragePool, ...) error
- func VolumeRemoveFlex(volume model.Volume) error
- type Capability
- type Response
- type Volume
Constants ¶
View Source
const ( Create = "Create" Remove = "Remove" Attach = "Attach" Mount = "Mount" Path = "Path" Unmount = "Unmount" Get = "Get" List = "List" Capabilities = "Capabilities" )
Variables ¶
This section is empty.
Functions ¶
func DoVolumeActivate ¶
func DoVolumeRemove ¶
func IsRancherVolume ¶ added in v0.8.3
IsRancherVolume checks if a volume to be considered as a flex volume if it is in rancherDrivers and the capability is flex raise an error if its rancher-managed driver but the socket file is not available
func IsVolumeActive ¶
func IsVolumeRemoved ¶
func VolumeActivateDocker ¶ added in v0.11.21
func VolumeActivateFlex ¶ added in v0.11.21
func VolumeRemoveDocker ¶ added in v0.11.21
func VolumeRemoveFlex ¶ added in v0.11.21
Types ¶
type Capability ¶ added in v0.11.21
type Capability struct {
Scope string
}
Capability represents the list of capabilities a volume driver can return
Click to show internal directories.
Click to hide internal directories.