volumes

package
v1.0.33 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// List returns all available volumes
	List(ctx context.Context) ([]Volume, error)
	// Create creates a new volume
	Create(ctx context.Context, name string, options interface{}) (Volume, error)
	// Delete deletes an existing volume
	Delete(ctx context.Context, volumeID string, options interface{}) error
	// Inspect inspects an existing volume
	Inspect(ctx context.Context, volumeID string) (Volume, error)
}

Service interacts with the underlying container backend

type Volume

type Volume struct {
	ID          string
	Description string
}

Volume volume info

Jump to

Keyboard shortcuts

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