Documentation
¶
Index ¶
Constants ¶
View Source
const (
NodeVolumeStatusStage string = "stage"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerVolume ¶
type ControllerVolume struct { ID string `yaml:"id" json:"id"` Name string `yaml:"name" json:"name"` RootPath string `yaml:"root_path" json:"root_path"` Path string `yaml:"path" json:"path"` ConnectionInfo *irods.IRODSFSConnectionInfo `yaml:"connection_info" json:"connection_info"` RetainData bool `yaml:"retain_data" json:"retain_data"` }
ControllerVolume class, used by controller to track created volumes
type ControllerVolumeManager ¶
type ControllerVolumeManager struct {
// contains filtered or unexported fields
}
ControllerVolumeManager manages controller volumes
func NewControllerVolumeManager ¶
func NewControllerVolumeManager(encryptKey string, saveDirPath string) (*ControllerVolumeManager, error)
NewControllerVolumeManager creates ControllerVolumeManager
func (*ControllerVolumeManager) Check ¶
func (manager *ControllerVolumeManager) Check(id string) bool
Check returns presence of ControllerVolume with given id
func (*ControllerVolumeManager) Get ¶
func (manager *ControllerVolumeManager) Get(id string) *ControllerVolume
Get returns the volume with given id
func (*ControllerVolumeManager) Pop ¶
func (manager *ControllerVolumeManager) Pop(id string) (*ControllerVolume, error)
Pop returns ControllerVolume with given id and delete
func (*ControllerVolumeManager) Put ¶
func (manager *ControllerVolumeManager) Put(volume *ControllerVolume) error
Put puts a volume
type NodeVolume ¶
type NodeVolume struct { ID string `yaml:"id" json:"id"` StagingMountPath string `yaml:"staging_mount_path" json:"staging_mount_path"` MountPath string `yaml:"mount_path" json:"mount_path"` StagingMountOptions []string `yaml:"staging_mount_options" json:"staging_mount_options"` MountOptions []string `yaml:"mount_options" json:"mount_options"` ClientType string `yaml:"client_type" json:"client_type"` ClientConfig map[string]string `yaml:"client_config" json:"client_config"` DynamicVolumeProvisioning bool `yaml:"dynamic_volume_provisioning" json:"dynamic_volume_provisioning"` StageVolume bool `yaml:"stage_volume" json:"stage_volume"` }
NodeVolume class, used by node to track created volumes
type NodeVolumeManager ¶
type NodeVolumeManager struct {
// contains filtered or unexported fields
}
NodeVolumeManager manages node volumes
func NewNodeVolumeManager ¶
func NewNodeVolumeManager(encryptKey string, saveDirPath string) (*NodeVolumeManager, error)
NewNodeVolumeManager creates ControllerVolumeManager
func (*NodeVolumeManager) Check ¶
func (manager *NodeVolumeManager) Check(id string) bool
Check returns presence of NodeVolume with given id
func (*NodeVolumeManager) Get ¶
func (manager *NodeVolumeManager) Get(id string) *NodeVolume
Get returns the volume with given id
func (*NodeVolumeManager) Pop ¶
func (manager *NodeVolumeManager) Pop(id string) (*NodeVolume, error)
Pop returns NodeVolume with given id and delete
func (*NodeVolumeManager) Put ¶
func (manager *NodeVolumeManager) Put(volume *NodeVolume) error
Put puts a volume
type NodeVolumeStatus ¶ added in v0.9.2
type NodeVolumeStatus string
Click to show internal directories.
Click to hide internal directories.