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
Click to show internal directories.
Click to hide internal directories.