github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/container/export_test.go (about) 1 // Copyright 2014 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package container 5 6 var ( 7 NetworkInterfacesFile = &networkInterfacesFile 8 NewCloudInitConfigWithNetworks = newCloudInitConfigWithNetworks 9 CloudInitUserData = cloudInitUserData 10 ) 11 12 // IsLocked is used just to see if the local lock instance is locked, and 13 // is only required for use in tests. 14 func IsLocked(lock *Lock) bool { 15 return lock.lockFile != nil 16 }