apparmor

package
v1.31.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 276

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProfile added in v1.30.0

func GetProfile(pod *v1.Pod, container *v1.Container) *v1.AppArmorProfile

GetProfileName returns the name of the profile to use with the container.

Types

type Validator

type Validator interface {
	Validate(pod *v1.Pod) error
	ValidateHost() error
}

Validator is a interface for validating that a pod with an AppArmor profile can be run by a Node.

func NewValidator

func NewValidator() Validator

NewValidator is in order to find AppArmor FS

Jump to

Keyboard shortcuts

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