Function: matchLabelsSimplifier()
function matchLabelsSimplifier(matchLabels: undefined | object, isEqualSeperator: boolean): string[] | ""
Simplifies a matchLabels object into an array of string expressions.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
matchLabels | undefined | object | undefined | the matchLabels object from a LabelSelector. |
isEqualSeperator | boolean | false | whether to use "=" as the separator instead of ":". |
Returns
string[] | ""
an array of simplified label strings, or an empty string.