controller

package
v0.15.20 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISKubeBenchReportReconciler added in v0.10.0

CISKubeBenchReportReconciler reconciles corev1.Node and corev1.Job objects to check cluster nodes configuration with CIS Kubernetes Benchmark and saves results as v1alpha1.CISKubeBenchReport objects. Each v1alpha1.CISKubeBenchReport is controlled by the corev1.Node for which it was generated. Additionally, the CISKubeBenchReportReconciler.SetupWithManager method informs the ctrl.Manager that this controller reconciles nodes that own benchmark reports, so that it will automatically call the reconcile callback on the underlying corev1.Node when a v1alpha1.CISKubeBenchReport changes, is deleted, etc.

func (*CISKubeBenchReportReconciler) SetupWithManager added in v0.10.0

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

type ConfigAuditReportReconciler added in v0.9.0

func (*ConfigAuditReportReconciler) SetupWithManager added in v0.9.0

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

type LimitChecker added in v0.9.0

type LimitChecker interface {
	Check(ctx context.Context) (bool, int, error)
}

func NewLimitChecker added in v0.9.0

func NewLimitChecker(config etc.Config, client client.Client, starboardConfig starboard.ConfigData) LimitChecker

type PluginsConfigReconciler added in v0.10.0

type PluginsConfigReconciler struct {
	logr.Logger
	etc.Config
	client.Client
	starboard.PluginContext
	configauditreport.Plugin
}

func (*PluginsConfigReconciler) SetupWithManager added in v0.10.0

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

type TTLReportReconciler added in v0.14.0

type TTLReportReconciler struct {
	logr.Logger
	etc.Config
	client.Client
	ext.Clock
}

func (*TTLReportReconciler) SetupWithManager added in v0.14.0

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

Jump to

Keyboard shortcuts

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