Documentation
¶
Overview ¶
A basic overlay storage backend.
Things still TODO:
- implement GC (nobody really uses this, it seems people just clean and rebuild, so...)
Index ¶
- Variables
- func Check(config types.StackerConfig) error
- func ConvertAndOutput(config types.StackerConfig, tag, name string, layerType types.LayerType) error
- func IsSymlink(path string) (bool, error)
- func NewOverlay(config types.StackerConfig) (types.Storage, error)
- func PathExists(path string) bool
- func UnprivSetup(config types.StackerConfig, uid, gid int) error
- type ThreadPool
Constants ¶
This section is empty.
Variables ¶
View Source
var ThreadPoolCancelled = errors.Errorf("thread pool cancelled")
Functions ¶
func Check ¶
func Check(config types.StackerConfig) error
func ConvertAndOutput ¶
func NewOverlay ¶
func NewOverlay(config types.StackerConfig) (types.Storage, error)
func PathExists ¶
func UnprivSetup ¶
func UnprivSetup(config types.StackerConfig, uid, gid int) error
Types ¶
type ThreadPool ¶
type ThreadPool struct {
// contains filtered or unexported fields
}
func NewThreadPool ¶
func NewThreadPool(n int) *ThreadPool
func (*ThreadPool) DoneAddingJobs ¶
func (tp *ThreadPool) DoneAddingJobs()
func (*ThreadPool) Run ¶
func (tp *ThreadPool) Run() error
Click to show internal directories.
Click to hide internal directories.