v1alpha2

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=network.kubesphere.io +kubebuilder:storageversion

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "network.kubesphere.io", Version: "v1alpha2"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AddPaths

type AddPaths struct {
	Config *AddPathsConfig `json:"config,omitempty"`
}

func (*AddPaths) DeepCopy

func (in *AddPaths) DeepCopy() *AddPaths

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddPaths.

func (*AddPaths) DeepCopyInto

func (in *AddPaths) DeepCopyInto(out *AddPaths)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AddPathsConfig

type AddPathsConfig struct {
	Receive bool   `json:"receive,omitempty"`
	SendMax uint32 `json:"sendMax,omitempty"`
}

func (*AddPathsConfig) DeepCopy

func (in *AddPathsConfig) DeepCopy() *AddPathsConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddPathsConfig.

func (*AddPathsConfig) DeepCopyInto

func (in *AddPathsConfig) DeepCopyInto(out *AddPathsConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AfiSafi

type AfiSafi struct {
	MpGracefulRestart *MpGracefulRestart `json:"mpGracefulRestart,omitempty"`
	Config            *AfiSafiConfig     `json:"config,omitempty"`
	AddPaths          *AddPaths          `json:"addPaths,omitempty"`
}

func (*AfiSafi) DeepCopy

func (in *AfiSafi) DeepCopy() *AfiSafi

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfiSafi.

func (*AfiSafi) DeepCopyInto

func (in *AfiSafi) DeepCopyInto(out *AfiSafi)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AfiSafiConfig

type AfiSafiConfig struct {
	Family  *Family `json:"family,omitempty"`
	Enabled bool    `json:"enabled,omitempty"`
}

func (*AfiSafiConfig) DeepCopy

func (in *AfiSafiConfig) DeepCopy() *AfiSafiConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AfiSafiConfig.

func (*AfiSafiConfig) DeepCopyInto

func (in *AfiSafiConfig) DeepCopyInto(out *AfiSafiConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BgpConf

type BgpConf struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BgpConfSpec   `json:"spec,omitempty"`
	Status BgpConfStatus `json:"status,omitempty"`
}

BgpConf is the Schema for the bgpconfs API

func (*BgpConf) DeepCopy

func (in *BgpConf) DeepCopy() *BgpConf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConf.

func (*BgpConf) DeepCopyInto

func (in *BgpConf) DeepCopyInto(out *BgpConf)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpConf) DeepCopyObject

func (in *BgpConf) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BgpConfList

type BgpConfList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BgpConf `json:"items"`
}

BgpConfList contains a list of BgpConf

func (*BgpConfList) DeepCopy

func (in *BgpConfList) DeepCopy() *BgpConfList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConfList.

func (*BgpConfList) DeepCopyInto

func (in *BgpConfList) DeepCopyInto(out *BgpConfList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpConfList) DeepCopyObject

func (in *BgpConfList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BgpConfSpec

type BgpConfSpec struct {
	As               uint32            `json:"as,omitempty"`
	AsPerRack        map[string]uint32 `json:"asPerRack,omitempty"`
	RouterId         string            `json:"routerId,omitempty"`
	ListenPort       int32             `json:"listenPort,omitempty"`
	ListenAddresses  []string          `json:"listenAddresses,omitempty"`
	Families         []uint32          `json:"families,omitempty"`
	UseMultiplePaths bool              `json:"useMultiplePaths,omitempty"`
	GracefulRestart  *GracefulRestart  `json:"gracefulRestart,omitempty"`
}

Configuration parameters relating to the global BGP router.

func (BgpConfSpec) ConverToGoBgpGlabalConf

func (c BgpConfSpec) ConverToGoBgpGlabalConf() (*api.Global, error)

func (*BgpConfSpec) DeepCopy

func (in *BgpConfSpec) DeepCopy() *BgpConfSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConfSpec.

func (*BgpConfSpec) DeepCopyInto

func (in *BgpConfSpec) DeepCopyInto(out *BgpConfSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BgpConfStatus

type BgpConfStatus struct {
	NodesConfStatus map[string]NodeConfStatus `json:"nodesConfStatus,omitempty"`
}

BgpConfStatus defines the observed state of BgpConf

func (*BgpConfStatus) DeepCopy

func (in *BgpConfStatus) DeepCopy() *BgpConfStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpConfStatus.

func (*BgpConfStatus) DeepCopyInto

func (in *BgpConfStatus) DeepCopyInto(out *BgpConfStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BgpPeer

type BgpPeer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   BgpPeerSpec   `json:"spec,omitempty"`
	Status BgpPeerStatus `json:"status,omitempty"`
}

BgpPeer is the Schema for the bgppeers API

func (*BgpPeer) DeepCopy

func (in *BgpPeer) DeepCopy() *BgpPeer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeer.

func (*BgpPeer) DeepCopyInto

func (in *BgpPeer) DeepCopyInto(out *BgpPeer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpPeer) DeepCopyObject

func (in *BgpPeer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BgpPeerList

type BgpPeerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BgpPeer `json:"items"`
}

BgpPeerList contains a list of BgpPeer

func (*BgpPeerList) DeepCopy

func (in *BgpPeerList) DeepCopy() *BgpPeerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeerList.

func (*BgpPeerList) DeepCopyInto

func (in *BgpPeerList) DeepCopyInto(out *BgpPeerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpPeerList) DeepCopyObject

func (in *BgpPeerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BgpPeerSpec

type BgpPeerSpec struct {
	Conf            *PeerConf        `json:"conf,omitempty"`
	EbgpMultihop    *EbgpMultihop    `json:"ebgpMultihop,omitempty"`
	Timers          *Timers          `json:"timers,omitempty"`
	Transport       *Transport       `json:"transport,omitempty"`
	GracefulRestart *GracefulRestart `json:"gracefulRestart,omitempty"`
	AfiSafis        []*AfiSafi       `json:"afiSafis,omitempty"`

	NodeSelector *metav1.LabelSelector `json:"nodeSelector,omitempty"`
}

func (BgpPeerSpec) ConverToGoBgpPeer

func (c BgpPeerSpec) ConverToGoBgpPeer() (*api.Peer, error)

func (*BgpPeerSpec) DeepCopy

func (in *BgpPeerSpec) DeepCopy() *BgpPeerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeerSpec.

func (*BgpPeerSpec) DeepCopyInto

func (in *BgpPeerSpec) DeepCopyInto(out *BgpPeerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type BgpPeerStatus

type BgpPeerStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	NodesPeerStatus map[string]NodePeerStatus `json:"nodesPeerStatus,omitempty"`
}

BgpPeerStatus defines the observed state of BgpPeer

func (*BgpPeerStatus) DeepCopy

func (in *BgpPeerStatus) DeepCopy() *BgpPeerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeerStatus.

func (*BgpPeerStatus) DeepCopyInto

func (in *BgpPeerStatus) DeepCopyInto(out *BgpPeerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EbgpMultihop

type EbgpMultihop struct {
	Enabled     bool   `json:"enabled,omitempty"`
	MultihopTtl uint32 `json:"multihopTtl,omitempty"`
}

func (*EbgpMultihop) DeepCopy

func (in *EbgpMultihop) DeepCopy() *EbgpMultihop

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EbgpMultihop.

func (*EbgpMultihop) DeepCopyInto

func (in *EbgpMultihop) DeepCopyInto(out *EbgpMultihop)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Eip

type Eip struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EipSpec   `json:"spec,omitempty"`
	Status EipStatus `json:"status,omitempty"`
}

Eip is the Schema for the eips API

func (*Eip) DeepCopy

func (in *Eip) DeepCopy() *Eip

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Eip.

func (*Eip) DeepCopyInto

func (in *Eip) DeepCopyInto(out *Eip)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Eip) DeepCopyObject

func (in *Eip) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Eip) GetProtocol

func (e Eip) GetProtocol() string

func (Eip) GetSize

func (e Eip) GetSize() (net.IP, int64, error)

func (Eip) GetSpeakerName

func (e Eip) GetSpeakerName() string

func (Eip) IPToOrdinal

func (e Eip) IPToOrdinal(ip net.IP) int

func (Eip) IsOverlap

func (e Eip) IsOverlap(eip Eip) bool

func (Eip) SetupWebhookWithManager

func (e Eip) SetupWebhookWithManager(mgr ctrl.Manager) error

func (Eip) ValidateCreate

func (e Eip) ValidateCreate() error

func (Eip) ValidateDelete

func (e Eip) ValidateDelete() error

func (Eip) ValidateUpdate

func (e Eip) ValidateUpdate(old runtime.Object) error

type EipList

type EipList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Eip `json:"items"`
}

+kubebuilder:object:root=true EipList contains a list of Eip

func (*EipList) DeepCopy

func (in *EipList) DeepCopy() *EipList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipList.

func (*EipList) DeepCopyInto

func (in *EipList) DeepCopyInto(out *EipList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EipList) DeepCopyObject

func (in *EipList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type EipSpec

type EipSpec struct {
	// +kubebuilder:validation:Required
	Address string `json:"address,required"`
	// +kubebuilder:validation:Enum=bgp;layer2;vip
	Protocol      string `json:"protocol,omitempty"`
	Interface     string `json:"interface,omitempty"`
	Disable       bool   `json:"disable,omitempty"`
	UsingKnownIPs bool   `json:"usingKnownIPs,omitempty"`
}

EipSpec defines the desired state of EIP

func (*EipSpec) DeepCopy

func (in *EipSpec) DeepCopy() *EipSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipSpec.

func (*EipSpec) DeepCopyInto

func (in *EipSpec) DeepCopyInto(out *EipSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EipStatus

type EipStatus struct {
	Occupied bool              `json:"occupied,omitempty"`
	Usage    int               `json:"usage,omitempty"`
	PoolSize int               `json:"poolSize,omitempty"`
	Used     map[string]string `json:"used,omitempty"`
	FirstIP  string            `json:"firstIP,omitempty"`
	LastIP   string            `json:"lastIP,omitempty"`
	Ready    bool              `json:"ready,omitempty"`
	V4       bool              `json:"v4,omitempty"`
}

EipStatus defines the observed state of EIP

func (*EipStatus) DeepCopy

func (in *EipStatus) DeepCopy() *EipStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EipStatus.

func (*EipStatus) DeepCopyInto

func (in *EipStatus) DeepCopyInto(out *EipStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Family

type Family struct {
	Afi  string `json:"afi,omitempty"`
	Safi string `json:"safi,omitempty"`
}

func (*Family) DeepCopy

func (in *Family) DeepCopy() *Family

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Family.

func (*Family) DeepCopyInto

func (in *Family) DeepCopyInto(out *Family)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GracefulRestart

type GracefulRestart struct {
	Enabled             bool   `json:"enabled,omitempty"`
	RestartTime         uint32 `json:"restartTime,omitempty"`
	HelperOnly          bool   `json:"helperOnly,omitempty"`
	DeferralTime        uint32 `json:"deferralTime,omitempty"`
	NotificationEnabled bool   `json:"notificationEnabled,omitempty"`
	LonglivedEnabled    bool   `json:"longlivedEnabled,omitempty"`
	StaleRoutesTime     uint32 `json:"staleRoutesTime,omitempty"`
	PeerRestartTime     uint32 `json:"peerRestartTime,omitempty"`
	PeerRestarting      bool   `json:"peerRestarting,omitempty"`
	LocalRestarting     bool   `json:"localRestarting,omitempty"`
	Mode                string `json:"mode,omitempty"`
}

func (*GracefulRestart) DeepCopy

func (in *GracefulRestart) DeepCopy() *GracefulRestart

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GracefulRestart.

func (*GracefulRestart) DeepCopyInto

func (in *GracefulRestart) DeepCopyInto(out *GracefulRestart)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Message

type Message struct {
	Notification   string `json:"notification,omitempty"`
	Update         string `json:"update,omitempty"`
	Open           string `json:"open,omitempty"`
	Keepalive      string `json:"keepalive,omitempty"`
	Refresh        string `json:"refresh,omitempty"`
	Discarded      string `json:"discarded,omitempty"`
	Total          string `json:"total,omitempty"`
	WithdrawUpdate string `json:"withdrawUpdate,omitempty"`
	WithdrawPrefix string `json:"withdrawPrefix,omitempty"`
}

func (*Message) DeepCopy

func (in *Message) DeepCopy() *Message

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Message.

func (*Message) DeepCopyInto

func (in *Message) DeepCopyInto(out *Message)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Messages

type Messages struct {
	Received *Message `json:"received,omitempty"`
	Sent     *Message `json:"sent,omitempty"`
}

func (*Messages) DeepCopy

func (in *Messages) DeepCopy() *Messages

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Messages.

func (*Messages) DeepCopyInto

func (in *Messages) DeepCopyInto(out *Messages)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MpGracefulRestart

type MpGracefulRestart struct {
	Config *MpGracefulRestartConfig `json:"config,omitempty"`
}

func (*MpGracefulRestart) DeepCopy

func (in *MpGracefulRestart) DeepCopy() *MpGracefulRestart

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MpGracefulRestart.

func (*MpGracefulRestart) DeepCopyInto

func (in *MpGracefulRestart) DeepCopyInto(out *MpGracefulRestart)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MpGracefulRestartConfig

type MpGracefulRestartConfig struct {
	Enabled bool `json:"enabled,omitempty"`
}

func (*MpGracefulRestartConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MpGracefulRestartConfig.

func (*MpGracefulRestartConfig) DeepCopyInto

func (in *MpGracefulRestartConfig) DeepCopyInto(out *MpGracefulRestartConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeConfStatus

type NodeConfStatus struct {
	RouterId string `json:"routerId,omitempty"`
	As       uint32 `json:"as,omitempty"`
}

func (*NodeConfStatus) DeepCopy

func (in *NodeConfStatus) DeepCopy() *NodeConfStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfStatus.

func (*NodeConfStatus) DeepCopyInto

func (in *NodeConfStatus) DeepCopyInto(out *NodeConfStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodePeerStatus

type NodePeerStatus struct {
	PeerState   PeerState   `json:"peerState,omitempty"`
	TimersState TimersState `json:"timersState,omitempty"`
}

func ConverStatusFromGoBgpPeer

func ConverStatusFromGoBgpPeer(peer *api.Peer) (NodePeerStatus, error)

func (*NodePeerStatus) DeepCopy

func (in *NodePeerStatus) DeepCopy() *NodePeerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePeerStatus.

func (*NodePeerStatus) DeepCopyInto

func (in *NodePeerStatus) DeepCopyInto(out *NodePeerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PeerConf

type PeerConf struct {
	AuthPassword      string `json:"authPassword,omitempty"`
	Description       string `json:"description,omitempty"`
	LocalAs           uint32 `json:"localAs,omitempty"`
	NeighborAddress   string `json:"neighborAddress,omitempty"`
	PeerAs            uint32 `json:"peerAs,omitempty"`
	PeerGroup         string `json:"peerGroup,omitempty"`
	PeerType          uint32 `json:"peerType,omitempty"`
	RemovePrivateAs   string `json:"removePrivateAs,omitempty"`
	RouteFlapDamping  bool   `json:"routeFlapDamping,omitempty"`
	SendCommunity     uint32 `json:"sendCommunity,omitempty"`
	NeighborInterface string `json:"neighborInterface,omitempty"`
	Vrf               string `json:"vrf,omitempty"`
	AllowOwnAs        uint32 `json:"allowOwnAs,omitempty"`
	ReplacePeerAs     bool   `json:"replacePeerAs,omitempty"`
	AdminDown         bool   `json:"adminDown,omitempty"`
}

func (*PeerConf) DeepCopy

func (in *PeerConf) DeepCopy() *PeerConf

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerConf.

func (*PeerConf) DeepCopyInto

func (in *PeerConf) DeepCopyInto(out *PeerConf)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PeerState

type PeerState struct {
	AuthPassword     string    `json:"authPassword,omitempty"`
	Description      string    `json:"description,omitempty"`
	LocalAs          uint32    `json:"localAs,omitempty"`
	Messages         *Messages `json:"messages,omitempty"`
	NeighborAddress  string    `json:"neighborAddress,omitempty"`
	PeerAs           uint32    `json:"peerAs,omitempty"`
	PeerGroup        string    `json:"peerGroup,omitempty"`
	PeerType         uint32    `json:"peerType,omitempty"`
	Queues           *Queues   `json:"queues,omitempty"`
	RemovePrivateAs  uint32    `json:"removePrivateAs,omitempty"`
	RouteFlapDamping bool      `json:"routeFlapDamping,omitempty"`
	SendCommunity    uint32    `json:"sendCommunity,omitempty"`
	SessionState     string    `json:"sessionState,omitempty"`
	AdminState       string    `json:"adminState,omitempty"`
	OutQ             uint32    `json:"outQ,omitempty"`
	Flops            uint32    `json:"flops,omitempty"`
	RouterId         string    `json:"routerId,omitempty"`
}

func (*PeerState) DeepCopy

func (in *PeerState) DeepCopy() *PeerState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerState.

func (*PeerState) DeepCopyInto

func (in *PeerState) DeepCopyInto(out *PeerState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Queues

type Queues struct {
	Input  uint32 `json:"input,omitempty"`
	Output uint32 `json:"output,omitempty"`
}

func (*Queues) DeepCopy

func (in *Queues) DeepCopy() *Queues

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Queues.

func (*Queues) DeepCopyInto

func (in *Queues) DeepCopyInto(out *Queues)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Timers

type Timers struct {
	Config *TimersConfig `json:"config,omitempty"`
}

func (*Timers) DeepCopy

func (in *Timers) DeepCopy() *Timers

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timers.

func (*Timers) DeepCopyInto

func (in *Timers) DeepCopyInto(out *Timers)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TimersConfig

type TimersConfig struct {
	ConnectRetry                 string `json:"connectRetry,omitempty"`
	HoldTime                     string `json:"holdTime,omitempty"`
	KeepaliveInterval            string `json:"keepaliveInterval,omitempty"`
	MinimumAdvertisementInterval string `json:"minimumAdvertisementInterval,omitempty"`
}

https://stackoverflow.com/questions/21151765/cannot-unmarshal-string-into-go-value-of-type-int64

func (*TimersConfig) DeepCopy

func (in *TimersConfig) DeepCopy() *TimersConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimersConfig.

func (*TimersConfig) DeepCopyInto

func (in *TimersConfig) DeepCopyInto(out *TimersConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TimersState

type TimersState struct {
	ConnectRetry                 string `json:"connectRetry,omitempty"`
	HoldTime                     string `json:"holdTime,omitempty"`
	KeepaliveInterval            string `json:"keepaliveInterval,omitempty"`
	MinimumAdvertisementInterval string `json:"minimumAdvertisementInterval,omitempty"`
	NegotiatedHoldTime           string `json:"negotiatedHoldTime,omitempty"`
	Uptime                       string `json:"uptime,omitempty"`
	Downtime                     string `json:"downtime,omitempty"`
}

func (*TimersState) DeepCopy

func (in *TimersState) DeepCopy() *TimersState

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimersState.

func (*TimersState) DeepCopyInto

func (in *TimersState) DeepCopyInto(out *TimersState)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Transport

type Transport struct {
	MtuDiscovery  bool   `json:"mtuDiscovery,omitempty"`
	PassiveMode   bool   `json:"passiveMode,omitempty"`
	RemoteAddress string `json:"remoteAddress,omitempty"`
	RemotePort    uint32 `json:"remotePort,omitempty"`
	TcpMss        uint32 `json:"tcpMss,omitempty"`
}

func (*Transport) DeepCopy

func (in *Transport) DeepCopy() *Transport

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Transport.

func (*Transport) DeepCopyInto

func (in *Transport) DeepCopyInto(out *Transport)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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