Documentation ¶
Index ¶
- type PrefixAllocationApplyConfiguration
- func ExtractPrefixAllocation(prefixAllocation *ipamv1alpha1.PrefixAllocation, fieldManager string) (*PrefixAllocationApplyConfiguration, error)
- func ExtractPrefixAllocationStatus(prefixAllocation *ipamv1alpha1.PrefixAllocation, fieldManager string) (*PrefixAllocationApplyConfiguration, error)
- func PrefixAllocation(name, namespace string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithAPIVersion(value string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithAnnotations(entries map[string]string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithFinalizers(values ...string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithGenerateName(value string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithGeneration(value int64) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithKind(value string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithLabels(entries map[string]string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithName(value string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithNamespace(value string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithResourceVersion(value string) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithSpec(value *PrefixAllocationSpecApplyConfiguration) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithStatus(value *PrefixAllocationStatusApplyConfiguration) *PrefixAllocationApplyConfiguration
- func (b *PrefixAllocationApplyConfiguration) WithUID(value types.UID) *PrefixAllocationApplyConfiguration
- type PrefixAllocationSpecApplyConfiguration
- func (b *PrefixAllocationSpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *PrefixAllocationSpecApplyConfiguration
- func (b *PrefixAllocationSpecApplyConfiguration) WithPrefix(value v1alpha1.IPPrefix) *PrefixAllocationSpecApplyConfiguration
- func (b *PrefixAllocationSpecApplyConfiguration) WithPrefixLength(value int32) *PrefixAllocationSpecApplyConfiguration
- func (b *PrefixAllocationSpecApplyConfiguration) WithPrefixRef(value v1.LocalObjectReference) *PrefixAllocationSpecApplyConfiguration
- func (b *PrefixAllocationSpecApplyConfiguration) WithPrefixSelector(value *metav1.LabelSelectorApplyConfiguration) *PrefixAllocationSpecApplyConfiguration
- type PrefixAllocationStatusApplyConfiguration
- func (b *PrefixAllocationStatusApplyConfiguration) WithLastPhaseTransitionTime(value v1.Time) *PrefixAllocationStatusApplyConfiguration
- func (b *PrefixAllocationStatusApplyConfiguration) WithPhase(value ipamv1alpha1.PrefixAllocationPhase) *PrefixAllocationStatusApplyConfiguration
- func (b *PrefixAllocationStatusApplyConfiguration) WithPrefix(value v1alpha1.IPPrefix) *PrefixAllocationStatusApplyConfiguration
- type PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithAPIVersion(value string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithAnnotations(entries map[string]string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithFinalizers(values ...string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithGenerateName(value string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithGeneration(value int64) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithKind(value string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithLabels(entries map[string]string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithName(value string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithNamespace(value string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithResourceVersion(value string) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithSpec(value *PrefixSpecApplyConfiguration) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithStatus(value *PrefixStatusApplyConfiguration) *PrefixApplyConfiguration
- func (b *PrefixApplyConfiguration) WithUID(value types.UID) *PrefixApplyConfiguration
- type PrefixSpecApplyConfiguration
- func (b *PrefixSpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *PrefixSpecApplyConfiguration
- func (b *PrefixSpecApplyConfiguration) WithParentRef(value v1.LocalObjectReference) *PrefixSpecApplyConfiguration
- func (b *PrefixSpecApplyConfiguration) WithParentSelector(value *metav1.LabelSelectorApplyConfiguration) *PrefixSpecApplyConfiguration
- func (b *PrefixSpecApplyConfiguration) WithPrefix(value v1alpha1.IPPrefix) *PrefixSpecApplyConfiguration
- func (b *PrefixSpecApplyConfiguration) WithPrefixLength(value int32) *PrefixSpecApplyConfiguration
- type PrefixStatusApplyConfiguration
- func (b *PrefixStatusApplyConfiguration) WithLastPhaseTransitionTime(value v1.Time) *PrefixStatusApplyConfiguration
- func (b *PrefixStatusApplyConfiguration) WithPhase(value v1alpha1.PrefixPhase) *PrefixStatusApplyConfiguration
- func (b *PrefixStatusApplyConfiguration) WithUsed(values ...commonv1alpha1.IPPrefix) *PrefixStatusApplyConfiguration
- type PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithGenerateName(value string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithGeneration(value int64) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithName(value string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithNamespace(value string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithResourceVersion(value string) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithSpec(value *PrefixSpecApplyConfiguration) *PrefixTemplateSpecApplyConfiguration
- func (b *PrefixTemplateSpecApplyConfiguration) WithUID(value types.UID) *PrefixTemplateSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrefixAllocationApplyConfiguration ¶
type PrefixAllocationApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PrefixAllocationSpecApplyConfiguration `json:"spec,omitempty"` Status *PrefixAllocationStatusApplyConfiguration `json:"status,omitempty"` }
PrefixAllocationApplyConfiguration represents an declarative configuration of the PrefixAllocation type for use with apply.
func ExtractPrefixAllocation ¶
func ExtractPrefixAllocation(prefixAllocation *ipamv1alpha1.PrefixAllocation, fieldManager string) (*PrefixAllocationApplyConfiguration, error)
ExtractPrefixAllocation extracts the applied configuration owned by fieldManager from prefixAllocation. If no managedFields are found in prefixAllocation for fieldManager, a PrefixAllocationApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. prefixAllocation must be a unmodified PrefixAllocation API object that was retrieved from the Kubernetes API. ExtractPrefixAllocation provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractPrefixAllocationStatus ¶
func ExtractPrefixAllocationStatus(prefixAllocation *ipamv1alpha1.PrefixAllocation, fieldManager string) (*PrefixAllocationApplyConfiguration, error)
ExtractPrefixAllocationStatus is the same as ExtractPrefixAllocation except that it extracts the status subresource applied configuration. Experimental!
func PrefixAllocation ¶
func PrefixAllocation(name, namespace string) *PrefixAllocationApplyConfiguration
PrefixAllocation constructs an declarative configuration of the PrefixAllocation type for use with apply.
func (*PrefixAllocationApplyConfiguration) WithAPIVersion ¶
func (b *PrefixAllocationApplyConfiguration) WithAPIVersion(value string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithAnnotations ¶
func (b *PrefixAllocationApplyConfiguration) WithAnnotations(entries map[string]string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithCreationTimestamp ¶
func (b *PrefixAllocationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PrefixAllocationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithDeletionTimestamp ¶
func (b *PrefixAllocationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithFinalizers ¶
func (b *PrefixAllocationApplyConfiguration) WithFinalizers(values ...string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithGenerateName ¶
func (b *PrefixAllocationApplyConfiguration) WithGenerateName(value string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithGeneration ¶
func (b *PrefixAllocationApplyConfiguration) WithGeneration(value int64) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithKind ¶
func (b *PrefixAllocationApplyConfiguration) WithKind(value string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithLabels ¶
func (b *PrefixAllocationApplyConfiguration) WithLabels(entries map[string]string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithName ¶
func (b *PrefixAllocationApplyConfiguration) WithName(value string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithNamespace ¶
func (b *PrefixAllocationApplyConfiguration) WithNamespace(value string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithOwnerReferences ¶
func (b *PrefixAllocationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithResourceVersion ¶
func (b *PrefixAllocationApplyConfiguration) WithResourceVersion(value string) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithSpec ¶
func (b *PrefixAllocationApplyConfiguration) WithSpec(value *PrefixAllocationSpecApplyConfiguration) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithStatus ¶
func (b *PrefixAllocationApplyConfiguration) WithStatus(value *PrefixAllocationStatusApplyConfiguration) *PrefixAllocationApplyConfiguration
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 (*PrefixAllocationApplyConfiguration) WithUID ¶
func (b *PrefixAllocationApplyConfiguration) WithUID(value types.UID) *PrefixAllocationApplyConfiguration
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 PrefixAllocationSpecApplyConfiguration ¶
type PrefixAllocationSpecApplyConfiguration struct { IPFamily *v1.IPFamily `json:"ipFamily,omitempty"` Prefix *v1alpha1.IPPrefix `json:"prefix,omitempty"` PrefixLength *int32 `json:"prefixLength,omitempty"` PrefixRef *v1.LocalObjectReference `json:"prefixRef,omitempty"` PrefixSelector *metav1.LabelSelectorApplyConfiguration `json:"prefixSelector,omitempty"` }
PrefixAllocationSpecApplyConfiguration represents an declarative configuration of the PrefixAllocationSpec type for use with apply.
func PrefixAllocationSpec ¶
func PrefixAllocationSpec() *PrefixAllocationSpecApplyConfiguration
PrefixAllocationSpecApplyConfiguration constructs an declarative configuration of the PrefixAllocationSpec type for use with apply.
func (*PrefixAllocationSpecApplyConfiguration) WithIPFamily ¶
func (b *PrefixAllocationSpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *PrefixAllocationSpecApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*PrefixAllocationSpecApplyConfiguration) WithPrefix ¶
func (b *PrefixAllocationSpecApplyConfiguration) WithPrefix(value v1alpha1.IPPrefix) *PrefixAllocationSpecApplyConfiguration
WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
func (*PrefixAllocationSpecApplyConfiguration) WithPrefixLength ¶
func (b *PrefixAllocationSpecApplyConfiguration) WithPrefixLength(value int32) *PrefixAllocationSpecApplyConfiguration
WithPrefixLength sets the PrefixLength 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 PrefixLength field is set to the value of the last call.
func (*PrefixAllocationSpecApplyConfiguration) WithPrefixRef ¶
func (b *PrefixAllocationSpecApplyConfiguration) WithPrefixRef(value v1.LocalObjectReference) *PrefixAllocationSpecApplyConfiguration
WithPrefixRef sets the PrefixRef 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 PrefixRef field is set to the value of the last call.
func (*PrefixAllocationSpecApplyConfiguration) WithPrefixSelector ¶
func (b *PrefixAllocationSpecApplyConfiguration) WithPrefixSelector(value *metav1.LabelSelectorApplyConfiguration) *PrefixAllocationSpecApplyConfiguration
WithPrefixSelector sets the PrefixSelector 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 PrefixSelector field is set to the value of the last call.
type PrefixAllocationStatusApplyConfiguration ¶
type PrefixAllocationStatusApplyConfiguration struct { Prefix *v1alpha1.IPPrefix `json:"prefix,omitempty"` Phase *ipamv1alpha1.PrefixAllocationPhase `json:"phase,omitempty"` LastPhaseTransitionTime *v1.Time `json:"lastPhaseTransitionTime,omitempty"` }
PrefixAllocationStatusApplyConfiguration represents an declarative configuration of the PrefixAllocationStatus type for use with apply.
func PrefixAllocationStatus ¶
func PrefixAllocationStatus() *PrefixAllocationStatusApplyConfiguration
PrefixAllocationStatusApplyConfiguration constructs an declarative configuration of the PrefixAllocationStatus type for use with apply.
func (*PrefixAllocationStatusApplyConfiguration) WithLastPhaseTransitionTime ¶
func (b *PrefixAllocationStatusApplyConfiguration) WithLastPhaseTransitionTime(value v1.Time) *PrefixAllocationStatusApplyConfiguration
WithLastPhaseTransitionTime sets the LastPhaseTransitionTime 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 LastPhaseTransitionTime field is set to the value of the last call.
func (*PrefixAllocationStatusApplyConfiguration) WithPhase ¶
func (b *PrefixAllocationStatusApplyConfiguration) WithPhase(value ipamv1alpha1.PrefixAllocationPhase) *PrefixAllocationStatusApplyConfiguration
WithPhase sets the Phase 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 Phase field is set to the value of the last call.
func (*PrefixAllocationStatusApplyConfiguration) WithPrefix ¶
func (b *PrefixAllocationStatusApplyConfiguration) WithPrefix(value v1alpha1.IPPrefix) *PrefixAllocationStatusApplyConfiguration
WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
type PrefixApplyConfiguration ¶
type PrefixApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PrefixSpecApplyConfiguration `json:"spec,omitempty"` Status *PrefixStatusApplyConfiguration `json:"status,omitempty"` }
PrefixApplyConfiguration represents an declarative configuration of the Prefix type for use with apply.
func ExtractPrefix ¶
func ExtractPrefix(prefix *ipamv1alpha1.Prefix, fieldManager string) (*PrefixApplyConfiguration, error)
ExtractPrefix extracts the applied configuration owned by fieldManager from prefix. If no managedFields are found in prefix for fieldManager, a PrefixApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. prefix must be a unmodified Prefix API object that was retrieved from the Kubernetes API. ExtractPrefix provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractPrefixStatus ¶
func ExtractPrefixStatus(prefix *ipamv1alpha1.Prefix, fieldManager string) (*PrefixApplyConfiguration, error)
ExtractPrefixStatus is the same as ExtractPrefix except that it extracts the status subresource applied configuration. Experimental!
func Prefix ¶
func Prefix(name, namespace string) *PrefixApplyConfiguration
Prefix constructs an declarative configuration of the Prefix type for use with apply.
func (*PrefixApplyConfiguration) WithAPIVersion ¶
func (b *PrefixApplyConfiguration) WithAPIVersion(value string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithAnnotations ¶
func (b *PrefixApplyConfiguration) WithAnnotations(entries map[string]string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithCreationTimestamp ¶
func (b *PrefixApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PrefixApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithDeletionTimestamp ¶
func (b *PrefixApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithFinalizers ¶
func (b *PrefixApplyConfiguration) WithFinalizers(values ...string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithGenerateName ¶
func (b *PrefixApplyConfiguration) WithGenerateName(value string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithGeneration ¶
func (b *PrefixApplyConfiguration) WithGeneration(value int64) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithKind ¶
func (b *PrefixApplyConfiguration) WithKind(value string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithLabels ¶
func (b *PrefixApplyConfiguration) WithLabels(entries map[string]string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithName ¶
func (b *PrefixApplyConfiguration) WithName(value string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithNamespace ¶
func (b *PrefixApplyConfiguration) WithNamespace(value string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithOwnerReferences ¶
func (b *PrefixApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithResourceVersion ¶
func (b *PrefixApplyConfiguration) WithResourceVersion(value string) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithSpec ¶
func (b *PrefixApplyConfiguration) WithSpec(value *PrefixSpecApplyConfiguration) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithStatus ¶
func (b *PrefixApplyConfiguration) WithStatus(value *PrefixStatusApplyConfiguration) *PrefixApplyConfiguration
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 (*PrefixApplyConfiguration) WithUID ¶
func (b *PrefixApplyConfiguration) WithUID(value types.UID) *PrefixApplyConfiguration
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 PrefixSpecApplyConfiguration ¶
type PrefixSpecApplyConfiguration struct { IPFamily *v1.IPFamily `json:"ipFamily,omitempty"` Prefix *v1alpha1.IPPrefix `json:"prefix,omitempty"` PrefixLength *int32 `json:"prefixLength,omitempty"` ParentRef *v1.LocalObjectReference `json:"parentRef,omitempty"` ParentSelector *metav1.LabelSelectorApplyConfiguration `json:"parentSelector,omitempty"` }
PrefixSpecApplyConfiguration represents an declarative configuration of the PrefixSpec type for use with apply.
func PrefixSpec ¶
func PrefixSpec() *PrefixSpecApplyConfiguration
PrefixSpecApplyConfiguration constructs an declarative configuration of the PrefixSpec type for use with apply.
func (*PrefixSpecApplyConfiguration) WithIPFamily ¶
func (b *PrefixSpecApplyConfiguration) WithIPFamily(value v1.IPFamily) *PrefixSpecApplyConfiguration
WithIPFamily sets the IPFamily 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 IPFamily field is set to the value of the last call.
func (*PrefixSpecApplyConfiguration) WithParentRef ¶
func (b *PrefixSpecApplyConfiguration) WithParentRef(value v1.LocalObjectReference) *PrefixSpecApplyConfiguration
WithParentRef sets the ParentRef 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 ParentRef field is set to the value of the last call.
func (*PrefixSpecApplyConfiguration) WithParentSelector ¶
func (b *PrefixSpecApplyConfiguration) WithParentSelector(value *metav1.LabelSelectorApplyConfiguration) *PrefixSpecApplyConfiguration
WithParentSelector sets the ParentSelector 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 ParentSelector field is set to the value of the last call.
func (*PrefixSpecApplyConfiguration) WithPrefix ¶
func (b *PrefixSpecApplyConfiguration) WithPrefix(value v1alpha1.IPPrefix) *PrefixSpecApplyConfiguration
WithPrefix sets the Prefix 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 Prefix field is set to the value of the last call.
func (*PrefixSpecApplyConfiguration) WithPrefixLength ¶
func (b *PrefixSpecApplyConfiguration) WithPrefixLength(value int32) *PrefixSpecApplyConfiguration
WithPrefixLength sets the PrefixLength 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 PrefixLength field is set to the value of the last call.
type PrefixStatusApplyConfiguration ¶
type PrefixStatusApplyConfiguration struct { Phase *v1alpha1.PrefixPhase `json:"phase,omitempty"` LastPhaseTransitionTime *v1.Time `json:"lastPhaseTransitionTime,omitempty"` Used []commonv1alpha1.IPPrefix `json:"used,omitempty"` }
PrefixStatusApplyConfiguration represents an declarative configuration of the PrefixStatus type for use with apply.
func PrefixStatus ¶
func PrefixStatus() *PrefixStatusApplyConfiguration
PrefixStatusApplyConfiguration constructs an declarative configuration of the PrefixStatus type for use with apply.
func (*PrefixStatusApplyConfiguration) WithLastPhaseTransitionTime ¶
func (b *PrefixStatusApplyConfiguration) WithLastPhaseTransitionTime(value v1.Time) *PrefixStatusApplyConfiguration
WithLastPhaseTransitionTime sets the LastPhaseTransitionTime 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 LastPhaseTransitionTime field is set to the value of the last call.
func (*PrefixStatusApplyConfiguration) WithPhase ¶
func (b *PrefixStatusApplyConfiguration) WithPhase(value v1alpha1.PrefixPhase) *PrefixStatusApplyConfiguration
WithPhase sets the Phase 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 Phase field is set to the value of the last call.
func (*PrefixStatusApplyConfiguration) WithUsed ¶
func (b *PrefixStatusApplyConfiguration) WithUsed(values ...commonv1alpha1.IPPrefix) *PrefixStatusApplyConfiguration
WithUsed adds the given value to the Used 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 Used field.
type PrefixTemplateSpecApplyConfiguration ¶
type PrefixTemplateSpecApplyConfiguration struct { *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PrefixSpecApplyConfiguration `json:"spec,omitempty"` }
PrefixTemplateSpecApplyConfiguration represents an declarative configuration of the PrefixTemplateSpec type for use with apply.
func PrefixTemplateSpec ¶
func PrefixTemplateSpec() *PrefixTemplateSpecApplyConfiguration
PrefixTemplateSpecApplyConfiguration constructs an declarative configuration of the PrefixTemplateSpec type for use with apply.
func (*PrefixTemplateSpecApplyConfiguration) WithAnnotations ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithCreationTimestamp ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithDeletionTimestamp ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithFinalizers ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithGenerateName ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithGenerateName(value string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithGeneration ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithGeneration(value int64) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithLabels ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithName ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithName(value string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithNamespace ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithNamespace(value string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithOwnerReferences ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithResourceVersion ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithResourceVersion(value string) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithSpec ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithSpec(value *PrefixSpecApplyConfiguration) *PrefixTemplateSpecApplyConfiguration
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 (*PrefixTemplateSpecApplyConfiguration) WithUID ¶
func (b *PrefixTemplateSpecApplyConfiguration) WithUID(value types.UID) *PrefixTemplateSpecApplyConfiguration
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.