deploy

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 17 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) ([]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 DeployAppWithRestart added in v1.9.0

func DeployAppWithRestart(ctx context.Context, cluster *kubernetes.Cluster, app models.AppRef, username, expectedStageID string) ([]string, apierror.APIErrors)

DeployAppWithRestart is the same as DeployApp but it will also force Helm to perform a restart of the deployment

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