Add command "volume inspect"

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-10-13 14:10:48 +02:00 committed by Ulysses Souza
parent 18ac5d7e66
commit 660c7bbdcf
9 changed files with 338 additions and 71 deletions

View file

@ -37,3 +37,7 @@ func (c *volumeService) Create(ctx context.Context, name string, options interfa
func (c *volumeService) Delete(ctx context.Context, id string, options interface{}) error {
return errdefs.ErrNotImplemented
}
func (c *volumeService) Inspect(ctx context.Context, volumeID string) (volumes.Volume, error) {
return volumes.Volume{}, errdefs.ErrNotImplemented
}