Documentation ¶
Index ¶
- func CreateEndpointGroup(t *testing.T, client *gophercloud.ServiceClient) (*endpointgroups.EndpointGroup, error)
- func CreateEndpointGroupWithCIDR(t *testing.T, client *gophercloud.ServiceClient, cidr string) (*endpointgroups.EndpointGroup, error)
- func CreateEndpointGroupWithSubnet(t *testing.T, client *gophercloud.ServiceClient, subnetID string) (*endpointgroups.EndpointGroup, error)
- func CreateIKEPolicy(t *testing.T, client *gophercloud.ServiceClient) (*ikepolicies.Policy, error)
- func CreateIPSecPolicy(t *testing.T, client *gophercloud.ServiceClient) (*ipsecpolicies.Policy, error)
- func CreateService(t *testing.T, client *gophercloud.ServiceClient, routerID string) (*services.Service, error)
- func CreateSiteConnection(t *testing.T, client *gophercloud.ServiceClient, ikepolicyID string, ...) (*siteconnections.Connection, error)
- func DeleteEndpointGroup(t *testing.T, client *gophercloud.ServiceClient, epGroupID string)
- func DeleteIKEPolicy(t *testing.T, client *gophercloud.ServiceClient, policyID string)
- func DeleteIPSecPolicy(t *testing.T, client *gophercloud.ServiceClient, policyID string)
- func DeleteService(t *testing.T, client *gophercloud.ServiceClient, serviceID string)
- func DeleteSiteConnection(t *testing.T, client *gophercloud.ServiceClient, siteConnectionID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEndpointGroup ¶
func CreateEndpointGroup(t *testing.T, client *gophercloud.ServiceClient) (*endpointgroups.EndpointGroup, error)
CreateEndpointGroup will create an endpoint group with a random name. An error will be returned if the group could not be created.
func CreateEndpointGroupWithCIDR ¶
func CreateEndpointGroupWithCIDR(t *testing.T, client *gophercloud.ServiceClient, cidr string) (*endpointgroups.EndpointGroup, error)
CreateEndpointGroupWithCIDR will create an endpoint group with a random name and a specified CIDR. An error will be returned if the group could not be created.
func CreateEndpointGroupWithSubnet ¶
func CreateEndpointGroupWithSubnet(t *testing.T, client *gophercloud.ServiceClient, subnetID string) (*endpointgroups.EndpointGroup, error)
CreateEndpointGroupWithSubnet will create an endpoint group with a random name. An error will be returned if the group could not be created.
func CreateIKEPolicy ¶
func CreateIKEPolicy(t *testing.T, client *gophercloud.ServiceClient) (*ikepolicies.Policy, error)
CreateIKEPolicy will create an IKE Policy with a random name and given rule. An error will be returned if the policy could not be created.
func CreateIPSecPolicy ¶
func CreateIPSecPolicy(t *testing.T, client *gophercloud.ServiceClient) (*ipsecpolicies.Policy, error)
CreateIPSecPolicy will create an IPSec Policy with a random name and given rule. An error will be returned if the rule could not be created.
func CreateService ¶
func CreateService(t *testing.T, client *gophercloud.ServiceClient, routerID string) (*services.Service, error)
CreateService will create a Service with a random name and a specified router ID An error will be returned if the service could not be created.
func CreateSiteConnection ¶
func CreateSiteConnection(t *testing.T, client *gophercloud.ServiceClient, ikepolicyID string, ipsecpolicyID string, serviceID string, peerEPGroupID string, localEPGroupID string) (*siteconnections.Connection, error)
CreateSiteConnection will create an IPSec site connection with a random name and specified IKE policy, IPSec policy, service, peer EP group and local EP Group. An error will be returned if the connection could not be created.
func DeleteEndpointGroup ¶
DeleteEndpointGroup will delete an Endpoint group with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
func DeleteIKEPolicy ¶
DeleteIKEPolicy will delete an IKE policy with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
func DeleteIPSecPolicy ¶
DeleteIPSecPolicy will delete an IPSec policy with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
func DeleteService ¶
DeleteService will delete a service with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
func DeleteSiteConnection ¶
DeleteSiteConnection will delete an IPSec site connection with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
Types ¶
This section is empty.