v1

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "bgppeer.loxilb.io"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type BGPNeigh

type BGPNeigh struct {
	// BGP Neighbor IP address
	IPAddress string `json:"ipAddress,omitempty"`
	// Remote AS number
	RemoteAs int64 `json:"remoteAs,omitempty"`
	// Remote Connect Port (default 179)
	RemotePort int64 `json:"remotePort,omitempty"`
}

func (*BGPNeigh) DeepCopy

func (in *BGPNeigh) DeepCopy() *BGPNeigh

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

func (*BGPNeigh) DeepCopyInto

func (in *BGPNeigh) DeepCopyInto(out *BGPNeigh)

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

type BGPPeerModel

type BGPPeerModel BGPNeigh

func (*BGPPeerModel) DeepCopy

func (in *BGPPeerModel) DeepCopy() *BGPPeerModel

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

func (*BGPPeerModel) DeepCopyInto

func (in *BGPPeerModel) DeepCopyInto(out *BGPPeerModel)

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

func (*BGPPeerModel) GetKeyStruct

func (bpgModel *BGPPeerModel) GetKeyStruct() api.LoxiModel

type BGPPeerService

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

	Spec   BGPPeerModel         `json:"spec,omitempty"`
	Status BGPPeerServiceStatus `json:"status,omitempty"`
}

+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*BGPPeerService) DeepCopy

func (in *BGPPeerService) DeepCopy() *BGPPeerService

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

func (*BGPPeerService) DeepCopyInto

func (in *BGPPeerService) DeepCopyInto(out *BGPPeerService)

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

func (*BGPPeerService) DeepCopyObject

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

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

type BGPPeerServiceList

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*BGPPeerServiceList) DeepCopy

func (in *BGPPeerServiceList) DeepCopy() *BGPPeerServiceList

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

func (*BGPPeerServiceList) DeepCopyInto

func (in *BGPPeerServiceList) DeepCopyInto(out *BGPPeerServiceList)

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

func (*BGPPeerServiceList) DeepCopyObject

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

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

type BGPPeerServiceSpec

type BGPPeerServiceSpec struct {
	Model BGPPeerModel `json:"bgpPeer"`
}

BGPPeerServiceSpec defines the desired state of LBService

func (*BGPPeerServiceSpec) DeepCopy

func (in *BGPPeerServiceSpec) DeepCopy() *BGPPeerServiceSpec

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

func (*BGPPeerServiceSpec) DeepCopyInto

func (in *BGPPeerServiceSpec) DeepCopyInto(out *BGPPeerServiceSpec)

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

type BGPPeerServiceStatus

type BGPPeerServiceStatus struct {
}

BGPPeerServiceStatus defines the observed state of BGPPeerService

func (*BGPPeerServiceStatus) DeepCopy

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

func (*BGPPeerServiceStatus) DeepCopyInto

func (in *BGPPeerServiceStatus) DeepCopyInto(out *BGPPeerServiceStatus)

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