Versions in this module Expand all Collapse all v2 v2.0.1 Jul 1, 2020 Changes in this version + type AvailabilityZone struct + Name string + State AvailabilityZoneState + type AvailabilityZoneState struct + Available bool + type Client struct + func Basic(endpoint *url.URL, tenantId string, token TokenFn) *Client + func BasicTLSConfig(endpoint *url.URL, tenantId string, token TokenFn, tlsConfig *tls.Config) *Client + func NewClient(tenantId string, endpoint *url.URL, handleRequest RequestHandlerFn) *Client + func (c *Client) CreateSnapshot(args CreateSnapshotSnapshotParams) (*CreateSnapshotResults, error) + func (c *Client) CreateVolume(args CreateVolumeVolumeParams) (*CreateVolumeResults, error) + func (c *Client) CreateVolumeType(args CreateVolumeTypeVolumeTypeParams) (*CreateVolumeTypeResults, error) + func (c *Client) DeleteSnapshot(snapshotId string) error + func (c *Client) DeleteVolume(volumeId string) error + func (c *Client) DeleteVolumeType(volumeTypeId string) error + func (c *Client) GetSnapshot(snapshotId string) (*GetSnapshotResults, error) + func (c *Client) GetSnapshotsDetail() (*GetSnapshotsDetailResults, error) + func (c *Client) GetSnapshotsSimple() (*GetSnapshotsSimpleResults, error) + func (c *Client) GetVolume(volumeId string) (*GetVolumeResults, error) + func (c *Client) GetVolumeType(volumeTypeId string) (*GetVolumeTypeResults, error) + func (c *Client) GetVolumeTypes() (*GetVolumeTypesResults, error) + func (c *Client) GetVolumesDetail() (*GetVolumesDetailResults, error) + func (c *Client) GetVolumesSimple() (*GetVolumesSimpleResults, error) + func (c *Client) ListExtensionsCinderV2() (*ListExtensionsCinderV2Results, error) + func (c *Client) ListVersions() (*ListVersionsResults, error) + func (c *Client) ListVolumeAvailabilityZones() ([]AvailabilityZone, error) + func (c *Client) SetVolumeMetadata(volumeId string, metadata map[string]string) (map[string]string, error) + func (c *Client) ShowSnapshotMetadata(snapshotId string) (*ShowSnapshotMetadataResults, error) + func (c *Client) SnapshotStatusNotifier(snapId, status string, numAttempts int, waitDur time.Duration) <-chan error + func (c *Client) UpdateSnapshot(snapshotId string, args UpdateSnapshotSnapshotParams) (*UpdateSnapshotResults, error) + func (c *Client) UpdateSnapshotMetadata(snapshotId, key string) (*UpdateSnapshotMetadataResults, error) + func (c *Client) UpdateVolume(volumeId string, args UpdateVolumeVolumeParams) (*UpdateVolumeResults, error) + func (c *Client) UpdateVolumeType(volumeTypeId, volumeType string) (*UpdateVolumeTypeResults, error) + func (c *Client) UpdateVolumeTypeExtraSpecs(volumeTypeId, volumeType, extraSpecs string) (*UpdateVolumeTypeExtraSpecsResults, error) + func (c *Client) VersionDetails() (*VersionDetailsResults, error) + func (c *Client) VolumeStatusNotifier(volId, status string, numAttempts int, waitDur time.Duration) <-chan error + type CreateSnapshotParams struct + Snapshot CreateSnapshotSnapshotParams + TenantId string + type CreateSnapshotResults struct + Snapshot Snapshot + type CreateSnapshotSnapshotParams struct + Description string + Force bool + Name string + VolumeId string + type CreateVolumeParams struct + TenantId string + Volume CreateVolumeVolumeParams + type CreateVolumeResults struct + Volume Volume + type CreateVolumeTypeParams struct + TenantId string + VolumeType CreateVolumeTypeVolumeTypeParams + type CreateVolumeTypeResults struct + VolumeType VolumeType + type CreateVolumeTypeVolumeTypeExtraSpecsParams struct + Capabilities string + type CreateVolumeTypeVolumeTypeParams struct + ExtraSpecs CreateVolumeTypeVolumeTypeExtraSpecsParams + Name string + type CreateVolumeVolumeParams struct + AvailabilityZone string + Bootable bool + Description string + ImageRef string + Metadata interface{} + Name string + Size int + SnapshotId string + SourceVolid string + VolumeType string + type DeleteSnapshotParams struct + SnapshotId string + TenantId string + type DeleteSnapshotResults struct + type DeleteVolumeParams struct + TenantId string + VolumeId string + type DeleteVolumeResults struct + type DeleteVolumeTypeParams struct + TenantId string + VolumeTypeId string + type DeleteVolumeTypeResults struct + type Extension struct + Alias string + Description string + Links []interface{} + Name string + Namespace string + Updated string + type GetAvailabilityZonesResults struct + AvailabilityZoneInfo []AvailabilityZone + type GetSnapshotParams struct + SnapshotId string + TenantId string + type GetSnapshotResults struct + Snapshot Snapshot + type GetSnapshotsDetailParams struct + TenantId string + type GetSnapshotsDetailResults struct + Snapshots []Snapshot + type GetSnapshotsSimpleParams struct + TenantId string + type GetSnapshotsSimpleResults struct + Snapshots []Snapshot + type GetVolumeParams struct + TenantId string + VolumeId string + type GetVolumeResults struct + Volume Volume + type GetVolumeTypeParams struct + TenantId string + VolumeTypeId string + type GetVolumeTypeResults struct + VolumeType VolumeType + type GetVolumeTypesParams struct + TenantId string + type GetVolumeTypesResults struct + VolumeTypes []VolumeType + type GetVolumesDetailParams struct + TenantId string + type GetVolumesDetailResults struct + Volumes []Volume + type GetVolumesSimpleParams struct + TenantId string + type GetVolumesSimpleResults struct + Volumes []Volume + type ListExtensionsCinderV2Params struct + type ListExtensionsCinderV2Results struct + Extensions []Extension + type ListVersionsParams struct + type ListVersionsResults struct + Versions []Version + type RequestHandlerFn func(*http.Request) (*http.Response, error) + func AuthHeaderTSLConfigDoRequestFn(token TokenFn, tlsConfig *tls.Config) RequestHandlerFn + func SetAuthHeaderFn(token TokenFn, wrappedHandler RequestHandlerFn) RequestHandlerFn + func (f RequestHandlerFn) RoundTrip(req *http.Request) (*http.Response, error) + type ShowSnapshotMetadataParams struct + SnapshotId string + TenantId string + type ShowSnapshotMetadataResults struct + Snapshot Snapshot + type Snapshot struct + CreatedAt string + Description string + ID string + Metadata struct{ ... } + Name string + Os_Extended_Snapshot_Attributes_Progress string + Os_Extended_Snapshot_Attributes_ProjectID string + Size int + Status string + VolumeID string + type TokenFn func() string + type UpdateSnapshotMetadataMetadataParams struct + Key string + type UpdateSnapshotMetadataParams struct + Metadata UpdateSnapshotMetadataMetadataParams + SnapshotId string + TenantId string + type UpdateSnapshotMetadataResults struct + Metadata struct{ ... } + type UpdateSnapshotParams struct + Snapshot UpdateSnapshotSnapshotParams + SnapshotId string + TenantId string + type UpdateSnapshotResults struct + Snapshot Snapshot + type UpdateSnapshotSnapshotParams struct + Description string + Name string + type UpdateVolumeMetadataParams struct + Metadata map[string]string + type UpdateVolumeParams struct + TenantId string + Volume UpdateVolumeVolumeParams + VolumeId string + type UpdateVolumeResults struct + Volume Volume + type UpdateVolumeTypeExtraSpecsParams struct + ExtraSpecs string + TenantId string + VolumeType string + VolumeTypeId string + type UpdateVolumeTypeExtraSpecsResults struct + VolumeType VolumeType + type UpdateVolumeTypeParams struct + TenantId string + VolumeType string + VolumeTypeId string + type UpdateVolumeTypeResults struct + VolumeType VolumeType + type UpdateVolumeVolumeParams struct + Description string + Name string + type Version struct + ID string + Links []struct{ ... } + Media_Types []struct{ ... } + Status string + Updated string + type VersionDetailsParams struct + type VersionDetailsResults struct + Version Version + type Volume struct + Attachments []VolumeAttachment + AvailabilityZone string + Bootable string + CreatedAt string + Description string + ID string + Links []struct{ ... } + Metadata map[string]string + Name string + Os_Vol_Host_Attr_Host string + Os_Vol_Tenant_Attr_TenantID string + Size int + SnapshotID interface{} + SourceVolid interface{} + Status string + VolumeType string + type VolumeAttachment struct + Device string + Id string + ServerId string + VolumeId string + type VolumeType struct + ExtraSpecs struct{ ... } + ID string + Name string