Documentation
¶
Index ¶
- type PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) GetName() *string
- func (b *PartitionApplyConfiguration) WithAPIVersion(value string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithAnnotations(entries map[string]string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithFinalizers(values ...string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithGenerateName(value string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithGeneration(value int64) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithKind(value string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithLabels(entries map[string]string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithName(value string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithNamespace(value string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithResourceVersion(value string) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithSpec(value *PartitionSpecApplyConfiguration) *PartitionApplyConfiguration
- func (b *PartitionApplyConfiguration) WithUID(value types.UID) *PartitionApplyConfiguration
- type PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) GetName() *string
- func (b *PartitionSetApplyConfiguration) WithAPIVersion(value string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithAnnotations(entries map[string]string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithFinalizers(values ...string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithGenerateName(value string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithGeneration(value int64) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithKind(value string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithLabels(entries map[string]string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithName(value string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithNamespace(value string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithResourceVersion(value string) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithSpec(value *PartitionSetSpecApplyConfiguration) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithStatus(value *PartitionSetStatusApplyConfiguration) *PartitionSetApplyConfiguration
- func (b *PartitionSetApplyConfiguration) WithUID(value types.UID) *PartitionSetApplyConfiguration
- type PartitionSetSpecApplyConfiguration
- type PartitionSetStatusApplyConfiguration
- type PartitionSpecApplyConfiguration
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 a declarative configuration of the Partition type for use with apply.
func Partition ¶
func Partition(name string) *PartitionApplyConfiguration
Partition constructs a declarative configuration of the Partition type for use with apply.
func (*PartitionApplyConfiguration) GetName ¶ added in v0.26.0
func (b *PartitionApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PartitionApplyConfiguration) WithAPIVersion ¶
func (b *PartitionApplyConfiguration) WithAPIVersion(value string) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithGenerateName(value string) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithGeneration(value int64) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithKind(value string) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithLabels(entries map[string]string) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithName(value string) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithNamespace(value string) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithSpec(value *PartitionSpecApplyConfiguration) *PartitionApplyConfiguration
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 ¶
func (b *PartitionApplyConfiguration) WithUID(value types.UID) *PartitionApplyConfiguration
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 a declarative configuration of the PartitionSet type for use with apply.
func PartitionSet ¶
func PartitionSet(name string) *PartitionSetApplyConfiguration
PartitionSet constructs a declarative configuration of the PartitionSet type for use with apply.
func (*PartitionSetApplyConfiguration) GetName ¶ added in v0.26.0
func (b *PartitionSetApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PartitionSetApplyConfiguration) WithAPIVersion ¶
func (b *PartitionSetApplyConfiguration) WithAPIVersion(value string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithAnnotations(entries map[string]string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithFinalizers(values ...string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithGenerateName(value string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithGeneration(value int64) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithKind(value string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithLabels(entries map[string]string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithName(value string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithNamespace(value string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithResourceVersion(value string) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithSpec(value *PartitionSetSpecApplyConfiguration) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithStatus(value *PartitionSetStatusApplyConfiguration) *PartitionSetApplyConfiguration
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 ¶
func (b *PartitionSetApplyConfiguration) WithUID(value types.UID) *PartitionSetApplyConfiguration
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 a declarative configuration of the PartitionSetSpec type for use with apply.
func PartitionSetSpec ¶
func PartitionSetSpec() *PartitionSetSpecApplyConfiguration
PartitionSetSpecApplyConfiguration constructs a declarative configuration of the PartitionSetSpec type for use with apply.
func (*PartitionSetSpecApplyConfiguration) WithDimensions ¶
func (b *PartitionSetSpecApplyConfiguration) WithDimensions(values ...string) *PartitionSetSpecApplyConfiguration
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 ¶
func (b *PartitionSetSpecApplyConfiguration) WithShardSelector(value *v1.LabelSelectorApplyConfiguration) *PartitionSetSpecApplyConfiguration
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 a declarative configuration of the PartitionSetStatus type for use with apply.
func PartitionSetStatus ¶
func PartitionSetStatus() *PartitionSetStatusApplyConfiguration
PartitionSetStatusApplyConfiguration constructs a declarative configuration of the PartitionSetStatus type for use with apply.
func (*PartitionSetStatusApplyConfiguration) WithConditions ¶
func (b *PartitionSetStatusApplyConfiguration) WithConditions(value v1alpha1.Conditions) *PartitionSetStatusApplyConfiguration
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 ¶
func (b *PartitionSetStatusApplyConfiguration) WithCount(value uint16) *PartitionSetStatusApplyConfiguration
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 a declarative configuration of the PartitionSpec type for use with apply.
func PartitionSpec ¶
func PartitionSpec() *PartitionSpecApplyConfiguration
PartitionSpecApplyConfiguration constructs a declarative configuration of the PartitionSpec type for use with apply.
func (*PartitionSpecApplyConfiguration) WithSelector ¶
func (b *PartitionSpecApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *PartitionSpecApplyConfiguration
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.