Documentation
¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) AddToManager(mgr manager.Manager, channel <-chan event.TypedGenericEvent[*corev1.Secret]) error
- func (r *Reconciler) EventHandler() handler.TypedEventHandler[*corev1.Secret, reconcile.Request]
- func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Constants ¶
View Source
const ControllerName = "token"
ControllerName is the name of this controller.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
APIReader client.Reader
Config nodeagentconfigv1alpha1.TokenControllerConfig
FS afero.Afero
// contains filtered or unexported fields
}
Reconciler fetches the shoot access token for gardener-node-agent and writes it to disk.
func (*Reconciler) AddToManager ¶
func (r *Reconciler) AddToManager(mgr manager.Manager, channel <-chan event.TypedGenericEvent[*corev1.Secret]) error
AddToManager adds Reconciler to the given manager.
func (*Reconciler) EventHandler ¶ added in v1.118.0
func (r *Reconciler) EventHandler() handler.TypedEventHandler[*corev1.Secret, reconcile.Request]
EventHandler returns a handler for corev1.Secret events.
Click to show internal directories.
Click to hide internal directories.