Documentation
¶
Overview ¶
Package mount provides functionality for managing creation of container's mount points
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanUp ¶ added in v0.5.1
func CleanUp(controller *controller.Controller, mounts ...Mount) error
CleanUp takes in an array of mounts and removes all volumes in them. Use this function after you've finished all the work and want to remove all leftover volumes.
Types ¶
type Mount ¶
func NewMount ¶
func NewMount(controller *controller.Controller, volumeName string, folderInContainer string) (Mount, error)
NewMount returns new Mount object that can be later used to specify a mount point when building a config.
Click to show internal directories.
Click to hide internal directories.