Skip to main content

Function: matchExpressionSimplifier()

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

Simplifies a matchExpressions array into an array of string representations.

Parameters

ParameterTypeDescription
matchExpressionsundefined | object[]the matchExpressionss array from a LabelSelector.

Returns

string[] | ""

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

Defined in

src/lib/k8s/index.ts:261