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