Documentation ¶
Index ¶
- type Local
- func (p *Local) Attach(ctx context.Context, v *types.Volume) error
- func (p *Local) Config(ctx context.Context, cfg map[string]interface{}) error
- func (p *Local) Create(ctx context.Context, id types.VolumeContext) (*types.Volume, error)
- func (p *Local) Detach(ctx context.Context, v *types.Volume) error
- func (p *Local) Name(ctx context.Context) string
- func (p *Local) Options() map[string]types.Option
- func (p *Local) Path(ctx context.Context, v *types.Volume) (string, error)
- func (p *Local) Remove(ctx context.Context, v *types.Volume) error
- func (p *Local) StoreMode(ctx context.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.