Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpDefaultProfile ¶ added in v1.5.0
DumpDefaultProfile dumps the default profile with the given name.
func LoadDefaultProfile ¶ added in v1.5.0
LoadDefaultProfile ensures the default profile to be loaded with the given name. Returns nil error if the profile is already loaded.
func WithDefaultProfile ¶
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.
FIXME: pkg/cri/[sb]server/container_create_linux_test.go depends on go:noinline since Go 1.21.
func WithProfile ¶
WithProfile sets the provided apparmor profile to the spec
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.