controllers

package
v0.7.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package controllers contains controllers logics: * extendeddaemonset * extendeddaemonsetreplicaset * extendeddaemonsetsettings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupControllers

func SetupControllers(mgr manager.Manager, nodeAffinityMatchSupport bool, defaultValidationMode v1alpha1.ExtendedDaemonSetSpecStrategyCanaryValidationMode) error

SetupControllers start all controllers (also used by unit and e2e tests).

Types

type ExtendedDaemonSetReconciler

type ExtendedDaemonSetReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	Options  extendeddaemonset.ReconcilerOptions
	// contains filtered or unexported fields
}

ExtendedDaemonSetReconciler reconciles a ExtendedDaemonSet object.

func (*ExtendedDaemonSetReconciler) Reconcile

Reconcile loop for ExtendedDaemonSet.

func (*ExtendedDaemonSetReconciler) SetupWithManager

func (r *ExtendedDaemonSetReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new ExtendedDaemonSet controller.

type ExtendedDaemonSetReplicaSetReconciler

type ExtendedDaemonSetReplicaSetReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	Options  extendeddaemonsetreplicaset.ReconcilerOptions
	// contains filtered or unexported fields
}

ExtendedDaemonSetReplicaSetReconciler reconciles a ExtendedDaemonSetReplicaSet object.

func (*ExtendedDaemonSetReplicaSetReconciler) Reconcile

Reconcile loop for ExtendedDaemonSetReplicaSet.

func (*ExtendedDaemonSetReplicaSetReconciler) SetupWithManager

func (r *ExtendedDaemonSetReplicaSetReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new ExtendedDaemonSetReplicaSet controller.

type ExtendedDaemonsetSettingReconciler

type ExtendedDaemonsetSettingReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	Options  extendeddaemonsetsetting.ReconcilerOptions
	// contains filtered or unexported fields
}

ExtendedDaemonsetSettingReconciler reconciles a ExtendedDaemonsetSetting object.

func (*ExtendedDaemonsetSettingReconciler) Reconcile

Reconcile loop for ExtendedDaemonsetSetting.

func (*ExtendedDaemonsetSettingReconciler) SetupWithManager

func (r *ExtendedDaemonsetSettingReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new ExtendedDaemonsetSetting controller.

type PodTemplateReconciler added in v0.7.0

type PodTemplateReconciler struct {
	client.Client
	Log      logr.Logger
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
	Options  podtemplate.ReconcilerOptions
	// contains filtered or unexported fields
}

PodTemplateReconciler reconciles a PodTemplate object.

func (*PodTemplateReconciler) Reconcile added in v0.7.0

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

Reconcile loop for PodTemplate.

func (*PodTemplateReconciler) SetupWithManager added in v0.7.0

func (r *PodTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new PodTemplate controller.

Directories

Path Synopsis
Package extendeddaemonset contains ExtendedDaemonset controller logic.
Package extendeddaemonset contains ExtendedDaemonset controller logic.
conditions
Package conditions contains status conditions helpers.
Package conditions contains status conditions helpers.
Package extendeddaemonsetreplicaset contains ExtendedDaemonsetReplicaset controller logic.
Package extendeddaemonsetreplicaset contains ExtendedDaemonsetReplicaset controller logic.
conditions
Package conditions contains ExtendedDaemonSetReplicaSet Conditions helper functions.
Package conditions contains ExtendedDaemonSetReplicaSet Conditions helper functions.
scheduler
Package scheduler contains helper function around Daemonset pod scheduling.
Package scheduler contains helper function around Daemonset pod scheduling.
strategy
Package strategy contains the different ExtendedDaemonsetReplicaset pod's strategies: * canary * rolling-update * unknow
Package strategy contains the different ExtendedDaemonsetReplicaset pod's strategies: * canary * rolling-update * unknow
strategy/limits
Package limits contains function to calculate pod create/deletion limits.
Package limits contains function to calculate pod create/deletion limits.
Package extendeddaemonsetsetting contains The ExtendeddaemonsetSetting controller
Package extendeddaemonsetsetting contains The ExtendeddaemonsetSetting controller
Package podtemplate contains ExtendedDaemonset - PodTemplate controller logic.
Package podtemplate contains ExtendedDaemonset - PodTemplate controller logic.
Package testutils contains helper function used for the unit-tests.
Package testutils contains helper function used for the unit-tests.

Jump to

Keyboard shortcuts

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