volumes

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, cli *client.Client, volumeInput volume.Volume) (volume.Volume, error)

Create will create a Docker Volume as configured.

func Exists

func Exists(ctx context.Context, cli *client.Client, volume string) (bool, error)

Exists will check if a Docker volume has been created.

func Get

func Get(ctx context.Context, cli *client.Client, name string) (volume.Volume, error)

Get will return the full contents of a types.Volume from the API.

func Remove

func Remove(ctx context.Context, cli *client.Client, volume string) error

Remove will remove a Docker volume, which will be used exclusively for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL