Documentation ¶
Index ¶
- func Contains(list []string, s string) bool
- func DefaultString(list ...string) string
- func GetEnvString(def string, keys ...string) string
- func MD5(data string) string
- func ToArray(m map[string]bool) []string
- func ToMap(arr []string) map[string]bool
- func UnstructuredObject(apiVersion string, kind string) *unstructured.Unstructured
- type SyncSteps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultString ¶
DefaultString expects multipls string args and returns the first non empty string
func GetEnvString ¶
GetEnvString - get env value of first key else default.
func UnstructuredObject ¶
func UnstructuredObject(apiVersion string, kind string) *unstructured.Unstructured
UnstructuredObject expects apiVersiona and kind, sets them in an *unstructured.Unstructured object and returns it
Types ¶
Click to show internal directories.
Click to hide internal directories.