NamedResourcesFilterPatchArgs

data class NamedResourcesFilterPatchArgs(val selector: Output<String>? = null) : ConvertibleToJava<NamedResourcesFilterPatchArgs>

NamedResourcesFilter is used in ResourceFilterModel.

Constructors

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

Properties

Link copied to clipboard
val selector: Output<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()

Functions

Link copied to clipboard
open override fun toJava(): NamedResourcesFilterPatchArgs