Versions in this module Expand all Collapse all v2 v2.1.0 Jan 5, 2022 v2.0.1 Dec 28, 2021 v2.0.0 Dec 28, 2021 Changes in this version + func ListDetail(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + 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 DeleteMetadatumResult struct + func DeleteMetadatum(client *gophercloud.ServiceClient, id, key string) (r DeleteMetadatumResult) + 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 ExtendOpts struct + NewSize int + func (opts ExtendOpts) ToShareExtendMap() (map[string]interface{}, error) + type ExtendOptsBuilder interface + ToShareExtendMap func() (map[string]interface{}, error) + type ExtendResult struct + func Extend(client *gophercloud.ServiceClient, id string, opts ExtendOptsBuilder) (r ExtendResult) + type ForceDeleteResult struct + func ForceDelete(client *gophercloud.ServiceClient, id string) (r ForceDeleteResult) + type GetExportLocationResult struct + func GetExportLocation(client *gophercloud.ServiceClient, shareID string, id string) (r GetExportLocationResult) + func (r GetExportLocationResult) Extract() (*ExportLocation, error) + type GetMetadatumResult struct + func GetMetadatum(client *gophercloud.ServiceClient, id, key string) (r GetMetadatumResult) + func (r GetMetadatumResult) Extract() (map[string]string, 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 ListAccessRightsResult struct + func ListAccessRights(client *gophercloud.ServiceClient, id string) (r ListAccessRightsResult) + func (r ListAccessRightsResult) Extract() ([]AccessRight, error) + type ListExportLocationsResult struct + func ListExportLocations(client *gophercloud.ServiceClient, id string) (r ListExportLocationsResult) + func (r ListExportLocationsResult) Extract() ([]ExportLocation, error) + type ListOpts struct + AllTenants bool + DescriptionPattern string + DisplayDescription string + DisplayDescriptionPattern string + DisplayName string + DisplayNamePattern string + ExportLocationID string + ExportLocationPath string + ExtraSpecs map[string]string + Host string + IsPublic *bool + Limit int + Metadata map[string]string + Name string + NamePattern string + Offset int + ProjectID string + ShareGroupID string + ShareGroupSnapshotID string + ShareNetworkID string + ShareServerID string + ShareTypeID string + SnapshotID string + SortDir string + SortKey string + Status string + VolumeTypeID string + WithCount bool + func (opts ListOpts) ToShareListQuery() (string, error) + type ListOptsBuilder interface + ToShareListQuery func() (string, error) + type MetadataResult struct + func GetMetadata(client *gophercloud.ServiceClient, id string) (r MetadataResult) + func SetMetadata(client *gophercloud.ServiceClient, id string, opts SetMetadataOptsBuilder) (r MetadataResult) + func UpdateMetadata(client *gophercloud.ServiceClient, id string, opts UpdateMetadataOptsBuilder) (r MetadataResult) + func (r MetadataResult) Extract() (map[string]string, error) + type ResetStatusOpts struct + Status string + func (opts ResetStatusOpts) ToShareResetStatusMap() (map[string]interface{}, error) + type ResetStatusOptsBuilder interface + ToShareResetStatusMap func() (map[string]interface{}, error) + type ResetStatusResult struct + func ResetStatus(client *gophercloud.ServiceClient, id string, opts ResetStatusOptsBuilder) (r ResetStatusResult) + type RevertOpts struct + SnapshotID string + func (opts RevertOpts) ToShareRevertMap() (map[string]interface{}, error) + type RevertOptsBuilder interface + ToShareRevertMap func() (map[string]interface{}, error) + type RevertResult struct + func Revert(client *gophercloud.ServiceClient, id string, opts RevertOptsBuilder) (r RevertResult) + type RevokeAccessOpts struct + AccessID string + func (opts RevokeAccessOpts) ToRevokeAccessMap() (map[string]interface{}, error) + type RevokeAccessOptsBuilder interface + ToRevokeAccessMap func() (map[string]interface{}, error) + type RevokeAccessResult struct + func RevokeAccess(client *gophercloud.ServiceClient, id string, opts RevokeAccessOptsBuilder) (r RevokeAccessResult) + type SetMetadataOpts struct + Metadata map[string]string + func (opts SetMetadataOpts) ToSetMetadataMap() (map[string]interface{}, error) + type SetMetadataOptsBuilder interface + ToSetMetadataMap func() (map[string]interface{}, error) + type Share struct + AvailabilityZone string + ConsistencyGroupID string + CreateShareFromSnapshotSupport bool + 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 + UpdatedAt time.Time + VolumeType string + func ExtractShares(r pagination.Page) ([]Share, error) + func (r *Share) UnmarshalJSON(b []byte) error + type SharePage struct + func (r SharePage) IsEmpty() (bool, error) + func (r SharePage) LastMarker() (string, error) + func (r SharePage) NextPageURL() (string, error) + type ShrinkOpts struct + NewSize int + func (opts ShrinkOpts) ToShareShrinkMap() (map[string]interface{}, error) + type ShrinkOptsBuilder interface + ToShareShrinkMap func() (map[string]interface{}, error) + type ShrinkResult struct + func Shrink(client *gophercloud.ServiceClient, id string, opts ShrinkOptsBuilder) (r ShrinkResult) + type UnmanageResult struct + func Unmanage(client *gophercloud.ServiceClient, id string) (r UnmanageResult) + type UpdateMetadataOpts struct + Metadata map[string]string + func (opts UpdateMetadataOpts) ToUpdateMetadataMap() (map[string]interface{}, error) + type UpdateMetadataOptsBuilder interface + ToUpdateMetadataMap func() (map[string]interface{}, error) + type UpdateOpts struct + DisplayDescription *string + DisplayName *string + IsPublic *bool + func (opts UpdateOpts) ToShareUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToShareUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Share, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v3