phases

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapPhase added in v0.17.0

type BootstrapPhase struct {
	Client                  client.Client
	Scheme                  *runtime.Scheme
	Secret                  *corev1.Secret
	WorkloadIdentityEnabled bool
}

BootstrapPhase holds the per-reconcile state shared by the bootstrap subroutines. It closes over the kubeconfig Secret being reconciled; each subroutine is idempotent so the chain re-runs from the top on every reconcile.

func (*BootstrapPhase) EnsureCreatePhases added in v0.17.0

func (p *BootstrapPhase) EnsureCreatePhases() []lifecycle.SubRoutine

func (*BootstrapPhase) EnsureDeletePhases added in v0.17.0

func (p *BootstrapPhase) EnsureDeletePhases() []lifecycle.SubRoutine

type Phase

type Phase struct {
	Client                             client.Client
	Recorder                           events.EventRecorder
	RemoteClusterBearerTokenValidity   time.Duration
	RenewRemoteClusterBearerTokenAfter time.Duration
	ClusterSecret                      *corev1.Secret
	RestClientGetter                   *clientutil.RestClientGetter
	RemoteClient                       client.Client
	WorkloadIdentityEnabled            bool
	// contains filtered or unexported fields
}

func (*Phase) EnsureCreatePhases

func (p *Phase) EnsureCreatePhases(cluster *greenhousev1alpha1.Cluster) []lifecycle.SubRoutine

func (*Phase) EnsureDeletePhases

func (p *Phase) EnsureDeletePhases(cluster *greenhousev1alpha1.Cluster) []lifecycle.SubRoutine

Jump to

Keyboard shortcuts

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