apparmor

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

View Source
const (
	// ProfilePrefix is used for version-independent presence checks.
	ProfilePrefix = "containers-default-"

	// Profile default name
	Profile = ProfilePrefix + version.Version
)

Variables

View Source
var (
	// ErrApparmorUnsupported indicates that AppArmor support is not supported.
	ErrApparmorUnsupported = errors.New("AppArmor is not supported")
	// ErrApparmorRootless indicates that AppArmor support is not supported in rootless mode.
	ErrApparmorRootless = errors.New("AppArmor is not supported in rootless mode")
)

Functions

func CheckProfileAndLoadDefault

func CheckProfileAndLoadDefault(name string) (string, error)

CheckProfileAndLoadDefault dummy.

func DefaultContent

func DefaultContent(name string) ([]byte, error)

DefaultContent dummy.

func InstallDefault

func InstallDefault(name string) error

InstallDefault dummy.

func IsEnabled

func IsEnabled() bool

IsEnabled dummy.

func IsLoaded

func IsLoaded(name string) (bool, error)

IsLoaded dummy.

Types

This section is empty.

Directories

Path Synopsis
internal
supported/supportedfakes
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