Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetResult ¶
type GetResult struct {
gophercloud.Result
}
GetResult contains the response body and error from a Get request.
func Get ¶
func Get(client *gophercloud.ServiceClient, accessID string) (r GetResult)
Get retrieves details about a share access rule.
func (GetResult) Extract ¶
func (r GetResult) Extract() (*ShareAccess, error)
Extract will get the ShareAccess object from the GetResult.
type ShareAccess ¶
type ShareAccess struct { string `json:"share_id"` CreatedAt time.Time `json:"-"` UpdatedAt time.Time `json:"-"` AccessType string `json:"access_type"` AccessTo string `json:"access_to"` AccessKey string `json:"access_key"` State string `json:"state"` AccessLevel string `json:"access_level"` ID string `json:"id"` Metadata map[string]interface{} `json:"metadata"` }ShareID
ShareAccess contains information associated with an OpenStack share access rule.
func (*ShareAccess) UnmarshalJSON ¶
func (r *ShareAccess) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.