Documentation ¶
Index ¶
- func Create(ctx context.Context, config entities.VolumeCreateOptions) (*entities.VolumeConfigResponse, error)
- func Inspect(ctx context.Context, nameOrID string) (*entities.VolumeConfigResponse, error)
- func List(ctx context.Context, filters map[string][]string) ([]*entities.VolumeListReport, error)
- func Prune(ctx context.Context) ([]*entities.VolumePruneReport, error)
- func Remove(ctx context.Context, nameOrID string, force *bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, config entities.VolumeCreateOptions) (*entities.VolumeConfigResponse, error)
Create creates a volume given its configuration.
func List ¶
List returns the configurations for existing volumes in the form of a slice. Optionally, filters can be used to refine the list of volumes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.