 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const DefaultDriverName = "local"
    Variables ¶
This section is empty.
Functions ¶
func ReadWrite ¶ added in v1.8.0
ReadOnly tells you if a mode string is a valid read-only mode or not.
func ValidateMountMode ¶ added in v1.8.0
ValidateMountMode will make sure the mount mode is valid. returns if it's a valid mount mode and if it's read-write or not.
Types ¶
type Volume ¶
type Volume interface {
	// Name returns the name of the volume
	Name() string
	// DriverName returns the name of the driver which owns this volume.
	DriverName() string
	// Path returns the absolute path to the volume.
	Path() string
	// Mount mounts the volume and returns the absolute path to
	// where it can be consumed.
	Mount() (string, error)
	// Unmount unmounts the volume when it is no longer in use.
	Unmount() error
}
     Click to show internal directories. 
   Click to hide internal directories.