NamedResourcesFilterPatch

data class NamedResourcesFilterPatch(val selector: String? = null)

NamedResourcesFilter is used in ResourceFilterModel.

Constructors

Link copied to clipboard
constructor(selector: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val selector: String? = null

Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity"a".isGreaterThan(quantity("0")) && attributes.stringslice"b".isSorted()