Documentation ¶
Index ¶
- type ActionsApplyConfiguration
- type BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetAsPathPrepend(value *SetAsPathPrependApplyConfiguration) *BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetCommunity(value *SetCommunityApplyConfiguration) *BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetExtCommunity(value *SetCommunityApplyConfiguration) *BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetLargeCommunity(value *SetCommunityApplyConfiguration) *BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetLocalPerf(value int) *BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetMed(value string) *BGPActionsApplyConfiguration
- func (b *BGPActionsApplyConfiguration) WithSetNextHop(value string) *BGPActionsApplyConfiguration
- type BGPAsPathLengthApplyConfiguration
- type BGPAsPathSetApplyConfiguration
- type BGPCommunitySetApplyConfiguration
- type BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithAfiSafiIn(values ...string) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithAsPathLength(value *BGPAsPathLengthApplyConfiguration) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithAsPathSet(value *BGPAsPathSetApplyConfiguration) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithCommunitySet(value *BGPCommunitySetApplyConfiguration) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithExtCommunitySet(value *BGPCommunitySetApplyConfiguration) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithLargeCommunitySet(value *BGPCommunitySetApplyConfiguration) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithNextHopInList(values ...string) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithRouteType(value string) *BGPConditionsApplyConfiguration
- func (b *BGPConditionsApplyConfiguration) WithRpki(value string) *BGPConditionsApplyConfiguration
- type BGPPolicyDefinitionApplyConfiguration
- type BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithAPIVersion(value string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithAnnotations(entries map[string]string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithFinalizers(values ...string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithGenerateName(value string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithGeneration(value int64) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithKind(value string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithLabels(entries map[string]string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithName(value string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithNamespace(value string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithResourceVersion(value string) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithSpec(value *BGPPolicyDefinitionApplyConfiguration) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithStatus(value crdsbgppolicydefinitionv1.BGPPolicyDefinitionServiceStatus) *BGPPolicyDefinitionServiceApplyConfiguration
- func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithUID(value types.UID) *BGPPolicyDefinitionServiceApplyConfiguration
- type ConditionsApplyConfiguration
- func (b *ConditionsApplyConfiguration) WithBGPConditions(value *BGPConditionsApplyConfiguration) *ConditionsApplyConfiguration
- func (b *ConditionsApplyConfiguration) WithNeighborSet(value *MatchNeighborSetApplyConfiguration) *ConditionsApplyConfiguration
- func (b *ConditionsApplyConfiguration) WithPrefixSet(value *MatchPrefixSetApplyConfiguration) *ConditionsApplyConfiguration
- type MatchNeighborSetApplyConfiguration
- type MatchPrefixSetApplyConfiguration
- type SetAsPathPrependApplyConfiguration
- type SetCommunityApplyConfiguration
- type StatementApplyConfiguration
- func (b *StatementApplyConfiguration) WithActions(value *ActionsApplyConfiguration) *StatementApplyConfiguration
- func (b *StatementApplyConfiguration) WithConditions(value *ConditionsApplyConfiguration) *StatementApplyConfiguration
- func (b *StatementApplyConfiguration) WithName(value string) *StatementApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsApplyConfiguration ¶
type ActionsApplyConfiguration struct { RouteDisposition *string `json:"routeDisposition,omitempty"` BGPActions *BGPActionsApplyConfiguration `json:"bgpActions,omitempty"` }
ActionsApplyConfiguration represents an declarative configuration of the Actions type for use with apply.
func Actions ¶
func Actions() *ActionsApplyConfiguration
ActionsApplyConfiguration constructs an declarative configuration of the Actions type for use with apply.
func (*ActionsApplyConfiguration) WithBGPActions ¶
func (b *ActionsApplyConfiguration) WithBGPActions(value *BGPActionsApplyConfiguration) *ActionsApplyConfiguration
WithBGPActions sets the BGPActions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BGPActions field is set to the value of the last call.
func (*ActionsApplyConfiguration) WithRouteDisposition ¶
func (b *ActionsApplyConfiguration) WithRouteDisposition(value string) *ActionsApplyConfiguration
WithRouteDisposition sets the RouteDisposition field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouteDisposition field is set to the value of the last call.
type BGPActionsApplyConfiguration ¶
type BGPActionsApplyConfiguration struct { SetMed *string `json:"setMed,omitempty"` SetCommunity *SetCommunityApplyConfiguration `json:"setCommunity,omitempty"` SetExtCommunity *SetCommunityApplyConfiguration `json:"setExtCommunity,omitempty"` SetLargeCommunity *SetCommunityApplyConfiguration `json:"setLargeCommunity,omitempty"` SetNextHop *string `json:"setNextHop,omitempty"` SetLocalPerf *int `json:"setLocalPerf,omitempty"` SetAsPathPrepend *SetAsPathPrependApplyConfiguration `json:"setAsPathPrepend,omitempty"` }
BGPActionsApplyConfiguration represents an declarative configuration of the BGPActions type for use with apply.
func BGPActions ¶
func BGPActions() *BGPActionsApplyConfiguration
BGPActionsApplyConfiguration constructs an declarative configuration of the BGPActions type for use with apply.
func (*BGPActionsApplyConfiguration) WithSetAsPathPrepend ¶
func (b *BGPActionsApplyConfiguration) WithSetAsPathPrepend(value *SetAsPathPrependApplyConfiguration) *BGPActionsApplyConfiguration
WithSetAsPathPrepend sets the SetAsPathPrepend field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetAsPathPrepend field is set to the value of the last call.
func (*BGPActionsApplyConfiguration) WithSetCommunity ¶
func (b *BGPActionsApplyConfiguration) WithSetCommunity(value *SetCommunityApplyConfiguration) *BGPActionsApplyConfiguration
WithSetCommunity sets the SetCommunity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetCommunity field is set to the value of the last call.
func (*BGPActionsApplyConfiguration) WithSetExtCommunity ¶
func (b *BGPActionsApplyConfiguration) WithSetExtCommunity(value *SetCommunityApplyConfiguration) *BGPActionsApplyConfiguration
WithSetExtCommunity sets the SetExtCommunity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetExtCommunity field is set to the value of the last call.
func (*BGPActionsApplyConfiguration) WithSetLargeCommunity ¶
func (b *BGPActionsApplyConfiguration) WithSetLargeCommunity(value *SetCommunityApplyConfiguration) *BGPActionsApplyConfiguration
WithSetLargeCommunity sets the SetLargeCommunity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetLargeCommunity field is set to the value of the last call.
func (*BGPActionsApplyConfiguration) WithSetLocalPerf ¶
func (b *BGPActionsApplyConfiguration) WithSetLocalPerf(value int) *BGPActionsApplyConfiguration
WithSetLocalPerf sets the SetLocalPerf field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetLocalPerf field is set to the value of the last call.
func (*BGPActionsApplyConfiguration) WithSetMed ¶
func (b *BGPActionsApplyConfiguration) WithSetMed(value string) *BGPActionsApplyConfiguration
WithSetMed sets the SetMed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetMed field is set to the value of the last call.
func (*BGPActionsApplyConfiguration) WithSetNextHop ¶
func (b *BGPActionsApplyConfiguration) WithSetNextHop(value string) *BGPActionsApplyConfiguration
WithSetNextHop sets the SetNextHop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SetNextHop field is set to the value of the last call.
type BGPAsPathLengthApplyConfiguration ¶
type BGPAsPathLengthApplyConfiguration struct { Operator *string `json:"operator,omitempty"` Value *int `json:"value,omitempty"` }
BGPAsPathLengthApplyConfiguration represents an declarative configuration of the BGPAsPathLength type for use with apply.
func BGPAsPathLength ¶
func BGPAsPathLength() *BGPAsPathLengthApplyConfiguration
BGPAsPathLengthApplyConfiguration constructs an declarative configuration of the BGPAsPathLength type for use with apply.
func (*BGPAsPathLengthApplyConfiguration) WithOperator ¶
func (b *BGPAsPathLengthApplyConfiguration) WithOperator(value string) *BGPAsPathLengthApplyConfiguration
WithOperator sets the Operator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Operator field is set to the value of the last call.
func (*BGPAsPathLengthApplyConfiguration) WithValue ¶
func (b *BGPAsPathLengthApplyConfiguration) WithValue(value int) *BGPAsPathLengthApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type BGPAsPathSetApplyConfiguration ¶
type BGPAsPathSetApplyConfiguration struct { AsPathSet *string `json:"asPathSet,omitempty"` MatchSetOptions *string `json:"matchSetOptions,omitempty"` }
BGPAsPathSetApplyConfiguration represents an declarative configuration of the BGPAsPathSet type for use with apply.
func BGPAsPathSet ¶
func BGPAsPathSet() *BGPAsPathSetApplyConfiguration
BGPAsPathSetApplyConfiguration constructs an declarative configuration of the BGPAsPathSet type for use with apply.
func (*BGPAsPathSetApplyConfiguration) WithAsPathSet ¶
func (b *BGPAsPathSetApplyConfiguration) WithAsPathSet(value string) *BGPAsPathSetApplyConfiguration
WithAsPathSet sets the AsPathSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AsPathSet field is set to the value of the last call.
func (*BGPAsPathSetApplyConfiguration) WithMatchSetOptions ¶
func (b *BGPAsPathSetApplyConfiguration) WithMatchSetOptions(value string) *BGPAsPathSetApplyConfiguration
WithMatchSetOptions sets the MatchSetOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchSetOptions field is set to the value of the last call.
type BGPCommunitySetApplyConfiguration ¶
type BGPCommunitySetApplyConfiguration struct { CommunitySet *string `json:"communitySet,omitempty"` MatchSetOptions *string `json:"matchSetOptions,omitempty"` }
BGPCommunitySetApplyConfiguration represents an declarative configuration of the BGPCommunitySet type for use with apply.
func BGPCommunitySet ¶
func BGPCommunitySet() *BGPCommunitySetApplyConfiguration
BGPCommunitySetApplyConfiguration constructs an declarative configuration of the BGPCommunitySet type for use with apply.
func (*BGPCommunitySetApplyConfiguration) WithCommunitySet ¶
func (b *BGPCommunitySetApplyConfiguration) WithCommunitySet(value string) *BGPCommunitySetApplyConfiguration
WithCommunitySet sets the CommunitySet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CommunitySet field is set to the value of the last call.
func (*BGPCommunitySetApplyConfiguration) WithMatchSetOptions ¶
func (b *BGPCommunitySetApplyConfiguration) WithMatchSetOptions(value string) *BGPCommunitySetApplyConfiguration
WithMatchSetOptions sets the MatchSetOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchSetOptions field is set to the value of the last call.
type BGPConditionsApplyConfiguration ¶
type BGPConditionsApplyConfiguration struct { AfiSafiIn []string `json:"afiSafiIn,omitempty"` AsPathSet *BGPAsPathSetApplyConfiguration `json:"matchAsPathSet,omitempty"` AsPathLength *BGPAsPathLengthApplyConfiguration `json:"asPathLength,omitempty"` CommunitySet *BGPCommunitySetApplyConfiguration `json:"matchCommunitySet,omitempty"` ExtCommunitySet *BGPCommunitySetApplyConfiguration `json:"matchExtCommunitySet,omitempty"` LargeCommunitySet *BGPCommunitySetApplyConfiguration `json:"largeCommunitySet,omitempty"` RouteType *string `json:"routeType,omitempty"` NextHopInList []string `json:"nextHopInList,omitempty"` Rpki *string `json:"rpki,omitempty"` }
BGPConditionsApplyConfiguration represents an declarative configuration of the BGPConditions type for use with apply.
func BGPConditions ¶
func BGPConditions() *BGPConditionsApplyConfiguration
BGPConditionsApplyConfiguration constructs an declarative configuration of the BGPConditions type for use with apply.
func (*BGPConditionsApplyConfiguration) WithAfiSafiIn ¶
func (b *BGPConditionsApplyConfiguration) WithAfiSafiIn(values ...string) *BGPConditionsApplyConfiguration
WithAfiSafiIn adds the given value to the AfiSafiIn field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AfiSafiIn field.
func (*BGPConditionsApplyConfiguration) WithAsPathLength ¶
func (b *BGPConditionsApplyConfiguration) WithAsPathLength(value *BGPAsPathLengthApplyConfiguration) *BGPConditionsApplyConfiguration
WithAsPathLength sets the AsPathLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AsPathLength field is set to the value of the last call.
func (*BGPConditionsApplyConfiguration) WithAsPathSet ¶
func (b *BGPConditionsApplyConfiguration) WithAsPathSet(value *BGPAsPathSetApplyConfiguration) *BGPConditionsApplyConfiguration
WithAsPathSet sets the AsPathSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AsPathSet field is set to the value of the last call.
func (*BGPConditionsApplyConfiguration) WithCommunitySet ¶
func (b *BGPConditionsApplyConfiguration) WithCommunitySet(value *BGPCommunitySetApplyConfiguration) *BGPConditionsApplyConfiguration
WithCommunitySet sets the CommunitySet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CommunitySet field is set to the value of the last call.
func (*BGPConditionsApplyConfiguration) WithExtCommunitySet ¶
func (b *BGPConditionsApplyConfiguration) WithExtCommunitySet(value *BGPCommunitySetApplyConfiguration) *BGPConditionsApplyConfiguration
WithExtCommunitySet sets the ExtCommunitySet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExtCommunitySet field is set to the value of the last call.
func (*BGPConditionsApplyConfiguration) WithLargeCommunitySet ¶
func (b *BGPConditionsApplyConfiguration) WithLargeCommunitySet(value *BGPCommunitySetApplyConfiguration) *BGPConditionsApplyConfiguration
WithLargeCommunitySet sets the LargeCommunitySet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LargeCommunitySet field is set to the value of the last call.
func (*BGPConditionsApplyConfiguration) WithNextHopInList ¶
func (b *BGPConditionsApplyConfiguration) WithNextHopInList(values ...string) *BGPConditionsApplyConfiguration
WithNextHopInList adds the given value to the NextHopInList field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NextHopInList field.
func (*BGPConditionsApplyConfiguration) WithRouteType ¶
func (b *BGPConditionsApplyConfiguration) WithRouteType(value string) *BGPConditionsApplyConfiguration
WithRouteType sets the RouteType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouteType field is set to the value of the last call.
func (*BGPConditionsApplyConfiguration) WithRpki ¶
func (b *BGPConditionsApplyConfiguration) WithRpki(value string) *BGPConditionsApplyConfiguration
WithRpki sets the Rpki field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Rpki field is set to the value of the last call.
type BGPPolicyDefinitionApplyConfiguration ¶
type BGPPolicyDefinitionApplyConfiguration struct { Name *string `json:"name,omitempty"` Statement []StatementApplyConfiguration `json:"statements,omitempty"` }
BGPPolicyDefinitionApplyConfiguration represents an declarative configuration of the BGPPolicyDefinition type for use with apply.
func BGPPolicyDefinition ¶
func BGPPolicyDefinition() *BGPPolicyDefinitionApplyConfiguration
BGPPolicyDefinitionApplyConfiguration constructs an declarative configuration of the BGPPolicyDefinition type for use with apply.
func (*BGPPolicyDefinitionApplyConfiguration) WithName ¶
func (b *BGPPolicyDefinitionApplyConfiguration) WithName(value string) *BGPPolicyDefinitionApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*BGPPolicyDefinitionApplyConfiguration) WithStatement ¶
func (b *BGPPolicyDefinitionApplyConfiguration) WithStatement(values ...*StatementApplyConfiguration) *BGPPolicyDefinitionApplyConfiguration
WithStatement adds the given value to the Statement field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Statement field.
type BGPPolicyDefinitionServiceApplyConfiguration ¶
type BGPPolicyDefinitionServiceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BGPPolicyDefinitionApplyConfiguration `json:"spec,omitempty"` Status *crdsbgppolicydefinitionv1.BGPPolicyDefinitionServiceStatus `json:"status,omitempty"` }
BGPPolicyDefinitionServiceApplyConfiguration represents an declarative configuration of the BGPPolicyDefinitionService type for use with apply.
func BGPPolicyDefinitionService ¶
func BGPPolicyDefinitionService(name string) *BGPPolicyDefinitionServiceApplyConfiguration
BGPPolicyDefinitionService constructs an declarative configuration of the BGPPolicyDefinitionService type for use with apply.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithAPIVersion ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithAPIVersion(value string) *BGPPolicyDefinitionServiceApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithAnnotations ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithAnnotations(entries map[string]string) *BGPPolicyDefinitionServiceApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithCreationTimestamp ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BGPPolicyDefinitionServiceApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BGPPolicyDefinitionServiceApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithDeletionTimestamp ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BGPPolicyDefinitionServiceApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithFinalizers ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithFinalizers(values ...string) *BGPPolicyDefinitionServiceApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithGenerateName ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithGenerateName(value string) *BGPPolicyDefinitionServiceApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithGeneration ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithGeneration(value int64) *BGPPolicyDefinitionServiceApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithKind ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithKind(value string) *BGPPolicyDefinitionServiceApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithLabels ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithLabels(entries map[string]string) *BGPPolicyDefinitionServiceApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithName ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithName(value string) *BGPPolicyDefinitionServiceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithNamespace ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithNamespace(value string) *BGPPolicyDefinitionServiceApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithOwnerReferences ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BGPPolicyDefinitionServiceApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithResourceVersion ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithResourceVersion(value string) *BGPPolicyDefinitionServiceApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithSpec ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithSpec(value *BGPPolicyDefinitionApplyConfiguration) *BGPPolicyDefinitionServiceApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithStatus ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithStatus(value crdsbgppolicydefinitionv1.BGPPolicyDefinitionServiceStatus) *BGPPolicyDefinitionServiceApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*BGPPolicyDefinitionServiceApplyConfiguration) WithUID ¶
func (b *BGPPolicyDefinitionServiceApplyConfiguration) WithUID(value types.UID) *BGPPolicyDefinitionServiceApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ConditionsApplyConfiguration ¶
type ConditionsApplyConfiguration struct { PrefixSet *MatchPrefixSetApplyConfiguration `json:"matchPrefixSet,omitempty"` NeighborSet *MatchNeighborSetApplyConfiguration `json:"matchNeighborSet,omitempty"` BGPConditions *BGPConditionsApplyConfiguration `json:"bgpConditions,omitempty"` }
ConditionsApplyConfiguration represents an declarative configuration of the Conditions type for use with apply.
func Conditions ¶
func Conditions() *ConditionsApplyConfiguration
ConditionsApplyConfiguration constructs an declarative configuration of the Conditions type for use with apply.
func (*ConditionsApplyConfiguration) WithBGPConditions ¶
func (b *ConditionsApplyConfiguration) WithBGPConditions(value *BGPConditionsApplyConfiguration) *ConditionsApplyConfiguration
WithBGPConditions sets the BGPConditions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BGPConditions field is set to the value of the last call.
func (*ConditionsApplyConfiguration) WithNeighborSet ¶
func (b *ConditionsApplyConfiguration) WithNeighborSet(value *MatchNeighborSetApplyConfiguration) *ConditionsApplyConfiguration
WithNeighborSet sets the NeighborSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeighborSet field is set to the value of the last call.
func (*ConditionsApplyConfiguration) WithPrefixSet ¶
func (b *ConditionsApplyConfiguration) WithPrefixSet(value *MatchPrefixSetApplyConfiguration) *ConditionsApplyConfiguration
WithPrefixSet sets the PrefixSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrefixSet field is set to the value of the last call.
type MatchNeighborSetApplyConfiguration ¶
type MatchNeighborSetApplyConfiguration struct { MatchSetOption *string `json:"matchSetOption,omitempty"` NeighborSet *string `json:"neighborSet,omitempty"` }
MatchNeighborSetApplyConfiguration represents an declarative configuration of the MatchNeighborSet type for use with apply.
func MatchNeighborSet ¶
func MatchNeighborSet() *MatchNeighborSetApplyConfiguration
MatchNeighborSetApplyConfiguration constructs an declarative configuration of the MatchNeighborSet type for use with apply.
func (*MatchNeighborSetApplyConfiguration) WithMatchSetOption ¶
func (b *MatchNeighborSetApplyConfiguration) WithMatchSetOption(value string) *MatchNeighborSetApplyConfiguration
WithMatchSetOption sets the MatchSetOption field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchSetOption field is set to the value of the last call.
func (*MatchNeighborSetApplyConfiguration) WithNeighborSet ¶
func (b *MatchNeighborSetApplyConfiguration) WithNeighborSet(value string) *MatchNeighborSetApplyConfiguration
WithNeighborSet sets the NeighborSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeighborSet field is set to the value of the last call.
type MatchPrefixSetApplyConfiguration ¶
type MatchPrefixSetApplyConfiguration struct { MatchSetOption *string `json:"matchSetOption,omitempty"` PrefixSet *string `json:"prefixSet,omitempty"` }
MatchPrefixSetApplyConfiguration represents an declarative configuration of the MatchPrefixSet type for use with apply.
func MatchPrefixSet ¶
func MatchPrefixSet() *MatchPrefixSetApplyConfiguration
MatchPrefixSetApplyConfiguration constructs an declarative configuration of the MatchPrefixSet type for use with apply.
func (*MatchPrefixSetApplyConfiguration) WithMatchSetOption ¶
func (b *MatchPrefixSetApplyConfiguration) WithMatchSetOption(value string) *MatchPrefixSetApplyConfiguration
WithMatchSetOption sets the MatchSetOption field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchSetOption field is set to the value of the last call.
func (*MatchPrefixSetApplyConfiguration) WithPrefixSet ¶
func (b *MatchPrefixSetApplyConfiguration) WithPrefixSet(value string) *MatchPrefixSetApplyConfiguration
WithPrefixSet sets the PrefixSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PrefixSet field is set to the value of the last call.
type SetAsPathPrependApplyConfiguration ¶
type SetAsPathPrependApplyConfiguration struct { ASN *string `json:"as,omitempty"` RepeatN *int `json:"repeatN,omitempty"` }
SetAsPathPrependApplyConfiguration represents an declarative configuration of the SetAsPathPrepend type for use with apply.
func SetAsPathPrepend ¶
func SetAsPathPrepend() *SetAsPathPrependApplyConfiguration
SetAsPathPrependApplyConfiguration constructs an declarative configuration of the SetAsPathPrepend type for use with apply.
func (*SetAsPathPrependApplyConfiguration) WithASN ¶
func (b *SetAsPathPrependApplyConfiguration) WithASN(value string) *SetAsPathPrependApplyConfiguration
WithASN sets the ASN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ASN field is set to the value of the last call.
func (*SetAsPathPrependApplyConfiguration) WithRepeatN ¶
func (b *SetAsPathPrependApplyConfiguration) WithRepeatN(value int) *SetAsPathPrependApplyConfiguration
WithRepeatN sets the RepeatN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RepeatN field is set to the value of the last call.
type SetCommunityApplyConfiguration ¶
type SetCommunityApplyConfiguration struct { Options *string `json:"options,omitempty"` SetCommunityMethod []string `json:"setCommunityMethod,omitempty"` }
SetCommunityApplyConfiguration represents an declarative configuration of the SetCommunity type for use with apply.
func SetCommunity ¶
func SetCommunity() *SetCommunityApplyConfiguration
SetCommunityApplyConfiguration constructs an declarative configuration of the SetCommunity type for use with apply.
func (*SetCommunityApplyConfiguration) WithOptions ¶
func (b *SetCommunityApplyConfiguration) WithOptions(value string) *SetCommunityApplyConfiguration
WithOptions sets the Options field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Options field is set to the value of the last call.
func (*SetCommunityApplyConfiguration) WithSetCommunityMethod ¶
func (b *SetCommunityApplyConfiguration) WithSetCommunityMethod(values ...string) *SetCommunityApplyConfiguration
WithSetCommunityMethod adds the given value to the SetCommunityMethod field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SetCommunityMethod field.
type StatementApplyConfiguration ¶
type StatementApplyConfiguration struct { Name *string `json:"name,omitempty"` Conditions *ConditionsApplyConfiguration `json:"conditions,omitempty"` Actions *ActionsApplyConfiguration `json:"actions,omitempty"` }
StatementApplyConfiguration represents an declarative configuration of the Statement type for use with apply.
func Statement ¶
func Statement() *StatementApplyConfiguration
StatementApplyConfiguration constructs an declarative configuration of the Statement type for use with apply.
func (*StatementApplyConfiguration) WithActions ¶
func (b *StatementApplyConfiguration) WithActions(value *ActionsApplyConfiguration) *StatementApplyConfiguration
WithActions sets the Actions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Actions field is set to the value of the last call.
func (*StatementApplyConfiguration) WithConditions ¶
func (b *StatementApplyConfiguration) WithConditions(value *ConditionsApplyConfiguration) *StatementApplyConfiguration
WithConditions sets the Conditions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Conditions field is set to the value of the last call.
func (*StatementApplyConfiguration) WithName ¶
func (b *StatementApplyConfiguration) WithName(value string) *StatementApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.