Documentation ¶
Index ¶
- type Driver
- func (d *Driver) CreateImage(logger lager.Logger, spec image_cloner.ImageDriverSpec) (groot.MountInfo, error)
- func (d *Driver) CreateVolume(logger lager.Logger, parentID string, id string) (string, error)
- func (d *Driver) DestroyImage(logger lager.Logger, path string) error
- func (d *Driver) DestroyVolume(logger lager.Logger, id string) error
- func (d *Driver) FetchStats(logger lager.Logger, path string) (groot.VolumeStats, error)
- func (d *Driver) HandleOpaqueWhiteouts(logger lager.Logger, id string, opaqueWhiteouts []string) error
- func (d *Driver) MoveVolume(logger lager.Logger, from, to string) error
- func (d *Driver) VolumePath(logger lager.Logger, id string) (string, error)
- func (d *Driver) Volumes(logger lager.Logger) ([]string, error)
- func (d *Driver) WriteVolumeMeta(logger lager.Logger, id string, data base_image_puller.VolumeMeta) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func New ¶
func New(driver internalDriver, idMappings groot.IDMappings, idMapper unpacker.IDMapper, runner commandrunner.CommandRunner) *Driver
func (*Driver) CreateImage ¶
func (d *Driver) CreateImage(logger lager.Logger, spec image_cloner.ImageDriverSpec) (groot.MountInfo, error)
func (*Driver) CreateVolume ¶
func (*Driver) FetchStats ¶
func (*Driver) HandleOpaqueWhiteouts ¶
func (*Driver) VolumePath ¶
func (*Driver) WriteVolumeMeta ¶
func (d *Driver) WriteVolumeMeta(logger lager.Logger, id string, data base_image_puller.VolumeMeta) error
Click to show internal directories.
Click to hide internal directories.