bgp

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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

func (BGP) Templates

func (b BGP) Templates() Templates

func (BGP) Vpns

func (b BGP) Vpns() VPNs

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 Template

type Template 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 VPN

type VPN 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL