Documentation ¶
Index ¶
- type VolumeManager
- func (vm *VolumeManager) Attach(image, pool, id, key, clusterNamespace string) (string, error)
- func (vm *VolumeManager) Detach(image, pool, id, key, clusterNamespace string, force bool) error
- func (vm *VolumeManager) Expand(image, pool, clusterNamespace string, size uint64) error
- func (vm *VolumeManager) Init() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolumeManager ¶
type VolumeManager struct {
// contains filtered or unexported fields
}
VolumeManager represents an object for perform volume attachment requests for Ceph volumes
func NewVolumeManager ¶
func NewVolumeManager(context *clusterd.Context) (*VolumeManager, error)
NewVolumeManager create attacher for ceph volumes
func (*VolumeManager) Attach ¶
func (vm *VolumeManager) Attach(image, pool, id, key, clusterNamespace string) (string, error)
Attach a ceph image to the node
func (*VolumeManager) Detach ¶
func (vm *VolumeManager) Detach(image, pool, id, key, clusterNamespace string, force bool) error
Detach the volume
Click to show internal directories.
Click to hide internal directories.