Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCompiler ¶
func GetCompiler() *compiler
Types ¶
type CompilationResult ¶
type CompilationResult struct {
Program cel.Program
Error *apiservercel.Error
Expression string
OutputType *cel.Type
Environment *cel.Env
// contains filtered or unexported fields
}
CompilationResult represents a compiled expression.
func (CompilationResult) DeviceMatches ¶
type Device ¶
type Device struct {
// Driver gets used as domain for any attribute which does not already
// have a domain prefix. If set, then it is also made available as a
// string attribute.
Driver string
Attributes map[resourceapi.QualifiedName]resourceapi.DeviceAttribute
Capacity map[resourceapi.QualifiedName]resource.Quantity
}
Device defines the input values for a CEL selector expression.
Click to show internal directories.
Click to hide internal directories.