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.
Click to show internal directories.
Click to hide internal directories.