CELDeviceSelector

data class CELDeviceSelector(val expression: String)

CELDeviceSelector contains a CEL expression for selecting a device.

Constructors

Link copied to clipboard
constructor(expression: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort. The expression's input is an object named "device", which carries the following properties: