Documentation ¶
Index ¶
- type Local
- func (p *Local) Attach(ctx driver.Context, v *types.Volume) error
- func (p *Local) Config(ctx driver.Context, cfg map[string]interface{}) error
- func (p *Local) Create(ctx driver.Context, id types.VolumeID) (*types.Volume, error)
- func (p *Local) Detach(ctx driver.Context, v *types.Volume) error
- func (p *Local) Name(ctx driver.Context) string
- func (p *Local) Options() map[string]types.Option
- func (p *Local) Path(ctx driver.Context, v *types.Volume) (string, error)
- func (p *Local) Remove(ctx driver.Context, v *types.Volume) error
- func (p *Local) StoreMode(ctx driver.Context) driver.VolumeStoreMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
DataPath string
}
Local represents local volume driver.
Click to show internal directories.
Click to hide internal directories.