Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOption ¶
type CreateOption = vo.CreateOptions
type InspectOption ¶
type InspectOption struct {
}
type ListOption ¶
type PruneOption ¶
type RemoveOption ¶
type RemoveOption struct {
Force bool `json:"force"`
}
type Volume ¶
type Volume interface {
List(ctx context.Context, opts ...func(*ListOption)) ([]entity.Volume, error)
Inspect(ctx context.Context, id string, opts ...func(*InspectOption)) (vo.Volume, error)
//
Create(ctx context.Context, opts ...func(*CreateOption)) (vo.Volume, error)
Remove(ctx context.Context, id string, opts ...func(opt *RemoveOption)) error
//
Prune(ctx context.Context, opts ...func(opt *PruneOption)) (types.VolumesPruneReport, error)
}
Click to show internal directories.
Click to hide internal directories.