util

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSum

func CheckSum(s []byte) string

func DeleteValue

func DeleteValue(values map[string]interface{}, fields ...string)

func GetBoolValue

func GetBoolValue(values map[string]interface{}, fields ...string) (bool, bool)

func GetGitRepoRootDir added in v0.2.0

func GetGitRepoRootDir() string

func GetHostPort

func GetHostPort(endpoint string) (string, int32)

func GetTemplatedValues

func GetTemplatedValues(templateConfig string, values interface{}) ([]byte, error)

func JoinErrors

func JoinErrors(errs []error) string

func MergeValues

func MergeValues(origin, patch map[string]interface{})

func SetStringSlice

func SetStringSlice(values map[string]interface{}, v []string, fields ...string)

func SetValue

func SetValue(values map[string]interface{}, v interface{}, fields ...string)

only contains types bool, int64, float64, string, []interface{}, map[string]interface{}, json.Number and nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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