service

package
v0.3.67-rc88 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const StableVersion = "stable"

Variables

This section is empty.

Functions

func GetAwsPrefix

func GetAwsPrefix(flags *common.Flags) string

func GetCloudProvider

func GetCloudProvider(ctx context.Context, flags *common.Flags) model.CloudProvider

func GetConfig

func GetConfig(configFile string, codeCommit model.CodeRepo) model.Config

func GetLocalConfig

func GetLocalConfig(configFile string) model.Config

func GetModuleState

func GetModuleState(stepState *model.StateStep, moduleName string) *model.StateModule

func GetRemoteConfig

func GetRemoteConfig(codeCommit model.CodeRepo) model.Config

func GetStepState

func GetStepState(state *model.State, step model.Step) *model.StateStep

func MergeBaseConfig

func MergeBaseConfig(github github.Github, release *version.Version, patchConfig model.Config) model.Config

func MergeConfig

func MergeConfig(baseConfig model.Config, patchConfig model.Config) model.Config

TODO Confusing patch and base config naming

func PutConfig

func PutConfig(codeCommit model.CodeRepo, config model.Config)

func ValidateConfig

func ValidateConfig(config model.Config, state *model.State)

Types

type Agent

type Agent interface {
	CreatePipeline(version string) error
	UpdateProjectImage(version string) error
}

func NewAgent

func NewAgent(resources model.Resources) Agent

type Deleter

type Deleter interface {
	Delete()
	Destroy()
}

func NewDeleter

func NewDeleter(flags *common.Flags) Deleter

type Updater

type Updater interface {
	ProcessSteps()
}

func NewUpdater

func NewUpdater(flags *common.Flags) Updater

Jump to

Keyboard shortcuts

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