Documentation ¶
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type Actions
- type BGPActions
- type BGPAsPathLength
- type BGPAsPathSet
- type BGPCommunitySet
- type BGPConditions
- type BGPPolicyDefinition
- type BGPPolicyDefinitionService
- type BGPPolicyDefinitionServiceList
- type BGPPolicyDefinitionServiceStatus
- type Conditions
- type MatchNeighborSet
- type MatchPrefixSet
- type SetAsPathPrepend
- type SetCommunity
- type Statement
Constants ¶
const GroupName = "bgppolicydefinition.loxilb.io"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Actions.
func (*Actions) DeepCopyInto ¶
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 ¶
func (in *BGPPolicyDefinitionService) DeepCopy() *BGPPolicyDefinitionService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BGPPolicyDefinitionService.
func (*BGPPolicyDefinitionService) DeepCopyInto ¶
func (in *BGPPolicyDefinitionService) DeepCopyInto(out *BGPPolicyDefinitionService)
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 ¶
func (in *BGPPolicyDefinitionServiceList) DeepCopy() *BGPPolicyDefinitionServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BGPPolicyDefinitionServiceList.
func (*BGPPolicyDefinitionServiceList) DeepCopyInto ¶
func (in *BGPPolicyDefinitionServiceList) DeepCopyInto(out *BGPPolicyDefinitionServiceList)
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 ¶
func (in *BGPPolicyDefinitionServiceStatus) DeepCopy() *BGPPolicyDefinitionServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BGPPolicyDefinitionServiceStatus.
func (*BGPPolicyDefinitionServiceStatus) DeepCopyInto ¶
func (in *BGPPolicyDefinitionServiceStatus) DeepCopyInto(out *BGPPolicyDefinitionServiceStatus)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Statement.
func (*Statement) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.