func init() { environs.RegisterProvider("dummy", &providerInstance) // Prime the first ops channel, so that naive clients can use // the testing environment by simply importing it. c := make(chan Operation) go func() { for _ = range c { } }() discardOperations = c Reset() // parse errors are ignored providerDelay, _ = time.ParseDuration(os.Getenv("JUJU_DUMMY_DELAY")) }
func init() { p := manualProvider{} environs.RegisterProvider("manual", p, "null") }
func init() { environs.RegisterProvider("maas", maasEnvironProvider{}) }