v1alpha1

package
v0.23.11 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerStorageVersionApplyConfiguration

type ServerStorageVersionApplyConfiguration struct {
	APIServerID       *string  `json:"apiServerID,omitempty"`
	EncodingVersion   *string  `json:"encodingVersion,omitempty"`
	DecodableVersions []string `json:"decodableVersions,omitempty"`
}

ServerStorageVersionApplyConfiguration represents an declarative configuration of the ServerStorageVersion type for use with apply.

func ServerStorageVersion

func ServerStorageVersion() *ServerStorageVersionApplyConfiguration

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

func (*ServerStorageVersionApplyConfiguration) WithAPIServerID

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

func (*ServerStorageVersionApplyConfiguration) WithDecodableVersions

WithDecodableVersions adds the given value to the DecodableVersions 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 DecodableVersions field.

func (*ServerStorageVersionApplyConfiguration) WithEncodingVersion

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

type StorageVersionApplyConfiguration

type StorageVersionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *v1alpha1.StorageVersionSpec            `json:"spec,omitempty"`
	Status                           *StorageVersionStatusApplyConfiguration `json:"status,omitempty"`
}

StorageVersionApplyConfiguration represents an declarative configuration of the StorageVersion type for use with apply.

func ExtractStorageVersion

func ExtractStorageVersion(storageVersion *v1alpha1.StorageVersion, fieldManager string) (*StorageVersionApplyConfiguration, error)

ExtractStorageVersion extracts the applied configuration owned by fieldManager from storageVersion. If no managedFields are found in storageVersion for fieldManager, a StorageVersionApplyConfiguration 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. storageVersion must be a unmodified StorageVersion API object that was retrieved from the Kubernetes API. ExtractStorageVersion 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 ExtractStorageVersionStatus added in v0.22.0

func ExtractStorageVersionStatus(storageVersion *v1alpha1.StorageVersion, fieldManager string) (*StorageVersionApplyConfiguration, error)

ExtractStorageVersionStatus is the same as ExtractStorageVersion except that it extracts the status subresource applied configuration. Experimental!

func StorageVersion

func StorageVersion(name string) *StorageVersionApplyConfiguration

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

func (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) WithClusterName

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

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

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

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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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.

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

func (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 (*StorageVersionApplyConfiguration) 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 StorageVersionConditionApplyConfiguration

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

StorageVersionConditionApplyConfiguration represents an declarative configuration of the StorageVersionCondition type for use with apply.

func StorageVersionCondition

func StorageVersionCondition() *StorageVersionConditionApplyConfiguration

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

func (*StorageVersionConditionApplyConfiguration) WithLastTransitionTime

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

func (*StorageVersionConditionApplyConfiguration) 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 (*StorageVersionConditionApplyConfiguration) WithObservedGeneration

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

func (*StorageVersionConditionApplyConfiguration) WithReason

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

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

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

type StorageVersionStatusApplyConfiguration

type StorageVersionStatusApplyConfiguration struct {
	StorageVersions       []ServerStorageVersionApplyConfiguration    `json:"storageVersions,omitempty"`
	CommonEncodingVersion *string                                     `json:"commonEncodingVersion,omitempty"`
	Conditions            []StorageVersionConditionApplyConfiguration `json:"conditions,omitempty"`
}

StorageVersionStatusApplyConfiguration represents an declarative configuration of the StorageVersionStatus type for use with apply.

func StorageVersionStatus

func StorageVersionStatus() *StorageVersionStatusApplyConfiguration

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

func (*StorageVersionStatusApplyConfiguration) WithCommonEncodingVersion

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

func (*StorageVersionStatusApplyConfiguration) 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 (*StorageVersionStatusApplyConfiguration) WithStorageVersions

WithStorageVersions adds the given value to the StorageVersions 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 StorageVersions field.

Jump to

Keyboard shortcuts

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