v1alpha1

package
v0.0.0-...-2275388 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=sart.terassyi.net

Index

Constants

This section is empty.

Variables

View Source
var (
	AddressPoolStatusAvailable   = AddressPoolStatus("Available")
	AddressPoolStatusUnavailable = AddressPoolStatus("Unavailable")
)
View Source
var (
	AddressRequestConditionRequested = AddressRequestCondition("Requested")
	AddressRequestConditionAllocated = AddressRequestCondition("Allocated")
	AddressRequestConditionReleased  = AddressRequestCondition("Released")
	AddressRequestConditionFailed    = AddressRequestCondition("Failed")
)
View Source
var (
	BGPPeerStatusIdle        = BGPPeerStatus("Idle")
	BGPPeerStatusConnect     = BGPPeerStatus("Connect")
	BGPPeerStatusActive      = BGPPeerStatus("Active")
	BGPPeerStatusOpenSent    = BGPPeerStatus("OpenSent")
	BGPPeerStatusOpenConfirm = BGPPeerStatus("OpenConfirm")
	BGPPeerStatusEstablished = BGPPeerStatus("Established")
)
View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "sart.terassyi.net", Version: "v1alpha1"}

	// 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
)
View Source
var (
	NodeBGPStatusAvailable   = NodeBGPStatus("Available")
	NodeBGPStatusUnavailable = NodeBGPStatus("Unavailable")
)
View Source
var NodeBGPOwnerReferenceNotFound error = errors.New("Owner reference by Node is not found")
View Source
var OwnerReferenceByServiceNotFound error = errors.New("Owner reference by Service is not found")

Functions

This section is empty.

Types

type AddressFamily

type AddressFamily struct {
	//+kubebuilder:validation:Enum=ipv4;ipv6
	//+kubebuilder:default:=ipv4
	Afi string `json:"afi"`

	//+kubebuilder:validation:Enum=unicast;multicast
	//+kubebuilder:default:=unicast
	Safi string `json:"safi"`
}

func (*AddressFamily) DeepCopy

func (in *AddressFamily) DeepCopy() *AddressFamily

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

func (*AddressFamily) DeepCopyInto

func (in *AddressFamily) DeepCopyInto(out *AddressFamily)

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

type AddressPool

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

	Spec   AddressPoolSpec   `json:"spec,omitempty"`
	Status AddressPoolStatus `json:"status,omitempty"`
}

AddressPool is the Schema for the addresspools API

func (*AddressPool) DeepCopy

func (in *AddressPool) DeepCopy() *AddressPool

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

func (*AddressPool) DeepCopyInto

func (in *AddressPool) DeepCopyInto(out *AddressPool)

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

func (*AddressPool) DeepCopyObject

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

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

type AddressPoolList

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

AddressPoolList contains a list of AddressPool

func (*AddressPoolList) DeepCopy

func (in *AddressPoolList) DeepCopy() *AddressPoolList

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

func (*AddressPoolList) DeepCopyInto

func (in *AddressPoolList) DeepCopyInto(out *AddressPoolList)

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

func (*AddressPoolList) DeepCopyObject

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

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

type AddressPoolSpec

type AddressPoolSpec struct {

	//+kubebuilder:validation:Enum=cluster;namespaced;lb
	Type string `json:"type"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinItems=1
	Cidrs []Cdir `json:"cidrs"`

	// +kubebuilder:default:=false
	Disable bool `json:"disable,omitempty" +kubebuilder:"default=false"`
}

AddressPoolSpec defines the desired state of AddressPool

func (*AddressPoolSpec) DeepCopy

func (in *AddressPoolSpec) DeepCopy() *AddressPoolSpec

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

func (*AddressPoolSpec) DeepCopyInto

func (in *AddressPoolSpec) DeepCopyInto(out *AddressPoolSpec)

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

type AddressPoolStatus

type AddressPoolStatus string

AddressPoolStatus defines the observed state of AddressPool

type AddressRequest

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

	Spec   AddressRequestSpec   `json:"spec,omitempty"`
	Status AddressRequestStatus `json:"status,omitempty"`
}

AddressRequest is the Schema for the addressrequests API

func (*AddressRequest) DeepCopy

func (in *AddressRequest) DeepCopy() *AddressRequest

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

func (*AddressRequest) DeepCopyInto

func (in *AddressRequest) DeepCopyInto(out *AddressRequest)

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

func (*AddressRequest) DeepCopyObject

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

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

type AddressRequestCondition

type AddressRequestCondition string

type AddressRequestList

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

AddressRequestList contains a list of AddressRequest

func (*AddressRequestList) DeepCopy

func (in *AddressRequestList) DeepCopy() *AddressRequestList

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

func (*AddressRequestList) DeepCopyInto

func (in *AddressRequestList) DeepCopyInto(out *AddressRequestList)

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

func (*AddressRequestList) DeepCopyObject

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

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

type AddressRequestSpec

type AddressRequestSpec struct {
	Kind string `json:"kind"`

	//+kubebuilder:validation:Enum=ipv4;ipv6
	//+kubebuilder:default:=ipv4
	Protocol string `json:"protocol,omitempty"`
}

AddressRequestSpec defines the desired state of AddressRequest

func (*AddressRequestSpec) DeepCopy

func (in *AddressRequestSpec) DeepCopy() *AddressRequestSpec

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

func (*AddressRequestSpec) DeepCopyInto

func (in *AddressRequestSpec) DeepCopyInto(out *AddressRequestSpec)

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

type AddressRequestStatus

type AddressRequestStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Conditions []AddressRequestCondition `json:"conditions,omitempty"`
}

AddressRequestStatus defines the observed state of AddressRequest

func (*AddressRequestStatus) DeepCopy

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

func (*AddressRequestStatus) DeepCopyInto

func (in *AddressRequestStatus) DeepCopyInto(out *AddressRequestStatus)

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

type Advertisement struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
	Prefix    string `json:"prefix"`
}

func (*Advertisement) DeepCopy

func (in *Advertisement) DeepCopy() *Advertisement

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

func (*Advertisement) DeepCopyInto

func (in *Advertisement) DeepCopyInto(out *Advertisement)

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

type BGPAdvertisement

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

	Spec BGPAdvertisementSpec `json:"spec,omitempty"`

	// +kubebuilder:default:={condition:Unavailable}
	Status BGPAdvertisementStatus `json:"status,omitempty"`
}

BGPAdvertisement is the Schema for the bgpadvertisements API

func (*BGPAdvertisement) DeepCopy

func (in *BGPAdvertisement) DeepCopy() *BGPAdvertisement

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

func (*BGPAdvertisement) DeepCopyInto

func (in *BGPAdvertisement) DeepCopyInto(out *BGPAdvertisement)

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

func (*BGPAdvertisement) DeepCopyObject

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

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

func (*BGPAdvertisement) SetupWebhookWithManager

func (r *BGPAdvertisement) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*BGPAdvertisement) ToPathInfo

func (a *BGPAdvertisement) ToPathInfo() speaker.PathInfo

func (*BGPAdvertisement) ValidateCreate

func (r *BGPAdvertisement) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*BGPAdvertisement) ValidateDelete

func (r *BGPAdvertisement) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*BGPAdvertisement) ValidateUpdate

func (r *BGPAdvertisement) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type BGPAdvertisementCondition

type BGPAdvertisementCondition string
var (
	BGPAdvertisementConditionAvailable   BGPAdvertisementCondition = "Available"
	BGPAdvertisementConditionUnavailable BGPAdvertisementCondition = "Unavailable"
)

type BGPAdvertisementList

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

BGPAdvertisementList contains a list of BGPAdvertisement

func (*BGPAdvertisementList) DeepCopy

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

func (*BGPAdvertisementList) DeepCopyInto

func (in *BGPAdvertisementList) DeepCopyInto(out *BGPAdvertisementList)

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

func (*BGPAdvertisementList) DeepCopyObject

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

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

type BGPAdvertisementSpec

type BGPAdvertisementSpec struct {
	Network string `json:"network"`

	// +kubebuilder:validation:Enum=service;pod
	// +kubebuilder:default=pod
	Type string `json:"type"`

	//+kubebuilder:validation:Enum=ipv4;ipv6
	//+kubebuilder:default:=ipv4
	Protocol string `json:"protocol,omitempty"`

	//+kubebuilder:validation:Enum=egp;igp;incomplete
	//+kubebuilder:default:=igp
	Origin string `json:"origin,omitempty"`

	LocalPref uint32 `json:"localPref,omitempty"`

	Nodes []string `json:"nodes,omitempty"`
}

BGPAdvertisementSpec defines the desired state of BGPAdvertisement

func (*BGPAdvertisementSpec) DeepCopy

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

func (*BGPAdvertisementSpec) DeepCopyInto

func (in *BGPAdvertisementSpec) DeepCopyInto(out *BGPAdvertisementSpec)

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

type BGPAdvertisementStatus

type BGPAdvertisementStatus struct {
	// +kubebuilder:default:=Unavailable
	Condition BGPAdvertisementCondition `json:"condition"`
}

BGPAdvertisementStatus defines the observed state of BGPAdvertisement

func (*BGPAdvertisementStatus) DeepCopy

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

func (*BGPAdvertisementStatus) DeepCopyInto

func (in *BGPAdvertisementStatus) DeepCopyInto(out *BGPAdvertisementStatus)

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"`
	// +kubebuilder:default:=Idle
	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 {

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=4294967295
	PeerAsn uint32 `json:"peerAsn"`

	PeerRouterId string `json:"peerRouterId"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=4294967295
	LocalAsn uint32 `json:"localAsn,omitempty"`

	LocalRouterId string `json:"localRouterId,omitempty"`

	Node string `json:"node,omitempty"`

	// +kubebuilder:default:={afi:ipv4,safi:unicast}
	Family AddressFamily `json:"family,omitempty"`

	Advertisements []Advertisement `json:"advertisements,omitempty"`
}

BGPPeerSpec defines the desired state of BGPPeer

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 string

type Cdir

type Cdir struct {

	//+kubebuilder:validation:Enum=ipv4;ipv6
	Protocol string `json:"protocol,omitempty"`

	Prefix string `json:"prefix"`
}

func (*Cdir) DeepCopy

func (in *Cdir) DeepCopy() *Cdir

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

func (*Cdir) DeepCopyInto

func (in *Cdir) DeepCopyInto(out *Cdir)

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

type ClusterBGP

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

	Spec   ClusterBGPSpec   `json:"spec,omitempty"`
	Status ClusterBGPStatus `json:"status,omitempty"`
}

ClusterBGP is the Schema for the clusterbgps API

func (*ClusterBGP) DeepCopy

func (in *ClusterBGP) DeepCopy() *ClusterBGP

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

func (*ClusterBGP) DeepCopyInto

func (in *ClusterBGP) DeepCopyInto(out *ClusterBGP)

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

func (*ClusterBGP) DeepCopyObject

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

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

type ClusterBGPList

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

ClusterBGPList contains a list of ClusterBGP

func (*ClusterBGPList) DeepCopy

func (in *ClusterBGPList) DeepCopy() *ClusterBGPList

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

func (*ClusterBGPList) DeepCopyInto

func (in *ClusterBGPList) DeepCopyInto(out *ClusterBGPList)

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

func (*ClusterBGPList) DeepCopyObject

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

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

type ClusterBGPSpec

type ClusterBGPSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	PeeringPolicy PeeringPolicy `json:"peeringPolicy,omitempty"`
	Nodes         []NodeBGP     `json:"nodes,omitempty"`
}

ClusterBGPSpec defines the desired state of ClusterBGP

func (*ClusterBGPSpec) DeepCopy

func (in *ClusterBGPSpec) DeepCopy() *ClusterBGPSpec

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

func (*ClusterBGPSpec) DeepCopyInto

func (in *ClusterBGPSpec) DeepCopyInto(out *ClusterBGPSpec)

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

type ClusterBGPStatus

type ClusterBGPStatus struct {
}

ClusterBGPStatus defines the observed state of ClusterBGP

func (*ClusterBGPStatus) DeepCopy

func (in *ClusterBGPStatus) DeepCopy() *ClusterBGPStatus

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

func (*ClusterBGPStatus) DeepCopyInto

func (in *ClusterBGPStatus) DeepCopyInto(out *ClusterBGPStatus)

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

type NodeBGP

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

	Spec   NodeBGPSpec   `json:"spec,omitempty"`
	Status NodeBGPStatus `json:"status,omitempty"`
}

NodeBGP is the Schema for the nodebgps API

func (*NodeBGP) DeepCopy

func (in *NodeBGP) DeepCopy() *NodeBGP

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

func (*NodeBGP) DeepCopyInto

func (in *NodeBGP) DeepCopyInto(out *NodeBGP)

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

func (*NodeBGP) DeepCopyObject

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

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

func (*NodeBGP) SetupWebhookWithManager

func (r *NodeBGP) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*NodeBGP) ValidateCreate

func (r *NodeBGP) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*NodeBGP) ValidateDelete

func (r *NodeBGP) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*NodeBGP) ValidateUpdate

func (r *NodeBGP) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type NodeBGPList

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

NodeBGPList contains a list of NodeBGP

func (*NodeBGPList) DeepCopy

func (in *NodeBGPList) DeepCopy() *NodeBGPList

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

func (*NodeBGPList) DeepCopyInto

func (in *NodeBGPList) DeepCopyInto(out *NodeBGPList)

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

func (*NodeBGPList) DeepCopyObject

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

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

type NodeBGPSpec

type NodeBGPSpec struct {

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=4294967295
	Asn uint32 `json:"asn"`

	RouterId string `json:"routerId"`

	Endpoint string `json:"endpoint,omitempty"`

	Peers []Peer `json:"peers,omitempty"`
}

NodeBGPSpec defines the desired state of NodeBGP

func (*NodeBGPSpec) DeepCopy

func (in *NodeBGPSpec) DeepCopy() *NodeBGPSpec

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

func (*NodeBGPSpec) DeepCopyInto

func (in *NodeBGPSpec) DeepCopyInto(out *NodeBGPSpec)

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

type NodeBGPStatus

type NodeBGPStatus string

NodeBGPStatus defines the observed state of NodeBGP

type Peer

type Peer struct {
	Name      string        `json:"name"`
	Namespace string        `json:"namespace"`
	Asn       uint32        `json:"asn"`
	RouterId  string        `json:"routerId"`
	Status    BGPPeerStatus `json:"status"`
}

func (*Peer) DeepCopy

func (p *Peer) DeepCopy() *Peer

func (*Peer) DeepCopyInto

func (in *Peer) DeepCopyInto(out *Peer)

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

type PeeringPolicy

type PeeringPolicy struct {
	// +kubebuilder:default:=none
	// +optional
	Policy string `json:"policy,omitempty"`
}

func (*PeeringPolicy) DeepCopy

func (in *PeeringPolicy) DeepCopy() *PeeringPolicy

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

func (*PeeringPolicy) DeepCopyInto

func (in *PeeringPolicy) DeepCopyInto(out *PeeringPolicy)

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