Documentation ¶
Index ¶
- type ClaimStatusApplyConfiguration
- type HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithAPIVersion(value string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithAnnotations(entries map[string]string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithFinalizers(values ...string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithGenerateName(value string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithGeneration(value int64) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithKind(value string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithLabels(entries map[string]string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithName(value string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithNamespace(value string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithResourceVersion(value string) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithSpec(value *HostPathProvisionerSpecApplyConfiguration) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithStatus(value *HostPathProvisionerStatusApplyConfiguration) *HostPathProvisionerApplyConfiguration
- func (b *HostPathProvisionerApplyConfiguration) WithUID(value types.UID) *HostPathProvisionerApplyConfiguration
- type HostPathProvisionerSpecApplyConfiguration
- func (b *HostPathProvisionerSpecApplyConfiguration) WithFeatureGates(values ...string) *HostPathProvisionerSpecApplyConfiguration
- func (b *HostPathProvisionerSpecApplyConfiguration) WithImagePullPolicy(value v1.PullPolicy) *HostPathProvisionerSpecApplyConfiguration
- func (b *HostPathProvisionerSpecApplyConfiguration) WithPathConfig(value *PathConfigApplyConfiguration) *HostPathProvisionerSpecApplyConfiguration
- func (b *HostPathProvisionerSpecApplyConfiguration) WithStoragePools(values ...*StoragePoolApplyConfiguration) *HostPathProvisionerSpecApplyConfiguration
- func (b *HostPathProvisionerSpecApplyConfiguration) WithWorkload(value *NodePlacementApplyConfiguration) *HostPathProvisionerSpecApplyConfiguration
- type HostPathProvisionerStatusApplyConfiguration
- func (b *HostPathProvisionerStatusApplyConfiguration) WithConditions(values ...v1.Condition) *HostPathProvisionerStatusApplyConfiguration
- func (b *HostPathProvisionerStatusApplyConfiguration) WithObservedVersion(value string) *HostPathProvisionerStatusApplyConfiguration
- func (b *HostPathProvisionerStatusApplyConfiguration) WithOperatorVersion(value string) *HostPathProvisionerStatusApplyConfiguration
- func (b *HostPathProvisionerStatusApplyConfiguration) WithStoragePoolStatuses(values ...*StoragePoolStatusApplyConfiguration) *HostPathProvisionerStatusApplyConfiguration
- func (b *HostPathProvisionerStatusApplyConfiguration) WithTargetVersion(value string) *HostPathProvisionerStatusApplyConfiguration
- type NodePlacementApplyConfiguration
- func (b *NodePlacementApplyConfiguration) WithAffinity(value v1.Affinity) *NodePlacementApplyConfiguration
- func (b *NodePlacementApplyConfiguration) WithNodeSelector(entries map[string]string) *NodePlacementApplyConfiguration
- func (b *NodePlacementApplyConfiguration) WithTolerations(values ...v1.Toleration) *NodePlacementApplyConfiguration
- type PathConfigApplyConfiguration
- type StoragePoolApplyConfiguration
- func (b *StoragePoolApplyConfiguration) WithName(value string) *StoragePoolApplyConfiguration
- func (b *StoragePoolApplyConfiguration) WithPVCTemplate(value v1.PersistentVolumeClaimSpec) *StoragePoolApplyConfiguration
- func (b *StoragePoolApplyConfiguration) WithPath(value string) *StoragePoolApplyConfiguration
- type StoragePoolStatusApplyConfiguration
- func (b *StoragePoolStatusApplyConfiguration) WithClaimStatuses(values ...*ClaimStatusApplyConfiguration) *StoragePoolStatusApplyConfiguration
- func (b *StoragePoolStatusApplyConfiguration) WithCurrentReady(value int) *StoragePoolStatusApplyConfiguration
- func (b *StoragePoolStatusApplyConfiguration) WithDesiredReady(value int) *StoragePoolStatusApplyConfiguration
- func (b *StoragePoolStatusApplyConfiguration) WithName(value string) *StoragePoolStatusApplyConfiguration
- func (b *StoragePoolStatusApplyConfiguration) WithPhase(value v1beta1.StoragePoolPhase) *StoragePoolStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimStatusApplyConfiguration ¶
type ClaimStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` Status *v1.PersistentVolumeClaimStatus `json:"status,omitempty"` }
ClaimStatusApplyConfiguration represents an declarative configuration of the ClaimStatus type for use with apply.
func ClaimStatus ¶
func ClaimStatus() *ClaimStatusApplyConfiguration
ClaimStatusApplyConfiguration constructs an declarative configuration of the ClaimStatus type for use with apply.
func (*ClaimStatusApplyConfiguration) WithName ¶
func (b *ClaimStatusApplyConfiguration) WithName(value string) *ClaimStatusApplyConfiguration
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 (*ClaimStatusApplyConfiguration) WithStatus ¶
func (b *ClaimStatusApplyConfiguration) WithStatus(value v1.PersistentVolumeClaimStatus) *ClaimStatusApplyConfiguration
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.
type HostPathProvisionerApplyConfiguration ¶
type HostPathProvisionerApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *HostPathProvisionerSpecApplyConfiguration `json:"spec,omitempty"` Status *HostPathProvisionerStatusApplyConfiguration `json:"status,omitempty"` }
HostPathProvisionerApplyConfiguration represents an declarative configuration of the HostPathProvisioner type for use with apply.
func HostPathProvisioner ¶
func HostPathProvisioner(name string) *HostPathProvisionerApplyConfiguration
HostPathProvisioner constructs an declarative configuration of the HostPathProvisioner type for use with apply.
func (*HostPathProvisionerApplyConfiguration) WithAPIVersion ¶
func (b *HostPathProvisionerApplyConfiguration) WithAPIVersion(value string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithAnnotations ¶
func (b *HostPathProvisionerApplyConfiguration) WithAnnotations(entries map[string]string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithCreationTimestamp ¶
func (b *HostPathProvisionerApplyConfiguration) WithCreationTimestamp(value metav1.Time) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *HostPathProvisionerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithDeletionTimestamp ¶
func (b *HostPathProvisionerApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithFinalizers ¶
func (b *HostPathProvisionerApplyConfiguration) WithFinalizers(values ...string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithGenerateName ¶
func (b *HostPathProvisionerApplyConfiguration) WithGenerateName(value string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithGeneration ¶
func (b *HostPathProvisionerApplyConfiguration) WithGeneration(value int64) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithKind ¶
func (b *HostPathProvisionerApplyConfiguration) WithKind(value string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithLabels ¶
func (b *HostPathProvisionerApplyConfiguration) WithLabels(entries map[string]string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithName ¶
func (b *HostPathProvisionerApplyConfiguration) WithName(value string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithNamespace ¶
func (b *HostPathProvisionerApplyConfiguration) WithNamespace(value string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithOwnerReferences ¶
func (b *HostPathProvisionerApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithResourceVersion ¶
func (b *HostPathProvisionerApplyConfiguration) WithResourceVersion(value string) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithSpec ¶
func (b *HostPathProvisionerApplyConfiguration) WithSpec(value *HostPathProvisionerSpecApplyConfiguration) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithStatus ¶
func (b *HostPathProvisionerApplyConfiguration) WithStatus(value *HostPathProvisionerStatusApplyConfiguration) *HostPathProvisionerApplyConfiguration
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 (*HostPathProvisionerApplyConfiguration) WithUID ¶
func (b *HostPathProvisionerApplyConfiguration) WithUID(value types.UID) *HostPathProvisionerApplyConfiguration
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 HostPathProvisionerSpecApplyConfiguration ¶
type HostPathProvisionerSpecApplyConfiguration struct { ImagePullPolicy *v1.PullPolicy `json:"imagePullPolicy,omitempty"` PathConfig *PathConfigApplyConfiguration `json:"pathConfig,omitempty"` Workload *NodePlacementApplyConfiguration `json:"workload,omitempty"` FeatureGates []string `json:"featureGates,omitempty"` StoragePools []StoragePoolApplyConfiguration `json:"storagePools,omitempty"` }
HostPathProvisionerSpecApplyConfiguration represents an declarative configuration of the HostPathProvisionerSpec type for use with apply.
func HostPathProvisionerSpec ¶
func HostPathProvisionerSpec() *HostPathProvisionerSpecApplyConfiguration
HostPathProvisionerSpecApplyConfiguration constructs an declarative configuration of the HostPathProvisionerSpec type for use with apply.
func (*HostPathProvisionerSpecApplyConfiguration) WithFeatureGates ¶
func (b *HostPathProvisionerSpecApplyConfiguration) WithFeatureGates(values ...string) *HostPathProvisionerSpecApplyConfiguration
WithFeatureGates adds the given value to the FeatureGates 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 FeatureGates field.
func (*HostPathProvisionerSpecApplyConfiguration) WithImagePullPolicy ¶
func (b *HostPathProvisionerSpecApplyConfiguration) WithImagePullPolicy(value v1.PullPolicy) *HostPathProvisionerSpecApplyConfiguration
WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.
func (*HostPathProvisionerSpecApplyConfiguration) WithPathConfig ¶
func (b *HostPathProvisionerSpecApplyConfiguration) WithPathConfig(value *PathConfigApplyConfiguration) *HostPathProvisionerSpecApplyConfiguration
WithPathConfig sets the PathConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PathConfig field is set to the value of the last call.
func (*HostPathProvisionerSpecApplyConfiguration) WithStoragePools ¶
func (b *HostPathProvisionerSpecApplyConfiguration) WithStoragePools(values ...*StoragePoolApplyConfiguration) *HostPathProvisionerSpecApplyConfiguration
WithStoragePools adds the given value to the StoragePools 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 StoragePools field.
func (*HostPathProvisionerSpecApplyConfiguration) WithWorkload ¶
func (b *HostPathProvisionerSpecApplyConfiguration) WithWorkload(value *NodePlacementApplyConfiguration) *HostPathProvisionerSpecApplyConfiguration
WithWorkload sets the Workload field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Workload field is set to the value of the last call.
type HostPathProvisionerStatusApplyConfiguration ¶
type HostPathProvisionerStatusApplyConfiguration struct { Conditions []v1.Condition `json:"conditions,omitempty"` OperatorVersion *string `json:"operatorVersion,omitempty"` TargetVersion *string `json:"targetVersion,omitempty"` ObservedVersion *string `json:"observedVersion,omitempty"` StoragePoolStatuses []StoragePoolStatusApplyConfiguration `json:"storagePoolStatuses,omitempty"` }
HostPathProvisionerStatusApplyConfiguration represents an declarative configuration of the HostPathProvisionerStatus type for use with apply.
func HostPathProvisionerStatus ¶
func HostPathProvisionerStatus() *HostPathProvisionerStatusApplyConfiguration
HostPathProvisionerStatusApplyConfiguration constructs an declarative configuration of the HostPathProvisionerStatus type for use with apply.
func (*HostPathProvisionerStatusApplyConfiguration) WithConditions ¶
func (b *HostPathProvisionerStatusApplyConfiguration) WithConditions(values ...v1.Condition) *HostPathProvisionerStatusApplyConfiguration
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 (*HostPathProvisionerStatusApplyConfiguration) WithObservedVersion ¶
func (b *HostPathProvisionerStatusApplyConfiguration) WithObservedVersion(value string) *HostPathProvisionerStatusApplyConfiguration
WithObservedVersion sets the ObservedVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedVersion field is set to the value of the last call.
func (*HostPathProvisionerStatusApplyConfiguration) WithOperatorVersion ¶
func (b *HostPathProvisionerStatusApplyConfiguration) WithOperatorVersion(value string) *HostPathProvisionerStatusApplyConfiguration
WithOperatorVersion sets the OperatorVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorVersion field is set to the value of the last call.
func (*HostPathProvisionerStatusApplyConfiguration) WithStoragePoolStatuses ¶
func (b *HostPathProvisionerStatusApplyConfiguration) WithStoragePoolStatuses(values ...*StoragePoolStatusApplyConfiguration) *HostPathProvisionerStatusApplyConfiguration
WithStoragePoolStatuses adds the given value to the StoragePoolStatuses 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 StoragePoolStatuses field.
func (*HostPathProvisionerStatusApplyConfiguration) WithTargetVersion ¶
func (b *HostPathProvisionerStatusApplyConfiguration) WithTargetVersion(value string) *HostPathProvisionerStatusApplyConfiguration
WithTargetVersion sets the TargetVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetVersion field is set to the value of the last call.
type NodePlacementApplyConfiguration ¶
type NodePlacementApplyConfiguration struct { NodeSelector map[string]string `json:"nodeSelector,omitempty"` Affinity *v1.Affinity `json:"affinity,omitempty"` Tolerations []v1.Toleration `json:"tolerations,omitempty"` }
NodePlacementApplyConfiguration represents an declarative configuration of the NodePlacement type for use with apply.
func NodePlacement ¶
func NodePlacement() *NodePlacementApplyConfiguration
NodePlacementApplyConfiguration constructs an declarative configuration of the NodePlacement type for use with apply.
func (*NodePlacementApplyConfiguration) WithAffinity ¶
func (b *NodePlacementApplyConfiguration) WithAffinity(value v1.Affinity) *NodePlacementApplyConfiguration
WithAffinity sets the Affinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Affinity field is set to the value of the last call.
func (*NodePlacementApplyConfiguration) WithNodeSelector ¶
func (b *NodePlacementApplyConfiguration) WithNodeSelector(entries map[string]string) *NodePlacementApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector 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 NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*NodePlacementApplyConfiguration) WithTolerations ¶
func (b *NodePlacementApplyConfiguration) WithTolerations(values ...v1.Toleration) *NodePlacementApplyConfiguration
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 PathConfigApplyConfiguration ¶
type PathConfigApplyConfiguration struct { Path *string `json:"path,omitempty"` UseNamingPrefix *bool `json:"useNamingPrefix,omitempty"` }
PathConfigApplyConfiguration represents an declarative configuration of the PathConfig type for use with apply.
func PathConfig ¶
func PathConfig() *PathConfigApplyConfiguration
PathConfigApplyConfiguration constructs an declarative configuration of the PathConfig type for use with apply.
func (*PathConfigApplyConfiguration) WithPath ¶
func (b *PathConfigApplyConfiguration) WithPath(value string) *PathConfigApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*PathConfigApplyConfiguration) WithUseNamingPrefix ¶
func (b *PathConfigApplyConfiguration) WithUseNamingPrefix(value bool) *PathConfigApplyConfiguration
WithUseNamingPrefix sets the UseNamingPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseNamingPrefix field is set to the value of the last call.
type StoragePoolApplyConfiguration ¶
type StoragePoolApplyConfiguration struct { Name *string `json:"name,omitempty"` PVCTemplate *v1.PersistentVolumeClaimSpec `json:"pvcTemplate,omitempty"` Path *string `json:"path,omitempty"` }
StoragePoolApplyConfiguration represents an declarative configuration of the StoragePool type for use with apply.
func StoragePool ¶
func StoragePool() *StoragePoolApplyConfiguration
StoragePoolApplyConfiguration constructs an declarative configuration of the StoragePool type for use with apply.
func (*StoragePoolApplyConfiguration) WithName ¶
func (b *StoragePoolApplyConfiguration) WithName(value string) *StoragePoolApplyConfiguration
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 (*StoragePoolApplyConfiguration) WithPVCTemplate ¶
func (b *StoragePoolApplyConfiguration) WithPVCTemplate(value v1.PersistentVolumeClaimSpec) *StoragePoolApplyConfiguration
WithPVCTemplate sets the PVCTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PVCTemplate field is set to the value of the last call.
func (*StoragePoolApplyConfiguration) WithPath ¶
func (b *StoragePoolApplyConfiguration) WithPath(value string) *StoragePoolApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
type StoragePoolStatusApplyConfiguration ¶
type StoragePoolStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` Phase *v1beta1.StoragePoolPhase `json:"phase,omitempty"` DesiredReady *int `json:"desiredReady,omitempty"` CurrentReady *int `json:"currentReady,omitempty"` ClaimStatuses []ClaimStatusApplyConfiguration `json:"claimStatuses,omitempty"` }
StoragePoolStatusApplyConfiguration represents an declarative configuration of the StoragePoolStatus type for use with apply.
func StoragePoolStatus ¶
func StoragePoolStatus() *StoragePoolStatusApplyConfiguration
StoragePoolStatusApplyConfiguration constructs an declarative configuration of the StoragePoolStatus type for use with apply.
func (*StoragePoolStatusApplyConfiguration) WithClaimStatuses ¶
func (b *StoragePoolStatusApplyConfiguration) WithClaimStatuses(values ...*ClaimStatusApplyConfiguration) *StoragePoolStatusApplyConfiguration
WithClaimStatuses adds the given value to the ClaimStatuses 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 ClaimStatuses field.
func (*StoragePoolStatusApplyConfiguration) WithCurrentReady ¶
func (b *StoragePoolStatusApplyConfiguration) WithCurrentReady(value int) *StoragePoolStatusApplyConfiguration
WithCurrentReady sets the CurrentReady field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentReady field is set to the value of the last call.
func (*StoragePoolStatusApplyConfiguration) WithDesiredReady ¶
func (b *StoragePoolStatusApplyConfiguration) WithDesiredReady(value int) *StoragePoolStatusApplyConfiguration
WithDesiredReady sets the DesiredReady field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredReady field is set to the value of the last call.
func (*StoragePoolStatusApplyConfiguration) WithName ¶
func (b *StoragePoolStatusApplyConfiguration) WithName(value string) *StoragePoolStatusApplyConfiguration
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 (*StoragePoolStatusApplyConfiguration) WithPhase ¶
func (b *StoragePoolStatusApplyConfiguration) WithPhase(value v1beta1.StoragePoolPhase) *StoragePoolStatusApplyConfiguration
WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.