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 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 ToPointer[T any](v T) *T
- 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 ¶
func ComputeHash ¶
func FromYamlConfig ¶
func RetrievalWithJSONPath ¶
func Safe2Int32 ¶
func ToYamlConfig ¶
func UnstructuredObjectWalk ¶
func UnstructuredObjectWalk(data interface{}, fn NodeProcessFn, onlyAccessNode bool) error
Types ¶
type NodeProcessFn ¶
Click to show internal directories.
Click to hide internal directories.