Versions in this module Expand all Collapse all v0 v0.28.0 Jan 6, 2022 v0.27.0 Jan 6, 2022 v0.26.0 Jan 6, 2022 v0.24.3 Jan 6, 2022 v0.24.2 Jan 6, 2022 v0.24.1 Jan 6, 2022 Changes in this version + const AuthAlgorithmSHA1 + const AuthAlgorithmSHA256 + const AuthAlgorithmSHA384 + const AuthAlgorithmSHA512 + const EncryptionAlgorithm3DES + const EncryptionAlgorithmAES128 + const EncryptionAlgorithmAES192 + const EncryptionAlgorithmAES256 + const IKEVersionv1 + const IKEVersionv2 + const PFSGroup14 + const PFSGroup2 + const PFSGroup5 + const Phase1NegotiationModeMain + const UnitKilobytes + const UnitSeconds + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AuthAlgorithm string + type CreateOpts struct + AuthAlgorithm AuthAlgorithm + Description string + EncryptionAlgorithm EncryptionAlgorithm + IKEVersion IKEVersion + Lifetime *LifetimeCreateOpts + Name string + PFS PFS + Phase1NegotiationMode Phase1NegotiationMode + 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) (r CreateResult) + func (r CreateResult) Extract() (*Policy, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type EncryptionAlgorithm string + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Policy, error) + type IKEVersion string + 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 + IKEVersion string + Name string + PFS string + Phase1NegotiationMode string + ProjectID string + TenantID string + func (opts ListOpts) ToPolicyListQuery() (string, error) + type ListOptsBuilder interface + ToPolicyListQuery func() (string, error) + type PFS string + type Phase1NegotiationMode string + type Policy struct + AuthAlgorithm string + Description string + EncryptionAlgorithm string + ID string + IKEVersion string + Lifetime Lifetime + Name string + PFS string + Phase1NegotiationMode string + ProjectID string + TenantID string + func ExtractPolicies(r pagination.Page) ([]Policy, error) + type PolicyPage struct + func (r PolicyPage) IsEmpty() (bool, error) + func (r PolicyPage) NextPageURL() (string, error) + type Unit string + type UpdateOpts struct + AuthAlgorithm AuthAlgorithm + Description *string + EncryptionAlgorithm EncryptionAlgorithm + IKEVersion IKEVersion + Lifetime *LifetimeUpdateOpts + Name *string + PFS PFS + Phase1NegotiationMode Phase1NegotiationMode + 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)