Documentation ¶
Index ¶
- func FilterKeysWithoutPrefix(object map[string]string, prefix string) map[string]string
- func FilterMap(originalMap map[string]string, substring string) map[string]string
- func IsOnOpenshift(config *rest.Config) (bool, error)
- func MergeMaps(m1 map[string]string, m2 map[string]string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterKeysWithoutPrefix ¶
FilterKeysWithoutPrefix removes keys from a map if they don't start with a given prefix
func FilterMap ¶
FilterMap returns a new map containing only the key-value pairs where the key contains the specified substring.
func IsOnOpenshift ¶
IsOnOpenshift returns true if the cluster has the openshift config group
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.