Documentation ¶
Index ¶
- Constants
- Variables
- func NewCIFSDriver(root, user, pass, domain, security, netrc string) cifsDriver
- func NewEFSDriver(root, az, nameserver string, resolve bool) efsDriver
- func NewNFSDriver(root string, version int, nfsopts string) nfsDriver
- func NewVolumeManager() *mountManager
- type DriverType
- type Lookup
- type Resolver
Constants ¶
View Source
const ( UsernameOpt = "username" PasswordOpt = "password" DomainOpt = "domain" SecurityOpt = "security" )
View Source
const ( NfsOptions = "nfsopts" DefaultNfsV3 = "port=2049,nolock,proto=tcp" )
View Source
const (
EfsTemplateURI = "%s.%s.efs.%s.amazonaws.com"
)
View Source
const (
MetaDataURL = "http://169.254.169.254/latest/dynamic/instance-identity/document"
)
View Source
const (
)Variables ¶
View Source
var ( ErrorEmpty = fmt.Errorf("Response was empty") ErrorParse = fmt.Errorf("Could not parse A record") )
View Source
var (
EmptyMap = map[string]string{}
)
Functions ¶
func NewCIFSDriver ¶
func NewCIFSDriver(root, user, pass, domain, security, netrc string) cifsDriver
func NewEFSDriver ¶
func NewNFSDriver ¶
func NewVolumeManager ¶
func NewVolumeManager() *mountManager
Types ¶
type DriverType ¶
type DriverType int
const ( CIFS DriverType = iota NFS EFS )
func (DriverType) String ¶
func (dt DriverType) String() string
Click to show internal directories.
Click to hide internal directories.