executionv010

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 6 Imported by: 8

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL