profile

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Name       string
	Repository string
	Password   string
	Env        []EnvVar
}

type EnvVar

type EnvVar struct {
	Name  string
	Value string
}

type Profile

type Profile struct {
	Env      []EnvVar
	Backends []*Backend
	Stages   []Stage
	Notify   []string
}

func (*Profile) Backend

func (p *Profile) Backend(name string) (*Backend, error)

func (*Profile) BuildEnv

func (p *Profile) BuildEnv(backend *Backend) []string

type Stage

type Stage struct {
	Command string
	Args    []string
}

Jump to

Keyboard shortcuts

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