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 + const AuthAlgorithmSHA1 + const AuthAlgorithmSHA256 + const AuthAlgorithmSHA384 + const AuthAlgorithmSHA512 + const EncapsulationModeTransport + const EncapsulationModeTunnel + const EncryptionAlgorithm3DES + const EncryptionAlgorithmAES128 + const EncryptionAlgorithmAES192 + const EncryptionAlgorithmAES256 + const PFSGroup14 + const PFSGroup2 + const PFSGroup5 + const TransformProtocolAH + const TransformProtocolAHESP + const TransformProtocolESP + const UnitKilobytes + const UnitSeconds + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AuthAlgorithm string + type CreateOpts struct + AuthAlgorithm AuthAlgorithm + Description string + EncapsulationMode EncapsulationMode + EncryptionAlgorithm EncryptionAlgorithm + Lifetime *LifetimeCreateOpts + Name string + PFS PFS + TenantID string + TransformProtocol TransformProtocol + 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) (r CreateResult) + func (r CreateResult) Extract() (*Policy, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type EncapsulationMode string + type EncryptionAlgorithm string + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Policy, error) + type Lifetime struct + Units string + Value int + type LifetimeCreateOpts struct + Units Unit + Value int + type LifetimeUpdateOpts struct + Units Unit + Value int + type ListOpts struct + AuthAlgorithm string + Description string + EncapsulationMode string + EncryptionAlgorithm string + Name string + PFS string + ProjectID string + TenantID string + TransformProtocol string + func (opts ListOpts) ToPolicyListQuery() (string, error) + type ListOptsBuilder interface + ToPolicyListQuery func() (string, error) + type PFS string + type Policy struct + AuthAlgorithm string + Description string + EncapsulationMode string + EncryptionAlgorithm string + ID string + Lifetime Lifetime + Name string + PFS string + ProjectID string + TenantID string + TransformProtocol string + func ExtractPolicies(r pagination.Page) ([]Policy, error) + type PolicyPage struct + func (r PolicyPage) IsEmpty() (bool, error) + func (r PolicyPage) NextPageURL() (string, error) + type TransformProtocol string + type Unit string + type UpdateOpts struct + AuthAlgorithm AuthAlgorithm + Description *string + EncapsulationMode EncapsulationMode + EncryptionAlgorithm EncryptionAlgorithm + Lifetime *LifetimeUpdateOpts + Name *string + PFS PFS + TransformProtocol TransformProtocol + 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) (r UpdateResult) + func (r UpdateResult) Extract() (*Policy, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v3