Versions in this module Expand all Collapse all v3 v3.0.0 Jan 5, 2022 Changes in this version + func ExtractPolicysInto(r pagination.Page, v interface{}) error + func List(c *gophercloud.ServiceClient, opts PolicyListOptsBuilder) pagination.Pager + type CreateOpts struct + Description string + IsDefault bool + Name string + ProjectID string + Shared bool + TenantID 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(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Policy, error) + type ListOpts struct + Description string + ID string + IsDefault *bool + Limit int + Marker string + Name string + NotTags string + NotTagsAny string + ProjectID string + RevisionNumber *int + Shared *bool + SortDir string + SortKey string + Tags string + TagsAny string + TenantID string + func (opts ListOpts) ToPolicyListQuery() (string, error) + type NetworkCreateOptsExt struct + QoSPolicyID string + func (opts NetworkCreateOptsExt) ToNetworkCreateMap() (map[string]interface{}, error) + type NetworkUpdateOptsExt struct + QoSPolicyID *string + func (opts NetworkUpdateOptsExt) ToNetworkUpdateMap() (map[string]interface{}, error) + type Policy struct + CreatedAt time.Time + Description string + ID string + IsDefault bool + Name string + ProjectID string + RevisionNumber int + Rules []map[string]interface{} + Shared bool + Tags []string + TenantID string + UpdatedAt time.Time + func ExtractPolicies(r pagination.Page) ([]Policy, error) + type PolicyListOptsBuilder interface + ToPolicyListQuery func() (string, error) + type PolicyPage struct + func (r PolicyPage) IsEmpty() (bool, error) + func (r PolicyPage) NextPageURL() (string, error) + type PortCreateOptsExt struct + QoSPolicyID string + func (opts PortCreateOptsExt) ToPortCreateMap() (map[string]interface{}, error) + type PortUpdateOptsExt struct + QoSPolicyID *string + func (opts PortUpdateOptsExt) ToPortUpdateMap() (map[string]interface{}, error) + type QoSPolicyExt struct + QoSPolicyID string + type UpdateOpts struct + Description *string + IsDefault *bool + Name string + Shared *bool + func (opts UpdateOpts) ToPolicyUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPolicyUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, policyID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Policy, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v2