controller

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CREATE_LIFECIRCLE_FLAG = iota + 1
	GET_LIFECIRCLE_FLAG
	LIST_LIFECIRCLE_FLAG
	DELETE_LIFECIRCLE_FLAG
	EXTEND_LIFECIRCLE_FLAG
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}
var Brain *Controller

func NewController

func NewController() *Controller

func (*Controller) CreateVolume

func (c *Controller) CreateVolume(in *model.VolumeSpec) (*model.VolumeSpec, error)

func (*Controller) CreateVolumeAttachment

func (c *Controller) CreateVolumeAttachment(in *model.VolumeAttachmentSpec) (*model.VolumeAttachmentSpec, error)

func (*Controller) CreateVolumeSnapshot

func (c *Controller) CreateVolumeSnapshot(in *model.VolumeSnapshotSpec) (*model.VolumeSnapshotSpec, error)

func (*Controller) DeleteVolume

func (c *Controller) DeleteVolume(in *model.VolumeSpec) error

func (*Controller) DeleteVolumeAttachment

func (c *Controller) DeleteVolumeAttachment(in *model.VolumeAttachmentSpec) error

func (*Controller) DeleteVolumeSnapshot

func (c *Controller) DeleteVolumeSnapshot(in *model.VolumeSnapshotSpec) error

func (*Controller) ExtendVolume added in v0.1.1

func (c *Controller) ExtendVolume(in *model.VolumeSpec) (*model.VolumeSpec, error)

ExtendVolume ...

func (*Controller) UpdateVolumeAttachment

func (c *Controller) UpdateVolumeAttachment(in *model.VolumeAttachmentSpec) (*model.VolumeAttachmentSpec, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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