Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MayaInterface ¶
type MayaInterface interface {
GetMayaClusterIP(kubernetes.Interface) (string, error)
}
MayaInterface interface to hold maya specific methods
type OpenEBSVolume ¶
type OpenEBSVolume struct{}
OpenEBSVolume struct
func (OpenEBSVolume) CreateVolume ¶
func (v OpenEBSVolume) CreateVolume(vs mayav1.VolumeSpec) (string, error)
CreateVolume to create the Vsm through a API call to m-apiserver
func (OpenEBSVolume) DeleteVolume ¶
func (v OpenEBSVolume) DeleteVolume(vname string) error
DeleteVolume to get delete Vsm through a API call to m-apiserver
func (OpenEBSVolume) GetMayaClusterIP ¶
func (v OpenEBSVolume) GetMayaClusterIP(client kubernetes.Interface) (string, error)
GetMayaClusterIP returns maya-apiserver IP address
func (OpenEBSVolume) ListVolume ¶
func (v OpenEBSVolume) ListVolume(vname string, obj interface{}) error
ListVolume to get the info of Vsm through a API call to m-apiserver
type OpenEBSVolumeInterface ¶
type OpenEBSVolumeInterface interface { CreateVolume(mayav1.VolumeSpec) (string, error) ListVolume(string, interface{}) error DeleteVolume(string) error }
OpenEBSVolumeInterface Interface to bind methods
Click to show internal directories.
Click to hide internal directories.