The abstract K8 Client Filter adds the filterItem method to the class that extends it.

Hierarchy (View Summary)

Constructors

Methods

  • Filter a single item using metadata filter

    Parameters

    • items: any[]

      list of items

    • Optionalfilters: Record<string, string> = {}

      an object with metadata fields and value

    Returns any

    SoloError - multiple items found with filters

    MissingArgumentError - filters are required