seccompprofile

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 37 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 AllowedSyscallsChangedPredicate added in v0.4.3

type AllowedSyscallsChangedPredicate struct {
	predicate.Funcs
}

AllowedSyscallsChangedPredicate implements a update predicate function on SPOD's AllowedSyscalls changed.

func (AllowedSyscallsChangedPredicate) Update added in v0.4.3

Update implements default update event filter for checking SPOD's AllowedSyscalls change.

type Reconciler

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

A Reconciler reconciles seccomp profiles.

func (*Reconciler) Healthz added in v0.4.0

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

Healthz is the liveness probe endpoint of the controller.

func (*Reconciler) Name added in v0.4.0

func (r *Reconciler) Name() string

Name returns the name of the controller.

func (*Reconciler) Reconcile

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

Reconcile reconciles a SeccompProfile.

func (*Reconciler) SchemeBuilder added in v0.4.0

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

SchemeBuilder returns the API scheme of the controller.

func (*Reconciler) Setup added in v0.4.0

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

Setup adds a controller that reconciles seccomp profiles.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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