warp

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Batch added in v0.1.0

func Batch(ctx context.Context, batchCfg *BatchCfg) error

Batch executes a batch.

func Deploy added in v0.1.0

func Deploy(ctx context.Context, deployCfg *DeployCfg) error

Deploy implements the "deploy" command.

func Gc

func Gc(ctx context.Context, gcCfg *GcCfg) error

Gc implements the "gc" command.

func Hold

func Hold(holdCfg *HoldConfig) error

Hold deploy a stacks, then hold it until either 1) the run specifications are executed, 2) the user requests it (via, e.g., Ctl-C).

func Lint added in v0.1.0

func Lint(ctx context.Context, lintCfg *LintCfg) error

Lint implements the "lint" command.

Types

type BatchCfg added in v0.1.0

type BatchCfg struct {
	WorkingDir           string
	ConfigPath           string
	BatchPath            string
	Parallelism          int
	MaxStacksPerPipeline int
	Tags                 string
	Focus                string
	Bail                 bool
	Advisory             bool
	Report               string
	Stream               bool
}

BatchCfg configures the Batch function.

type DeployCfg added in v0.1.0

type DeployCfg struct {
	WorkingDir   string
	ConfigPath   string
	PipelinePath string
}

DeployCfg configures the "deploy" command.

type GcCfg

type GcCfg struct {
	WorkingDir                     string
	ConfigPath                     string
	Family                         string
	PreservePersistentVolumeClaims bool
	DiscardPersistentVolumeClaims  bool
}

GcCfg configures the "gc" command.

type HoldConfig

type HoldConfig struct {
	WorkingDir   string
	ConfigPath   string
	PipelinePath string
	Dev          bool
	Tail         bool
	Run          []string
	Setup        string
	DumpEnv      string
	PersistEnv   bool
	Wait         bool
}

HoldConfig gives the configuration for the Hold function.

type LintCfg added in v0.1.0

type LintCfg struct {
	WorkingDir   string
	ConfigPath   string
	PipelinePath string
}

LintCfg configures the "lint" command.

Jump to

Keyboard shortcuts

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