Versions in this module Expand all Collapse all v0 v0.9.0 Mar 19, 2016 Changes in this version + func InsertRule(c *gophercloud.ServiceClient, policyID, ruleID, beforeID, afterID string) error + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func RemoveRule(c *gophercloud.ServiceClient, policyID, ruleID string) error + type Binary *bool + var No Binary = &iFalse + var Yes Binary = &iTrue + type CreateOpts struct + Audited *bool + Description string + Name string + Rules []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(c *gophercloud.ServiceClient, opts CreateOptsBuilder) CreateResult + func (r CreateResult) Extract() (*Policy, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) DeleteResult + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) GetResult + func (r GetResult) Extract() (*Policy, error) + type ListOpts struct + Audited bool + Description string + ID string + Limit int + Marker string + Name string + Shared bool + SortDir string + SortKey string + TenantID string + func (opts ListOpts) ToPolicyListQuery() (string, error) + type ListOptsBuilder interface + ToPolicyListQuery func() (string, error) + type Policy struct + Audited bool + Description string + ID string + Name string + Rules []string + Shared bool + TenantID string + func ExtractPolicies(page pagination.Page) ([]Policy, error) + type PolicyPage struct + func (p PolicyPage) IsEmpty() (bool, error) + func (p PolicyPage) NextPageURL() (string, error) + type UpdateOpts struct + Audited *bool + Description string + Name string + Rules []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, id string, opts UpdateOptsBuilder) UpdateResult + func (r UpdateResult) Extract() (*Policy, error)