v1

package
v0.31.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSIDriverApplyConfiguration

type CSIDriverApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CSIDriverSpecApplyConfiguration `json:"spec,omitempty"`
}

CSIDriverApplyConfiguration represents a declarative configuration of the CSIDriver type for use with apply.

func CSIDriver

func CSIDriver(name string) *CSIDriverApplyConfiguration

CSIDriver constructs a declarative configuration of the CSIDriver type for use with apply.

func ExtractCSIDriver

func ExtractCSIDriver(cSIDriver *apistoragev1.CSIDriver, fieldManager string) (*CSIDriverApplyConfiguration, error)

ExtractCSIDriver extracts the applied configuration owned by fieldManager from cSIDriver. If no managedFields are found in cSIDriver for fieldManager, a CSIDriverApplyConfiguration 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. cSIDriver must be a unmodified CSIDriver API object that was retrieved from the Kubernetes API. ExtractCSIDriver 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 ExtractCSIDriverStatus added in v0.22.0

func ExtractCSIDriverStatus(cSIDriver *apistoragev1.CSIDriver, fieldManager string) (*CSIDriverApplyConfiguration, error)

ExtractCSIDriverStatus is the same as ExtractCSIDriver except that it extracts the status subresource applied configuration. Experimental!

func (*CSIDriverApplyConfiguration) GetName added in v0.31.0

func (b *CSIDriverApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*CSIDriverApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithAnnotations

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

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

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

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

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

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

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

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

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

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

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*CSIDriverApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*CSIDriverApplyConfiguration) WithResourceVersion

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

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 (*CSIDriverApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*CSIDriverApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type CSIDriverSpecApplyConfiguration

type CSIDriverSpecApplyConfiguration struct {
	AttachRequired       *bool                            `json:"attachRequired,omitempty"`
	PodInfoOnMount       *bool                            `json:"podInfoOnMount,omitempty"`
	VolumeLifecycleModes []v1.VolumeLifecycleMode         `json:"volumeLifecycleModes,omitempty"`
	StorageCapacity      *bool                            `json:"storageCapacity,omitempty"`
	FSGroupPolicy        *v1.FSGroupPolicy                `json:"fsGroupPolicy,omitempty"`
	TokenRequests        []TokenRequestApplyConfiguration `json:"tokenRequests,omitempty"`
	RequiresRepublish    *bool                            `json:"requiresRepublish,omitempty"`
	SELinuxMount         *bool                            `json:"seLinuxMount,omitempty"`
}

CSIDriverSpecApplyConfiguration represents a declarative configuration of the CSIDriverSpec type for use with apply.

func CSIDriverSpec

func CSIDriverSpec() *CSIDriverSpecApplyConfiguration

CSIDriverSpecApplyConfiguration constructs a declarative configuration of the CSIDriverSpec type for use with apply.

func (*CSIDriverSpecApplyConfiguration) WithAttachRequired

WithAttachRequired sets the AttachRequired field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AttachRequired field is set to the value of the last call.

func (*CSIDriverSpecApplyConfiguration) WithFSGroupPolicy

WithFSGroupPolicy sets the FSGroupPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSGroupPolicy field is set to the value of the last call.

func (*CSIDriverSpecApplyConfiguration) WithPodInfoOnMount

WithPodInfoOnMount sets the PodInfoOnMount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodInfoOnMount field is set to the value of the last call.

func (*CSIDriverSpecApplyConfiguration) WithRequiresRepublish

func (b *CSIDriverSpecApplyConfiguration) WithRequiresRepublish(value bool) *CSIDriverSpecApplyConfiguration

WithRequiresRepublish sets the RequiresRepublish field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequiresRepublish field is set to the value of the last call.

func (*CSIDriverSpecApplyConfiguration) WithSELinuxMount added in v0.25.0

WithSELinuxMount sets the SELinuxMount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SELinuxMount field is set to the value of the last call.

func (*CSIDriverSpecApplyConfiguration) WithStorageCapacity

WithStorageCapacity sets the StorageCapacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageCapacity field is set to the value of the last call.

func (*CSIDriverSpecApplyConfiguration) WithTokenRequests

WithTokenRequests adds the given value to the TokenRequests 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 TokenRequests field.

func (*CSIDriverSpecApplyConfiguration) WithVolumeLifecycleModes

WithVolumeLifecycleModes adds the given value to the VolumeLifecycleModes 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 VolumeLifecycleModes field.

type CSINodeApplyConfiguration

type CSINodeApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *CSINodeSpecApplyConfiguration `json:"spec,omitempty"`
}

CSINodeApplyConfiguration represents a declarative configuration of the CSINode type for use with apply.

func CSINode

func CSINode(name string) *CSINodeApplyConfiguration

CSINode constructs a declarative configuration of the CSINode type for use with apply.

func ExtractCSINode

func ExtractCSINode(cSINode *apistoragev1.CSINode, fieldManager string) (*CSINodeApplyConfiguration, error)

ExtractCSINode extracts the applied configuration owned by fieldManager from cSINode. If no managedFields are found in cSINode for fieldManager, a CSINodeApplyConfiguration 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. cSINode must be a unmodified CSINode API object that was retrieved from the Kubernetes API. ExtractCSINode 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 ExtractCSINodeStatus added in v0.22.0

func ExtractCSINodeStatus(cSINode *apistoragev1.CSINode, fieldManager string) (*CSINodeApplyConfiguration, error)

ExtractCSINodeStatus is the same as ExtractCSINode except that it extracts the status subresource applied configuration. Experimental!

func (*CSINodeApplyConfiguration) GetName added in v0.31.0

func (b *CSINodeApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*CSINodeApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*CSINodeApplyConfiguration) WithAnnotations

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*CSINodeApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*CSINodeApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*CSINodeApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*CSINodeApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*CSINodeApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*CSINodeApplyConfiguration) WithResourceVersion

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

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 (*CSINodeApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*CSINodeApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type CSINodeDriverApplyConfiguration

type CSINodeDriverApplyConfiguration struct {
	Name         *string                                `json:"name,omitempty"`
	NodeID       *string                                `json:"nodeID,omitempty"`
	TopologyKeys []string                               `json:"topologyKeys,omitempty"`
	Allocatable  *VolumeNodeResourcesApplyConfiguration `json:"allocatable,omitempty"`
}

CSINodeDriverApplyConfiguration represents a declarative configuration of the CSINodeDriver type for use with apply.

func CSINodeDriver

func CSINodeDriver() *CSINodeDriverApplyConfiguration

CSINodeDriverApplyConfiguration constructs a declarative configuration of the CSINodeDriver type for use with apply.

func (*CSINodeDriverApplyConfiguration) WithAllocatable

WithAllocatable sets the Allocatable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allocatable field is set to the value of the last call.

func (*CSINodeDriverApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*CSINodeDriverApplyConfiguration) WithNodeID

WithNodeID sets the NodeID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeID field is set to the value of the last call.

func (*CSINodeDriverApplyConfiguration) WithTopologyKeys

WithTopologyKeys adds the given value to the TopologyKeys 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 TopologyKeys field.

type CSINodeSpecApplyConfiguration

type CSINodeSpecApplyConfiguration struct {
	Drivers []CSINodeDriverApplyConfiguration `json:"drivers,omitempty"`
}

CSINodeSpecApplyConfiguration represents a declarative configuration of the CSINodeSpec type for use with apply.

func CSINodeSpec

func CSINodeSpec() *CSINodeSpecApplyConfiguration

CSINodeSpecApplyConfiguration constructs a declarative configuration of the CSINodeSpec type for use with apply.

func (*CSINodeSpecApplyConfiguration) WithDrivers

WithDrivers adds the given value to the Drivers 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 Drivers field.

type CSIStorageCapacityApplyConfiguration added in v0.24.0

type CSIStorageCapacityApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	NodeTopology                     *v1.LabelSelectorApplyConfiguration `json:"nodeTopology,omitempty"`
	StorageClassName                 *string                             `json:"storageClassName,omitempty"`
	Capacity                         *resource.Quantity                  `json:"capacity,omitempty"`
	MaximumVolumeSize                *resource.Quantity                  `json:"maximumVolumeSize,omitempty"`
}

CSIStorageCapacityApplyConfiguration represents a declarative configuration of the CSIStorageCapacity type for use with apply.

func CSIStorageCapacity added in v0.24.0

func CSIStorageCapacity(name, namespace string) *CSIStorageCapacityApplyConfiguration

CSIStorageCapacity constructs a declarative configuration of the CSIStorageCapacity type for use with apply.

func ExtractCSIStorageCapacity added in v0.24.0

func ExtractCSIStorageCapacity(cSIStorageCapacity *storagev1.CSIStorageCapacity, fieldManager string) (*CSIStorageCapacityApplyConfiguration, error)

ExtractCSIStorageCapacity extracts the applied configuration owned by fieldManager from cSIStorageCapacity. If no managedFields are found in cSIStorageCapacity for fieldManager, a CSIStorageCapacityApplyConfiguration 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. cSIStorageCapacity must be a unmodified CSIStorageCapacity API object that was retrieved from the Kubernetes API. ExtractCSIStorageCapacity 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 ExtractCSIStorageCapacityStatus added in v0.24.0

func ExtractCSIStorageCapacityStatus(cSIStorageCapacity *storagev1.CSIStorageCapacity, fieldManager string) (*CSIStorageCapacityApplyConfiguration, error)

ExtractCSIStorageCapacityStatus is the same as ExtractCSIStorageCapacity except that it extracts the status subresource applied configuration. Experimental!

func (*CSIStorageCapacityApplyConfiguration) GetName added in v0.31.0

GetName retrieves the value of the Name field in the declarative configuration.

func (*CSIStorageCapacityApplyConfiguration) WithAPIVersion added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithAnnotations added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithCapacity added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithCreationTimestamp added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.24.0

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

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 (*CSIStorageCapacityApplyConfiguration) WithDeletionTimestamp added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithFinalizers added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithGenerateName added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithGeneration added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithKind added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithLabels added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithMaximumVolumeSize added in v0.24.0

WithMaximumVolumeSize sets the MaximumVolumeSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaximumVolumeSize field is set to the value of the last call.

func (*CSIStorageCapacityApplyConfiguration) WithName added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithNamespace added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithNodeTopology added in v0.24.0

WithNodeTopology sets the NodeTopology field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeTopology field is set to the value of the last call.

func (*CSIStorageCapacityApplyConfiguration) WithOwnerReferences added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithResourceVersion added in v0.24.0

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 (*CSIStorageCapacityApplyConfiguration) WithStorageClassName added in v0.24.0

WithStorageClassName sets the StorageClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageClassName field is set to the value of the last call.

func (*CSIStorageCapacityApplyConfiguration) WithUID added in v0.24.0

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 StorageClassApplyConfiguration

type StorageClassApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Provisioner                      *string                                                            `json:"provisioner,omitempty"`
	Parameters                       map[string]string                                                  `json:"parameters,omitempty"`
	ReclaimPolicy                    *corev1.PersistentVolumeReclaimPolicy                              `json:"reclaimPolicy,omitempty"`
	MountOptions                     []string                                                           `json:"mountOptions,omitempty"`
	AllowVolumeExpansion             *bool                                                              `json:"allowVolumeExpansion,omitempty"`
	VolumeBindingMode                *storagev1.VolumeBindingMode                                       `json:"volumeBindingMode,omitempty"`
	AllowedTopologies                []applyconfigurationscorev1.TopologySelectorTermApplyConfiguration `json:"allowedTopologies,omitempty"`
}

StorageClassApplyConfiguration represents a declarative configuration of the StorageClass type for use with apply.

func ExtractStorageClass

func ExtractStorageClass(storageClass *storagev1.StorageClass, fieldManager string) (*StorageClassApplyConfiguration, error)

ExtractStorageClass extracts the applied configuration owned by fieldManager from storageClass. If no managedFields are found in storageClass for fieldManager, a StorageClassApplyConfiguration 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. storageClass must be a unmodified StorageClass API object that was retrieved from the Kubernetes API. ExtractStorageClass 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 ExtractStorageClassStatus added in v0.22.0

func ExtractStorageClassStatus(storageClass *storagev1.StorageClass, fieldManager string) (*StorageClassApplyConfiguration, error)

ExtractStorageClassStatus is the same as ExtractStorageClass except that it extracts the status subresource applied configuration. Experimental!

func StorageClass

func StorageClass(name string) *StorageClassApplyConfiguration

StorageClass constructs a declarative configuration of the StorageClass type for use with apply.

func (*StorageClassApplyConfiguration) GetName added in v0.31.0

func (b *StorageClassApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

func (*StorageClassApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithAllowVolumeExpansion

func (b *StorageClassApplyConfiguration) WithAllowVolumeExpansion(value bool) *StorageClassApplyConfiguration

WithAllowVolumeExpansion sets the AllowVolumeExpansion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowVolumeExpansion field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithAllowedTopologies

WithAllowedTopologies adds the given value to the AllowedTopologies 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 AllowedTopologies field.

func (*StorageClassApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*StorageClassApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*StorageClassApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*StorageClassApplyConfiguration) WithMountOptions

WithMountOptions adds the given value to the MountOptions 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 MountOptions field.

func (*StorageClassApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*StorageClassApplyConfiguration) WithParameters

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

func (*StorageClassApplyConfiguration) WithProvisioner

WithProvisioner sets the Provisioner field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Provisioner field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithReclaimPolicy

WithReclaimPolicy sets the ReclaimPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReclaimPolicy field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

func (*StorageClassApplyConfiguration) WithVolumeBindingMode

WithVolumeBindingMode sets the VolumeBindingMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeBindingMode field is set to the value of the last call.

type TokenRequestApplyConfiguration

type TokenRequestApplyConfiguration struct {
	Audience          *string `json:"audience,omitempty"`
	ExpirationSeconds *int64  `json:"expirationSeconds,omitempty"`
}

TokenRequestApplyConfiguration represents a declarative configuration of the TokenRequest type for use with apply.

func TokenRequest

func TokenRequest() *TokenRequestApplyConfiguration

TokenRequestApplyConfiguration constructs a declarative configuration of the TokenRequest type for use with apply.

func (*TokenRequestApplyConfiguration) WithAudience

WithAudience sets the Audience field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Audience field is set to the value of the last call.

func (*TokenRequestApplyConfiguration) WithExpirationSeconds

func (b *TokenRequestApplyConfiguration) WithExpirationSeconds(value int64) *TokenRequestApplyConfiguration

WithExpirationSeconds sets the ExpirationSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExpirationSeconds field is set to the value of the last call.

type VolumeAttachmentApplyConfiguration

type VolumeAttachmentApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *VolumeAttachmentSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *VolumeAttachmentStatusApplyConfiguration `json:"status,omitempty"`
}

VolumeAttachmentApplyConfiguration represents a declarative configuration of the VolumeAttachment type for use with apply.

func ExtractVolumeAttachment

func ExtractVolumeAttachment(volumeAttachment *apistoragev1.VolumeAttachment, fieldManager string) (*VolumeAttachmentApplyConfiguration, error)

ExtractVolumeAttachment extracts the applied configuration owned by fieldManager from volumeAttachment. If no managedFields are found in volumeAttachment for fieldManager, a VolumeAttachmentApplyConfiguration 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. volumeAttachment must be a unmodified VolumeAttachment API object that was retrieved from the Kubernetes API. ExtractVolumeAttachment 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 ExtractVolumeAttachmentStatus added in v0.22.0

func ExtractVolumeAttachmentStatus(volumeAttachment *apistoragev1.VolumeAttachment, fieldManager string) (*VolumeAttachmentApplyConfiguration, error)

ExtractVolumeAttachmentStatus is the same as ExtractVolumeAttachment except that it extracts the status subresource applied configuration. Experimental!

func VolumeAttachment

func VolumeAttachment(name string) *VolumeAttachmentApplyConfiguration

VolumeAttachment constructs a declarative configuration of the VolumeAttachment type for use with apply.

func (*VolumeAttachmentApplyConfiguration) GetName added in v0.31.0

GetName retrieves the value of the Name field in the declarative configuration.

func (*VolumeAttachmentApplyConfiguration) WithAPIVersion

WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithAnnotations

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*VolumeAttachmentApplyConfiguration) WithCreationTimestamp

WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithDeletionGracePeriodSeconds

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

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

WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithFinalizers

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*VolumeAttachmentApplyConfiguration) WithGenerateName

WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithGeneration

WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithKind

WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*VolumeAttachmentApplyConfiguration) WithName

WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithNamespace

WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*VolumeAttachmentApplyConfiguration) WithResourceVersion

WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithSpec

WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithStatus

WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.

func (*VolumeAttachmentApplyConfiguration) WithUID

WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.

type VolumeAttachmentSourceApplyConfiguration

type VolumeAttachmentSourceApplyConfiguration struct {
	PersistentVolumeName *string                                    `json:"persistentVolumeName,omitempty"`
	InlineVolumeSpec     *v1.PersistentVolumeSpecApplyConfiguration `json:"inlineVolumeSpec,omitempty"`
}

VolumeAttachmentSourceApplyConfiguration represents a declarative configuration of the VolumeAttachmentSource type for use with apply.

func VolumeAttachmentSource

func VolumeAttachmentSource() *VolumeAttachmentSourceApplyConfiguration

VolumeAttachmentSourceApplyConfiguration constructs a declarative configuration of the VolumeAttachmentSource type for use with apply.

func (*VolumeAttachmentSourceApplyConfiguration) WithInlineVolumeSpec

WithInlineVolumeSpec sets the InlineVolumeSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InlineVolumeSpec field is set to the value of the last call.

func (*VolumeAttachmentSourceApplyConfiguration) WithPersistentVolumeName

WithPersistentVolumeName sets the PersistentVolumeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PersistentVolumeName field is set to the value of the last call.

type VolumeAttachmentSpecApplyConfiguration

type VolumeAttachmentSpecApplyConfiguration struct {
	Attacher *string                                   `json:"attacher,omitempty"`
	Source   *VolumeAttachmentSourceApplyConfiguration `json:"source,omitempty"`
	NodeName *string                                   `json:"nodeName,omitempty"`
}

VolumeAttachmentSpecApplyConfiguration represents a declarative configuration of the VolumeAttachmentSpec type for use with apply.

func VolumeAttachmentSpec

func VolumeAttachmentSpec() *VolumeAttachmentSpecApplyConfiguration

VolumeAttachmentSpecApplyConfiguration constructs a declarative configuration of the VolumeAttachmentSpec type for use with apply.

func (*VolumeAttachmentSpecApplyConfiguration) WithAttacher

WithAttacher sets the Attacher field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Attacher field is set to the value of the last call.

func (*VolumeAttachmentSpecApplyConfiguration) WithNodeName

WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.

func (*VolumeAttachmentSpecApplyConfiguration) WithSource

WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.

type VolumeAttachmentStatusApplyConfiguration

type VolumeAttachmentStatusApplyConfiguration struct {
	Attached           *bool                          `json:"attached,omitempty"`
	AttachmentMetadata map[string]string              `json:"attachmentMetadata,omitempty"`
	AttachError        *VolumeErrorApplyConfiguration `json:"attachError,omitempty"`
	DetachError        *VolumeErrorApplyConfiguration `json:"detachError,omitempty"`
}

VolumeAttachmentStatusApplyConfiguration represents a declarative configuration of the VolumeAttachmentStatus type for use with apply.

func VolumeAttachmentStatus

func VolumeAttachmentStatus() *VolumeAttachmentStatusApplyConfiguration

VolumeAttachmentStatusApplyConfiguration constructs a declarative configuration of the VolumeAttachmentStatus type for use with apply.

func (*VolumeAttachmentStatusApplyConfiguration) WithAttachError

WithAttachError sets the AttachError field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AttachError field is set to the value of the last call.

func (*VolumeAttachmentStatusApplyConfiguration) WithAttached

WithAttached sets the Attached field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Attached field is set to the value of the last call.

func (*VolumeAttachmentStatusApplyConfiguration) WithAttachmentMetadata

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

func (*VolumeAttachmentStatusApplyConfiguration) WithDetachError

WithDetachError sets the DetachError field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DetachError field is set to the value of the last call.

type VolumeErrorApplyConfiguration

type VolumeErrorApplyConfiguration struct {
	Time    *v1.Time `json:"time,omitempty"`
	Message *string  `json:"message,omitempty"`
}

VolumeErrorApplyConfiguration represents a declarative configuration of the VolumeError type for use with apply.

func VolumeError

func VolumeError() *VolumeErrorApplyConfiguration

VolumeErrorApplyConfiguration constructs a declarative configuration of the VolumeError type for use with apply.

func (*VolumeErrorApplyConfiguration) WithMessage

WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.

func (*VolumeErrorApplyConfiguration) WithTime

WithTime sets the Time field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Time field is set to the value of the last call.

type VolumeNodeResourcesApplyConfiguration

type VolumeNodeResourcesApplyConfiguration struct {
	Count *int32 `json:"count,omitempty"`
}

VolumeNodeResourcesApplyConfiguration represents a declarative configuration of the VolumeNodeResources type for use with apply.

func VolumeNodeResources

func VolumeNodeResources() *VolumeNodeResourcesApplyConfiguration

VolumeNodeResourcesApplyConfiguration constructs a declarative configuration of the VolumeNodeResources type for use with apply.

func (*VolumeNodeResourcesApplyConfiguration) WithCount

WithCount sets the Count field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Count field is set to the value of the last call.

Jump to

Keyboard shortcuts

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