apparmor

package
v1.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 15 Imported by: 55

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDefaultProfile added in v1.5.0

func LoadDefaultProfile(name string) error

LoadDefaultProfile ensures the default profile to be loaded with the given name. Returns nil error if the profile is already loaded.

func WithDefaultProfile

func WithDefaultProfile(name string) oci.SpecOpts

WithDefaultProfile will generate a default apparmor profile under the provided name for the container. It is only generated if a profile under that name does not exist.

func WithProfile

func WithProfile(profile string) oci.SpecOpts

WithProfile sets the provided apparmor profile to the spec

Types

This section is empty.

Jump to

Keyboard shortcuts

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