seccompprofile

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 32 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 OutputProfile

type OutputProfile struct {
	DefaultAction    seccomp.Action               `json:"defaultAction"`
	Architectures    []seccompprofileapi.Arch     `json:"architectures,omitempty"`
	ListenerPath     string                       `json:"listenerPath,omitempty"`
	ListenerMetadata string                       `json:"listenerMetadata,omitempty"`
	Syscalls         []*seccompprofileapi.Syscall `json:"syscalls,omitempty"`
	Flags            []*seccompprofileapi.Flag    `json:"flags,omitempty"`
}

OutputProfile represents the on-disk form of the SeccompProfile.

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(_ 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(
	ctx context.Context,
	mgr ctrl.Manager,
	met *metrics.Metrics,
) error

Setup adds a controller that reconciles seccomp profiles.

Jump to

Keyboard shortcuts

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