common

package
v0.8.11 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineVariables

func CombineVariables(dotEnvMap map[string]string, flagArgs []string, buildFlagArgs []string) (*variables.Scope, error)

func GetBinaryName

func GetBinaryName() string

func GetPlatform

func GetPlatform() string

func IfNilBoolDefault

func IfNilBoolDefault(ptr *bool, defaultValue bool) bool

func IsEarthlyBinary

func IsEarthlyBinary(path string) bool

func ProcessSecrets

func ProcessSecrets(secrets, secretFiles []string, dotEnvMap map[string]string, secretsFilePath string) (map[string][]byte, error)

func PromptInput

func PromptInput(ctx context.Context, question string) (string, error)

func Wrap

func Wrap(s ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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