packager

package
v0.0.0-...-ed127e3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APPLICATION_DIR      = "applications"
	KUSTOMIZE_DIR        = "kustomize"
	DEPLOYMENT_DIR       = "deploy"
	TEMPLATE_DIR         = "template"
	CONFIGMAPS_DIR       = "params"
	SECRETS_DIR          = "secrets"
	TARGET_NAMESPACE_DIR = "target-namespaces"

	PARAM_FILE_EXT = ".env"

	EMPTY_PLACEHOLDER     = "__DEFAULT__"
	MANDATORY_PLACEHOLDER = "__MANDATORY__"

	COMMON_ANNOTATION_KEY = "app.kubernetes.io/saasi-pkg-uuid:"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationPkg

type ApplicationPkg struct {
	Uuid                 uuid.UUID
	AppConfig            config.ApplicationConfig
	DeployerContext      context.DeployerContext
	UuidDir              string
	KustomizeDir         string
	DeloymentDir         string
	TargetNamespaceDir   string
	UnsetMandatoryParams map[string][]string
	Error                error
}

func NewApplicationPkg

func NewApplicationPkg(appConfig config.ApplicationConfig, deployerContext *context.DeployerContext) *ApplicationPkg

Jump to

Keyboard shortcuts

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