storageprovisioner

package
v0.0.0-...-2608902 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageProvisionerAPI

type StorageProvisionerAPI struct {
	*common.LifeGetter
	*common.DeadEnsurer
	*common.ModelWatcher
	*common.InstanceIdGetter
	*common.StatusSetter
	// contains filtered or unexported fields
}

StorageProvisionerAPI provides access to the Provisioner API facade.

func NewStorageProvisionerAPI

func NewStorageProvisionerAPI(st *state.State, resources *common.Resources, authorizer common.Authorizer) (*StorageProvisionerAPI, error)

NewStorageProvisionerAPI creates a new server-side StorageProvisionerAPI facade.

func (*StorageProvisionerAPI) AttachmentLife

AttachmentLife returns the lifecycle state of each specified machine storage attachment.

func (*StorageProvisionerAPI) FilesystemAttachmentParams

FilesystemAttachmentParams returns the parameters for creating the filesystem attachments with the specified IDs.

func (*StorageProvisionerAPI) FilesystemAttachments

FilesystemAttachments returns details of filesystem attachments with the specified IDs.

func (*StorageProvisionerAPI) FilesystemParams

FilesystemParams returns the parameters for creating the filesystems with the specified tags.

func (*StorageProvisionerAPI) Filesystems

Filesystems returns details of filesystems with the specified tags.

func (*StorageProvisionerAPI) Remove

Remove removes volumes and filesystems from state.

func (*StorageProvisionerAPI) RemoveAttachment

RemoveAttachments removes the specified machine storage attachments from state.

func (*StorageProvisionerAPI) SetFilesystemAttachmentInfo

func (s *StorageProvisionerAPI) SetFilesystemAttachmentInfo(
	args params.FilesystemAttachments,
) (params.ErrorResults, error)

SetFilesystemAttachmentInfo records the details of newly provisioned filesystem attachments.

func (*StorageProvisionerAPI) SetFilesystemInfo

func (s *StorageProvisionerAPI) SetFilesystemInfo(args params.Filesystems) (params.ErrorResults, error)

SetFilesystemInfo records the details of newly provisioned filesystems.

func (*StorageProvisionerAPI) SetVolumeAttachmentInfo

func (s *StorageProvisionerAPI) SetVolumeAttachmentInfo(
	args params.VolumeAttachments,
) (params.ErrorResults, error)

SetVolumeAttachmentInfo records the details of newly provisioned volume attachments.

func (*StorageProvisionerAPI) SetVolumeInfo

func (s *StorageProvisionerAPI) SetVolumeInfo(args params.Volumes) (params.ErrorResults, error)

SetVolumeInfo records the details of newly provisioned volumes.

func (*StorageProvisionerAPI) VolumeAttachmentParams

VolumeAttachmentParams returns the parameters for creating the volume attachments with the specified IDs.

func (*StorageProvisionerAPI) VolumeAttachments

VolumeAttachments returns details of volume attachments with the specified IDs.

func (*StorageProvisionerAPI) VolumeBlockDevices

VolumeBlockDevices returns details of the block devices corresponding to the volume attachments with the specified IDs.

func (*StorageProvisionerAPI) VolumeParams

VolumeParams returns the parameters for creating or destroying the volumes with the specified tags.

func (*StorageProvisionerAPI) Volumes

Volumes returns details of volumes with the specified tags.

func (*StorageProvisionerAPI) WatchBlockDevices

func (s *StorageProvisionerAPI) WatchBlockDevices(args params.Entities) (params.NotifyWatchResults, error)

WatchBlockDevices watches for changes to the specified machines' block devices.

func (*StorageProvisionerAPI) WatchFilesystemAttachments

func (s *StorageProvisionerAPI) WatchFilesystemAttachments(args params.Entities) (params.MachineStorageIdsWatchResults, error)

WatchFilesystemAttachments watches for changes to filesystem attachments scoped to the entity with the tag passed to NewState.

func (*StorageProvisionerAPI) WatchFilesystems

WatchFilesystems watches for changes to filesystems scoped to the entity with the tag passed to NewState.

func (*StorageProvisionerAPI) WatchMachines

WatchMachines watches for changes to the specified machines.

func (*StorageProvisionerAPI) WatchVolumeAttachments

WatchVolumeAttachments watches for changes to volume attachments scoped to the entity with the tag passed to NewState.

func (*StorageProvisionerAPI) WatchVolumes

WatchVolumes watches for changes to volumes scoped to the entity with the tag passed to NewState.

Jump to

Keyboard shortcuts

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