Пример #1
0
func init() {
	// Register Softlayer provider with Koding
	provider.Register(Provider)

	// Makes softlayer-go to not output debug information.
	os.Setenv("NON_VERBOSE", "yes")
}
Пример #2
0
func init() {
	provider.Register(&provider.Provider{
		Name:         "marathon",
		ResourceName: "app",
		Machine:      newMachine,
		Stack:        newStack,
		Schema:       schema,
	})
}
Пример #3
0
func init() {
	provider.Register(&provider.Provider{
		Name:         "azure",
		ResourceName: "instance",
		Machine:      newMachine,
		Stack:        newStack,
		Schema: &provider.Schema{
			NewCredential: newCredential,
			NewBootstrap:  newBootstrap,
			NewMetadata:   newMetadata,
		},
	})
}
Пример #4
0
func init() {
	provider.Register(p)
}
Пример #5
0
func init() {
	provider.Register(doProvider)
}