Documentation ¶
Index ¶
- type CASVolume
- func (v CASVolume) CreateSnapshot(castype, volName, snapName, namespace string) (string, error)
- func (v CASVolume) CreateVolume(vol v1alpha1.CASVolume) error
- func (v CASVolume) DeleteSnapshot(castype, volName, snapName, namespace string) (string, error)
- func (v CASVolume) DeleteVolume(vname string, namespace string) error
- func (v CASVolume) GetMayaClusterIP(client kubernetes.Interface) (string, error)
- func (v CASVolume) ListSnapshot(volName string, snapname string, namespace string, obj interface{}) error
- func (v CASVolume) ReadVolume(vname, namespace, storageclass string, obj interface{}) error
- func (v CASVolume) SnapshotInfo(volName string, snapName string) (string, error)
- type CASVolumeInterface
- type Creater
- type Deleter
- type Reader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CASVolume ¶
type CASVolume struct{}
CASVolume struct
func (CASVolume) CreateSnapshot ¶
CreateSnapshot to create the Vsm through a API call to m-apiserver
func (CASVolume) CreateVolume ¶
CreateVolume to create the CAS volume through a API call to m-apiserver
func (CASVolume) DeleteSnapshot ¶
func (CASVolume) DeleteVolume ¶
DeleteVolume to get delete CAS volume through a API call to m-apiserver
func (CASVolume) GetMayaClusterIP ¶
func (v CASVolume) GetMayaClusterIP(client kubernetes.Interface) (string, error)
GetMayaClusterIP returns maya-apiserver IP address
func (CASVolume) ListSnapshot ¶
func (v CASVolume) ListSnapshot(volName string, snapname string, namespace string, obj interface{}) error
ListVolume to get the info of Vsm through a API call to m-apiserver
func (CASVolume) ReadVolume ¶
ReadVolume to get the info of CAS volume through a API call to m-apiserver
type CASVolumeInterface ¶
CASVolumeInterface Interface CAS volume operations
Click to show internal directories.
Click to hide internal directories.