util

package
v0.0.0-...-9d8613e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractApplicationPropertiesBytes

func ExtractApplicationPropertiesBytes(data map[string][]byte, consumer func(string, string)) error

ExtractApplicationPropertiesBytes --

func ExtractApplicationPropertiesString

func ExtractApplicationPropertiesString(data map[string]string, consumer func(string, string)) error

ExtractApplicationPropertiesString --

func FindAllDistinctStringSubmatch

func FindAllDistinctStringSubmatch(data string, regexps ...*regexp.Regexp) []string

FindAllDistinctStringSubmatch ..

func LookupEnvVar

func LookupEnvVar(vars []corev1.EnvVar, name string) *corev1.EnvVar

LookupEnvVar --

func RandomPassword

func RandomPassword() string

RandomPassword --

func StringSliceContains

func StringSliceContains(slice []string, items []string) bool

StringSliceContains --

func StringSliceExists

func StringSliceExists(slice []string, item string) bool

StringSliceExists --

func StringSliceJoin

func StringSliceJoin(slices ...[]string) []string

StringSliceJoin --

func StringSliceUniqueAdd

func StringSliceUniqueAdd(slice *[]string, item string) bool

StringSliceUniqueAdd append the given item if not already present in the slice

func Tar

func Tar(files map[string]string) (io.Reader, error)

Tar ...

func WaitForSignal

func WaitForSignal(sig chan os.Signal, exit func(int))

WaitForSignal --

func WriteFileWithContent

func WriteFileWithContent(buildDir string, relativePath string, content string) error

WriteFileWithContent --

Types

This section is empty.

Directories

Path Synopsis
opentracing

Jump to

Keyboard shortcuts

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