v1alpha1

package
v0.20.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogicalClusterApplyConfiguration

type LogicalClusterApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *LogicalClusterSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *LogicalClusterStatusApplyConfiguration `json:"status,omitempty"`
}

LogicalClusterApplyConfiguration represents an declarative configuration of the LogicalCluster type for use with apply.

func LogicalCluster

func LogicalCluster(name string) *LogicalClusterApplyConfiguration

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

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

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

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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 (*LogicalClusterApplyConfiguration) 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 LogicalClusterOwnerApplyConfiguration

type LogicalClusterOwnerApplyConfiguration struct {
	APIVersion *string    `json:"apiVersion,omitempty"`
	Resource   *string    `json:"resource,omitempty"`
	Name       *string    `json:"name,omitempty"`
	Namespace  *string    `json:"namespace,omitempty"`
	Cluster    *string    `json:"cluster,omitempty"`
	UID        *types.UID `json:"uid,omitempty"`
}

LogicalClusterOwnerApplyConfiguration represents an declarative configuration of the LogicalClusterOwner type for use with apply.

func LogicalClusterOwner

func LogicalClusterOwner() *LogicalClusterOwnerApplyConfiguration

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

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

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

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

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 (*LogicalClusterOwnerApplyConfiguration) 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 LogicalClusterSpecApplyConfiguration

type LogicalClusterSpecApplyConfiguration struct {
	DirectlyDeletable *bool                                    `json:"directlyDeletable,omitempty"`
	Owner             *LogicalClusterOwnerApplyConfiguration   `json:"owner,omitempty"`
	Initializers      []corev1alpha1.LogicalClusterInitializer `json:"initializers,omitempty"`
}

LogicalClusterSpecApplyConfiguration represents an declarative configuration of the LogicalClusterSpec type for use with apply.

func LogicalClusterSpec

func LogicalClusterSpec() *LogicalClusterSpecApplyConfiguration

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

func (*LogicalClusterSpecApplyConfiguration) WithDirectlyDeletable

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

func (*LogicalClusterSpecApplyConfiguration) WithInitializers

WithInitializers adds the given value to the Initializers 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 Initializers field.

func (*LogicalClusterSpecApplyConfiguration) WithOwner

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

type LogicalClusterStatusApplyConfiguration

type LogicalClusterStatusApplyConfiguration struct {
	URL          *string                              `json:"URL,omitempty"`
	Phase        *v1alpha1.LogicalClusterPhaseType    `json:"phase,omitempty"`
	Conditions   *conditionsv1alpha1.Conditions       `json:"conditions,omitempty"`
	Initializers []v1alpha1.LogicalClusterInitializer `json:"initializers,omitempty"`
}

LogicalClusterStatusApplyConfiguration represents an declarative configuration of the LogicalClusterStatus type for use with apply.

func LogicalClusterStatus

func LogicalClusterStatus() *LogicalClusterStatusApplyConfiguration

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

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

WithInitializers adds the given value to the Initializers 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 Initializers field.

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

func (*LogicalClusterStatusApplyConfiguration) WithURL

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

type ShardApplyConfiguration

type ShardApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ShardSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ShardStatusApplyConfiguration `json:"status,omitempty"`
}

ShardApplyConfiguration represents an declarative configuration of the Shard type for use with apply.

func Shard

func Shard(name string) *ShardApplyConfiguration

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

func (*ShardApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*ShardApplyConfiguration) 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 (*ShardApplyConfiguration) 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 (*ShardApplyConfiguration) 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 ShardSpecApplyConfiguration

type ShardSpecApplyConfiguration struct {
	BaseURL             *string `json:"baseURL,omitempty"`
	ExternalURL         *string `json:"externalURL,omitempty"`
	VirtualWorkspaceURL *string `json:"virtualWorkspaceURL,omitempty"`
}

ShardSpecApplyConfiguration represents an declarative configuration of the ShardSpec type for use with apply.

func ShardSpec

func ShardSpec() *ShardSpecApplyConfiguration

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

func (*ShardSpecApplyConfiguration) WithBaseURL

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

func (*ShardSpecApplyConfiguration) WithExternalURL

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

func (*ShardSpecApplyConfiguration) WithVirtualWorkspaceURL

func (b *ShardSpecApplyConfiguration) WithVirtualWorkspaceURL(value string) *ShardSpecApplyConfiguration

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

type ShardStatusApplyConfiguration

type ShardStatusApplyConfiguration struct {
	Capacity   *v1.ResourceList     `json:"capacity,omitempty"`
	Conditions *v1alpha1.Conditions `json:"conditions,omitempty"`
}

ShardStatusApplyConfiguration represents an declarative configuration of the ShardStatus type for use with apply.

func ShardStatus

func ShardStatus() *ShardStatusApplyConfiguration

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

func (*ShardStatusApplyConfiguration) WithCapacity

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL