Documentation ¶
Index ¶
- func CopyMaps[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2)
- func Default[T any](object *T, defaultValue T) T
- func Flatten(m map[string]interface{}) map[string][]byte
- func Float32PtrToIntPtr(float *float32) *int
- func ParseConnectionDetailsFromKubeYaml(kubeConfig []byte) (string, string)
- func Ptr[T any](v T) *T
- func SliceContainsIgnoreCase(slice []string, v1 string) bool
- func SliceEqualsFold(left []string, right []string) bool
- func Val[VAL any, PTR *VAL](ptr PTR) VAL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyMaps ¶
func CopyMaps[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2)
CopyMaps helper for copying map contents
func Float32PtrToIntPtr ¶
func ParseConnectionDetailsFromKubeYaml ¶
ParseConnectionDetailsFromKubeYaml extracts server Url and certificate bundle from kubeconfig and returns it, if parsing fails empty strings are returned
func SliceContainsIgnoreCase ¶
func SliceEqualsFold ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.