Documentation
¶
Index ¶
- type LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) GetAPIVersion() *string
- func (b *LogicalClusterMigrationApplyConfiguration) GetKind() *string
- func (b *LogicalClusterMigrationApplyConfiguration) GetName() *string
- func (b *LogicalClusterMigrationApplyConfiguration) GetNamespace() *string
- func (b LogicalClusterMigrationApplyConfiguration) IsApplyConfiguration()
- func (b *LogicalClusterMigrationApplyConfiguration) WithAPIVersion(value string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithAnnotations(entries map[string]string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithFinalizers(values ...string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithGenerateName(value string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithGeneration(value int64) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithKind(value string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithLabels(entries map[string]string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithName(value string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithNamespace(value string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithResourceVersion(value string) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithSpec(value *LogicalClusterMigrationSpecApplyConfiguration) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithStatus(value *LogicalClusterMigrationStatusApplyConfiguration) *LogicalClusterMigrationApplyConfiguration
- func (b *LogicalClusterMigrationApplyConfiguration) WithUID(value types.UID) *LogicalClusterMigrationApplyConfiguration
- type LogicalClusterMigrationSpecApplyConfiguration
- type LogicalClusterMigrationStatusApplyConfiguration
- func (b *LogicalClusterMigrationStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *LogicalClusterMigrationStatusApplyConfiguration
- func (b *LogicalClusterMigrationStatusApplyConfiguration) WithOriginShard(value string) *LogicalClusterMigrationStatusApplyConfiguration
- func (b *LogicalClusterMigrationStatusApplyConfiguration) WithPhase(value migrationv1alpha1.LogicalClusterMigrationPhaseType) *LogicalClusterMigrationStatusApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*LogicalClusterMigrationApplyConfiguration) GetKind ¶
func (b *LogicalClusterMigrationApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*LogicalClusterMigrationApplyConfiguration) GetName ¶
func (b *LogicalClusterMigrationApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*LogicalClusterMigrationApplyConfiguration) GetNamespace ¶
func (b *LogicalClusterMigrationApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (LogicalClusterMigrationApplyConfiguration) IsApplyConfiguration ¶
func (b LogicalClusterMigrationApplyConfiguration) IsApplyConfiguration()
func (*LogicalClusterMigrationApplyConfiguration) WithAPIVersion ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithAPIVersion(value string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithAnnotations(entries map[string]string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithFinalizers(values ...string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithGenerateName(value string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithGeneration(value int64) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithKind(value string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithLabels(entries map[string]string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithName(value string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithNamespace(value string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithResourceVersion(value string) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithSpec(value *LogicalClusterMigrationSpecApplyConfiguration) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithStatus(value *LogicalClusterMigrationStatusApplyConfiguration) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationApplyConfiguration) WithUID(value types.UID) *LogicalClusterMigrationApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationSpecApplyConfiguration) WithDestinationShard(value string) *LogicalClusterMigrationSpecApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationSpecApplyConfiguration) WithLogicalCluster(value string) *LogicalClusterMigrationSpecApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *LogicalClusterMigrationStatusApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationStatusApplyConfiguration) WithOriginShard(value string) *LogicalClusterMigrationStatusApplyConfiguration
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 ¶
func (b *LogicalClusterMigrationStatusApplyConfiguration) WithPhase(value migrationv1alpha1.LogicalClusterMigrationPhaseType) *LogicalClusterMigrationStatusApplyConfiguration
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.