Documentation ¶
Index ¶
- Constants
- Variables
- type Bundle
- type Bundler
- func (b *Bundler) Create(logger lager.Logger, id string, spec groot.BundleSpec) (groot.Bundle, error)
- func (b *Bundler) Destroy(logger lager.Logger, id string) error
- func (b *Bundler) Exists(id string) (bool, error)
- func (b *Bundler) Metrics(logger lager.Logger, id string) (groot.VolumeMetrics, error)
- type Configurer
- type SnapshotDriver
Constants ¶
View Source
const BUNDLES_DIR_NAME = "bundles"
View Source
const CACHE_DIR_NAME = "cache"
View Source
const LOCKS_DIR_NAME = "locks"
View Source
const VOLUMES_DIR_NAME = "volumes"
Variables ¶
View Source
var OF = os.OpenFile
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct {
// contains filtered or unexported fields
}
func (*Bundle) RootFSPath ¶
type Bundler ¶
type Bundler struct {
// contains filtered or unexported fields
}
func NewBundler ¶
func NewBundler(snapshotDriver SnapshotDriver, storePath string) *Bundler
type SnapshotDriver ¶
type SnapshotDriver interface { Snapshot(logger lager.Logger, fromPath, toPath string) error ApplyDiskLimit(logger lager.Logger, path string, diskLimit int64, exclusive bool) error FetchMetrics(logger lager.Logger, path string) (groot.VolumeMetrics, error) Destroy(logger lager.Logger, path string) error }
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.