seccompprofile

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(ctx context.Context, mgr ctrl.Manager, l logr.Logger) error

Setup adds a controller that reconciles seccomp profiles.

Types

type OutputProfile

type OutputProfile struct {
	DefaultAction seccomp.Action      `json:"defaultAction"`
	Architectures []*v1alpha1.Arch    `json:"architectures,omitempty"`
	Syscalls      []*v1alpha1.Syscall `json:"syscalls,omitempty"`
	Flags         []*v1alpha1.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) Reconcile

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

Reconcile reconciles a SeccompProfile.

Jump to

Keyboard shortcuts

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