controllers

package
v1.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package controllers implements the Kubeadm controllers.

Index

Constants

View Source
const (
	// DefaultTokenTTL is the default TTL used for tokens.
	DefaultTokenTTL = kubeadmbootstrapcontrollers.DefaultTokenTTL
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeadmConfigReconciler

type KubeadmConfigReconciler struct {
	Client client.Client

	// WatchFilterValue is the label value used to filter events prior to reconciliation.
	WatchFilterValue string

	// TokenTTL is the amount of time a bootstrap token (and therefore a KubeadmConfig) will be valid.
	TokenTTL time.Duration
}

KubeadmConfigReconciler reconciles a KubeadmConfig object.

func (*KubeadmConfigReconciler) SetupWithManager

func (r *KubeadmConfigReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error

SetupWithManager sets up the reconciler with the Manager.

Jump to

Keyboard shortcuts

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