config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K3OSConfigReconciler

type K3OSConfigReconciler struct {
	// contains filtered or unexported fields
}

K3OSConfigReconciler reconciles a K3OSConfig object.

func (*K3OSConfigReconciler) InjectClient

func (r *K3OSConfigReconciler) InjectClient(client client.Client) error

InjectClient satisfies the inject.Client interface.

func (*K3OSConfigReconciler) InjectScheme

func (r *K3OSConfigReconciler) InjectScheme(scheme *runtime.Scheme) error

InjectScheme satisfies the inject.Scheme interface.

func (*K3OSConfigReconciler) Reconcile

func (r *K3OSConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)

Reconcile handles K3OSConfig CRs.

func (*K3OSConfigReconciler) SetupWithManager

func (r *K3OSConfigReconciler) SetupWithManager(shutdownCtx context.Context, mgr ctrl.Manager, options ...Option) error

SetupWithManager is called in main to setup the K3OSConfig reconiler with the manager as a non-leader.

type Option

type Option interface{}

Option denotes an option for configuring this controller.

func RequireLeaderElection

func RequireLeaderElection() Option

RequireLeaderElection returns an option that requires the operator being the leader to run this controller instance.

Jump to

Keyboard shortcuts

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