warp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin

SPDX-License-Identifier: MIT Copyright (c) 2019 Hadrien Chauvin

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

func Gc

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

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

func Rm

func Rm(rmCfg *RmCfg) error

Rm removes a stack.

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
	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
}

type GcCfg

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

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
	Rm           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
}

type RmCfg

type RmCfg struct {
	WorkingDir   string
	ConfigPath   string
	PipelinePath string
	ShortNames   []string
	All          bool
}

RmCfg configures the Rm function.

Jump to

Keyboard shortcuts

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