v1alpha1

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL