deploy

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package deploy provides the functionality to deploy an application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployApp

func DeployApp(ctx context.Context, cluster *kubernetes.Cluster, app models.AppRef, username, expectedStageID string, origin *models.ApplicationOrigin, start *int64) ([]string, apierror.APIErrors)

DeployApp deploys the referenced application via helm, based on the state held by CRD and associated secrets. It is the backend for the API deploypoint, as well as all the mutating endpoints, i.e. configuration and app changes (bindings, environment, scaling).

func UpdateImageURL

func UpdateImageURL(ctx context.Context, cluster *kubernetes.Cluster, app *unstructured.Unstructured, imageURL string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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