Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=sart.terassyi.net
Index ¶
- Variables
- type AddressFamily
- type AddressPool
- type AddressPoolList
- type AddressPoolSpec
- type AddressPoolStatus
- type AddressRequest
- type AddressRequestCondition
- type AddressRequestList
- type AddressRequestSpec
- type AddressRequestStatus
- type Advertisement
- type BGPAdvertisement
- func (in *BGPAdvertisement) DeepCopy() *BGPAdvertisement
- func (in *BGPAdvertisement) DeepCopyInto(out *BGPAdvertisement)
- func (in *BGPAdvertisement) DeepCopyObject() runtime.Object
- func (r *BGPAdvertisement) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (a *BGPAdvertisement) ToPathInfo() speaker.PathInfo
- func (r *BGPAdvertisement) ValidateCreate() error
- func (r *BGPAdvertisement) ValidateDelete() error
- func (r *BGPAdvertisement) ValidateUpdate(old runtime.Object) error
- type BGPAdvertisementCondition
- type BGPAdvertisementList
- type BGPAdvertisementSpec
- type BGPAdvertisementStatus
- type BGPPeer
- type BGPPeerList
- type BGPPeerSpec
- type BGPPeerStatus
- type Cdir
- type ClusterBGP
- type ClusterBGPList
- type ClusterBGPSpec
- type ClusterBGPStatus
- type NodeBGP
- func (in *NodeBGP) DeepCopy() *NodeBGP
- func (in *NodeBGP) DeepCopyInto(out *NodeBGP)
- func (in *NodeBGP) DeepCopyObject() runtime.Object
- func (r *NodeBGP) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *NodeBGP) ValidateCreate() error
- func (r *NodeBGP) ValidateDelete() error
- func (r *NodeBGP) ValidateUpdate(old runtime.Object) error
- type NodeBGPList
- type NodeBGPSpec
- type NodeBGPStatus
- type Peer
- type PeeringPolicy
Constants ¶
This section is empty.
Variables ¶
var ( AddressPoolStatusAvailable = AddressPoolStatus("Available") )
var ( AddressRequestConditionRequested = AddressRequestCondition("Requested") AddressRequestConditionAllocated = AddressRequestCondition("Allocated") AddressRequestConditionReleased = AddressRequestCondition("Released") AddressRequestConditionFailed = AddressRequestCondition("Failed") )
var ( BGPPeerStatusIdle = BGPPeerStatus("Idle") BGPPeerStatusConnect = BGPPeerStatus("Connect") BGPPeerStatusActive = BGPPeerStatus("Active") BGPPeerStatusOpenSent = BGPPeerStatus("OpenSent") BGPPeerStatusOpenConfirm = BGPPeerStatus("OpenConfirm") BGPPeerStatusEstablished = BGPPeerStatus("Established") )
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 )
var ( NodeBGPStatusAvailable = NodeBGPStatus("Available") )
var NodeBGPOwnerReferenceNotFound error = errors.New("Owner reference by Node is not found")
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 ¶
func (in *AddressRequestStatus) DeepCopy() *AddressRequestStatus
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 ¶
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" )
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 ¶
func (in *BGPAdvertisementList) DeepCopy() *BGPAdvertisementList
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 ¶
func (in *BGPAdvertisementSpec) DeepCopy() *BGPAdvertisementSpec
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 ¶
func (in *BGPAdvertisementStatus) DeepCopy() *BGPAdvertisementStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BGPPeer.
func (*BGPPeer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BGPPeer) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cdir.
func (*Cdir) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeBGP.
func (*NodeBGP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeBGP) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NodeBGP) SetupWebhookWithManager ¶
func (*NodeBGP) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*NodeBGP) ValidateDelete ¶
ValidateDelete 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 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) DeepCopyInto ¶
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.