utils

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEnvironmentApplicationName

func FindEnvironmentApplicationName(cliIn string) (string, string, error)

FindEnvironmentApplicationName slices cli input into environment and application names

func ReadSecrets

func ReadSecrets(secretsFile string) (map[string]string, error)

ReadSecrets reads key value pairs from file

func ValidateInputKey

func ValidateInputKey(cliIn string) error

ValidateInputKey checks if cli input is valid

func ValidateInputKeyPattern

func ValidateInputKeyPattern(cliIn string) error

ValidateInputKeyPattern checks if cli input is valid, also without key name

Types

This section is empty.

Jump to

Keyboard shortcuts

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