apparmor

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultLipodProfilePrefix is used for version-independent presence checks.
	DefaultLipodProfilePrefix = "libpod-default" + "-"
	// 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 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