apparmor

package
v1.9.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 5 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultLipodProfilePrefix is used for version-independent presence checks.
	DefaultLipodProfilePrefix = config.DefaultApparmorProfile
	// DefaultLibpodProfile is the name of default libpod AppArmor profile.
	DefaultLibpodProfile = DefaultLipodProfilePrefix + "-" + libpodVersion.Version
	// 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 added in v1.0.0

func CheckProfileAndLoadDefault(name string) (string, error)

CheckProfileAndLoadDefault dummy.

func DefaultContent added in v1.5.0

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

DefaultContent dummy.

func InstallDefault

func InstallDefault(name string) error

InstallDefault dummy.

func IsEnabled added in v0.7.4

func IsEnabled() bool

IsEnabled dummy.

func IsLoaded

func IsLoaded(name string) (bool, error)

IsLoaded dummy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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