captcluster

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// WaitingForClusterCondition represents the condition type for waiting for parent cluster
	WaitingForClusterCondition string = "WaitingForCluster"

	// CAPTClusterFinalizer is the finalizer added to CAPTCluster instances
	CAPTClusterFinalizer = "infrastructure.cluster.x-k8s.io/captcluster"

	// ClusterNameLabel is the label used to identify the cluster name
	ClusterNameLabel = "cluster.x-k8s.io/cluster-name"
)
View Source
const (
	// ControlPlaneInitializedCondition represents the condition type for control plane initialization
	ControlPlaneInitializedCondition v1beta1.ConditionType = "ControlPlaneInitialized"

	// InfrastructureReadyCondition represents the condition type for infrastructure readiness
	InfrastructureReadyCondition v1beta1.ConditionType = "InfrastructureReady"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client = client.Client

Client is an alias for client.Client to avoid importing client in multiple files

type Reconciler

type Reconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

Reconciler reconciles a CAPTCluster object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (Result, error)

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type Result

type Result = ctrl.Result

Result is an alias for ctrl.Result to avoid importing ctrl in multiple files

Jump to

Keyboard shortcuts

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