Documentation ¶
Index ¶
- func DnsmasqProfileName(n network) string
- func ForkdnsProfileName(n network) string
- func ForkproxyDelete(state *state.State, inst instance, dev device) error
- func ForkproxyLoad(state *state.State, inst instance, dev device) error
- func ForkproxyProfileName(inst instance, dev device) string
- func ForkproxyUnload(state *state.State, inst instance, dev device) error
- func InstanceDelete(state *state.State, inst instance) error
- func InstanceLoad(state *state.State, inst instance) error
- func InstanceNamespaceName(inst instance) string
- func InstanceParse(state *state.State, inst instance) error
- func InstanceProfileName(inst instance) string
- func InstanceUnload(state *state.State, inst instance) error
- func NetworkDelete(state *state.State, n network) error
- func NetworkLoad(state *state.State, n network) error
- func NetworkUnload(state *state.State, n network) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DnsmasqProfileName ¶
func DnsmasqProfileName(n network) string
DnsmasqProfileName returns the AppArmor profile name.
func ForkdnsProfileName ¶
func ForkdnsProfileName(n network) string
ForkdnsProfileName returns the AppArmor profile name.
func ForkproxyDelete ¶
ForkproxyDelete removes the policy from cache/disk.
func ForkproxyLoad ¶
ForkproxyLoad ensures that the instances's policy is loaded into the kernel so the it can boot.
func ForkproxyProfileName ¶
func ForkproxyProfileName(inst instance, dev device) string
ForkproxyProfileName returns the AppArmor profile name.
func ForkproxyUnload ¶
ForkproxyUnload ensures that the instances's policy namespace is unloaded to free kernel memory. This does not delete the policy from disk or cache.
func InstanceDelete ¶
InstanceDelete removes the policy from cache/disk.
func InstanceLoad ¶
InstanceLoad ensures that the instances's policy is loaded into the kernel so the it can boot.
func InstanceNamespaceName ¶
func InstanceNamespaceName(inst instance) string
InstanceNamespaceName returns the instance's AppArmor namespace.
func InstanceParse ¶
InstanceParse validates the instance profile.
func InstanceProfileName ¶
func InstanceProfileName(inst instance) string
InstanceProfileName returns the instance's AppArmor profile name.
func InstanceUnload ¶
InstanceUnload ensures that the instances's policy namespace is unloaded to free kernel memory. This does not delete the policy from disk or cache.
func NetworkDelete ¶
NetworkDelete removes the profiles from cache/disk.
func NetworkLoad ¶
NetworkLoad ensures that the network's profiles are loaded into the kernel.
func NetworkUnload ¶
NetworkUnload ensures that the network's profiles are unloaded to free kernel memory. This does not delete the policy from disk or cache.
Types ¶
This section is empty.