Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connections ¶
type Connections struct { ID string `json:"id"` Name string `json:"name"` Status string `json:"status"` VgwId string `json:"vgw_id"` VgwIp string `json:"vgw_ip"` Style string `json:"style"` CgwId string `json:"cgw_id"` PeerSubnets []string `json:"peer_subnets"` TunnelLocalAddress string `json:"tunnel_local_address"` TunnelPeerAddress string `json:"tunnel_peer_address"` EnableNqa bool `json:"enable_nqa"` PolicyRules []PolicyRule `json:"policy_rules"` Ikepolicy IkePolicy `json:"ikepolicy"` Ipsecpolicy IpsecPolicy `json:"ipsecpolicy"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` EnterpriseProjectID string `json:"enterprise_project_id"` ConnectionMonitorID string `json:"connection_monitor_id"` HaRole string `json:"ha_role"` }
func List ¶
func List(c *golangsdk.ServiceClient, opts ListOpts) ([]Connections, error)
type ConnectionsPage ¶
type ConnectionsPage struct {
pagination.MarkerPageBase
}
func (ConnectionsPage) IsEmpty ¶
func (r ConnectionsPage) IsEmpty() (bool, error)
IsEmpty returns true if a ListResult is empty.
func (ConnectionsPage) LastMarker ¶
func (r ConnectionsPage) LastMarker() (string, error)
LastMarker returns the last marker index in a ListResult.
type IkePolicy ¶
type IkePolicy struct { IkeVersion string `json:"ike_version"` Phase1NegotiationMode string `json:"phase1_negotiation_mode"` AuthenticationAlgorithm string `json:"authentication_algorithm"` EncryptionAlgorithm string `json:"encryption_algorithm"` DhGroup string `json:"dh_group"` AuthenticationMethod string `json:"authentication_method"` LifetimeSeconds int `json:"lifetime_seconds"` LocalIdType string `json:"local_id_type"` LocalId string `json:"local_id"` PeerIdType string `json:"peer_id_type"` PeerId string `json:"peer_id"` Dpd Dpd `json:"dpd"` }
type IpsecPolicy ¶
type IpsecPolicy struct { AuthenticationAlgorithm string `json:"authentication_algorithm"` EncryptionAlgorithm string `json:"encryption_algorithm"` Pfs string `json:"pfs"` TransformProtocol string `json:"transform_protocol"` LifetimeSeconds int64 `json:"lifetime_seconds"` EncapsulationMode string `json:"encapsulation_mode"` }
type PolicyRule ¶
Click to show internal directories.
Click to hide internal directories.