app

package
v0.0.0-...-991fa7e Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 31 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) 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

type Dashboard

type Dashboard struct {
	Name string
	URL  string
}

Jump to

Keyboard shortcuts

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