unpacker

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2017 License: Apache-2.0 Imports: 22 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandIDMapper

type CommandIDMapper struct {
	// contains filtered or unexported fields
}

func NewIDMapper

func NewIDMapper(newuidmapBin, newgidmapBin string, cmdRunner commandrunner.CommandRunner) *CommandIDMapper

func (*CommandIDMapper) MapGIDs

func (im *CommandIDMapper) MapGIDs(logger lager.Logger, pid int, mappings []groot.IDMappingSpec) error

func (*CommandIDMapper) MapUIDs

func (im *CommandIDMapper) MapUIDs(logger lager.Logger, pid int, mappings []groot.IDMappingSpec) error

type IDMapper

type IDMapper interface {
	MapUIDs(logger lager.Logger, pid int, mappings []groot.IDMappingSpec) error
	MapGIDs(logger lager.Logger, pid int, mappings []groot.IDMappingSpec) error
}

type NSIdMapperUnpacker added in v0.10.0

type NSIdMapperUnpacker struct {
	// contains filtered or unexported fields
}

func NewNSIdMapperUnpacker added in v0.10.0

func NewNSIdMapperUnpacker(commandRunner commandrunner.CommandRunner, idMapper IDMapper) *NSIdMapperUnpacker

func (*NSIdMapperUnpacker) Unpack added in v0.10.0

type NSSysProcUnpacker added in v0.10.0

type NSSysProcUnpacker struct {
	// contains filtered or unexported fields
}

func NewNSSysProcUnpacker added in v0.10.0

func NewNSSysProcUnpacker(commandRunner commandrunner.CommandRunner) *NSSysProcUnpacker

func (*NSSysProcUnpacker) Unpack added in v0.10.0

type TarUnpacker

type TarUnpacker struct {
}

func NewTarUnpacker

func NewTarUnpacker() *TarUnpacker

func (*TarUnpacker) Unpack

func (u *TarUnpacker) Unpack(logger lager.Logger, spec base_image_puller.UnpackSpec) error

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL