Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentV010 ¶
type EnvironmentV010 struct {
Command common.ExecutionCommand
ControllerID string
PoolID string
ProviderConfigFile string
InstanceID string
BootstrapParams params.BootstrapInstance
}
func GetEnvironment ¶
func GetEnvironment() (EnvironmentV010, error)
func (EnvironmentV010) Run ¶
func (e EnvironmentV010) Run(ctx context.Context, provider ExternalProvider) (string, error)
func (EnvironmentV010) Validate ¶
func (e EnvironmentV010) Validate() error
type ExternalProvider ¶
type ExternalProvider interface {
// The common ExternalProvider interface
common.ExternalProvider
}
ExternalProvider defines an interface that external providers need to implement. This is very similar to the common.Provider interface, and was redefined here to decouple it, in case it may diverge from native providers.
Click to show internal directories.
Click to hide internal directories.