v1alpha1

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogicalClusterMigrationApplyConfiguration

type LogicalClusterMigrationApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *LogicalClusterMigrationSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *LogicalClusterMigrationStatusApplyConfiguration `json:"status,omitempty"`
}

LogicalClusterMigrationApplyConfiguration represents a declarative configuration of the LogicalClusterMigration type for use with apply.

LogicalClusterMigration describes a migration of a logical cluster from one shard to another.

func LogicalClusterMigration

func LogicalClusterMigration(name string) *LogicalClusterMigrationApplyConfiguration

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

func (*LogicalClusterMigrationApplyConfiguration) GetAPIVersion

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*LogicalClusterMigrationApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*LogicalClusterMigrationApplyConfiguration) GetName

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

func (*LogicalClusterMigrationApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (LogicalClusterMigrationApplyConfiguration) IsApplyConfiguration

func (b LogicalClusterMigrationApplyConfiguration) IsApplyConfiguration()

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

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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 (*LogicalClusterMigrationApplyConfiguration) 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 LogicalClusterMigrationSpecApplyConfiguration

type LogicalClusterMigrationSpecApplyConfiguration struct {
	// logicalCluster is the name of the logical cluster to migrate.
	LogicalCluster *string `json:"logicalCluster,omitempty"`
	// destinationShard is the name of the shard to migrate the logical cluster to.
	DestinationShard *string `json:"destinationShard,omitempty"`
}

LogicalClusterMigrationSpecApplyConfiguration represents a declarative configuration of the LogicalClusterMigrationSpec type for use with apply.

LogicalClusterMigrationSpec holds the desired state of the migration.

func LogicalClusterMigrationSpec

func LogicalClusterMigrationSpec() *LogicalClusterMigrationSpecApplyConfiguration

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

func (*LogicalClusterMigrationSpecApplyConfiguration) WithDestinationShard

WithDestinationShard sets the DestinationShard 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 DestinationShard field is set to the value of the last call.

func (*LogicalClusterMigrationSpecApplyConfiguration) WithLogicalCluster

WithLogicalCluster sets the LogicalCluster 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 LogicalCluster field is set to the value of the last call.

type LogicalClusterMigrationStatusApplyConfiguration

type LogicalClusterMigrationStatusApplyConfiguration struct {
	// phase is the current phase of the migration.
	Phase *migrationv1alpha1.LogicalClusterMigrationPhaseType `json:"phase,omitempty"`
	// originShard is the name of the shard to migrate the logical cluster from.
	// Set by the origin shard controller during preparation.
	OriginShard *string `json:"originShard,omitempty"`
	// Current processing state of the migration.
	Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
}

LogicalClusterMigrationStatusApplyConfiguration represents a declarative configuration of the LogicalClusterMigrationStatus type for use with apply.

LogicalClusterMigrationStatus communicates the observed state of the migration.

func LogicalClusterMigrationStatus

func LogicalClusterMigrationStatus() *LogicalClusterMigrationStatusApplyConfiguration

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

func (*LogicalClusterMigrationStatusApplyConfiguration) WithConditions

WithConditions sets the Conditions 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 Conditions field is set to the value of the last call.

func (*LogicalClusterMigrationStatusApplyConfiguration) WithOriginShard

WithOriginShard sets the OriginShard 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 OriginShard field is set to the value of the last call.

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