Documentation ¶
Index ¶
- type BGP
- type Connection
- type Connections
- type ConnectionsImpl
- func (c ConnectionsImpl) CreateBGPConnection(input *CreateBGPConnectionInput) (*CreateBGPConnectionOutput, error)
- func (c ConnectionsImpl) DeleteBGPConnection(input *DeleteBGPConnectionInput) (*DeleteBGPConnectionOutput, error)
- func (c ConnectionsImpl) GetBGPConnection(input *GetBGPConnectionInput) (*GetBGPConnectionOutput, error)
- func (c ConnectionsImpl) ListBGPConnections(input *ListBGPConnectionsInput) (*ListBGPConnectionsOutput, error)
- func (c ConnectionsImpl) UpdateBGPConnection(input *UpdateBGPConnectionInput) (*UpdateBGPConnectionOutput, error)
- type CreateBGPConnectionInput
- type CreateBGPConnectionOutput
- type CreateTemplateInput
- type CreateTemplateOutput
- type CreateVPNInput
- type CreateVPNOutput
- type DeleteBGPConnectionInput
- type DeleteBGPConnectionOutput
- type DeleteTemplateInput
- type DeleteTemplateOutput
- type DeleteVPNInput
- type DeleteVPNOutput
- type GetBGPConnectionInput
- type GetBGPConnectionOutput
- type GetTemplateInput
- type GetTemplateOutput
- type GetVPNInput
- type GetVPNOutput
- type ListBGPConnectionsInput
- type ListBGPConnectionsOutput
- type ListTemplatesInput
- type ListTemplatesOutput
- type ListVPNsInput
- type ListVPNsOutput
- type Template
- type Templates
- type TemplatesImpl
- func (c TemplatesImpl) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error)
- func (c TemplatesImpl) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error)
- func (c TemplatesImpl) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error)
- func (c TemplatesImpl) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error)
- func (c TemplatesImpl) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error)
- type UpdateBGPConnectionInput
- type UpdateBGPConnectionOutput
- type UpdateTemplateInput
- type UpdateTemplateOutput
- type UpdateVPNInput
- type UpdateVPNOutput
- type VPN
- type VPNs
- type VPNsImpl
- func (v VPNsImpl) CreateVPN(input *CreateVPNInput) (*CreateVPNOutput, error)
- func (v VPNsImpl) DeleteVPN(input *DeleteVPNInput) (*DeleteVPNOutput, error)
- func (v VPNsImpl) GetVPN(input *GetVPNInput) (*GetVPNOutput, error)
- func (v VPNsImpl) ListVPNs(input *ListVPNsInput) (*ListVPNsOutput, error)
- func (v VPNsImpl) UpdateVPN(input *UpdateVPNInput) (*UpdateVPNOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BGP ¶
type BGP struct {
Client *resty.Client
}
func (BGP) Connections ¶
func (b BGP) Connections() Connections
type Connection ¶
type Connection struct { Id string `json:".id,omitempty"` As string `json:"as,omitempty"` Name string `json:"name"` AddressFamilies string `json:"address-families,omitempty"` Connect string `json:"connect,omitempty"` Listen string `json:"listen,omitempty"` LocalAddress string `json:"local.address,omitempty"` LocalRole string `json:"local.role,omitempty"` LocalPort string `json:"local.port,omitempty"` LocalTtl string `json:"local.ttl,omitempty"` RemoteAddress string `json:"remote.address,omitempty"` RemotePort string `json:"remote.port,omitempty"` RemoteAs string `json:"remote.as,omitempty"` RemoteAllowedAs string `json:"remote.allowed-as,omitempty"` RemoteTtl string `json:"remote.ttl,omitempty"` RoutingTable string `json:"routing-table,omitempty"` TcpMd5Key string `json:"tcp-md5-key,omitempty"` Templates string `json:"templates,omitempty"` Disabled string `json:"disabled,omitempty"` Inactive string `json:"inactive,omitempty"` }
type Connections ¶
type Connections interface { ListBGPConnections(input *ListBGPConnectionsInput) (*ListBGPConnectionsOutput, error) GetBGPConnection(input *GetBGPConnectionInput) (*GetBGPConnectionOutput, error) CreateBGPConnection(input *CreateBGPConnectionInput) (*CreateBGPConnectionOutput, error) UpdateBGPConnection(input *UpdateBGPConnectionInput) (*UpdateBGPConnectionOutput, error) DeleteBGPConnection(input *DeleteBGPConnectionInput) (*DeleteBGPConnectionOutput, error) }
type ConnectionsImpl ¶
type ConnectionsImpl struct {
Client *resty.Client
}
func (ConnectionsImpl) CreateBGPConnection ¶
func (c ConnectionsImpl) CreateBGPConnection(input *CreateBGPConnectionInput) (*CreateBGPConnectionOutput, error)
func (ConnectionsImpl) DeleteBGPConnection ¶
func (c ConnectionsImpl) DeleteBGPConnection(input *DeleteBGPConnectionInput) (*DeleteBGPConnectionOutput, error)
func (ConnectionsImpl) GetBGPConnection ¶
func (c ConnectionsImpl) GetBGPConnection(input *GetBGPConnectionInput) (*GetBGPConnectionOutput, error)
func (ConnectionsImpl) ListBGPConnections ¶
func (c ConnectionsImpl) ListBGPConnections(input *ListBGPConnectionsInput) (*ListBGPConnectionsOutput, error)
func (ConnectionsImpl) UpdateBGPConnection ¶
func (c ConnectionsImpl) UpdateBGPConnection(input *UpdateBGPConnectionInput) (*UpdateBGPConnectionOutput, error)
type CreateBGPConnectionInput ¶
type CreateBGPConnectionInput Connection
type CreateBGPConnectionOutput ¶
type CreateBGPConnectionOutput Connection
type CreateTemplateInput ¶
type CreateTemplateInput struct{}
type CreateTemplateOutput ¶
type CreateTemplateOutput struct{}
type CreateVPNInput ¶
type CreateVPNInput struct{}
type CreateVPNOutput ¶
type CreateVPNOutput struct{}
type DeleteBGPConnectionInput ¶
type DeleteBGPConnectionInput struct {
Id string
}
type DeleteBGPConnectionOutput ¶
type DeleteBGPConnectionOutput struct{}
type DeleteTemplateInput ¶
type DeleteTemplateInput struct{}
type DeleteTemplateOutput ¶
type DeleteTemplateOutput struct{}
type DeleteVPNInput ¶
type DeleteVPNInput struct{}
type DeleteVPNOutput ¶
type DeleteVPNOutput struct{}
type GetBGPConnectionInput ¶
type GetBGPConnectionInput struct {
Id string
}
type GetBGPConnectionOutput ¶
type GetBGPConnectionOutput Connection
type GetTemplateInput ¶
type GetTemplateInput struct{}
type GetTemplateOutput ¶
type GetTemplateOutput struct{}
type GetVPNInput ¶
type GetVPNInput struct{}
type GetVPNOutput ¶
type GetVPNOutput struct{}
type ListBGPConnectionsInput ¶
type ListBGPConnectionsInput struct{}
type ListBGPConnectionsOutput ¶
type ListBGPConnectionsOutput []Connection
type ListTemplatesInput ¶
type ListTemplatesInput struct{}
type ListTemplatesOutput ¶
type ListTemplatesOutput struct{}
type ListVPNsInput ¶
type ListVPNsInput struct{}
type ListVPNsOutput ¶
type ListVPNsOutput struct{}
type Templates ¶
type Templates interface { ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) }
type TemplatesImpl ¶
type TemplatesImpl struct {
Client *resty.Client
}
func (TemplatesImpl) CreateTemplate ¶
func (c TemplatesImpl) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error)
func (TemplatesImpl) DeleteTemplate ¶
func (c TemplatesImpl) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error)
func (TemplatesImpl) GetTemplate ¶
func (c TemplatesImpl) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error)
func (TemplatesImpl) ListTemplates ¶
func (c TemplatesImpl) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error)
func (TemplatesImpl) UpdateTemplate ¶
func (c TemplatesImpl) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error)
type UpdateBGPConnectionInput ¶
type UpdateBGPConnectionInput Connection
type UpdateBGPConnectionOutput ¶
type UpdateBGPConnectionOutput Connection
type UpdateTemplateInput ¶
type UpdateTemplateInput struct{}
type UpdateTemplateOutput ¶
type UpdateTemplateOutput struct{}
type UpdateVPNInput ¶
type UpdateVPNInput struct{}
type UpdateVPNOutput ¶
type UpdateVPNOutput struct{}
type VPNs ¶
type VPNs interface { ListVPNs(input *ListVPNsInput) (*ListVPNsOutput, error) GetVPN(input *GetVPNInput) (*GetVPNOutput, error) CreateVPN(input *CreateVPNInput) (*CreateVPNOutput, error) UpdateVPN(input *UpdateVPNInput) (*UpdateVPNOutput, error) DeleteVPN(input *DeleteVPNInput) (*DeleteVPNOutput, error) }
type VPNsImpl ¶
type VPNsImpl struct {
Client *resty.Client
}
func (VPNsImpl) CreateVPN ¶
func (v VPNsImpl) CreateVPN(input *CreateVPNInput) (*CreateVPNOutput, error)
func (VPNsImpl) DeleteVPN ¶
func (v VPNsImpl) DeleteVPN(input *DeleteVPNInput) (*DeleteVPNOutput, error)
func (VPNsImpl) GetVPN ¶
func (v VPNsImpl) GetVPN(input *GetVPNInput) (*GetVPNOutput, error)
func (VPNsImpl) ListVPNs ¶
func (v VPNsImpl) ListVPNs(input *ListVPNsInput) (*ListVPNsOutput, error)
func (VPNsImpl) UpdateVPN ¶
func (v VPNsImpl) UpdateVPN(input *UpdateVPNInput) (*UpdateVPNOutput, error)
Click to show internal directories.
Click to hide internal directories.