Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerImage ¶
type DockerImage struct { Image string Workdir string Volumes map[string]string Env map[string]string }
DockerImage provides based on downloadable docker images.
func (*DockerImage) Executor ¶ added in v0.0.7
func (p *DockerImage) Executor(verbose bool) (clitool.Executor, error)
Executor creates the execution environment
func (*DockerImage) Shell ¶ added in v0.0.7
func (p *DockerImage) Shell() error
func (*DockerImage) Start ¶ added in v0.0.7
func (p *DockerImage) Start() error
Build pulls the required image.
func (*DockerImage) Stop ¶ added in v0.0.7
func (p *DockerImage) Stop() error
type DockerRunner ¶ added in v0.0.7
type DockerRunner struct { Image *DockerImage Keep bool // keep container Verbose bool }
type Provider ¶
type Provider interface { // Start prepare/starts up the provider Start() error // Stop shuts down the provider and cleans up resources if possible Stop() error // Executor creates the execution environment Executor(verbose bool) (clitool.Executor, error) // Shell starts an interactive shell if possible Shell() error }
Provider defines available functionality all cross build providers MUST implement.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry of available cross build environment providers.
func NewRegistry ¶
NewRegistry creates a new Regsitry.
Click to show internal directories.
Click to hide internal directories.