Documentation ¶
Index ¶
- Constants
- type Controller
- func (c *Controller) CreateVolume(ctx *c.Context, in *model.VolumeSpec) (*model.VolumeSpec, error)
- func (c *Controller) CreateVolumeAttachment(ctx *c.Context, in *model.VolumeAttachmentSpec) (*model.VolumeAttachmentSpec, error)
- func (c *Controller) CreateVolumeSnapshot(ctx *c.Context, in *model.VolumeSnapshotSpec) (*model.VolumeSnapshotSpec, error)
- func (c *Controller) DeleteVolume(ctx *c.Context, in *model.VolumeSpec) error
- func (c *Controller) DeleteVolumeAttachment(ctx *c.Context, in *model.VolumeAttachmentSpec) error
- func (c *Controller) DeleteVolumeSnapshot(ctx *c.Context, in *model.VolumeSnapshotSpec) error
- func (c *Controller) ExtendVolume(ctx *c.Context, in *model.VolumeSpec) (*model.VolumeSpec, error)
- func (c *Controller) UpdateVolumeAttachment(in *model.VolumeAttachmentSpec) (*model.VolumeAttachmentSpec, error)
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(ctx *c.Context, in *model.VolumeSpec) (*model.VolumeSpec, error)
func (*Controller) CreateVolumeAttachment ¶
func (c *Controller) CreateVolumeAttachment(ctx *c.Context, in *model.VolumeAttachmentSpec) (*model.VolumeAttachmentSpec, error)
func (*Controller) CreateVolumeSnapshot ¶
func (c *Controller) CreateVolumeSnapshot(ctx *c.Context, in *model.VolumeSnapshotSpec) (*model.VolumeSnapshotSpec, error)
func (*Controller) DeleteVolume ¶
func (c *Controller) DeleteVolume(ctx *c.Context, in *model.VolumeSpec) error
func (*Controller) DeleteVolumeAttachment ¶
func (c *Controller) DeleteVolumeAttachment(ctx *c.Context, in *model.VolumeAttachmentSpec) error
func (*Controller) DeleteVolumeSnapshot ¶
func (c *Controller) DeleteVolumeSnapshot(ctx *c.Context, in *model.VolumeSnapshotSpec) error
func (*Controller) ExtendVolume ¶ added in v0.1.1
func (c *Controller) ExtendVolume(ctx *c.Context, in *model.VolumeSpec) (*model.VolumeSpec, error)
ExtendVolume ...
func (*Controller) UpdateVolumeAttachment ¶
func (c *Controller) UpdateVolumeAttachment(in *model.VolumeAttachmentSpec) (*model.VolumeAttachmentSpec, error)
Click to show internal directories.
Click to hide internal directories.