v1beta1

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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