secrets

package
v1.24.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DefaultSecretValuesFileName = "secret-values.yaml"
	SecretDirName               = "secret"
)

Variables

View Source
var CoalesceTablesFunc func(dst, src map[string]interface{}) map[string]interface{}

Functions

func GetDefaultSecretValuesFile

func GetDefaultSecretValuesFile(loadedChartFiles []*file.ChartExtenderBufferedFile) *file.ChartExtenderBufferedFile

func GetSecretDirFiles

func GetSecretDirFiles(loadedChartFiles []*file.ChartExtenderBufferedFile) []*file.ChartExtenderBufferedFile

func LoadChartSecretDirFilesData

func LoadChartSecretDirFilesData(
	secretFiles []*file.ChartExtenderBufferedFile,
	encoder *secret.YamlEncoder,
) (map[string]string, error)

func LoadChartSecretValueFiles

func LoadChartSecretValueFiles(
	secretDirFiles []*werffile.ChartExtenderBufferedFile,
	encoder *secret.YamlEncoder,
) (map[string]interface{}, error)

Types

type SecretsRuntimeData

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

func NewSecretsRuntimeData

func NewSecretsRuntimeData() *SecretsRuntimeData

func (*SecretsRuntimeData) DecodeAndLoadSecrets

func (secretsRuntimeData *SecretsRuntimeData) DecodeAndLoadSecrets(
	ctx context.Context,
	loadedChartFiles []*werffile.ChartExtenderBufferedFile,
	secretsManager *secrets_manager.SecretsManager,
	opts runtimedata.DecodeAndLoadSecretsOptions,
) error

func (*SecretsRuntimeData) GetDecryptedSecretFilesData

func (secretsRuntimeData *SecretsRuntimeData) GetDecryptedSecretFilesData() map[string]string

func (*SecretsRuntimeData) GetDecryptedSecretValues

func (secretsRuntimeData *SecretsRuntimeData) GetDecryptedSecretValues() map[string]interface{}

func (*SecretsRuntimeData) GetEncodedSecretValues

func (secretsRuntimeData *SecretsRuntimeData) GetEncodedSecretValues(
	ctx context.Context,
	secretsManager *secrets_manager.SecretsManager,
	secretsWorkingDir string,
	noDecryptSecrets bool,
) (map[string]interface{}, error)

func (*SecretsRuntimeData) GetSecretValuesToMask

func (secretsRuntimeData *SecretsRuntimeData) GetSecretValuesToMask() []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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