Documentation ¶
Index ¶
- Variables
- type ImageCloner
- func (b *ImageCloner) Create(logger lager.Logger, spec groot.ImageSpec) (groot.ImageInfo, error)
- func (b *ImageCloner) Destroy(logger lager.Logger, id string) error
- func (b *ImageCloner) Exists(id string) (bool, error)
- func (b *ImageCloner) ImageIDs(logger lager.Logger) ([]string, error)
- func (b *ImageCloner) Stats(logger lager.Logger, id string) (groot.VolumeStats, error)
- type ImageDriver
- type ImageDriverSpec
Constants ¶
This section is empty.
Variables ¶
View Source
var OpenFile = os.OpenFile
Functions ¶
This section is empty.
Types ¶
type ImageCloner ¶
type ImageCloner struct {
// contains filtered or unexported fields
}
func NewImageCloner ¶
func NewImageCloner(imageDriver ImageDriver, storePath string) *ImageCloner
func (*ImageCloner) ImageIDs ¶
func (b *ImageCloner) ImageIDs(logger lager.Logger) ([]string, error)
func (*ImageCloner) Stats ¶ added in v0.5.0
func (b *ImageCloner) Stats(logger lager.Logger, id string) (groot.VolumeStats, error)
type ImageDriver ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.