controllers

package
v0.0.0-...-4a1a1e7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeletionTimeout = 2 * 60 * time.Second
)

Same timeout used on PDBs: https://github.com/kubernetes/kubernetes/blob/d7123a65/pkg/controller/disruption/disruption.go#L68

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchAPI

type CloudWatchAPI interface {
	DescribeAlarms(ctx context.Context, params *cloudwatch.DescribeAlarmsInput, optFns ...func(*cloudwatch.Options)) (*cloudwatch.DescribeAlarmsOutput, error)
}

type ZoneAwareUpdateReconciler

type ZoneAwareUpdateReconciler struct {
	client.Client
	Scheme             *runtime.Scheme
	Logger             logr.Logger
	PodZoneHelper      *podzone.Helper
	AlarmStateProvider utils.AlarmStateProvider
}

ZoneAwareUpdateReconciler reconciles a ZoneAwareUpdate object

func (*ZoneAwareUpdateReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*ZoneAwareUpdateReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ZoneDisruptionBudgetReconciler

type ZoneDisruptionBudgetReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	Logger        logr.Logger
	PodZoneHelper *podzone.Helper
}

ZoneDisruptionBudgetReconciler reconciles a ZoneDisruptionBudget object

func (*ZoneDisruptionBudgetReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*ZoneDisruptionBudgetReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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