service

package
v0.3.79-rc105 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 23 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.Bucket) 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.Bucket) 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(patchConfig model.Config, baseConfig model.Config) model.Config

func PutConfig

func PutConfig(codeCommit model.Bucket, 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