...

Package v1alpha1

import "k8s.io/client-go/applyconfigurations/storagemigration/v1alpha1"
Overview
Index

Overview ▾

Index ▾

type GroupVersionResourceApplyConfiguration
    func GroupVersionResource() *GroupVersionResourceApplyConfiguration
    func (b *GroupVersionResourceApplyConfiguration) WithGroup(value string) *GroupVersionResourceApplyConfiguration
    func (b *GroupVersionResourceApplyConfiguration) WithResource(value string) *GroupVersionResourceApplyConfiguration
    func (b *GroupVersionResourceApplyConfiguration) WithVersion(value string) *GroupVersionResourceApplyConfiguration
type MigrationConditionApplyConfiguration
    func MigrationCondition() *MigrationConditionApplyConfiguration
    func (b *MigrationConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *MigrationConditionApplyConfiguration
    func (b *MigrationConditionApplyConfiguration) WithMessage(value string) *MigrationConditionApplyConfiguration
    func (b *MigrationConditionApplyConfiguration) WithReason(value string) *MigrationConditionApplyConfiguration
    func (b *MigrationConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *MigrationConditionApplyConfiguration
    func (b *MigrationConditionApplyConfiguration) WithType(value v1alpha1.MigrationConditionType) *MigrationConditionApplyConfiguration
type StorageVersionMigrationApplyConfiguration
    func ExtractStorageVersionMigration(storageVersionMigration *storagemigrationv1alpha1.StorageVersionMigration, fieldManager string) (*StorageVersionMigrationApplyConfiguration, error)
    func ExtractStorageVersionMigrationStatus(storageVersionMigration *storagemigrationv1alpha1.StorageVersionMigration, fieldManager string) (*StorageVersionMigrationApplyConfiguration, error)
    func StorageVersionMigration(name string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithAPIVersion(value string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithAnnotations(entries map[string]string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithFinalizers(values ...string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithGenerateName(value string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithGeneration(value int64) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithKind(value string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithLabels(entries map[string]string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithName(value string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithNamespace(value string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithResourceVersion(value string) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithSpec(value *StorageVersionMigrationSpecApplyConfiguration) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithStatus(value *StorageVersionMigrationStatusApplyConfiguration) *StorageVersionMigrationApplyConfiguration
    func (b *StorageVersionMigrationApplyConfiguration) WithUID(value types.UID) *StorageVersionMigrationApplyConfiguration
type StorageVersionMigrationSpecApplyConfiguration
    func StorageVersionMigrationSpec() *StorageVersionMigrationSpecApplyConfiguration
    func (b *StorageVersionMigrationSpecApplyConfiguration) WithContinueToken(value string) *StorageVersionMigrationSpecApplyConfiguration
    func (b *StorageVersionMigrationSpecApplyConfiguration) WithResource(value *GroupVersionResourceApplyConfiguration) *StorageVersionMigrationSpecApplyConfiguration
type StorageVersionMigrationStatusApplyConfiguration
    func StorageVersionMigrationStatus() *StorageVersionMigrationStatusApplyConfiguration
    func (b *StorageVersionMigrationStatusApplyConfiguration) WithConditions(values ...*MigrationConditionApplyConfiguration) *StorageVersionMigrationStatusApplyConfiguration
    func (b *StorageVersionMigrationStatusApplyConfiguration) WithResourceVersion(value string) *StorageVersionMigrationStatusApplyConfiguration

Package files

groupversionresource.go migrationcondition.go storageversionmigration.go storageversionmigrationspec.go storageversionmigrationstatus.go

type GroupVersionResourceApplyConfiguration

GroupVersionResourceApplyConfiguration represents an declarative configuration of the GroupVersionResource type for use with apply.

type GroupVersionResourceApplyConfiguration struct {
    Group    *string `json:"group,omitempty"`
    Version  *string `json:"version,omitempty"`
    Resource *string `json:"resource,omitempty"`
}

func GroupVersionResource

func GroupVersionResource() *GroupVersionResourceApplyConfiguration

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

func (*GroupVersionResourceApplyConfiguration) WithGroup

func (b *GroupVersionResourceApplyConfiguration) WithGroup(value string) *GroupVersionResourceApplyConfiguration

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

func (*GroupVersionResourceApplyConfiguration) WithResource

func (b *GroupVersionResourceApplyConfiguration) WithResource(value string) *GroupVersionResourceApplyConfiguration

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

func (*GroupVersionResourceApplyConfiguration) WithVersion

func (b *GroupVersionResourceApplyConfiguration) WithVersion(value string) *GroupVersionResourceApplyConfiguration

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

type MigrationConditionApplyConfiguration

MigrationConditionApplyConfiguration represents an declarative configuration of the MigrationCondition type for use with apply.

type MigrationConditionApplyConfiguration struct {
    Type           *v1alpha1.MigrationConditionType `json:"type,omitempty"`
    Status         *v1.ConditionStatus              `json:"status,omitempty"`
    LastUpdateTime *metav1.Time                     `json:"lastUpdateTime,omitempty"`
    Reason         *string                          `json:"reason,omitempty"`
    Message        *string                          `json:"message,omitempty"`
}

func MigrationCondition

func MigrationCondition() *MigrationConditionApplyConfiguration

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

func (*MigrationConditionApplyConfiguration) WithLastUpdateTime

func (b *MigrationConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *MigrationConditionApplyConfiguration

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

func (*MigrationConditionApplyConfiguration) WithMessage

func (b *MigrationConditionApplyConfiguration) WithMessage(value string) *MigrationConditionApplyConfiguration

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 (*MigrationConditionApplyConfiguration) WithReason

func (b *MigrationConditionApplyConfiguration) WithReason(value string) *MigrationConditionApplyConfiguration

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 (*MigrationConditionApplyConfiguration) WithStatus

func (b *MigrationConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *MigrationConditionApplyConfiguration

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

func (b *MigrationConditionApplyConfiguration) WithType(value v1alpha1.MigrationConditionType) *MigrationConditionApplyConfiguration

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 StorageVersionMigrationApplyConfiguration

StorageVersionMigrationApplyConfiguration represents an declarative configuration of the StorageVersionMigration type for use with apply.

type StorageVersionMigrationApplyConfiguration struct {
    v1.TypeMetaApplyConfiguration    `json:",inline"`
    *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
    Spec                             *StorageVersionMigrationSpecApplyConfiguration   `json:"spec,omitempty"`
    Status                           *StorageVersionMigrationStatusApplyConfiguration `json:"status,omitempty"`
}

func ExtractStorageVersionMigration

func ExtractStorageVersionMigration(storageVersionMigration *storagemigrationv1alpha1.StorageVersionMigration, fieldManager string) (*StorageVersionMigrationApplyConfiguration, error)

ExtractStorageVersionMigration extracts the applied configuration owned by fieldManager from storageVersionMigration. If no managedFields are found in storageVersionMigration for fieldManager, a StorageVersionMigrationApplyConfiguration 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. storageVersionMigration must be a unmodified StorageVersionMigration API object that was retrieved from the Kubernetes API. ExtractStorageVersionMigration 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 ExtractStorageVersionMigrationStatus

func ExtractStorageVersionMigrationStatus(storageVersionMigration *storagemigrationv1alpha1.StorageVersionMigration, fieldManager string) (*StorageVersionMigrationApplyConfiguration, error)

ExtractStorageVersionMigrationStatus is the same as ExtractStorageVersionMigration except that it extracts the status subresource applied configuration. Experimental!

func StorageVersionMigration

func StorageVersionMigration(name string) *StorageVersionMigrationApplyConfiguration

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

func (*StorageVersionMigrationApplyConfiguration) WithAPIVersion

func (b *StorageVersionMigrationApplyConfiguration) WithAPIVersion(value string) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithAnnotations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (b *StorageVersionMigrationApplyConfiguration) WithKind(value string) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithLabels

func (b *StorageVersionMigrationApplyConfiguration) WithLabels(entries map[string]string) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithName

func (b *StorageVersionMigrationApplyConfiguration) WithName(value string) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithNamespace

func (b *StorageVersionMigrationApplyConfiguration) WithNamespace(value string) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithOwnerReferences

func (b *StorageVersionMigrationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithResourceVersion

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

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

func (b *StorageVersionMigrationApplyConfiguration) WithSpec(value *StorageVersionMigrationSpecApplyConfiguration) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithStatus

func (b *StorageVersionMigrationApplyConfiguration) WithStatus(value *StorageVersionMigrationStatusApplyConfiguration) *StorageVersionMigrationApplyConfiguration

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 (*StorageVersionMigrationApplyConfiguration) WithUID

func (b *StorageVersionMigrationApplyConfiguration) WithUID(value types.UID) *StorageVersionMigrationApplyConfiguration

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 StorageVersionMigrationSpecApplyConfiguration

StorageVersionMigrationSpecApplyConfiguration represents an declarative configuration of the StorageVersionMigrationSpec type for use with apply.

type StorageVersionMigrationSpecApplyConfiguration struct {
    Resource      *GroupVersionResourceApplyConfiguration `json:"resource,omitempty"`
    ContinueToken *string                                 `json:"continueToken,omitempty"`
}

func StorageVersionMigrationSpec

func StorageVersionMigrationSpec() *StorageVersionMigrationSpecApplyConfiguration

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

func (*StorageVersionMigrationSpecApplyConfiguration) WithContinueToken

func (b *StorageVersionMigrationSpecApplyConfiguration) WithContinueToken(value string) *StorageVersionMigrationSpecApplyConfiguration

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

func (*StorageVersionMigrationSpecApplyConfiguration) WithResource

func (b *StorageVersionMigrationSpecApplyConfiguration) WithResource(value *GroupVersionResourceApplyConfiguration) *StorageVersionMigrationSpecApplyConfiguration

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

type StorageVersionMigrationStatusApplyConfiguration

StorageVersionMigrationStatusApplyConfiguration represents an declarative configuration of the StorageVersionMigrationStatus type for use with apply.

type StorageVersionMigrationStatusApplyConfiguration struct {
    Conditions      []MigrationConditionApplyConfiguration `json:"conditions,omitempty"`
    ResourceVersion *string                                `json:"resourceVersion,omitempty"`
}

func StorageVersionMigrationStatus

func StorageVersionMigrationStatus() *StorageVersionMigrationStatusApplyConfiguration

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

func (*StorageVersionMigrationStatusApplyConfiguration) WithConditions

func (b *StorageVersionMigrationStatusApplyConfiguration) WithConditions(values ...*MigrationConditionApplyConfiguration) *StorageVersionMigrationStatusApplyConfiguration

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 (*StorageVersionMigrationStatusApplyConfiguration) WithResourceVersion

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

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.