customer_gateways

package
v0.0.0-...-e794f14 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaCertificate

type CaCertificate struct {
	SerialNumber       string `json:"serial_number"`
	SignatureAlgorithm string `json:"signature_algorithm"`
	Issuer             string `json:"issuer"`
	Subject            string `json:"subject"`
	ExpireTime         string `json:"expire_time"`
	IsUpdatable        bool   `json:"is_updatable"`
}

type CustomerGateway

type CustomerGateway struct {
	ID            string        `json:"id"`
	Name          string        `json:"name"`
	IDType        string        `json:"id_type"`
	IDValue       string        `json:"id_value"`
	BGPAsn        int           `json:"bgp_asn"`
	IP            string        `json:"ip"`
	RouteMode     string        `json:"route_mode"`
	CaCertificate CaCertificate `json:"ca_certificate"`
	CreatedAt     string        `json:"created_at"`
	UpdatedAt     string        `json:"updated_at"`
}

func List

type CustomerGatewaysPage

type CustomerGatewaysPage struct {
	pagination.MarkerPageBase
}

func (CustomerGatewaysPage) IsEmpty

func (r CustomerGatewaysPage) IsEmpty() (bool, error)

IsEmpty returns true if a ListResult is empty.

func (CustomerGatewaysPage) LastMarker

func (r CustomerGatewaysPage) LastMarker() (string, error)

LastMarker returns the last marker index in a ListResult.

type ListOpts

type ListOpts struct {
	Limit  int    `q:"limit"`
	Marker string `q:"marker"`
}

Jump to

Keyboard shortcuts

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