Exemplo n.º 1
0
func init() {
	core.RegisterDriver(providerName, newDriver)
	gofig.Register(configRegistration())
	mountDirectoryPath = util.LibFilePath("volumes")
	os.MkdirAll(mountDirectoryPath, 0755)
}
Exemplo n.º 2
0
func init() {
	volume.Register(ProviderName, Init)
	mountDirectoryPath = util.LibFilePath("volumes")
	os.MkdirAll(mountDirectoryPath, 0755)
}