Documentation ¶
Index ¶
- type Vsc
- func (v *Vsc) LibsVolumeID(pVolumeID string) (string, string, error)
- func (v *Vsc) VolumeCreate(request *types.VolumeCreateRequest) (*types.Volume, error)
- func (v *Vsc) VolumeInspect(volumeID string) (*types.Volume, error)
- func (v *Vsc) VolumeLabel(volumeID string, labels map[string]string) (*types.Volume, error)
- func (v *Vsc) VolumeLabelsRemove(volumeID string, labels []string) (*types.Volume, error)
- func (v *Vsc) VolumeOffer(volumeID string, schedulers []string) (*types.Volume, error)
- func (v *Vsc) VolumeOfferRevoke(volumeID string, schedulers []string) (*types.Volume, error)
- func (v *Vsc) VolumeRemove(volumeID string) error
- func (v *Vsc) Volumes(vals url.Values) ([]*types.Volume, error)
- func (v *Vsc) VolumesAll(vals url.Values) ([]*types.Volume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vsc ¶
type Vsc struct {
// contains filtered or unexported fields
}
Vsc is the Polly volume service
func (*Vsc) LibsVolumeID ¶
LibsVolumeID translates a Polly VolumeID to a libStorage VolumeID
func (*Vsc) VolumeCreate ¶
VolumeCreate creates a volume from a request object
func (*Vsc) VolumeInspect ¶
VolumeInspect returns details about a volume
func (*Vsc) VolumeLabel ¶
VolumeLabel creates labels on volumes
func (*Vsc) VolumeLabelsRemove ¶
VolumeLabelsRemove removes labels from volumes
func (*Vsc) VolumeOffer ¶
VolumeOffer registers a volume for a scheduler
func (*Vsc) VolumeOfferRevoke ¶
VolumeOfferRevoke revokes a volume offer from schedulers
func (*Vsc) VolumeRemove ¶
VolumeRemove removes a volume
Click to show internal directories.
Click to hide internal directories.