v1

package
v4.0.0-beta+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2018 License: Apache-2.0, Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL