profile

package
v0.5.2-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ProfileNameTemplate = "varmor-%s-%s"

profileNameTemplate is the name of ArmorProfile object in k8s and AppArmor profile in host machine.

Its format is "varmor-{VarmorProfile Namespace}-{VarmorProfile Name}"

Variables

This section is empty.

Functions

func GenerateArmorProfileName

func GenerateArmorProfileName(ns string, varmorProfileName string) string

func GenerateProfile

func GenerateProfile(policy varmor.Policy, name string, complete bool, newProfile string) (*varmor.Profile, error)

func NewArmorProfile

func NewArmorProfile(vp *varmor.VarmorPolicy) (*varmor.ArmorProfile, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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