Documentation
¶
Index ¶
- Variables
- type BootstrapReconciler
- type KubeconfigReconciler
- type OIDCInfo
- type RemoteClusterReconciler
- func (r *RemoteClusterReconciler) EnsureCreated(ctx context.Context, resource lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
- func (r *RemoteClusterReconciler) EnsureDeleted(ctx context.Context, resource lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
- func (r *RemoteClusterReconciler) GetEventRecorder() record.EventRecorder
- func (r *RemoteClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RemoteClusterReconciler) SetupWithManager(name string, mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ExposedKubeconfigConditions = []greenhousemetav1alpha1.ConditionType{ v1alpha1.KubeconfigCreatedCondition, v1alpha1.KubeconfigReconcileFailedCondition, v1alpha1.KubeconfigReadyCondition, }
Functions ¶
This section is empty.
Types ¶
type BootstrapReconciler ¶
func (*BootstrapReconciler) SetupWithManager ¶
func (r *BootstrapReconciler) SetupWithManager(name string, mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type KubeconfigReconciler ¶
func (*KubeconfigReconciler) SetupWithManager ¶
func (r *KubeconfigReconciler) SetupWithManager(name string, mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager
type RemoteClusterReconciler ¶
type RemoteClusterReconciler struct { client.Client RemoteClusterBearerTokenValidity time.Duration RenewRemoteClusterBearerTokenAfter time.Duration // contains filtered or unexported fields }
RemoteClusterReconciler reconciles a Cluster object with accessMode=direct set.
func (*RemoteClusterReconciler) EnsureCreated ¶
func (r *RemoteClusterReconciler) EnsureCreated(ctx context.Context, resource lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
func (*RemoteClusterReconciler) EnsureDeleted ¶
func (r *RemoteClusterReconciler) EnsureDeleted(ctx context.Context, resource lifecycle.RuntimeObject) (ctrl.Result, lifecycle.ReconcileResult, error)
EnsureDeleted - handles the deletion / cleanup of cluster resource
func (*RemoteClusterReconciler) GetEventRecorder ¶
func (r *RemoteClusterReconciler) GetEventRecorder() record.EventRecorder
func (*RemoteClusterReconciler) SetupWithManager ¶
func (r *RemoteClusterReconciler) SetupWithManager(name string, mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.