compiler

package
v0.0.0-...-2084148 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: BlueOak-1.0.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler struct {
	// Environ provides a set of environment variables that
	// should be added to each pipeline step by default.
	Environ provider.Provider

	// Secret returns a named secret value that can be injected
	// into the pipeline step.
	Secret secret.Provider

	// Settings provides global settings that apply to
	// all pipelines.
	Settings Settings
}

Compiler compiles the Yaml configuration file to an intermediate representation optimized for simple execution.

func (*Compiler) Compile

func (c *Compiler) Compile(ctx context.Context, args runtime.CompilerArgs) runtime.Spec

Compile compiles the configuration file.

type Settings

type Settings struct {
	// TODO replace or remove
	Param1 string
	Param2 string
}

Settings defines default settings.

Jump to

Keyboard shortcuts

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