Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidDockerURL = errors.New("invalid docker url")
Functions ¶
This section is empty.
Types ¶
type GraphDriver ¶
type GraphDriver interface { graphdriver.Driver }
type MappingList ¶
type MappingList []Mapping
func (MappingList) Map ¶
func (m MappingList) Map(id int) int
type Namespacer ¶
type RootFSProvider ¶
type RootFSProvider interface { ProvideRootFS(logger lager.Logger, id string, rootfs *url.URL, namespaced bool) (mountpoint string, envvar process.Env, err error) CleanupRootFS(logger lager.Logger, id string) error }
func NewDocker ¶
func NewDocker( repoFetcher repository_fetcher.RepositoryFetcher, graphDriver GraphDriver, volumeCreator VolumeCreator, namespacer Namespacer, copier Copier, clock clock.Clock, ) (RootFSProvider, error)
func NewOverlay ¶
func NewOverlay( binPath string, overlaysPath string, defaultRootFS string, runner command_runner.CommandRunner, ) RootFSProvider
type ShellOutCp ¶
type ShellOutCp struct {
WorkDir string
}
func (ShellOutCp) Copy ¶
func (s ShellOutCp) Copy(src, dest string) error
type SimpleVolumeCreator ¶
type SimpleVolumeCreator struct{}
SimpleVolumeCreator implements volume creation by (simply) creating the relevant directories. If a directory already exists in the image it is emptied.
type UidNamespacer ¶
func (*UidNamespacer) Namespace ¶
func (n *UidNamespacer) Namespace(rootfsPath string) error
type UidTranslator ¶
type UidTranslator struct {
// contains filtered or unexported fields
}
func NewUidTranslator ¶
func NewUidTranslator(uidMappings Mapper, gidMappings Mapper) *UidTranslator
type VolumeCreator ¶
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.