adapter

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtobomTypeAdapter

type ProtobomTypeAdapter struct{}

The Protobom TypeAdapter converts native protobom elements resulting from the graph API operations or evaluations into their CEL-friendly wrappers that implenent ref.Val

func (ProtobomTypeAdapter) NativeToValue

func (ProtobomTypeAdapter) NativeToValue(value any) ref.Val

NativeToValue converts from the native protobom elements to their elements.* wrappers so that they can be handled in the CEL environment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL