spod

package
v0.8.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController added in v0.4.0

func NewController() controller.Controller

NewController returns a new empty controller instance.

Types

type CtxKey added in v0.5.0

type CtxKey string

CtxKey type for spod context keys.

const (
	// ManageWebhookKey value key used in the Setup.Context for ManageWebhook value.
	ManageWebhookKey CtxKey = "ManageWebhook"
)

type ReconcileSPOd

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

ReconcileSPOd reconciles the SPOd DaemonSet object.

func (*ReconcileSPOd) Healthz added in v0.4.0

func (r *ReconcileSPOd) Healthz(*http.Request) error

Healthz is the liveness probe endpoint of the controller.

func (*ReconcileSPOd) Name added in v0.4.0

func (r *ReconcileSPOd) Name() string

Name returns the name of the controller.

func (*ReconcileSPOd) Reconcile

func (r *ReconcileSPOd) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a SPOD object and makes changes based on the state read and what is in the `ConfigMap.Spec`.

func (*ReconcileSPOd) SchemeBuilder added in v0.4.0

func (r *ReconcileSPOd) SchemeBuilder() *scheme.Builder

SchemeBuilder returns the API scheme of the controller.

func (*ReconcileSPOd) Setup added in v0.4.0

func (r *ReconcileSPOd) Setup(
	ctx context.Context,
	mgr ctrl.Manager,
	_ *metrics.Metrics,
) error

Setup adds a controller that reconciles the SPOd DaemonSet.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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