Skip to main content

Function: matchExpressionSimplifier()

function matchExpressionSimplifier(matchExpressions: object[] | undefined): "" | string[];

Defined in: lib/k8s/index.ts:273

Simplifies a matchExpressions array into an array of string representations.

Parameters

ParameterTypeDescription
matchExpressionsobject[] | undefinedthe matchExpressionss array from a LabelSelector.

Returns

"" | string[]

an array of simplified expression strings, or an empty string.