Documentation ¶
Index ¶
- type BucketAccessApplyConfiguration
- type BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithAPIVersion(value string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithAnnotations(entries map[string]string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithFinalizers(values ...string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithGenerateName(value string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithGeneration(value int64) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithKind(value string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithLabels(entries map[string]string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithName(value string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithNamespace(value string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithResourceVersion(value string) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithSpec(value *BucketSpecApplyConfiguration) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithStatus(value *BucketStatusApplyConfiguration) *BucketApplyConfiguration
- func (b *BucketApplyConfiguration) WithUID(value types.UID) *BucketApplyConfiguration
- type BucketClassApplyConfiguration
- func BucketClass(name string) *BucketClassApplyConfiguration
- func ExtractBucketClass(bucketClass *storagev1alpha1.BucketClass, fieldManager string) (*BucketClassApplyConfiguration, error)
- func ExtractBucketClassStatus(bucketClass *storagev1alpha1.BucketClass, fieldManager string) (*BucketClassApplyConfiguration, error)
- func (b *BucketClassApplyConfiguration) WithAPIVersion(value string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithAnnotations(entries map[string]string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithFinalizers(values ...string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithGenerateName(value string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithGeneration(value int64) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithKind(value string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithLabels(entries map[string]string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithName(value string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithNamespace(value string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithResourceVersion(value string) *BucketClassApplyConfiguration
- func (b *BucketClassApplyConfiguration) WithUID(value types.UID) *BucketClassApplyConfiguration
- type BucketConditionApplyConfiguration
- func (b *BucketConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *BucketConditionApplyConfiguration
- func (b *BucketConditionApplyConfiguration) WithMessage(value string) *BucketConditionApplyConfiguration
- func (b *BucketConditionApplyConfiguration) WithObservedGeneration(value int64) *BucketConditionApplyConfiguration
- func (b *BucketConditionApplyConfiguration) WithReason(value string) *BucketConditionApplyConfiguration
- func (b *BucketConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *BucketConditionApplyConfiguration
- func (b *BucketConditionApplyConfiguration) WithType(value v1alpha1.BucketConditionType) *BucketConditionApplyConfiguration
- type BucketPoolApplyConfiguration
- func BucketPool(name string) *BucketPoolApplyConfiguration
- func ExtractBucketPool(bucketPool *storagev1alpha1.BucketPool, fieldManager string) (*BucketPoolApplyConfiguration, error)
- func ExtractBucketPoolStatus(bucketPool *storagev1alpha1.BucketPool, fieldManager string) (*BucketPoolApplyConfiguration, error)
- func (b *BucketPoolApplyConfiguration) WithAPIVersion(value string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithAnnotations(entries map[string]string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithFinalizers(values ...string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithGenerateName(value string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithGeneration(value int64) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithKind(value string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithLabels(entries map[string]string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithName(value string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithNamespace(value string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithResourceVersion(value string) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithSpec(value *BucketPoolSpecApplyConfiguration) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithStatus(value *BucketPoolStatusApplyConfiguration) *BucketPoolApplyConfiguration
- func (b *BucketPoolApplyConfiguration) WithUID(value types.UID) *BucketPoolApplyConfiguration
- type BucketPoolSpecApplyConfiguration
- type BucketPoolStatusApplyConfiguration
- type BucketSpecApplyConfiguration
- func (b *BucketSpecApplyConfiguration) WithBucketClassRef(value v1.LocalObjectReference) *BucketSpecApplyConfiguration
- func (b *BucketSpecApplyConfiguration) WithBucketPoolRef(value v1.LocalObjectReference) *BucketSpecApplyConfiguration
- func (b *BucketSpecApplyConfiguration) WithBucketPoolSelector(entries map[string]string) *BucketSpecApplyConfiguration
- func (b *BucketSpecApplyConfiguration) WithTolerations(values ...*v1alpha1.TolerationApplyConfiguration) *BucketSpecApplyConfiguration
- type BucketStatusApplyConfiguration
- func (b *BucketStatusApplyConfiguration) WithAccess(value *BucketAccessApplyConfiguration) *BucketStatusApplyConfiguration
- func (b *BucketStatusApplyConfiguration) WithConditions(values ...*BucketConditionApplyConfiguration) *BucketStatusApplyConfiguration
- func (b *BucketStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *BucketStatusApplyConfiguration
- func (b *BucketStatusApplyConfiguration) WithState(value v1alpha1.BucketState) *BucketStatusApplyConfiguration
- type VolumeAccessApplyConfiguration
- func (b *VolumeAccessApplyConfiguration) WithDriver(value string) *VolumeAccessApplyConfiguration
- func (b *VolumeAccessApplyConfiguration) WithHandle(value string) *VolumeAccessApplyConfiguration
- func (b *VolumeAccessApplyConfiguration) WithSecretRef(value v1.LocalObjectReference) *VolumeAccessApplyConfiguration
- func (b *VolumeAccessApplyConfiguration) WithVolumeAttributes(entries map[string]string) *VolumeAccessApplyConfiguration
- type VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithAPIVersion(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithFinalizers(values ...string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithGenerateName(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithGeneration(value int64) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithKind(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithLabels(entries map[string]string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithName(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithNamespace(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithResourceVersion(value string) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithSpec(value *VolumeSpecApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithStatus(value *VolumeStatusApplyConfiguration) *VolumeApplyConfiguration
- func (b *VolumeApplyConfiguration) WithUID(value types.UID) *VolumeApplyConfiguration
- type VolumeClassApplyConfiguration
- func ExtractVolumeClass(volumeClass *storagev1alpha1.VolumeClass, fieldManager string) (*VolumeClassApplyConfiguration, error)
- func ExtractVolumeClassStatus(volumeClass *storagev1alpha1.VolumeClass, fieldManager string) (*VolumeClassApplyConfiguration, error)
- func VolumeClass(name string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithAPIVersion(value string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithFinalizers(values ...string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithGenerateName(value string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithGeneration(value int64) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithKind(value string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithLabels(entries map[string]string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithName(value string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithNamespace(value string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithResizePolicy(value storagev1alpha1.ResizePolicy) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithResourceVersion(value string) *VolumeClassApplyConfiguration
- func (b *VolumeClassApplyConfiguration) WithUID(value types.UID) *VolumeClassApplyConfiguration
- type VolumeConditionApplyConfiguration
- func (b *VolumeConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *VolumeConditionApplyConfiguration
- func (b *VolumeConditionApplyConfiguration) WithMessage(value string) *VolumeConditionApplyConfiguration
- func (b *VolumeConditionApplyConfiguration) WithObservedGeneration(value int64) *VolumeConditionApplyConfiguration
- func (b *VolumeConditionApplyConfiguration) WithReason(value string) *VolumeConditionApplyConfiguration
- func (b *VolumeConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *VolumeConditionApplyConfiguration
- func (b *VolumeConditionApplyConfiguration) WithType(value v1alpha1.VolumeConditionType) *VolumeConditionApplyConfiguration
- type VolumeEncryptionApplyConfiguration
- type VolumePoolApplyConfiguration
- func ExtractVolumePool(volumePool *storagev1alpha1.VolumePool, fieldManager string) (*VolumePoolApplyConfiguration, error)
- func ExtractVolumePoolStatus(volumePool *storagev1alpha1.VolumePool, fieldManager string) (*VolumePoolApplyConfiguration, error)
- func VolumePool(name string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithAPIVersion(value string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithAnnotations(entries map[string]string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithFinalizers(values ...string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithGenerateName(value string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithGeneration(value int64) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithKind(value string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithLabels(entries map[string]string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithName(value string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithNamespace(value string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithResourceVersion(value string) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithSpec(value *VolumePoolSpecApplyConfiguration) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithStatus(value *VolumePoolStatusApplyConfiguration) *VolumePoolApplyConfiguration
- func (b *VolumePoolApplyConfiguration) WithUID(value types.UID) *VolumePoolApplyConfiguration
- type VolumePoolConditionApplyConfiguration
- func (b *VolumePoolConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *VolumePoolConditionApplyConfiguration
- func (b *VolumePoolConditionApplyConfiguration) WithMessage(value string) *VolumePoolConditionApplyConfiguration
- func (b *VolumePoolConditionApplyConfiguration) WithObservedGeneration(value int64) *VolumePoolConditionApplyConfiguration
- func (b *VolumePoolConditionApplyConfiguration) WithReason(value string) *VolumePoolConditionApplyConfiguration
- func (b *VolumePoolConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *VolumePoolConditionApplyConfiguration
- func (b *VolumePoolConditionApplyConfiguration) WithType(value v1alpha1.VolumePoolConditionType) *VolumePoolConditionApplyConfiguration
- type VolumePoolSpecApplyConfiguration
- type VolumePoolStatusApplyConfiguration
- func (b *VolumePoolStatusApplyConfiguration) WithAllocatable(value corev1alpha1.ResourceList) *VolumePoolStatusApplyConfiguration
- func (b *VolumePoolStatusApplyConfiguration) WithAvailableVolumeClasses(values ...v1.LocalObjectReference) *VolumePoolStatusApplyConfiguration
- func (b *VolumePoolStatusApplyConfiguration) WithCapacity(value corev1alpha1.ResourceList) *VolumePoolStatusApplyConfiguration
- func (b *VolumePoolStatusApplyConfiguration) WithConditions(values ...*VolumePoolConditionApplyConfiguration) *VolumePoolStatusApplyConfiguration
- func (b *VolumePoolStatusApplyConfiguration) WithState(value v1alpha1.VolumePoolState) *VolumePoolStatusApplyConfiguration
- type VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithClaimRef(value *v1alpha1.LocalUIDReferenceApplyConfiguration) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithEncryption(value *VolumeEncryptionApplyConfiguration) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithImage(value string) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithImagePullSecretRef(value v1.LocalObjectReference) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithResources(value corev1alpha1.ResourceList) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithTolerations(values ...*v1alpha1.TolerationApplyConfiguration) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithUnclaimable(value bool) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithVolumeClassRef(value v1.LocalObjectReference) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithVolumePoolRef(value v1.LocalObjectReference) *VolumeSpecApplyConfiguration
- func (b *VolumeSpecApplyConfiguration) WithVolumePoolSelector(entries map[string]string) *VolumeSpecApplyConfiguration
- type VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithAccess(value *VolumeAccessApplyConfiguration) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithConditions(values ...*VolumeConditionApplyConfiguration) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithLastStateTransitionTime(value v1.Time) *VolumeStatusApplyConfiguration
- func (b *VolumeStatusApplyConfiguration) WithState(value v1alpha1.VolumeState) *VolumeStatusApplyConfiguration
- type VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithGenerateName(value string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithGeneration(value int64) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithName(value string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithNamespace(value string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithResourceVersion(value string) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithSpec(value *VolumeSpecApplyConfiguration) *VolumeTemplateSpecApplyConfiguration
- func (b *VolumeTemplateSpecApplyConfiguration) WithUID(value types.UID) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *BucketAccessApplyConfiguration) WithEndpoint(value string) *BucketAccessApplyConfiguration
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 ¶
func (b *BucketAccessApplyConfiguration) WithSecretRef(value v1.LocalObjectReference) *BucketAccessApplyConfiguration
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 ¶
func (b *BucketApplyConfiguration) WithKind(value string) *BucketApplyConfiguration
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 ¶
func (b *BucketApplyConfiguration) WithName(value string) *BucketApplyConfiguration
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 ¶
func (b *BucketApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BucketApplyConfiguration
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 ¶
func (b *BucketApplyConfiguration) WithSpec(value *BucketSpecApplyConfiguration) *BucketApplyConfiguration
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 ¶
func (b *BucketApplyConfiguration) WithStatus(value *BucketStatusApplyConfiguration) *BucketApplyConfiguration
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 ¶
func (b *BucketApplyConfiguration) WithUID(value types.UID) *BucketApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithAPIVersion(value string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithAnnotations(entries map[string]string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithFinalizers(values ...string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithGenerateName(value string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithGeneration(value int64) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithKind(value string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithLabels(entries map[string]string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithName(value string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithNamespace(value string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithResourceVersion(value string) *BucketClassApplyConfiguration
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 ¶
func (b *BucketClassApplyConfiguration) WithUID(value types.UID) *BucketClassApplyConfiguration
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 ¶
func (b *BucketConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *BucketConditionApplyConfiguration
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 ¶
func (b *BucketConditionApplyConfiguration) WithMessage(value string) *BucketConditionApplyConfiguration
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 ¶
func (b *BucketConditionApplyConfiguration) WithObservedGeneration(value int64) *BucketConditionApplyConfiguration
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 ¶
func (b *BucketConditionApplyConfiguration) WithReason(value string) *BucketConditionApplyConfiguration
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 ¶
func (b *BucketConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *BucketConditionApplyConfiguration
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 ¶
func (b *BucketConditionApplyConfiguration) WithType(value v1alpha1.BucketConditionType) *BucketConditionApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithAPIVersion(value string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithAnnotations(entries map[string]string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithFinalizers(values ...string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithGenerateName(value string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithGeneration(value int64) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithKind(value string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithLabels(entries map[string]string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithName(value string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithNamespace(value string) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithSpec(value *BucketPoolSpecApplyConfiguration) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithStatus(value *BucketPoolStatusApplyConfiguration) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolApplyConfiguration) WithUID(value types.UID) *BucketPoolApplyConfiguration
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 ¶
func (b *BucketPoolSpecApplyConfiguration) WithProviderID(value string) *BucketPoolSpecApplyConfiguration
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 ¶
func (b *BucketPoolSpecApplyConfiguration) WithTaints(values ...*v1alpha1.TaintApplyConfiguration) *BucketPoolSpecApplyConfiguration
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 ¶
func (b *BucketPoolStatusApplyConfiguration) WithAvailableBucketClasses(values ...v1.LocalObjectReference) *BucketPoolStatusApplyConfiguration
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 ¶
func (b *BucketPoolStatusApplyConfiguration) WithState(value v1alpha1.BucketPoolState) *BucketPoolStatusApplyConfiguration
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 ¶
func (b *BucketSpecApplyConfiguration) WithBucketClassRef(value v1.LocalObjectReference) *BucketSpecApplyConfiguration
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 ¶
func (b *BucketSpecApplyConfiguration) WithBucketPoolRef(value v1.LocalObjectReference) *BucketSpecApplyConfiguration
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 ¶
func (b *BucketSpecApplyConfiguration) WithTolerations(values ...*v1alpha1.TolerationApplyConfiguration) *BucketSpecApplyConfiguration
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 ¶
func (b *BucketStatusApplyConfiguration) WithAccess(value *BucketAccessApplyConfiguration) *BucketStatusApplyConfiguration
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 ¶
func (b *BucketStatusApplyConfiguration) WithConditions(values ...*BucketConditionApplyConfiguration) *BucketStatusApplyConfiguration
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 ¶
func (b *BucketStatusApplyConfiguration) WithState(value v1alpha1.BucketState) *BucketStatusApplyConfiguration
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 ¶
func (b *VolumeAccessApplyConfiguration) WithDriver(value string) *VolumeAccessApplyConfiguration
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 ¶
func (b *VolumeAccessApplyConfiguration) WithHandle(value string) *VolumeAccessApplyConfiguration
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 ¶
func (b *VolumeAccessApplyConfiguration) WithSecretRef(value v1.LocalObjectReference) *VolumeAccessApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithKind(value string) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithName(value string) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithSpec(value *VolumeSpecApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithStatus(value *VolumeStatusApplyConfiguration) *VolumeApplyConfiguration
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 ¶
func (b *VolumeApplyConfiguration) WithUID(value types.UID) *VolumeApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithAPIVersion(value string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithCapabilities(value v1alpha1.ResourceList) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithFinalizers(values ...string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithGenerateName(value string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithGeneration(value int64) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithKind(value string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithLabels(entries map[string]string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithName(value string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithNamespace(value string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithResizePolicy(value storagev1alpha1.ResizePolicy) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithResourceVersion(value string) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeClassApplyConfiguration) WithUID(value types.UID) *VolumeClassApplyConfiguration
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 ¶
func (b *VolumeConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *VolumeConditionApplyConfiguration
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 ¶
func (b *VolumeConditionApplyConfiguration) WithMessage(value string) *VolumeConditionApplyConfiguration
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 ¶
func (b *VolumeConditionApplyConfiguration) WithObservedGeneration(value int64) *VolumeConditionApplyConfiguration
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 ¶
func (b *VolumeConditionApplyConfiguration) WithReason(value string) *VolumeConditionApplyConfiguration
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 ¶
func (b *VolumeConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *VolumeConditionApplyConfiguration
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 ¶
func (b *VolumeConditionApplyConfiguration) WithType(value v1alpha1.VolumeConditionType) *VolumeConditionApplyConfiguration
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 ¶
func (b *VolumeEncryptionApplyConfiguration) WithSecretRef(value v1.LocalObjectReference) *VolumeEncryptionApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithAPIVersion(value string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithAnnotations(entries map[string]string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithFinalizers(values ...string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithGenerateName(value string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithGeneration(value int64) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithKind(value string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithLabels(entries map[string]string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithName(value string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithNamespace(value string) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithSpec(value *VolumePoolSpecApplyConfiguration) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithStatus(value *VolumePoolStatusApplyConfiguration) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolApplyConfiguration) WithUID(value types.UID) *VolumePoolApplyConfiguration
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 ¶
func (b *VolumePoolConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *VolumePoolConditionApplyConfiguration
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 ¶
func (b *VolumePoolConditionApplyConfiguration) WithMessage(value string) *VolumePoolConditionApplyConfiguration
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 ¶
func (b *VolumePoolConditionApplyConfiguration) WithObservedGeneration(value int64) *VolumePoolConditionApplyConfiguration
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 ¶
func (b *VolumePoolConditionApplyConfiguration) WithReason(value string) *VolumePoolConditionApplyConfiguration
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 ¶
func (b *VolumePoolConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *VolumePoolConditionApplyConfiguration
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 ¶
func (b *VolumePoolConditionApplyConfiguration) WithType(value v1alpha1.VolumePoolConditionType) *VolumePoolConditionApplyConfiguration
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 ¶
func (b *VolumePoolSpecApplyConfiguration) WithProviderID(value string) *VolumePoolSpecApplyConfiguration
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 ¶
func (b *VolumePoolSpecApplyConfiguration) WithTaints(values ...*v1alpha1.TaintApplyConfiguration) *VolumePoolSpecApplyConfiguration
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 ¶
func (b *VolumePoolStatusApplyConfiguration) WithAllocatable(value corev1alpha1.ResourceList) *VolumePoolStatusApplyConfiguration
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 ¶
func (b *VolumePoolStatusApplyConfiguration) WithAvailableVolumeClasses(values ...v1.LocalObjectReference) *VolumePoolStatusApplyConfiguration
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 ¶
func (b *VolumePoolStatusApplyConfiguration) WithCapacity(value corev1alpha1.ResourceList) *VolumePoolStatusApplyConfiguration
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 ¶
func (b *VolumePoolStatusApplyConfiguration) WithConditions(values ...*VolumePoolConditionApplyConfiguration) *VolumePoolStatusApplyConfiguration
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 ¶
func (b *VolumePoolStatusApplyConfiguration) WithState(value v1alpha1.VolumePoolState) *VolumePoolStatusApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithClaimRef(value *v1alpha1.LocalUIDReferenceApplyConfiguration) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithEncryption(value *VolumeEncryptionApplyConfiguration) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithImage(value string) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithImagePullSecretRef(value v1.LocalObjectReference) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithResources(value corev1alpha1.ResourceList) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithTolerations(values ...*v1alpha1.TolerationApplyConfiguration) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithUnclaimable(value bool) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithVolumeClassRef(value v1.LocalObjectReference) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeSpecApplyConfiguration) WithVolumePoolRef(value v1.LocalObjectReference) *VolumeSpecApplyConfiguration
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 ¶
func (b *VolumeStatusApplyConfiguration) WithAccess(value *VolumeAccessApplyConfiguration) *VolumeStatusApplyConfiguration
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 ¶
func (b *VolumeStatusApplyConfiguration) WithConditions(values ...*VolumeConditionApplyConfiguration) *VolumeStatusApplyConfiguration
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 ¶
func (b *VolumeStatusApplyConfiguration) WithState(value v1alpha1.VolumeState) *VolumeStatusApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithGenerateName(value string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithGeneration(value int64) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithName(value string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithNamespace(value string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithResourceVersion(value string) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithSpec(value *VolumeSpecApplyConfiguration) *VolumeTemplateSpecApplyConfiguration
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 ¶
func (b *VolumeTemplateSpecApplyConfiguration) WithUID(value types.UID) *VolumeTemplateSpecApplyConfiguration
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.
Source Files ¶
- bucket.go
- bucketaccess.go
- bucketclass.go
- bucketcondition.go
- bucketpool.go
- bucketpoolspec.go
- bucketpoolstatus.go
- bucketspec.go
- bucketstatus.go
- volume.go
- volumeaccess.go
- volumeclass.go
- volumecondition.go
- volumeencryption.go
- volumepool.go
- volumepoolcondition.go
- volumepoolspec.go
- volumepoolstatus.go
- volumespec.go
- volumestatus.go
- volumetemplatespec.go