unpacker

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 23 Imported by: 0

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, strategy UnpackStrategy) *NSIdMapperUnpacker

func (*NSIdMapperUnpacker) Unpack added in v0.10.0

type TarUnpacker

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

func NewTarUnpacker

func NewTarUnpacker(unpackStrategy UnpackStrategy) (*TarUnpacker, error)

func (*TarUnpacker) Unpack

type UnpackStrategy added in v0.13.0

type UnpackStrategy struct {
	Name               string
	WhiteoutDevicePath string
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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