unpacker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2016 License: Apache-2.0 Imports: 20 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(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 NamespacedUnpacker

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

func NewNamespacedUnpacker

func NewNamespacedUnpacker(commandRunner commandrunner.CommandRunner, idMapper IDMapper) *NamespacedUnpacker

func (*NamespacedUnpacker) Unpack

func (u *NamespacedUnpacker) Unpack(logger lager.Logger, spec image_puller.UnpackSpec) error

type TarUnpacker

type TarUnpacker struct {
}

func NewTarUnpacker

func NewTarUnpacker() *TarUnpacker

func (*TarUnpacker) Unpack

func (u *TarUnpacker) Unpack(logger lager.Logger, spec 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