manager

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2017 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitSpec

type InitSpec struct {
	UIDMappings     []groot.IDMappingSpec
	GIDMappings     []groot.IDMappingSpec
	NamespaceWriter NamespaceWriter
}

type Manager

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

func New

func New(storePath string, locksmith groot.Locksmith, volumeDriver base_image_puller.VolumeDriver, imageDriver image_cloner.ImageDriver, storeDriver StoreDriver) *Manager

func (*Manager) ConfigureStore

func (m *Manager) ConfigureStore(logger lager.Logger, ownerUID, ownerGID int) error

func (*Manager) DeleteStore

func (m *Manager) DeleteStore(logger lager.Logger) error

func (*Manager) InitStore

func (m *Manager) InitStore(logger lager.Logger, spec InitSpec) error

type NamespaceWriter

type NamespaceWriter interface {
	Write(storePath string, uidMappings, gidMappings []groot.IDMappingSpec) error
}

type StoreDriver

type StoreDriver interface {
	ConfigureStore(logger lager.Logger, storePath string, ownerUID, ownerGID int) error
	ValidateFileSystem(logger lager.Logger, path string) error
}

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

Jump to

Keyboard shortcuts

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