Documentation ¶
Index ¶
- Constants
- type Driver
- func (d *Driver) ConfigureStore(logger lager.Logger, path string, ownerUID, ownerGID int) error
- 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, imagePath string) error
- func (d *Driver) DestroyVolume(logger lager.Logger, id string) error
- func (d *Driver) FetchStats(logger lager.Logger, imagePath string) (groot.VolumeStats, error)
- func (d *Driver) HandleOpaqueWhiteouts(logger lager.Logger, id string, opaqueWhiteouts []string) error
- func (d *Driver) InitFilesystem(logger lager.Logger, filesystemPath, storePath string) error
- func (d *Driver) Marshal(logger lager.Logger) ([]byte, error)
- func (d *Driver) MoveVolume(logger lager.Logger, from, to string) error
- func (d *Driver) ValidateFileSystem(logger lager.Logger, path string) error
- func (d *Driver) VolumePath(logger lager.Logger, id string) (string, error)
- func (d *Driver) VolumeSize(logger lager.Logger, id string) (int64, error)
- func (d *Driver) Volumes(logger lager.Logger) ([]string, error)
- func (d *Driver) WriteVolumeMeta(logger lager.Logger, id string, metadata base_image_puller.VolumeMeta) error
Constants ¶
View Source
const ( UpperDir = "diff" IDDir = "projectids" WorkDir = "workdir" RootfsDir = "rootfs" WhiteoutDevice = "whiteout_dev" LinksDirName = "l" MinQuota = 1024 * 256 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ConfigureStore ¶ added in v0.16.0
func (*Driver) CreateImage ¶
func (d *Driver) CreateImage(logger lager.Logger, spec image_cloner.ImageDriverSpec) (groot.MountInfo, error)
func (*Driver) CreateVolume ¶
func (*Driver) DestroyImage ¶
func (*Driver) FetchStats ¶
func (*Driver) HandleOpaqueWhiteouts ¶ added in v0.26.0
func (*Driver) InitFilesystem ¶ added in v0.20.0
func (*Driver) MoveVolume ¶ added in v0.16.0
func (*Driver) ValidateFileSystem ¶ added in v0.16.0
func (*Driver) VolumePath ¶
func (*Driver) VolumeSize ¶ added in v0.26.0
func (*Driver) WriteVolumeMeta ¶ added in v0.26.0
func (d *Driver) WriteVolumeMeta(logger lager.Logger, id string, metadata base_image_puller.VolumeMeta) error
Click to show internal directories.
Click to hide internal directories.