warp

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: MIT Imports: 17 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 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 Rm

func Rm(rmCfg *RmCfg) error

Rm removes a stack.

Types

type GcCfg

type GcCfg struct {
	WorkingDir string
	ConfigPath string
	Family     string
}

type HoldConfig

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

HoldConfig gives the configuration for the Hold function.

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