package
0.1.2
Repository: https://github.com/pjbgf/go-apparmor.git
Documentation: pkg.go.dev

# Functions

HostPidNamespace checks whether the current process is using host's PID namespace.
InsideContainer checks whether the current process is being executed inside of a container.
No description provided by the author
WithAssumeContainer ensures that HostOp always assume it is being executed from inside a container, and therefore attempts the necessary privilege escalations.
WithAssumeHost ensures that HostOp always assume that it is being executed directly in the host.
WithContainerDetection ensures that HostOp tries to auto detect whether or not the code is being executed from inside a container.
WithLogger sets a logger to be used whilst executing operations.

# Constants

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author