Documentation
¶
Index ¶
- type LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) GetAPIVersion() *string
- func (b *LogicalClusterApplyConfiguration) GetKind() *string
- func (b *LogicalClusterApplyConfiguration) GetName() *string
- func (b *LogicalClusterApplyConfiguration) GetNamespace() *string
- func (b LogicalClusterApplyConfiguration) IsApplyConfiguration()
- func (b *LogicalClusterApplyConfiguration) WithAPIVersion(value string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithAnnotations(entries map[string]string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithFinalizers(values ...string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithGenerateName(value string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithGeneration(value int64) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithKind(value string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithLabels(entries map[string]string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithName(value string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithNamespace(value string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithResourceVersion(value string) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithSpec(value *LogicalClusterSpecApplyConfiguration) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithStatus(value *LogicalClusterStatusApplyConfiguration) *LogicalClusterApplyConfiguration
- func (b *LogicalClusterApplyConfiguration) WithUID(value types.UID) *LogicalClusterApplyConfiguration
- type LogicalClusterOwnerApplyConfiguration
- func (b *LogicalClusterOwnerApplyConfiguration) WithAPIVersion(value string) *LogicalClusterOwnerApplyConfiguration
- func (b *LogicalClusterOwnerApplyConfiguration) WithCluster(value string) *LogicalClusterOwnerApplyConfiguration
- func (b *LogicalClusterOwnerApplyConfiguration) WithName(value string) *LogicalClusterOwnerApplyConfiguration
- func (b *LogicalClusterOwnerApplyConfiguration) WithNamespace(value string) *LogicalClusterOwnerApplyConfiguration
- func (b *LogicalClusterOwnerApplyConfiguration) WithResource(value string) *LogicalClusterOwnerApplyConfiguration
- func (b *LogicalClusterOwnerApplyConfiguration) WithUID(value types.UID) *LogicalClusterOwnerApplyConfiguration
- type LogicalClusterSpecApplyConfiguration
- func (b *LogicalClusterSpecApplyConfiguration) WithDirectlyDeletable(value bool) *LogicalClusterSpecApplyConfiguration
- func (b *LogicalClusterSpecApplyConfiguration) WithInitializers(values ...corev1alpha1.LogicalClusterInitializer) *LogicalClusterSpecApplyConfiguration
- func (b *LogicalClusterSpecApplyConfiguration) WithOwner(value *LogicalClusterOwnerApplyConfiguration) *LogicalClusterSpecApplyConfiguration
- func (b *LogicalClusterSpecApplyConfiguration) WithTerminators(values ...corev1alpha1.LogicalClusterTerminator) *LogicalClusterSpecApplyConfiguration
- type LogicalClusterStatusApplyConfiguration
- func (b *LogicalClusterStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *LogicalClusterStatusApplyConfiguration
- func (b *LogicalClusterStatusApplyConfiguration) WithInitializers(values ...corev1alpha1.LogicalClusterInitializer) *LogicalClusterStatusApplyConfiguration
- func (b *LogicalClusterStatusApplyConfiguration) WithPhase(value corev1alpha1.LogicalClusterPhaseType) *LogicalClusterStatusApplyConfiguration
- func (b *LogicalClusterStatusApplyConfiguration) WithTerminators(values ...corev1alpha1.LogicalClusterTerminator) *LogicalClusterStatusApplyConfiguration
- func (b *LogicalClusterStatusApplyConfiguration) WithURL(value string) *LogicalClusterStatusApplyConfiguration
- type ShardApplyConfiguration
- func (b *ShardApplyConfiguration) GetAPIVersion() *string
- func (b *ShardApplyConfiguration) GetKind() *string
- func (b *ShardApplyConfiguration) GetName() *string
- func (b *ShardApplyConfiguration) GetNamespace() *string
- func (b ShardApplyConfiguration) IsApplyConfiguration()
- func (b *ShardApplyConfiguration) WithAPIVersion(value string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithAnnotations(entries map[string]string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithFinalizers(values ...string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithGenerateName(value string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithGeneration(value int64) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithKind(value string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithLabels(entries map[string]string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithName(value string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithNamespace(value string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithResourceVersion(value string) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithSpec(value *ShardSpecApplyConfiguration) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithStatus(value *ShardStatusApplyConfiguration) *ShardApplyConfiguration
- func (b *ShardApplyConfiguration) WithUID(value types.UID) *ShardApplyConfiguration
- type ShardSpecApplyConfiguration
- type ShardStatusApplyConfiguration
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 a declarative configuration of the LogicalCluster type for use with apply.
LogicalCluster describes the current logical cluster. It is used to authorize requests to the logical cluster and to track state.
A LogicalCluster is always named "cluster".
func LogicalCluster ¶
func LogicalCluster(name string) *LogicalClusterApplyConfiguration
LogicalCluster constructs a declarative configuration of the LogicalCluster type for use with apply.
func (*LogicalClusterApplyConfiguration) GetAPIVersion ¶ added in v0.30.0
func (b *LogicalClusterApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*LogicalClusterApplyConfiguration) GetKind ¶ added in v0.30.0
func (b *LogicalClusterApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*LogicalClusterApplyConfiguration) GetName ¶
func (b *LogicalClusterApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*LogicalClusterApplyConfiguration) GetNamespace ¶ added in v0.30.0
func (b *LogicalClusterApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (LogicalClusterApplyConfiguration) IsApplyConfiguration ¶ added in v0.30.0
func (b LogicalClusterApplyConfiguration) IsApplyConfiguration()
func (*LogicalClusterApplyConfiguration) WithAPIVersion ¶
func (b *LogicalClusterApplyConfiguration) WithAPIVersion(value string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithAnnotations(entries map[string]string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithFinalizers(values ...string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithGenerateName(value string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithGeneration(value int64) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithKind(value string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithLabels(entries map[string]string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithName(value string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithNamespace(value string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithResourceVersion(value string) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithSpec(value *LogicalClusterSpecApplyConfiguration) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithStatus(value *LogicalClusterStatusApplyConfiguration) *LogicalClusterApplyConfiguration
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 ¶
func (b *LogicalClusterApplyConfiguration) WithUID(value types.UID) *LogicalClusterApplyConfiguration
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 is the group and API version of the owner.
APIVersion *string `json:"apiVersion,omitempty"`
// resource is API resource to access the owner.
Resource *string `json:"resource,omitempty"`
// name is the name of the owner.
Name *string `json:"name,omitempty"`
// namespace is the optional namespace of the owner.
Namespace *string `json:"namespace,omitempty"`
// cluster is the logical cluster in which the owner is located.
Cluster *string `json:"cluster,omitempty"`
// UID is the UID of the owner.
UID *types.UID `json:"uid,omitempty"`
}
LogicalClusterOwnerApplyConfiguration represents a declarative configuration of the LogicalClusterOwner type for use with apply.
LogicalClusterOwner is a reference to a resource controlling the life-cycle of a LogicalCluster.
func LogicalClusterOwner ¶
func LogicalClusterOwner() *LogicalClusterOwnerApplyConfiguration
LogicalClusterOwnerApplyConfiguration constructs a declarative configuration of the LogicalClusterOwner type for use with apply.
func (*LogicalClusterOwnerApplyConfiguration) WithAPIVersion ¶
func (b *LogicalClusterOwnerApplyConfiguration) WithAPIVersion(value string) *LogicalClusterOwnerApplyConfiguration
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 ¶
func (b *LogicalClusterOwnerApplyConfiguration) WithCluster(value string) *LogicalClusterOwnerApplyConfiguration
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 ¶
func (b *LogicalClusterOwnerApplyConfiguration) WithName(value string) *LogicalClusterOwnerApplyConfiguration
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 ¶
func (b *LogicalClusterOwnerApplyConfiguration) WithNamespace(value string) *LogicalClusterOwnerApplyConfiguration
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 ¶
func (b *LogicalClusterOwnerApplyConfiguration) WithResource(value string) *LogicalClusterOwnerApplyConfiguration
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 ¶
func (b *LogicalClusterOwnerApplyConfiguration) WithUID(value types.UID) *LogicalClusterOwnerApplyConfiguration
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 indicates that this logical cluster can be directly deleted by the user
// from within by deleting the LogicalCluster object.
DirectlyDeletable *bool `json:"directlyDeletable,omitempty"`
// owner is a reference to a resource controlling the life-cycle of this logical cluster.
// On deletion of the LogicalCluster, the finalizer core.kcp.io/logicalcluster is
// removed from the owner.
//
// When this object is deleted, but the owner is not deleted, the owner is deleted
// too.
Owner *LogicalClusterOwnerApplyConfiguration `json:"owner,omitempty"`
// initializers are set on creation by the system and copied to status when
// initialization starts.
Initializers []corev1alpha1.LogicalClusterInitializer `json:"initializers,omitempty"`
// Terminators are set on creation by the system and copied to status when
// termination starts.
Terminators []corev1alpha1.LogicalClusterTerminator `json:"terminators,omitempty"`
}
LogicalClusterSpecApplyConfiguration represents a declarative configuration of the LogicalClusterSpec type for use with apply.
LogicalClusterSpec is the specification of the LogicalCluster resource.
func LogicalClusterSpec ¶
func LogicalClusterSpec() *LogicalClusterSpecApplyConfiguration
LogicalClusterSpecApplyConfiguration constructs a declarative configuration of the LogicalClusterSpec type for use with apply.
func (*LogicalClusterSpecApplyConfiguration) WithDirectlyDeletable ¶
func (b *LogicalClusterSpecApplyConfiguration) WithDirectlyDeletable(value bool) *LogicalClusterSpecApplyConfiguration
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 ¶
func (b *LogicalClusterSpecApplyConfiguration) WithInitializers(values ...corev1alpha1.LogicalClusterInitializer) *LogicalClusterSpecApplyConfiguration
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 ¶
func (b *LogicalClusterSpecApplyConfiguration) WithOwner(value *LogicalClusterOwnerApplyConfiguration) *LogicalClusterSpecApplyConfiguration
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.
func (*LogicalClusterSpecApplyConfiguration) WithTerminators ¶
func (b *LogicalClusterSpecApplyConfiguration) WithTerminators(values ...corev1alpha1.LogicalClusterTerminator) *LogicalClusterSpecApplyConfiguration
WithTerminators adds the given value to the Terminators 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 Terminators field.
type LogicalClusterStatusApplyConfiguration ¶
type LogicalClusterStatusApplyConfiguration struct {
// url is the address under which the Kubernetes-cluster-like endpoint
// can be found. This URL can be used to access the logical cluster with standard Kubernetes
// client libraries and command line tools.
URL *string `json:"URL,omitempty"`
// Phase of the logical cluster (Initializing, Ready).
Phase *corev1alpha1.LogicalClusterPhaseType `json:"phase,omitempty"`
// Current processing state of the LogicalCluster.
Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
// initializers are set on creation by the system and must be cleared
// by a controller before the logical cluster can be used. The LogicalCluster object
// will stay in the phase "Initializing" state until all initializers are cleared.
Initializers []corev1alpha1.LogicalClusterInitializer `json:"initializers,omitempty"`
// Terminators are set on creation by the system and must be cleared
// by a controller before the logical cluster can be deleted. The LogicalCluster object
// will stay in the phase "Deleting" until all terminator are cleared.
Terminators []corev1alpha1.LogicalClusterTerminator `json:"terminators,omitempty"`
}
LogicalClusterStatusApplyConfiguration represents a declarative configuration of the LogicalClusterStatus type for use with apply.
LogicalClusterStatus communicates the observed state of the Workspace.
func LogicalClusterStatus ¶
func LogicalClusterStatus() *LogicalClusterStatusApplyConfiguration
LogicalClusterStatusApplyConfiguration constructs a declarative configuration of the LogicalClusterStatus type for use with apply.
func (*LogicalClusterStatusApplyConfiguration) WithConditions ¶
func (b *LogicalClusterStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *LogicalClusterStatusApplyConfiguration
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 ¶
func (b *LogicalClusterStatusApplyConfiguration) WithInitializers(values ...corev1alpha1.LogicalClusterInitializer) *LogicalClusterStatusApplyConfiguration
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 ¶
func (b *LogicalClusterStatusApplyConfiguration) WithPhase(value corev1alpha1.LogicalClusterPhaseType) *LogicalClusterStatusApplyConfiguration
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) WithTerminators ¶
func (b *LogicalClusterStatusApplyConfiguration) WithTerminators(values ...corev1alpha1.LogicalClusterTerminator) *LogicalClusterStatusApplyConfiguration
WithTerminators adds the given value to the Terminators 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 Terminators field.
func (*LogicalClusterStatusApplyConfiguration) WithURL ¶
func (b *LogicalClusterStatusApplyConfiguration) WithURL(value string) *LogicalClusterStatusApplyConfiguration
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 a declarative configuration of the Shard type for use with apply.
Shard describes a kcp instance on which a number of logical clusters will live
func Shard ¶
func Shard(name string) *ShardApplyConfiguration
Shard constructs a declarative configuration of the Shard type for use with apply.
func (*ShardApplyConfiguration) GetAPIVersion ¶ added in v0.30.0
func (b *ShardApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ShardApplyConfiguration) GetKind ¶ added in v0.30.0
func (b *ShardApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ShardApplyConfiguration) GetName ¶
func (b *ShardApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ShardApplyConfiguration) GetNamespace ¶ added in v0.30.0
func (b *ShardApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ShardApplyConfiguration) IsApplyConfiguration ¶ added in v0.30.0
func (b ShardApplyConfiguration) IsApplyConfiguration()
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 ¶
func (b *ShardApplyConfiguration) WithKind(value string) *ShardApplyConfiguration
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 ¶
func (b *ShardApplyConfiguration) WithName(value string) *ShardApplyConfiguration
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 ¶
func (b *ShardApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ShardApplyConfiguration
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 ¶
func (b *ShardApplyConfiguration) WithSpec(value *ShardSpecApplyConfiguration) *ShardApplyConfiguration
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 ¶
func (b *ShardApplyConfiguration) WithStatus(value *ShardStatusApplyConfiguration) *ShardApplyConfiguration
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 ¶
func (b *ShardApplyConfiguration) WithUID(value types.UID) *ShardApplyConfiguration
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 is the address of the kcp shard for direct connections, e.g. by some
// front-proxy doing the fan-out to the shards.
BaseURL *string `json:"baseURL,omitempty"`
// externalURL is the externally visible address presented to users in Workspace URLs.
// Changing this will break all existing logical clusters on that shard, i.e. existing
// kubeconfigs of clients will be invalid. Hence, when changing this value, the old
// URL used by clients must keep working.
//
// The external address will not be unique if a front-proxy does a fan-out to
// shards, but all logical cluster clients will talk to the front-proxy. In that case,
// put the address of the front-proxy here.
//
// Note that movement of shards is only possible (in the future) between shards
// that share a common external URL.
//
// This will be defaulted to the value of the baseURL.
ExternalURL *string `json:"externalURL,omitempty"`
// virtualWorkspaceURL is the address of the virtual workspace apiserver associated with this shard.
// It can be a direct address, an address of a front-proxy or even an address of an LB.
// As of today this address is assigned to APIExports.
//
// This will be defaulted to the value of the baseURL.
VirtualWorkspaceURL *string `json:"virtualWorkspaceURL,omitempty"`
}
ShardSpecApplyConfiguration represents a declarative configuration of the ShardSpec type for use with apply.
ShardSpec holds the desired state of the Shard.
func ShardSpec ¶
func ShardSpec() *ShardSpecApplyConfiguration
ShardSpecApplyConfiguration constructs a declarative configuration of the ShardSpec type for use with apply.
func (*ShardSpecApplyConfiguration) WithBaseURL ¶
func (b *ShardSpecApplyConfiguration) WithBaseURL(value string) *ShardSpecApplyConfiguration
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 ¶
func (b *ShardSpecApplyConfiguration) WithExternalURL(value string) *ShardSpecApplyConfiguration
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 {
// Set of integer resources that logical clusters can be scheduled into
Capacity *v1.ResourceList `json:"capacity,omitempty"`
// Current processing state of the Shard.
Conditions *conditionsv1alpha1.Conditions `json:"conditions,omitempty"`
}
ShardStatusApplyConfiguration represents a declarative configuration of the ShardStatus type for use with apply.
ShardStatus communicates the observed state of the Shard.
func ShardStatus ¶
func ShardStatus() *ShardStatusApplyConfiguration
ShardStatusApplyConfiguration constructs a declarative configuration of the ShardStatus type for use with apply.
func (*ShardStatusApplyConfiguration) WithCapacity ¶
func (b *ShardStatusApplyConfiguration) WithCapacity(value v1.ResourceList) *ShardStatusApplyConfiguration
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 ¶
func (b *ShardStatusApplyConfiguration) WithConditions(value conditionsv1alpha1.Conditions) *ShardStatusApplyConfiguration
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.