bootstrap

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StageIdValidation = regexp.MustCompile(`^([a-zA-Z0-9_/:.\-]+)$`)

Functions

func Chdir

func Chdir(ctx *context.Context, cfg config.Config, data schema.SchemaConfig)

func CloudBuild added in v0.0.5

func CloudBuild(rootCtx *context.Context, data schema.SchemaConfig) error

func Config

func Config(ctx *context.Context, cfg *config.Config) schema.SchemaConfig

func ExpandSources

func ExpandSources(ctx *context.Context, data *schema.SchemaConfig)

func GetStateForStage

func GetStateForStage(ctx *context.Context, stage schema.StageConfig) (state.State, storage.Backend)

func Graph

func Graph(ctx *context.Context, data schema.SchemaConfig)

func LoadStateBackend

func LoadStateBackend(ctx *context.Context, state string) storage.Backend

func LockState

func LockState(ctx *context.Context, lockPath string, stateBackend storage.Backend)

func LogStreamer added in v0.0.5

func LogStreamer(client *storage.Client, logsBucket string, logsObject string, writer io.Writer, ctx goctx.Context, wg *sync.WaitGroup)

func MatrixRun

func MatrixRun(ctx *context.Context, data schema.SchemaConfig, cfg config.Config)

func OverrideParams

func OverrideParams(ctx *context.Context, cfg config.Config)

func Params

func Params(ctx *context.Context, data schema.SchemaConfig, noInteractive bool)

func RenderState

func RenderState(st state.State)

func SafeDeleteTempDir

func SafeDeleteTempDir(ctx *context.Context)

func SimpleRun

func SimpleRun(ctx *context.Context, cfg config.Config, data schema.SchemaConfig)

func StageValidate

func StageValidate(ctx *context.Context, data schema.SchemaConfig)

func Summary

func Summary(ctx *context.Context)

func TempDir

func TempDir(ctx *context.Context)

func Templating

func Templating(ctx *context.Context)

func UnlockAllStates

func UnlockAllStates(rootCtx *context.Context, data schema.SchemaConfig)

func UnlockState

func UnlockState(rootCtx *context.Context, stage schema.StageConfig, ignoreErrors bool)

func UpdateStateForStage

func UpdateStateForStage(ctx *context.Context, stage schema.StageConfig, stateManager storage.Backend, init bool) state.State

func VerifyParams

func VerifyParams(ctx *context.Context, data schema.SchemaConfig)

Types

type InternalProviders

type InternalProviders map[string]schema.Provider

func Providers

func Providers(ctx *context.Context, data schema.SchemaConfig) InternalProviders

func (InternalProviders) GatherInfo

func (providers InternalProviders) GatherInfo(ctx *context.Context)

func (InternalProviders) Get

func (providers InternalProviders) Get(id string) schema.Provider

func (InternalProviders) SetContext

func (providers InternalProviders) SetContext(ctx *context.Context, data schema.SchemaConfig)

func (InternalProviders) UnloadAll

func (providers InternalProviders) UnloadAll(ctx *context.Context)

Jump to

Keyboard shortcuts

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