Documentation ¶
Index ¶
- type StorageProvisionerAPI
- func (s *StorageProvisionerAPI) AttachmentLife(args params.MachineStorageIds) (params.LifeResults, error)
- func (s *StorageProvisionerAPI) FilesystemAttachmentParams(args params.MachineStorageIds) (params.FilesystemAttachmentParamsResults, error)
- func (s *StorageProvisionerAPI) FilesystemAttachments(args params.MachineStorageIds) (params.FilesystemAttachmentResults, error)
- func (s *StorageProvisionerAPI) FilesystemParams(args params.Entities) (params.FilesystemParamsResults, error)
- func (s *StorageProvisionerAPI) Filesystems(args params.Entities) (params.FilesystemResults, error)
- func (s *StorageProvisionerAPI) Remove(args params.Entities) (params.ErrorResults, error)
- func (s *StorageProvisionerAPI) RemoveAttachment(args params.MachineStorageIds) (params.ErrorResults, error)
- func (s *StorageProvisionerAPI) SetFilesystemAttachmentInfo(args params.FilesystemAttachments) (params.ErrorResults, error)
- func (s *StorageProvisionerAPI) SetFilesystemInfo(args params.Filesystems) (params.ErrorResults, error)
- func (s *StorageProvisionerAPI) SetVolumeAttachmentInfo(args params.VolumeAttachments) (params.ErrorResults, error)
- func (s *StorageProvisionerAPI) SetVolumeInfo(args params.Volumes) (params.ErrorResults, error)
- func (s *StorageProvisionerAPI) VolumeAttachmentParams(args params.MachineStorageIds) (params.VolumeAttachmentParamsResults, error)
- func (s *StorageProvisionerAPI) VolumeAttachments(args params.MachineStorageIds) (params.VolumeAttachmentResults, error)
- func (s *StorageProvisionerAPI) VolumeBlockDevices(args params.MachineStorageIds) (params.BlockDeviceResults, error)
- func (s *StorageProvisionerAPI) VolumeParams(args params.Entities) (params.VolumeParamsResults, error)
- func (s *StorageProvisionerAPI) Volumes(args params.Entities) (params.VolumeResults, error)
- func (s *StorageProvisionerAPI) WatchBlockDevices(args params.Entities) (params.NotifyWatchResults, error)
- func (s *StorageProvisionerAPI) WatchFilesystemAttachments(args params.Entities) (params.MachineStorageIdsWatchResults, error)
- func (s *StorageProvisionerAPI) WatchFilesystems(args params.Entities) (params.StringsWatchResults, error)
- func (s *StorageProvisionerAPI) WatchMachines(args params.Entities) (params.NotifyWatchResults, error)
- func (s *StorageProvisionerAPI) WatchVolumeAttachments(args params.Entities) (params.MachineStorageIdsWatchResults, error)
- func (s *StorageProvisionerAPI) WatchVolumes(args params.Entities) (params.StringsWatchResults, error)
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.EnvironWatcher *common.InstanceIdGetter // 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 ¶
func (s *StorageProvisionerAPI) AttachmentLife(args params.MachineStorageIds) (params.LifeResults, error)
AttachmentLife returns the lifecycle state of each specified machine storage attachment.
func (*StorageProvisionerAPI) FilesystemAttachmentParams ¶
func (s *StorageProvisionerAPI) FilesystemAttachmentParams( args params.MachineStorageIds, ) (params.FilesystemAttachmentParamsResults, error)
FilesystemAttachmentParams returns the parameters for creating the filesystem attachments with the specified IDs.
func (*StorageProvisionerAPI) FilesystemAttachments ¶
func (s *StorageProvisionerAPI) FilesystemAttachments(args params.MachineStorageIds) (params.FilesystemAttachmentResults, error)
FilesystemAttachments returns details of filesystem attachments with the specified IDs.
func (*StorageProvisionerAPI) FilesystemParams ¶
func (s *StorageProvisionerAPI) FilesystemParams(args params.Entities) (params.FilesystemParamsResults, error)
FilesystemParams returns the parameters for creating the filesystems with the specified tags.
func (*StorageProvisionerAPI) Filesystems ¶
func (s *StorageProvisionerAPI) Filesystems(args params.Entities) (params.FilesystemResults, error)
Filesystems returns details of filesystems with the specified tags.
func (*StorageProvisionerAPI) Remove ¶
func (s *StorageProvisionerAPI) Remove(args params.Entities) (params.ErrorResults, error)
Remove removes volumes and filesystems from state.
func (*StorageProvisionerAPI) RemoveAttachment ¶
func (s *StorageProvisionerAPI) RemoveAttachment(args params.MachineStorageIds) (params.ErrorResults, error)
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 ¶
func (s *StorageProvisionerAPI) VolumeAttachmentParams( args params.MachineStorageIds, ) (params.VolumeAttachmentParamsResults, error)
VolumeAttachmentParams returns the parameters for creating the volume attachments with the specified IDs.
func (*StorageProvisionerAPI) VolumeAttachments ¶
func (s *StorageProvisionerAPI) VolumeAttachments(args params.MachineStorageIds) (params.VolumeAttachmentResults, error)
VolumeAttachments returns details of volume attachments with the specified IDs.
func (*StorageProvisionerAPI) VolumeBlockDevices ¶
func (s *StorageProvisionerAPI) VolumeBlockDevices(args params.MachineStorageIds) (params.BlockDeviceResults, error)
VolumeBlockDevices returns details of the block devices corresponding to the volume attachments with the specified IDs.
func (*StorageProvisionerAPI) VolumeParams ¶
func (s *StorageProvisionerAPI) VolumeParams(args params.Entities) (params.VolumeParamsResults, error)
VolumeParams returns the parameters for creating or destroying the volumes with the specified tags.
func (*StorageProvisionerAPI) Volumes ¶
func (s *StorageProvisionerAPI) Volumes(args params.Entities) (params.VolumeResults, error)
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 ¶
func (s *StorageProvisionerAPI) WatchFilesystems(args params.Entities) (params.StringsWatchResults, error)
WatchFilesystems watches for changes to filesystems scoped to the entity with the tag passed to NewState.
func (*StorageProvisionerAPI) WatchMachines ¶
func (s *StorageProvisionerAPI) WatchMachines(args params.Entities) (params.NotifyWatchResults, error)
WatchMachines watches for changes to the specified machines.
func (*StorageProvisionerAPI) WatchVolumeAttachments ¶
func (s *StorageProvisionerAPI) WatchVolumeAttachments(args params.Entities) (params.MachineStorageIdsWatchResults, error)
WatchVolumeAttachments watches for changes to volume attachments scoped to the entity with the tag passed to NewState.
func (*StorageProvisionerAPI) WatchVolumes ¶
func (s *StorageProvisionerAPI) WatchVolumes(args params.Entities) (params.StringsWatchResults, error)
WatchVolumes watches for changes to volumes scoped to the entity with the tag passed to NewState.