v1alpha1

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PartitionApplyConfiguration

type PartitionApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PartitionSpecApplyConfiguration `json:"spec,omitempty"`
}

PartitionApplyConfiguration represents an declarative configuration of the Partition type for use with apply.

func Partition

func Partition(name string) *PartitionApplyConfiguration

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*PartitionApplyConfiguration) 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 (*PartitionApplyConfiguration) 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 PartitionSetApplyConfiguration

type PartitionSetApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PartitionSetSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PartitionSetStatusApplyConfiguration `json:"status,omitempty"`
}

PartitionSetApplyConfiguration represents an declarative configuration of the PartitionSet type for use with apply.

func PartitionSet

func PartitionSet(name string) *PartitionSetApplyConfiguration

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

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

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

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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 (*PartitionSetApplyConfiguration) 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 PartitionSetSpecApplyConfiguration

type PartitionSetSpecApplyConfiguration struct {
	Dimensions    []string                            `json:"dimensions,omitempty"`
	ShardSelector *v1.LabelSelectorApplyConfiguration `json:"shardSelector,omitempty"`
}

PartitionSetSpecApplyConfiguration represents an declarative configuration of the PartitionSetSpec type for use with apply.

func PartitionSetSpec

func PartitionSetSpec() *PartitionSetSpecApplyConfiguration

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

func (*PartitionSetSpecApplyConfiguration) WithDimensions

WithDimensions adds the given value to the Dimensions 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 Dimensions field.

func (*PartitionSetSpecApplyConfiguration) WithShardSelector

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

type PartitionSetStatusApplyConfiguration

type PartitionSetStatusApplyConfiguration struct {
	Count      *uint16              `json:"count,omitempty"`
	Conditions *v1alpha1.Conditions `json:"conditions,omitempty"`
}

PartitionSetStatusApplyConfiguration represents an declarative configuration of the PartitionSetStatus type for use with apply.

func PartitionSetStatus

func PartitionSetStatus() *PartitionSetStatusApplyConfiguration

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

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

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

type PartitionSpecApplyConfiguration

type PartitionSpecApplyConfiguration struct {
	Selector *v1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
}

PartitionSpecApplyConfiguration represents an declarative configuration of the PartitionSpec type for use with apply.

func PartitionSpec

func PartitionSpec() *PartitionSpecApplyConfiguration

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

func (*PartitionSpecApplyConfiguration) WithSelector

WithSelector sets the Selector 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 Selector 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