Documentation ¶
Index ¶
- type BGPPeerModelApplyConfiguration
- func (b *BGPPeerModelApplyConfiguration) WithIPAddress(value string) *BGPPeerModelApplyConfiguration
- func (b *BGPPeerModelApplyConfiguration) WithRemoteAs(value int64) *BGPPeerModelApplyConfiguration
- func (b *BGPPeerModelApplyConfiguration) WithRemotePort(value int64) *BGPPeerModelApplyConfiguration
- type BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithAPIVersion(value string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithAnnotations(entries map[string]string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithFinalizers(values ...string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithGenerateName(value string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithGeneration(value int64) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithKind(value string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithLabels(entries map[string]string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithName(value string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithNamespace(value string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithResourceVersion(value string) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithSpec(value *BGPPeerModelApplyConfiguration) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithStatus(value crdsbgppeerv1.BGPPeerServiceStatus) *BGPPeerServiceApplyConfiguration
- func (b *BGPPeerServiceApplyConfiguration) WithUID(value types.UID) *BGPPeerServiceApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BGPPeerModelApplyConfiguration ¶
type BGPPeerModelApplyConfiguration struct { IPAddress *string `json:"ipAddress,omitempty"` RemoteAs *int64 `json:"remoteAs,omitempty"` RemotePort *int64 `json:"remotePort,omitempty"` }
BGPPeerModelApplyConfiguration represents an declarative configuration of the BGPPeerModel type for use with apply.
func BGPPeerModel ¶
func BGPPeerModel() *BGPPeerModelApplyConfiguration
BGPPeerModelApplyConfiguration constructs an declarative configuration of the BGPPeerModel type for use with apply.
func (*BGPPeerModelApplyConfiguration) WithIPAddress ¶
func (b *BGPPeerModelApplyConfiguration) WithIPAddress(value string) *BGPPeerModelApplyConfiguration
WithIPAddress sets the IPAddress 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 IPAddress field is set to the value of the last call.
func (*BGPPeerModelApplyConfiguration) WithRemoteAs ¶
func (b *BGPPeerModelApplyConfiguration) WithRemoteAs(value int64) *BGPPeerModelApplyConfiguration
WithRemoteAs sets the RemoteAs 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 RemoteAs field is set to the value of the last call.
func (*BGPPeerModelApplyConfiguration) WithRemotePort ¶
func (b *BGPPeerModelApplyConfiguration) WithRemotePort(value int64) *BGPPeerModelApplyConfiguration
WithRemotePort sets the RemotePort 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 RemotePort field is set to the value of the last call.
type BGPPeerServiceApplyConfiguration ¶
type BGPPeerServiceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BGPPeerModelApplyConfiguration `json:"spec,omitempty"` Status *crdsbgppeerv1.BGPPeerServiceStatus `json:"status,omitempty"` }
BGPPeerServiceApplyConfiguration represents an declarative configuration of the BGPPeerService type for use with apply.
func BGPPeerService ¶
func BGPPeerService(name string) *BGPPeerServiceApplyConfiguration
BGPPeerService constructs an declarative configuration of the BGPPeerService type for use with apply.
func (*BGPPeerServiceApplyConfiguration) WithAPIVersion ¶
func (b *BGPPeerServiceApplyConfiguration) WithAPIVersion(value string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithAnnotations ¶
func (b *BGPPeerServiceApplyConfiguration) WithAnnotations(entries map[string]string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithCreationTimestamp ¶
func (b *BGPPeerServiceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BGPPeerServiceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithDeletionTimestamp ¶
func (b *BGPPeerServiceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithFinalizers ¶
func (b *BGPPeerServiceApplyConfiguration) WithFinalizers(values ...string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithGenerateName ¶
func (b *BGPPeerServiceApplyConfiguration) WithGenerateName(value string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithGeneration ¶
func (b *BGPPeerServiceApplyConfiguration) WithGeneration(value int64) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithKind ¶
func (b *BGPPeerServiceApplyConfiguration) WithKind(value string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithLabels ¶
func (b *BGPPeerServiceApplyConfiguration) WithLabels(entries map[string]string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithName ¶
func (b *BGPPeerServiceApplyConfiguration) WithName(value string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithNamespace ¶
func (b *BGPPeerServiceApplyConfiguration) WithNamespace(value string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithOwnerReferences ¶
func (b *BGPPeerServiceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithResourceVersion ¶
func (b *BGPPeerServiceApplyConfiguration) WithResourceVersion(value string) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithSpec ¶
func (b *BGPPeerServiceApplyConfiguration) WithSpec(value *BGPPeerModelApplyConfiguration) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithStatus ¶
func (b *BGPPeerServiceApplyConfiguration) WithStatus(value crdsbgppeerv1.BGPPeerServiceStatus) *BGPPeerServiceApplyConfiguration
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 (*BGPPeerServiceApplyConfiguration) WithUID ¶
func (b *BGPPeerServiceApplyConfiguration) WithUID(value types.UID) *BGPPeerServiceApplyConfiguration
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.