mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-16 03:14:28 -05:00
968cdc1a38
* cli: move internal packages Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: fix buildfiles Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * bazel: fix exclude dir Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * cli: move back libraries that will not be used by TF provider Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
32 lines
900 B
Go
32 lines
900 B
Go
/*
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
// Package helm provides types and functions shared across services.
|
|
package helm
|
|
|
|
import "helm.sh/helm/v3/pkg/chart"
|
|
|
|
// Release bundles all information necessary to create a helm release.
|
|
type Release struct {
|
|
Chart *chart.Chart
|
|
Values map[string]any
|
|
ReleaseName string
|
|
WaitMode WaitMode
|
|
}
|
|
|
|
// WaitMode specifies the wait mode for a helm release.
|
|
type WaitMode string
|
|
|
|
const (
|
|
// WaitModeNone specifies that the helm release should not wait for the resources to be ready.
|
|
WaitModeNone WaitMode = ""
|
|
// WaitModeWait specifies that the helm release should wait for the resources to be ready.
|
|
WaitModeWait WaitMode = "wait"
|
|
// WaitModeAtomic specifies that the helm release should
|
|
// wait for the resources to be ready and roll back atomically on failure.
|
|
WaitModeAtomic WaitMode = "atomic"
|
|
)
|