Documentation ¶
Index ¶
- func FormatMountLabel(src string, mountLabel string) string
- func GenLabels(options string) (string, string, error)
- func GetPidLabel(pid int) (string, error)
- func Init()
- func InitLabels(options []string) (string, string, error)
- func Relabel(path string, fileLabel string, relabel string) error
- func ReserveLabel(label string) error
- func SetFileLabel(path string, fileLabel string) error
- func SetProcessLabel(processLabel string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMountLabel ¶
func GetPidLabel ¶ added in v1.2.0
func InitLabels ¶ added in v1.2.0
InitLabels returns the process label and file labels to be used within the container. A list of options can be passed into this function to alter the labels.
func ReserveLabel ¶
func SetFileLabel ¶
func SetProcessLabel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.