lifecycle

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: MPL-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HubEnvVarNameComponentName    = "HUB_COMPONENT"
	HubEnvVarNameComponentDir     = "HUB_COMPONENT_DIR"
	HubEnvVarNameStackBasedir     = "HUB_BASE_DIR"
	HubEnvVarNameRandom           = "HUB_RANDOM"
	SkaffoldKubeContextEnvVarName = "SKAFFOLD_KUBE_CONTEXT"
	HubEnvVarHubStackName         = "HUB_STACK_NAME"
)

Variables

This section is empty.

Functions

func AskParameter

func AskParameter(parameter manifest.Parameter,
	environment map[string]string, hubEnvironment, hubStackInstance, hubApplication string,
	isDeploy bool) (interface{}, error)

func BackupCreate

func BackupCreate(request *Request, bundles []string, jsonOutput, allowPartial bool, pipe io.WriteCloser)

func Execute

func Execute(request *Request, pipe io.WriteCloser)

func Invoke

func Invoke(request *Request)

func Render

func Render(manifestFilenames, stateFilenames []string, componentName,
	templateKind, additionalParametersStr string, templates []string)

Types

type BinVersion

type BinVersion struct {
	// contains filtered or unexported fields
}

type OpenErr

type OpenErr struct {
	Filename string
	Error    error
}

type Request

type Request struct {
	Verb                       string
	DryRun                     bool
	ManifestFilenames          []string
	StateFilenames             []string
	LoadFinalState             bool
	EnabledClouds              []string
	Component                  string   // invoke
	Components                 []string // deploy & undeploy, backup
	OffsetComponent            string   // deploy & undeploy
	LimitComponent             string   // deploy & undeploy
	GuessComponent             bool     // undeploy
	OsEnvironmentMode          string
	EnvironmentOverrides       string
	ComponentsBaseDir          string
	GitOutputs                 bool
	GitOutputsStatus           bool
	Environment                string
	StackInstance              string
	Application                string
	SyncStackInstance          bool
	SyncSkipParametersAndOplog bool
	WriteOplogToStateOnError   bool
}

type TemplateRef

type TemplateRef struct {
	Filename string
	Kind     string
}

Jump to

Keyboard shortcuts

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