app

package
v0.0.0-...-4eb781d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TERRAFORM_TOKEN_ENV = "CUVVA_TERRAFORM_TOKEN"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	DryRun bool
	SNS    *sns.SNS
}

func (App) AddToConfig

func (a App) AddToConfig(path, branchName, commitHash string) (bool, error)

func (App) LoadEnvs

func (a App) LoadEnvs(repoPath, system, env string) (map[string]struct{}, error)

func (App) PublishToSlack

func (a App) PublishToSlack(ctx context.Context, req *parsers.Params, commitMessage string, updatedFiles []string, repoPath string) error

func (App) RemFromConfig

func (a App) RemFromConfig(path string) (bool, error)

func (App) Update

func (a App) Update(ctx context.Context, req *parsers.Params, overruleChecks []string) error

func (App) UpdateDefault

func (a App) UpdateDefault(ctx context.Context, req *parsers.Params, overruleChecks []string) error

func (App) UpdateWeb

func (a App) UpdateWeb(ctx context.Context, req *parsers.Params, overruleChecks []string) error

Jump to

Keyboard shortcuts

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