package label

import "github.com/dotcloud/docker/pkg/label"

Index

Functions

func FormatMountLabel

func FormatMountLabel(src string, mountLabel string) string

func GenLabels

func GenLabels(options string) (string, string, error)

func GetPidCon

func GetPidCon(pid int) (string, error)

func Init

func Init()

func ReserveLabel

func ReserveLabel(label string) error

func SetFileLabel

func SetFileLabel(path string, fileLabel string) error

func SetProcessLabel

func SetProcessLabel(processLabel string) error

Source Files

label.go

Version
v0.11.0
Published
May 7, 2014
Platform
js/wasm
Last checked
23 seconds ago

Tools for package owners.