deployment

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSecretDecryptionFailed = fmt.Errorf("secret decryption failed")
)

Functions

func DecodeSecrets

func DecodeSecrets(env map[string]string, conf DecodeSecretsConfig) (map[string]string, error)

func ParseDotEnvContent

func ParseDotEnvContent(content string) (map[string]string, error)

ParseDotEnvContent parses .env content from a string and returns key-value pairs.

func ParseDotEnvFile

func ParseDotEnvFile(filePath string) (map[string]string, error)

ParseDotEnvFile reads a .env file from the file system and returns key-value pairs.

Types

type DecodeSecretsConfig

type DecodeSecretsConfig struct {
	PGPPrivateKey         string
	PGPPrivateKeyPassword string
}

Jump to

Keyboard shortcuts

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