Documentation ¶
Index ¶
- func CheckPathExists(path string) (bool, error)
- func ComputeHash(object interface{}) (string, error)
- func EqSet(left, right *Sets) bool
- func ExecShellCommand(cmd *exec.Cmd) (string, error)
- func FromConfigFiles(files []string) (map[string]string, error)
- func FromYamlConfig[T any](yamlConfig string, obj T) error
- func JSONPatch(originalJSON, modifiedJSON interface{}) ([]byte, error)
- func Max[T constraints.Ordered](l, r T) T
- func Min[T constraints.Ordered](l, r T) T
- func RetrievalWithJSONPath(jsonObj interface{}, jsonpath string) ([]byte, error)
- func RunShellCommand(cmd string, args ...string) (string, error)
- func Safe2Int32(v int) int32
- func ToArgs(m map[string]string) []string
- func ToYamlConfig(obj interface{}) ([]byte, error)
- func UnstructuredObjectWalk(data interface{}, fn NodeProcessFn, onlyAccessNode bool) error
- type NodeProcessFn
- type Sets
- type UpdateFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPathExists ¶ added in v0.6.0
func ComputeHash ¶
func FromYamlConfig ¶ added in v0.6.0
func Max ¶
func Max[T constraints.Ordered](l, r T) T
func Min ¶
func Min[T constraints.Ordered](l, r T) T
func RetrievalWithJSONPath ¶
func RunShellCommand ¶ added in v0.6.0
func Safe2Int32 ¶ added in v0.6.0
func ToYamlConfig ¶ added in v0.6.0
func UnstructuredObjectWalk ¶
func UnstructuredObjectWalk(data interface{}, fn NodeProcessFn, onlyAccessNode bool) error
Types ¶
type NodeProcessFn ¶
type Sets ¶ added in v0.6.0
type Sets = set.LinkedHashSetString
func Difference ¶
func MapKeyDifference ¶
Click to show internal directories.
Click to hide internal directories.