Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Blob []byte + Extra map[string]interface{} + Type string + func (opts CreateOpts) ToPolicyCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToPolicyCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Policy, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, policyID string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, policyID string) (r GetResult) + func (r GetResult) Extract() (*Policy, error) + type InvalidListFilter struct + FilterName string + func (e InvalidListFilter) Error() string + type ListOpts struct + Filters map[string]string + Type string + func (opts ListOpts) ToPolicyListQuery() (string, error) + type ListOptsBuilder interface + ToPolicyListQuery func() (string, error) + type Policy struct + Blob string + Extra map[string]interface{} + ID string + Links map[string]interface{} + Type string + func ExtractPolicies(r pagination.Page) ([]Policy, error) + func (r *Policy) UnmarshalJSON(b []byte) error + type PolicyPage struct + func (r PolicyPage) IsEmpty() (bool, error) + func (r PolicyPage) NextPageURL() (string, error) + type StringFieldLengthExceedsLimit struct + Field string + Limit int + func (e StringFieldLengthExceedsLimit) Error() string + type UpdateOpts struct + Blob []byte + Extra map[string]interface{} + Type string + func (opts UpdateOpts) ToPolicyUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPolicyUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, policyID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Policy, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3