Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustGetMaxValidGID ¶
func MustGetMaxValidGID() int
func MustGetMaxValidUID ¶
func MustGetMaxValidUID() int
func NewTranslator ¶
func NewTranslator(mapper Mapper) *translator
Types ¶
type Mapper ¶
func NewPrivilegedMapper ¶
func NewPrivilegedMapper() Mapper
func NewUnprivilegedMapper ¶
func NewUnprivilegedMapper() Mapper
type Namespacer ¶
type NoopNamespacer ¶
type NoopNamespacer struct{}
func (NoopNamespacer) NamespaceCommand ¶
func (NoopNamespacer) NamespaceCommand(cmd *exec.Cmd)
func (NoopNamespacer) NamespacePath ¶
func (NoopNamespacer) NamespacePath(lager.Logger, string) error
type ParseError ¶
func (ParseError) Error ¶
func (p ParseError) Error() string
type Translator ¶
type UidNamespacer ¶
type UidNamespacer struct { Translator Translator Logger lager.Logger }
func (*UidNamespacer) NamespaceCommand ¶
func (n *UidNamespacer) NamespaceCommand(cmd *exec.Cmd)
func (*UidNamespacer) NamespacePath ¶
func (n *UidNamespacer) NamespacePath(logger lager.Logger, rootfsPath string) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.