machinery

package
v0.0.0-...-5fbf559 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenRepo

func OpenRepo(gitpath string) *git.Repository

func PrintCurrentState

func PrintCurrentState(orderedEnvironments []Environments)

func PromotionSafety

func PromotionSafety(targetEnvironment string, orderedEnvironments []Environments) (bool, bool)

func Start

func Start(check string)

func View

func View()

Types

type Environments

type Environments struct {
	Order           int    `yaml:"order"`
	Name            string `yaml:"name"`
	Hash            string `yaml:"hash"`
	IsDefaultBranch bool   `yaml:"isDefaultBranch"`
}

func GetResolvedEnvironments

func GetResolvedEnvironments(environments []string, repo *git.Repository) []Environments

Jump to

Keyboard shortcuts

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