volume

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package volume is used for managing docker volumes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ensure

func Ensure(controller *controller.Controller, volumeName string) (volume *types.Volume, err error)

Ensure makes sure specified volume exists and creates it if it is not present. Use empty string to generate name randomly.

func Find

func Find(controller *controller.Controller, volumeName string) (volume *types.Volume, err error)

Find finds a specified volume

func Remove

func Remove(controller *controller.Controller, volumeName string) error

Remove removes specified volume

Types

This section is empty.

Jump to

Keyboard shortcuts

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