v1

package
v0.9.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GroupName = "bgppolicydefinition.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 Actions

type Actions struct {
	RouteDisposition string     `json:"routeDisposition"`
	BGPActions       BGPActions `json:"bgpActions,omitempty"`
}

func (*Actions) DeepCopy

func (in *Actions) DeepCopy() *Actions

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

func (*Actions) DeepCopyInto

func (in *Actions) DeepCopyInto(out *Actions)

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

type BGPActions

type BGPActions struct {
	SetMed            string           `json:"setMed,omitempty"`
	SetCommunity      SetCommunity     `json:"setCommunity,omitempty"`
	SetExtCommunity   SetCommunity     `json:"setExtCommunity,omitempty"`
	SetLargeCommunity SetCommunity     `json:"setLargeCommunity,omitempty"`
	SetNextHop        string           `json:"setNextHop,omitempty"`
	SetLocalPerf      int              `json:"setLocalPerf,omitempty"`
	SetAsPathPrepend  SetAsPathPrepend `json:"setAsPathPrepend,omitempty"`
}

func (*BGPActions) DeepCopy

func (in *BGPActions) DeepCopy() *BGPActions

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

func (*BGPActions) DeepCopyInto

func (in *BGPActions) DeepCopyInto(out *BGPActions)

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

type BGPAsPathLength

type BGPAsPathLength struct {
	Operator string `json:"operator,omitempty"`
	Value    int    `json:"value,omitempty"`
}

func (*BGPAsPathLength) DeepCopy

func (in *BGPAsPathLength) DeepCopy() *BGPAsPathLength

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

func (*BGPAsPathLength) DeepCopyInto

func (in *BGPAsPathLength) DeepCopyInto(out *BGPAsPathLength)

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

type BGPAsPathSet

type BGPAsPathSet struct {
	AsPathSet       string `json:"asPathSet,omitempty"`
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

func (*BGPAsPathSet) DeepCopy

func (in *BGPAsPathSet) DeepCopy() *BGPAsPathSet

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

func (*BGPAsPathSet) DeepCopyInto

func (in *BGPAsPathSet) DeepCopyInto(out *BGPAsPathSet)

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

type BGPCommunitySet

type BGPCommunitySet struct {
	CommunitySet    string `json:"communitySet,omitempty"`
	MatchSetOptions string `json:"matchSetOptions,omitempty"`
}

func (*BGPCommunitySet) DeepCopy

func (in *BGPCommunitySet) DeepCopy() *BGPCommunitySet

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

func (*BGPCommunitySet) DeepCopyInto

func (in *BGPCommunitySet) DeepCopyInto(out *BGPCommunitySet)

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

type BGPConditions

type BGPConditions struct {
	AfiSafiIn         []string        `json:"afiSafiIn,omitempty"`
	AsPathSet         BGPAsPathSet    `json:"matchAsPathSet,omitempty"`
	AsPathLength      BGPAsPathLength `json:"asPathLength,omitempty"`
	CommunitySet      BGPCommunitySet `json:"matchCommunitySet,omitempty"`
	ExtCommunitySet   BGPCommunitySet `json:"matchExtCommunitySet,omitempty"`
	LargeCommunitySet BGPCommunitySet `json:"largeCommunitySet,omitempty"`
	RouteType         string          `json:"routeType,omitempty"`
	NextHopInList     []string        `json:"nextHopInList,omitempty"`
	Rpki              string          `json:"rpki,omitempty"`
}

func (*BGPConditions) DeepCopy

func (in *BGPConditions) DeepCopy() *BGPConditions

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

func (*BGPConditions) DeepCopyInto

func (in *BGPConditions) DeepCopyInto(out *BGPConditions)

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

type BGPPolicyDefinition

type BGPPolicyDefinition struct {
	Name      string      `json:"name"`
	Statement []Statement `json:"statements"`
}

BGPPolicyDefinition - Info related to a end-point config entry

func (*BGPPolicyDefinition) DeepCopy

func (in *BGPPolicyDefinition) DeepCopy() *BGPPolicyDefinition

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

func (*BGPPolicyDefinition) DeepCopyInto

func (in *BGPPolicyDefinition) DeepCopyInto(out *BGPPolicyDefinition)

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

func (*BGPPolicyDefinition) GetKeyStruct

func (bgpPolicyDefinitionModel *BGPPolicyDefinition) GetKeyStruct() api.LoxiModel

type BGPPolicyDefinitionService

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

	Spec   BGPPolicyDefinition              `json:"spec,omitempty"`
	Status BGPPolicyDefinitionServiceStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*BGPPolicyDefinitionService) DeepCopy

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

func (*BGPPolicyDefinitionService) DeepCopyInto

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

func (*BGPPolicyDefinitionService) DeepCopyObject

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

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

type BGPPolicyDefinitionServiceList

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

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

func (*BGPPolicyDefinitionServiceList) DeepCopy

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

func (*BGPPolicyDefinitionServiceList) DeepCopyInto

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

func (*BGPPolicyDefinitionServiceList) DeepCopyObject

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

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

type BGPPolicyDefinitionServiceStatus

type BGPPolicyDefinitionServiceStatus struct {
}

BGPPolicyDefinitionServiceStatus defines the observed state of FireWallService

func (*BGPPolicyDefinitionServiceStatus) DeepCopy

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

func (*BGPPolicyDefinitionServiceStatus) DeepCopyInto

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

type Conditions

type Conditions struct {
	PrefixSet     MatchPrefixSet   `json:"matchPrefixSet,omitempty"`
	NeighborSet   MatchNeighborSet `json:"matchNeighborSet,omitempty"`
	BGPConditions BGPConditions    `json:"bgpConditions"`
}

func (*Conditions) DeepCopy

func (in *Conditions) DeepCopy() *Conditions

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

func (*Conditions) DeepCopyInto

func (in *Conditions) DeepCopyInto(out *Conditions)

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

type MatchNeighborSet

type MatchNeighborSet struct {
	MatchSetOption string `json:"matchSetOption,omitempty"`
	NeighborSet    string `json:"neighborSet,omitempty"`
}

func (*MatchNeighborSet) DeepCopy

func (in *MatchNeighborSet) DeepCopy() *MatchNeighborSet

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

func (*MatchNeighborSet) DeepCopyInto

func (in *MatchNeighborSet) DeepCopyInto(out *MatchNeighborSet)

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

type MatchPrefixSet

type MatchPrefixSet struct {
	MatchSetOption string `json:"matchSetOption,omitempty"`
	PrefixSet      string `json:"prefixSet,omitempty"`
}

func (*MatchPrefixSet) DeepCopy

func (in *MatchPrefixSet) DeepCopy() *MatchPrefixSet

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

func (*MatchPrefixSet) DeepCopyInto

func (in *MatchPrefixSet) DeepCopyInto(out *MatchPrefixSet)

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

type SetAsPathPrepend

type SetAsPathPrepend struct {
	ASN     string `json:"as,omitempty"`
	RepeatN int    `json:"repeatN,omitempty"`
}

func (*SetAsPathPrepend) DeepCopy

func (in *SetAsPathPrepend) DeepCopy() *SetAsPathPrepend

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

func (*SetAsPathPrepend) DeepCopyInto

func (in *SetAsPathPrepend) DeepCopyInto(out *SetAsPathPrepend)

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

type SetCommunity

type SetCommunity struct {
	Options            string   `json:"options,omitempty"`
	SetCommunityMethod []string `json:"setCommunityMethod,omitempty"`
}

func (*SetCommunity) DeepCopy

func (in *SetCommunity) DeepCopy() *SetCommunity

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

func (*SetCommunity) DeepCopyInto

func (in *SetCommunity) DeepCopyInto(out *SetCommunity)

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

type Statement

type Statement struct {
	Name       string     `json:"name,omitempty"`
	Conditions Conditions `json:"conditions,omitempty"`
	Actions    Actions    `json:"actions,omitempty"`
}

func (*Statement) DeepCopy

func (in *Statement) DeepCopy() *Statement

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

func (*Statement) DeepCopyInto

func (in *Statement) DeepCopyInto(out *Statement)

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