Versions in this module Expand all Collapse all v1 v1.0.26 Apr 28, 2021 v1.0.25 Nov 13, 2020 v1.0.22 Apr 20, 2020 v1.0.21 Mar 10, 2020 v1.0.20 Dec 19, 2019 v1.0.19 Nov 11, 2019 v1.0.18 Sep 14, 2019 v1.0.17 Aug 13, 2019 Changes in this version + type AccessRight struct + AccessKey string + AccessLevel string + AccessTo string + AccessType string + ID string + ShareID string + State string + type CreateOpts struct + AvailabilityZone string + ConsistencyGroupID string + Description string + DisplayDescription string + DisplayName string + IsPublic *bool + Metadata map[string]string + Name string + ShareNetworkID string + ShareProto string + ShareType string + Size int + SnapshotID string + VolumeType string + func (opts CreateOpts) ToShareCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToShareCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Share, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type ExportLocation struct + ID string + IsAdminOnly bool + Path string + Preferred bool + ShareInstanceID string + type GetExportLocationsResult struct + func GetExportLocations(client *gophercloud.ServiceClient, id string) (r GetExportLocationsResult) + func (r GetExportLocationsResult) Extract() ([]ExportLocation, error) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Share, error) + type GrantAccessOpts struct + AccessLevel string + AccessTo string + AccessType string + func (opts GrantAccessOpts) ToGrantAccessMap() (map[string]interface{}, error) + type GrantAccessOptsBuilder interface + ToGrantAccessMap func() (map[string]interface{}, error) + type GrantAccessResult struct + func GrantAccess(client *gophercloud.ServiceClient, id string, opts GrantAccessOptsBuilder) (r GrantAccessResult) + func (r GrantAccessResult) Extract() (*AccessRight, error) + type Share struct + AvailabilityZone string + ConsistencyGroupID string + CreatedAt time.Time + Description string + DisplayDescription string + DisplayName string + HasReplicas bool + Host string + ID string + IsPublic bool + Links []map[string]string + Metadata map[string]string + Name string + ProjectID string + ReplicationType string + ShareNetworkID string + ShareProto string + ShareServerID string + ShareType string + ShareTypeName string + Size int + SnapshotID string + SnapshotSupport bool + SourceCgsnapshotMemberID string + Status string + TaskState string + VolumeType string + func (r *Share) UnmarshalJSON(b []byte) error