const deviceVar …
const driverVar …
const attributesVar …
const capacityVar …
var lazyCompilerInit …
var lazyCompiler …
func GetCompiler() *compiler { … }
type CompilationResult …
type Device …
type compiler …
func newCompiler() *compiler { … }
type Options …
func (c compiler) CompileCELExpression(expression string, options Options) CompilationResult { … }
func getAttributeValue(attr resourceapi.DeviceAttribute) (any, error) { … }
var boolType …
func (c CompilationResult) DeviceMatches(ctx context.Context, input Device) (bool, *cel.EvalDetails, error) { … }
func mustBuildEnv() *environment.EnvSet { … }
func parseQualifiedName(name resourceapi.QualifiedName, defaultDomain string) (string, string) { … }
func newStringInterfaceMapWithDefault(adapter types.Adapter, value map[string]any, defaultValue ref.Val) traits.Mapper { … }
type mapper …
func (m mapper) Find(key ref.Val) (ref.Val, bool) { … }