controllers

package
v0.0.0-...-3408081 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_PASSWORD_LENGTH = 24
View Source
const (
	KeyProblemName = "problemName"
)
View Source
const MAX_USED_PERCENT float64 = 100.0

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsExporter

type MetricsExporter struct {
	client.Client

	Log logr.Logger

	ScrapeInterval time.Duration
}

func (*MetricsExporter) Start

func (me *MetricsExporter) Start(ctx context.Context) error

Start implements manager.Runnable

type ProblemEnvironmentReconciler

type ProblemEnvironmentReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

ProblemEnvironmentReconciler reconciles a ProblemEnvironment object

func (*ProblemEnvironmentReconciler) 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.

func (*ProblemEnvironmentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ProblemReconciler

type ProblemReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

ProblemReconciler reconciles a Problem object

func (*ProblemReconciler) Reconcile

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

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

func (*ProblemReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type WorkerController

type WorkerController struct {
	client.Client
	// contains filtered or unexported fields
}

func NewWorkerController

func NewWorkerController(
	client client.Client,
	workerMonitorPeriod time.Duration,
	recorder record.EventRecorder,
) *WorkerController

func (*WorkerController) Start

func (wc *WorkerController) Start(ctx context.Context) error

Start implements manager.Runnable

Jump to

Keyboard shortcuts

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