Documentation ¶
Index ¶
- type BGPPolicyApplyModelApplyConfiguration
- func (b *BGPPolicyApplyModelApplyConfiguration) WithNeighIPAddress(value string) *BGPPolicyApplyModelApplyConfiguration
- func (b *BGPPolicyApplyModelApplyConfiguration) WithPolicies(values ...string) *BGPPolicyApplyModelApplyConfiguration
- func (b *BGPPolicyApplyModelApplyConfiguration) WithPolicyType(value string) *BGPPolicyApplyModelApplyConfiguration
- func (b *BGPPolicyApplyModelApplyConfiguration) WithRouteAction(value string) *BGPPolicyApplyModelApplyConfiguration
- type BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithAPIVersion(value string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithAnnotations(entries map[string]string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithFinalizers(values ...string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithGenerateName(value string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithGeneration(value int64) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithKind(value string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithLabels(entries map[string]string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithName(value string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithNamespace(value string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithResourceVersion(value string) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithSpec(value *BGPPolicyApplyModelApplyConfiguration) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithStatus(value crdsbgppolicyapplyv1.BGPPolicyApplyServiceStatus) *BGPPolicyApplyServiceApplyConfiguration
- func (b *BGPPolicyApplyServiceApplyConfiguration) WithUID(value types.UID) *BGPPolicyApplyServiceApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BGPPolicyApplyModelApplyConfiguration ¶
type BGPPolicyApplyModelApplyConfiguration struct { NeighIPAddress *string `json:"ipAddress,omitempty"` PolicyType *string `json:"policyType,omitempty"` Policies []string `json:"policies,omitempty"` RouteAction *string `json:"routeAction,omitempty"` }
BGPPolicyApplyModelApplyConfiguration represents an declarative configuration of the BGPPolicyApplyModel type for use with apply.
func BGPPolicyApplyModel ¶
func BGPPolicyApplyModel() *BGPPolicyApplyModelApplyConfiguration
BGPPolicyApplyModelApplyConfiguration constructs an declarative configuration of the BGPPolicyApplyModel type for use with apply.
func (*BGPPolicyApplyModelApplyConfiguration) WithNeighIPAddress ¶
func (b *BGPPolicyApplyModelApplyConfiguration) WithNeighIPAddress(value string) *BGPPolicyApplyModelApplyConfiguration
WithNeighIPAddress sets the NeighIPAddress 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 NeighIPAddress field is set to the value of the last call.
func (*BGPPolicyApplyModelApplyConfiguration) WithPolicies ¶
func (b *BGPPolicyApplyModelApplyConfiguration) WithPolicies(values ...string) *BGPPolicyApplyModelApplyConfiguration
WithPolicies adds the given value to the Policies 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 Policies field.
func (*BGPPolicyApplyModelApplyConfiguration) WithPolicyType ¶
func (b *BGPPolicyApplyModelApplyConfiguration) WithPolicyType(value string) *BGPPolicyApplyModelApplyConfiguration
WithPolicyType sets the PolicyType 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 PolicyType field is set to the value of the last call.
func (*BGPPolicyApplyModelApplyConfiguration) WithRouteAction ¶
func (b *BGPPolicyApplyModelApplyConfiguration) WithRouteAction(value string) *BGPPolicyApplyModelApplyConfiguration
WithRouteAction sets the RouteAction 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 RouteAction field is set to the value of the last call.
type BGPPolicyApplyServiceApplyConfiguration ¶
type BGPPolicyApplyServiceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BGPPolicyApplyModelApplyConfiguration `json:"spec,omitempty"` Status *crdsbgppolicyapplyv1.BGPPolicyApplyServiceStatus `json:"status,omitempty"` }
BGPPolicyApplyServiceApplyConfiguration represents an declarative configuration of the BGPPolicyApplyService type for use with apply.
func BGPPolicyApplyService ¶
func BGPPolicyApplyService(name string) *BGPPolicyApplyServiceApplyConfiguration
BGPPolicyApplyService constructs an declarative configuration of the BGPPolicyApplyService type for use with apply.
func (*BGPPolicyApplyServiceApplyConfiguration) WithAPIVersion ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithAPIVersion(value string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithAnnotations ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithAnnotations(entries map[string]string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithCreationTimestamp ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithDeletionTimestamp ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithFinalizers ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithFinalizers(values ...string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithGenerateName ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithGenerateName(value string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithGeneration ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithGeneration(value int64) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithKind ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithKind(value string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithLabels ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithLabels(entries map[string]string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithName ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithName(value string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithNamespace ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithNamespace(value string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithOwnerReferences ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithResourceVersion ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithResourceVersion(value string) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithSpec ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithSpec(value *BGPPolicyApplyModelApplyConfiguration) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithStatus ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithStatus(value crdsbgppolicyapplyv1.BGPPolicyApplyServiceStatus) *BGPPolicyApplyServiceApplyConfiguration
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 (*BGPPolicyApplyServiceApplyConfiguration) WithUID ¶
func (b *BGPPolicyApplyServiceApplyConfiguration) WithUID(value types.UID) *BGPPolicyApplyServiceApplyConfiguration
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.