v1alpha1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketAccessApplyConfiguration

type BucketAccessApplyConfiguration struct {
	SecretRef *v1.LocalObjectReference `json:"secretRef,omitempty"`
	Endpoint  *string                  `json:"endpoint,omitempty"`
}

BucketAccessApplyConfiguration represents an declarative configuration of the BucketAccess type for use with apply.

func BucketAccess

func BucketAccess() *BucketAccessApplyConfiguration

BucketAccessApplyConfiguration constructs an declarative configuration of the BucketAccess type for use with apply.

func (*BucketAccessApplyConfiguration) WithEndpoint

WithEndpoint sets the Endpoint 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 Endpoint field is set to the value of the last call.

func (*BucketAccessApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef 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 SecretRef field is set to the value of the last call.

type BucketApplyConfiguration

type BucketApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *BucketSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *BucketStatusApplyConfiguration `json:"status,omitempty"`
}

BucketApplyConfiguration represents an declarative configuration of the Bucket type for use with apply.

func Bucket

func Bucket(name, namespace string) *BucketApplyConfiguration

Bucket constructs an declarative configuration of the Bucket type for use with apply.

func ExtractBucket

func ExtractBucket(bucket *storagev1alpha1.Bucket, fieldManager string) (*BucketApplyConfiguration, error)

ExtractBucket extracts the applied configuration owned by fieldManager from bucket. If no managedFields are found in bucket for fieldManager, a BucketApplyConfiguration 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. bucket must be a unmodified Bucket API object that was retrieved from the Kubernetes API. ExtractBucket 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 ExtractBucketStatus

func ExtractBucketStatus(bucket *storagev1alpha1.Bucket, fieldManager string) (*BucketApplyConfiguration, error)

ExtractBucketStatus is the same as ExtractBucket except that it extracts the status subresource applied configuration. Experimental!

func (*BucketApplyConfiguration) WithAPIVersion

func (b *BucketApplyConfiguration) WithAPIVersion(value string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithAnnotations

func (b *BucketApplyConfiguration) WithAnnotations(entries map[string]string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithCreationTimestamp

func (b *BucketApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *BucketApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithDeletionTimestamp

func (b *BucketApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithFinalizers

func (b *BucketApplyConfiguration) WithFinalizers(values ...string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithGenerateName

func (b *BucketApplyConfiguration) WithGenerateName(value string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) WithGeneration

func (b *BucketApplyConfiguration) WithGeneration(value int64) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) 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 (*BucketApplyConfiguration) WithLabels

func (b *BucketApplyConfiguration) WithLabels(entries map[string]string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) 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 (*BucketApplyConfiguration) WithNamespace

func (b *BucketApplyConfiguration) WithNamespace(value string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) 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 (*BucketApplyConfiguration) WithResourceVersion

func (b *BucketApplyConfiguration) WithResourceVersion(value string) *BucketApplyConfiguration

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 (*BucketApplyConfiguration) 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 (*BucketApplyConfiguration) 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 (*BucketApplyConfiguration) 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 BucketClassApplyConfiguration

type BucketClassApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Capabilities                     *v1alpha1.ResourceList `json:"capabilities,omitempty"`
}

BucketClassApplyConfiguration represents an declarative configuration of the BucketClass type for use with apply.

func BucketClass

func BucketClass(name string) *BucketClassApplyConfiguration

BucketClass constructs an declarative configuration of the BucketClass type for use with apply.

func ExtractBucketClass

func ExtractBucketClass(bucketClass *storagev1alpha1.BucketClass, fieldManager string) (*BucketClassApplyConfiguration, error)

ExtractBucketClass extracts the applied configuration owned by fieldManager from bucketClass. If no managedFields are found in bucketClass for fieldManager, a BucketClassApplyConfiguration 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. bucketClass must be a unmodified BucketClass API object that was retrieved from the Kubernetes API. ExtractBucketClass 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 ExtractBucketClassStatus

func ExtractBucketClassStatus(bucketClass *storagev1alpha1.BucketClass, fieldManager string) (*BucketClassApplyConfiguration, error)

ExtractBucketClassStatus is the same as ExtractBucketClass except that it extracts the status subresource applied configuration. Experimental!

func (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) WithCapabilities

WithCapabilities sets the Capabilities 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 Capabilities field is set to the value of the last call.

func (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *BucketClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BucketClassApplyConfiguration

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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 (*BucketClassApplyConfiguration) 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 BucketConditionApplyConfiguration

type BucketConditionApplyConfiguration struct {
	Type               *v1alpha1.BucketConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus           `json:"status,omitempty"`
	Reason             *string                       `json:"reason,omitempty"`
	Message            *string                       `json:"message,omitempty"`
	ObservedGeneration *int64                        `json:"observedGeneration,omitempty"`
	LastTransitionTime *metav1.Time                  `json:"lastTransitionTime,omitempty"`
}

BucketConditionApplyConfiguration represents an declarative configuration of the BucketCondition type for use with apply.

func BucketCondition

func BucketCondition() *BucketConditionApplyConfiguration

BucketConditionApplyConfiguration constructs an declarative configuration of the BucketCondition type for use with apply.

func (*BucketConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*BucketConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*BucketConditionApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*BucketConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*BucketConditionApplyConfiguration) 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 (*BucketConditionApplyConfiguration) WithType

WithType sets the Type 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 Type field is set to the value of the last call.

type BucketPoolApplyConfiguration

type BucketPoolApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *BucketPoolSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *BucketPoolStatusApplyConfiguration `json:"status,omitempty"`
}

BucketPoolApplyConfiguration represents an declarative configuration of the BucketPool type for use with apply.

func BucketPool

func BucketPool(name string) *BucketPoolApplyConfiguration

BucketPool constructs an declarative configuration of the BucketPool type for use with apply.

func ExtractBucketPool

func ExtractBucketPool(bucketPool *storagev1alpha1.BucketPool, fieldManager string) (*BucketPoolApplyConfiguration, error)

ExtractBucketPool extracts the applied configuration owned by fieldManager from bucketPool. If no managedFields are found in bucketPool for fieldManager, a BucketPoolApplyConfiguration 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. bucketPool must be a unmodified BucketPool API object that was retrieved from the Kubernetes API. ExtractBucketPool 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 ExtractBucketPoolStatus

func ExtractBucketPoolStatus(bucketPool *storagev1alpha1.BucketPool, fieldManager string) (*BucketPoolApplyConfiguration, error)

ExtractBucketPoolStatus is the same as ExtractBucketPool except that it extracts the status subresource applied configuration. Experimental!

func (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) WithCreationTimestamp

func (b *BucketPoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BucketPoolApplyConfiguration

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 (*BucketPoolApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *BucketPoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BucketPoolApplyConfiguration

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 (*BucketPoolApplyConfiguration) WithDeletionTimestamp

func (b *BucketPoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BucketPoolApplyConfiguration

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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) WithResourceVersion

func (b *BucketPoolApplyConfiguration) WithResourceVersion(value string) *BucketPoolApplyConfiguration

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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 (*BucketPoolApplyConfiguration) 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 BucketPoolSpecApplyConfiguration

type BucketPoolSpecApplyConfiguration struct {
	ProviderID *string                            `json:"providerID,omitempty"`
	Taints     []v1alpha1.TaintApplyConfiguration `json:"taints,omitempty"`
}

BucketPoolSpecApplyConfiguration represents an declarative configuration of the BucketPoolSpec type for use with apply.

func BucketPoolSpec

func BucketPoolSpec() *BucketPoolSpecApplyConfiguration

BucketPoolSpecApplyConfiguration constructs an declarative configuration of the BucketPoolSpec type for use with apply.

func (*BucketPoolSpecApplyConfiguration) WithProviderID

WithProviderID sets the ProviderID 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 ProviderID field is set to the value of the last call.

func (*BucketPoolSpecApplyConfiguration) WithTaints

WithTaints adds the given value to the Taints 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 Taints field.

type BucketPoolStatusApplyConfiguration

type BucketPoolStatusApplyConfiguration struct {
	State                  *v1alpha1.BucketPoolState `json:"state,omitempty"`
	AvailableBucketClasses []v1.LocalObjectReference `json:"availableBucketClasses,omitempty"`
}

BucketPoolStatusApplyConfiguration represents an declarative configuration of the BucketPoolStatus type for use with apply.

func BucketPoolStatus

func BucketPoolStatus() *BucketPoolStatusApplyConfiguration

BucketPoolStatusApplyConfiguration constructs an declarative configuration of the BucketPoolStatus type for use with apply.

func (*BucketPoolStatusApplyConfiguration) WithAvailableBucketClasses

WithAvailableBucketClasses adds the given value to the AvailableBucketClasses 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 AvailableBucketClasses field.

func (*BucketPoolStatusApplyConfiguration) WithState

WithState sets the State 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 State field is set to the value of the last call.

type BucketSpecApplyConfiguration

type BucketSpecApplyConfiguration struct {
	BucketClassRef     *v1.LocalObjectReference                `json:"bucketClassRef,omitempty"`
	BucketPoolSelector map[string]string                       `json:"bucketPoolSelector,omitempty"`
	BucketPoolRef      *v1.LocalObjectReference                `json:"bucketPoolRef,omitempty"`
	Tolerations        []v1alpha1.TolerationApplyConfiguration `json:"tolerations,omitempty"`
}

BucketSpecApplyConfiguration represents an declarative configuration of the BucketSpec type for use with apply.

func BucketSpec

func BucketSpec() *BucketSpecApplyConfiguration

BucketSpecApplyConfiguration constructs an declarative configuration of the BucketSpec type for use with apply.

func (*BucketSpecApplyConfiguration) WithBucketClassRef

WithBucketClassRef sets the BucketClassRef 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 BucketClassRef field is set to the value of the last call.

func (*BucketSpecApplyConfiguration) WithBucketPoolRef

WithBucketPoolRef sets the BucketPoolRef 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 BucketPoolRef field is set to the value of the last call.

func (*BucketSpecApplyConfiguration) WithBucketPoolSelector

func (b *BucketSpecApplyConfiguration) WithBucketPoolSelector(entries map[string]string) *BucketSpecApplyConfiguration

WithBucketPoolSelector puts the entries into the BucketPoolSelector 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 BucketPoolSelector field, overwriting an existing map entries in BucketPoolSelector field with the same key.

func (*BucketSpecApplyConfiguration) WithTolerations

WithTolerations adds the given value to the Tolerations 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 Tolerations field.

type BucketStatusApplyConfiguration

type BucketStatusApplyConfiguration struct {
	State                   *v1alpha1.BucketState               `json:"state,omitempty"`
	LastStateTransitionTime *v1.Time                            `json:"lastStateTransitionTime,omitempty"`
	Access                  *BucketAccessApplyConfiguration     `json:"access,omitempty"`
	Conditions              []BucketConditionApplyConfiguration `json:"conditions,omitempty"`
}

BucketStatusApplyConfiguration represents an declarative configuration of the BucketStatus type for use with apply.

func BucketStatus

func BucketStatus() *BucketStatusApplyConfiguration

BucketStatusApplyConfiguration constructs an declarative configuration of the BucketStatus type for use with apply.

func (*BucketStatusApplyConfiguration) WithAccess

WithAccess sets the Access 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 Access field is set to the value of the last call.

func (*BucketStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*BucketStatusApplyConfiguration) WithLastStateTransitionTime

func (b *BucketStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *BucketStatusApplyConfiguration

WithLastStateTransitionTime sets the LastStateTransitionTime 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 LastStateTransitionTime field is set to the value of the last call.

func (*BucketStatusApplyConfiguration) WithState

WithState sets the State 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 State field is set to the value of the last call.

type VolumeAccessApplyConfiguration

type VolumeAccessApplyConfiguration struct {
	SecretRef        *v1.LocalObjectReference `json:"secretRef,omitempty"`
	Driver           *string                  `json:"driver,omitempty"`
	Handle           *string                  `json:"handle,omitempty"`
	VolumeAttributes map[string]string        `json:"volumeAttributes,omitempty"`
}

VolumeAccessApplyConfiguration represents an declarative configuration of the VolumeAccess type for use with apply.

func VolumeAccess

func VolumeAccess() *VolumeAccessApplyConfiguration

VolumeAccessApplyConfiguration constructs an declarative configuration of the VolumeAccess type for use with apply.

func (*VolumeAccessApplyConfiguration) WithDriver

WithDriver sets the Driver 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 Driver field is set to the value of the last call.

func (*VolumeAccessApplyConfiguration) WithHandle

WithHandle sets the Handle 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 Handle field is set to the value of the last call.

func (*VolumeAccessApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef 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 SecretRef field is set to the value of the last call.

func (*VolumeAccessApplyConfiguration) WithVolumeAttributes

func (b *VolumeAccessApplyConfiguration) WithVolumeAttributes(entries map[string]string) *VolumeAccessApplyConfiguration

WithVolumeAttributes puts the entries into the VolumeAttributes 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 VolumeAttributes field, overwriting an existing map entries in VolumeAttributes field with the same key.

type VolumeApplyConfiguration

type VolumeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumeSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VolumeStatusApplyConfiguration `json:"status,omitempty"`
}

VolumeApplyConfiguration represents an declarative configuration of the Volume type for use with apply.

func ExtractVolume

func ExtractVolume(volume *storagev1alpha1.Volume, fieldManager string) (*VolumeApplyConfiguration, error)

ExtractVolume extracts the applied configuration owned by fieldManager from volume. If no managedFields are found in volume for fieldManager, a VolumeApplyConfiguration 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. volume must be a unmodified Volume API object that was retrieved from the Kubernetes API. ExtractVolume 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 ExtractVolumeStatus

func ExtractVolumeStatus(volume *storagev1alpha1.Volume, fieldManager string) (*VolumeApplyConfiguration, error)

ExtractVolumeStatus is the same as ExtractVolume except that it extracts the status subresource applied configuration. Experimental!

func Volume

func Volume(name, namespace string) *VolumeApplyConfiguration

Volume constructs an declarative configuration of the Volume type for use with apply.

func (*VolumeApplyConfiguration) WithAPIVersion

func (b *VolumeApplyConfiguration) WithAPIVersion(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithAnnotations

func (b *VolumeApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithCreationTimestamp

func (b *VolumeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *VolumeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithDeletionTimestamp

func (b *VolumeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithFinalizers

func (b *VolumeApplyConfiguration) WithFinalizers(values ...string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithGenerateName

func (b *VolumeApplyConfiguration) WithGenerateName(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) WithGeneration

func (b *VolumeApplyConfiguration) WithGeneration(value int64) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) 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 (*VolumeApplyConfiguration) WithLabels

func (b *VolumeApplyConfiguration) WithLabels(entries map[string]string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) 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 (*VolumeApplyConfiguration) WithNamespace

func (b *VolumeApplyConfiguration) WithNamespace(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) 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 (*VolumeApplyConfiguration) WithResourceVersion

func (b *VolumeApplyConfiguration) WithResourceVersion(value string) *VolumeApplyConfiguration

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 (*VolumeApplyConfiguration) 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 (*VolumeApplyConfiguration) 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 (*VolumeApplyConfiguration) 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 VolumeClassApplyConfiguration

type VolumeClassApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Capabilities                     *v1alpha1.ResourceList        `json:"capabilities,omitempty"`
	ResizePolicy                     *storagev1alpha1.ResizePolicy `json:"resizePolicy,omitempty"`
}

VolumeClassApplyConfiguration represents an declarative configuration of the VolumeClass type for use with apply.

func ExtractVolumeClass

func ExtractVolumeClass(volumeClass *storagev1alpha1.VolumeClass, fieldManager string) (*VolumeClassApplyConfiguration, error)

ExtractVolumeClass extracts the applied configuration owned by fieldManager from volumeClass. If no managedFields are found in volumeClass for fieldManager, a VolumeClassApplyConfiguration 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. volumeClass must be a unmodified VolumeClass API object that was retrieved from the Kubernetes API. ExtractVolumeClass 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 ExtractVolumeClassStatus

func ExtractVolumeClassStatus(volumeClass *storagev1alpha1.VolumeClass, fieldManager string) (*VolumeClassApplyConfiguration, error)

ExtractVolumeClassStatus is the same as ExtractVolumeClass except that it extracts the status subresource applied configuration. Experimental!

func VolumeClass

func VolumeClass(name string) *VolumeClassApplyConfiguration

VolumeClass constructs an declarative configuration of the VolumeClass type for use with apply.

func (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) WithCapabilities

WithCapabilities sets the Capabilities 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 Capabilities field is set to the value of the last call.

func (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *VolumeClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeClassApplyConfiguration

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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) WithResizePolicy

WithResizePolicy sets the ResizePolicy 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 ResizePolicy field is set to the value of the last call.

func (*VolumeClassApplyConfiguration) 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 (*VolumeClassApplyConfiguration) 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 VolumeConditionApplyConfiguration

type VolumeConditionApplyConfiguration struct {
	Type               *v1alpha1.VolumeConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus           `json:"status,omitempty"`
	Reason             *string                       `json:"reason,omitempty"`
	Message            *string                       `json:"message,omitempty"`
	ObservedGeneration *int64                        `json:"observedGeneration,omitempty"`
	LastTransitionTime *metav1.Time                  `json:"lastTransitionTime,omitempty"`
}

VolumeConditionApplyConfiguration represents an declarative configuration of the VolumeCondition type for use with apply.

func VolumeCondition

func VolumeCondition() *VolumeConditionApplyConfiguration

VolumeConditionApplyConfiguration constructs an declarative configuration of the VolumeCondition type for use with apply.

func (*VolumeConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*VolumeConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*VolumeConditionApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*VolumeConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*VolumeConditionApplyConfiguration) 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 (*VolumeConditionApplyConfiguration) WithType

WithType sets the Type 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 Type field is set to the value of the last call.

type VolumeEncryptionApplyConfiguration

type VolumeEncryptionApplyConfiguration struct {
	SecretRef *v1.LocalObjectReference `json:"secretRef,omitempty"`
}

VolumeEncryptionApplyConfiguration represents an declarative configuration of the VolumeEncryption type for use with apply.

func VolumeEncryption

func VolumeEncryption() *VolumeEncryptionApplyConfiguration

VolumeEncryptionApplyConfiguration constructs an declarative configuration of the VolumeEncryption type for use with apply.

func (*VolumeEncryptionApplyConfiguration) WithSecretRef

WithSecretRef sets the SecretRef 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 SecretRef field is set to the value of the last call.

type VolumePoolApplyConfiguration

type VolumePoolApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumePoolSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VolumePoolStatusApplyConfiguration `json:"status,omitempty"`
}

VolumePoolApplyConfiguration represents an declarative configuration of the VolumePool type for use with apply.

func ExtractVolumePool

func ExtractVolumePool(volumePool *storagev1alpha1.VolumePool, fieldManager string) (*VolumePoolApplyConfiguration, error)

ExtractVolumePool extracts the applied configuration owned by fieldManager from volumePool. If no managedFields are found in volumePool for fieldManager, a VolumePoolApplyConfiguration 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. volumePool must be a unmodified VolumePool API object that was retrieved from the Kubernetes API. ExtractVolumePool 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 ExtractVolumePoolStatus

func ExtractVolumePoolStatus(volumePool *storagev1alpha1.VolumePool, fieldManager string) (*VolumePoolApplyConfiguration, error)

ExtractVolumePoolStatus is the same as ExtractVolumePool except that it extracts the status subresource applied configuration. Experimental!

func VolumePool

func VolumePool(name string) *VolumePoolApplyConfiguration

VolumePool constructs an declarative configuration of the VolumePool type for use with apply.

func (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) WithCreationTimestamp

func (b *VolumePoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumePoolApplyConfiguration

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 (*VolumePoolApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *VolumePoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumePoolApplyConfiguration

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 (*VolumePoolApplyConfiguration) WithDeletionTimestamp

func (b *VolumePoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumePoolApplyConfiguration

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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) WithResourceVersion

func (b *VolumePoolApplyConfiguration) WithResourceVersion(value string) *VolumePoolApplyConfiguration

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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 (*VolumePoolApplyConfiguration) 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 VolumePoolConditionApplyConfiguration

type VolumePoolConditionApplyConfiguration struct {
	Type               *v1alpha1.VolumePoolConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus               `json:"status,omitempty"`
	Reason             *string                           `json:"reason,omitempty"`
	Message            *string                           `json:"message,omitempty"`
	ObservedGeneration *int64                            `json:"observedGeneration,omitempty"`
	LastTransitionTime *metav1.Time                      `json:"lastTransitionTime,omitempty"`
}

VolumePoolConditionApplyConfiguration represents an declarative configuration of the VolumePoolCondition type for use with apply.

func VolumePoolCondition

func VolumePoolCondition() *VolumePoolConditionApplyConfiguration

VolumePoolConditionApplyConfiguration constructs an declarative configuration of the VolumePoolCondition type for use with apply.

func (*VolumePoolConditionApplyConfiguration) WithLastTransitionTime

WithLastTransitionTime sets the LastTransitionTime 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 LastTransitionTime field is set to the value of the last call.

func (*VolumePoolConditionApplyConfiguration) WithMessage

WithMessage sets the Message 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 Message field is set to the value of the last call.

func (*VolumePoolConditionApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration 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 ObservedGeneration field is set to the value of the last call.

func (*VolumePoolConditionApplyConfiguration) WithReason

WithReason sets the Reason 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 Reason field is set to the value of the last call.

func (*VolumePoolConditionApplyConfiguration) 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 (*VolumePoolConditionApplyConfiguration) WithType

WithType sets the Type 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 Type field is set to the value of the last call.

type VolumePoolSpecApplyConfiguration

type VolumePoolSpecApplyConfiguration struct {
	ProviderID *string                            `json:"providerID,omitempty"`
	Taints     []v1alpha1.TaintApplyConfiguration `json:"taints,omitempty"`
}

VolumePoolSpecApplyConfiguration represents an declarative configuration of the VolumePoolSpec type for use with apply.

func VolumePoolSpec

func VolumePoolSpec() *VolumePoolSpecApplyConfiguration

VolumePoolSpecApplyConfiguration constructs an declarative configuration of the VolumePoolSpec type for use with apply.

func (*VolumePoolSpecApplyConfiguration) WithProviderID

WithProviderID sets the ProviderID 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 ProviderID field is set to the value of the last call.

func (*VolumePoolSpecApplyConfiguration) WithTaints

WithTaints adds the given value to the Taints 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 Taints field.

type VolumePoolStatusApplyConfiguration

type VolumePoolStatusApplyConfiguration struct {
	State                  *v1alpha1.VolumePoolState               `json:"state,omitempty"`
	Conditions             []VolumePoolConditionApplyConfiguration `json:"conditions,omitempty"`
	AvailableVolumeClasses []v1.LocalObjectReference               `json:"availableVolumeClasses,omitempty"`
	Capacity               *corev1alpha1.ResourceList              `json:"capacity,omitempty"`
	Allocatable            *corev1alpha1.ResourceList              `json:"allocatable,omitempty"`
}

VolumePoolStatusApplyConfiguration represents an declarative configuration of the VolumePoolStatus type for use with apply.

func VolumePoolStatus

func VolumePoolStatus() *VolumePoolStatusApplyConfiguration

VolumePoolStatusApplyConfiguration constructs an declarative configuration of the VolumePoolStatus type for use with apply.

func (*VolumePoolStatusApplyConfiguration) WithAllocatable

WithAllocatable sets the Allocatable 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 Allocatable field is set to the value of the last call.

func (*VolumePoolStatusApplyConfiguration) WithAvailableVolumeClasses

WithAvailableVolumeClasses adds the given value to the AvailableVolumeClasses 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 AvailableVolumeClasses field.

func (*VolumePoolStatusApplyConfiguration) WithCapacity

WithCapacity sets the Capacity 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 Capacity field is set to the value of the last call.

func (*VolumePoolStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*VolumePoolStatusApplyConfiguration) WithState

WithState sets the State 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 State field is set to the value of the last call.

type VolumeSpecApplyConfiguration

type VolumeSpecApplyConfiguration struct {
	VolumeClassRef     *v1.LocalObjectReference                      `json:"volumeClassRef,omitempty"`
	VolumePoolSelector map[string]string                             `json:"volumePoolSelector,omitempty"`
	VolumePoolRef      *v1.LocalObjectReference                      `json:"volumePoolRef,omitempty"`
	ClaimRef           *v1alpha1.LocalUIDReferenceApplyConfiguration `json:"claimRef,omitempty"`
	Resources          *corev1alpha1.ResourceList                    `json:"resources,omitempty"`
	Image              *string                                       `json:"image,omitempty"`
	ImagePullSecretRef *v1.LocalObjectReference                      `json:"imagePullSecretRef,omitempty"`
	Unclaimable        *bool                                         `json:"unclaimable,omitempty"`
	Tolerations        []v1alpha1.TolerationApplyConfiguration       `json:"tolerations,omitempty"`
	Encryption         *VolumeEncryptionApplyConfiguration           `json:"encryption,omitempty"`
}

VolumeSpecApplyConfiguration represents an declarative configuration of the VolumeSpec type for use with apply.

func VolumeSpec

func VolumeSpec() *VolumeSpecApplyConfiguration

VolumeSpecApplyConfiguration constructs an declarative configuration of the VolumeSpec type for use with apply.

func (*VolumeSpecApplyConfiguration) WithClaimRef

WithClaimRef sets the ClaimRef 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 ClaimRef field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithEncryption

WithEncryption sets the Encryption 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 Encryption field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithImage

WithImage sets the Image 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 Image field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithImagePullSecretRef

WithImagePullSecretRef sets the ImagePullSecretRef 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 ImagePullSecretRef field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithResources

WithResources sets the Resources 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 Resources field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithTolerations

WithTolerations adds the given value to the Tolerations 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 Tolerations field.

func (*VolumeSpecApplyConfiguration) WithUnclaimable

WithUnclaimable sets the Unclaimable 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 Unclaimable field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithVolumeClassRef

WithVolumeClassRef sets the VolumeClassRef 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 VolumeClassRef field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithVolumePoolRef

WithVolumePoolRef sets the VolumePoolRef 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 VolumePoolRef field is set to the value of the last call.

func (*VolumeSpecApplyConfiguration) WithVolumePoolSelector

func (b *VolumeSpecApplyConfiguration) WithVolumePoolSelector(entries map[string]string) *VolumeSpecApplyConfiguration

WithVolumePoolSelector puts the entries into the VolumePoolSelector 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 VolumePoolSelector field, overwriting an existing map entries in VolumePoolSelector field with the same key.

type VolumeStatusApplyConfiguration

type VolumeStatusApplyConfiguration struct {
	State                   *v1alpha1.VolumeState               `json:"state,omitempty"`
	LastStateTransitionTime *v1.Time                            `json:"lastStateTransitionTime,omitempty"`
	Access                  *VolumeAccessApplyConfiguration     `json:"access,omitempty"`
	Conditions              []VolumeConditionApplyConfiguration `json:"conditions,omitempty"`
}

VolumeStatusApplyConfiguration represents an declarative configuration of the VolumeStatus type for use with apply.

func VolumeStatus

func VolumeStatus() *VolumeStatusApplyConfiguration

VolumeStatusApplyConfiguration constructs an declarative configuration of the VolumeStatus type for use with apply.

func (*VolumeStatusApplyConfiguration) WithAccess

WithAccess sets the Access 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 Access field is set to the value of the last call.

func (*VolumeStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*VolumeStatusApplyConfiguration) WithLastStateTransitionTime

func (b *VolumeStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *VolumeStatusApplyConfiguration

WithLastStateTransitionTime sets the LastStateTransitionTime 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 LastStateTransitionTime field is set to the value of the last call.

func (*VolumeStatusApplyConfiguration) WithState

WithState sets the State 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 State field is set to the value of the last call.

type VolumeTemplateSpecApplyConfiguration

type VolumeTemplateSpecApplyConfiguration struct {
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumeSpecApplyConfiguration `json:"spec,omitempty"`
}

VolumeTemplateSpecApplyConfiguration represents an declarative configuration of the VolumeTemplateSpec type for use with apply.

func VolumeTemplateSpec

func VolumeTemplateSpec() *VolumeTemplateSpecApplyConfiguration

VolumeTemplateSpecApplyConfiguration constructs an declarative configuration of the VolumeTemplateSpec type for use with apply.

func (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *VolumeTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeTemplateSpecApplyConfiguration

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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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 (*VolumeTemplateSpecApplyConfiguration) 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