Documentation
¶
Index ¶
- Variables
- type Bomshell
- type Document
- type Node
- type NodeList
- func (nl NodeList) Add(incoming ref.Val)
- func (nl NodeList) AddEdge(from string, t sbom.Edge_Type, to []string)
- func (nl NodeList) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (nl NodeList) ConvertToType(typeVal ref.Type) ref.Val
- func (nl NodeList) Equal(other ref.Val) ref.Val
- func (nl NodeList) HasNodeWithID(nodeID string) bool
- func (nl NodeList) Type() ref.Type
- func (nl NodeList) Value() interface{}
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BomshellObject = decls.NewObjectType("bomshell") BomshellType = cel.ObjectType("bomshell", traits.ReceiverType) )
View Source
var ( NodeObject = decls.NewObjectType("bomsquad.protobom.Node") NodeType = cel.ObjectType("bomsquad.protobom.Node") )
View Source
var ( NodeListObject = decls.NewObjectType("bomsquad.protobom.NodeList") NodeListType = cel.ObjectType("bomsquad.protobom.NodeList") )
View Source
var DocumentType = cel.ObjectType("bomsquad.protobom.Document")
Functions ¶
This section is empty.
Types ¶
type Bomshell ¶
type Bomshell struct{}
func (Bomshell) ConvertToNative ¶
func (Bomshell) ConvertToType ¶
ConvertToType implements ref.Val.ConvertToType.
type Document ¶
func (Document) ConvertToNative ¶
ConvertToNative implements ref.Val.ConvertToNative.
func (Document) ConvertToType ¶
ConvertToType implements ref.Val.ConvertToType.
type Node ¶
func (Node) ConvertToNative ¶
ConvertToNative implements ref.Val.ConvertToNative.
func (Node) ConvertToType ¶
ConvertToType implements ref.Val.ConvertToType.
func (Node) ToNodeList ¶
ToNodeList returns a new NodeList with the node as the only member
type NodeList ¶
func (NodeList) ConvertToNative ¶
ConvertToNative implements ref.Val.ConvertToNative.
func (NodeList) ConvertToType ¶
ConvertToType implements ref.Val.ConvertToType.
func (NodeList) HasNodeWithID ¶
HasNodeWithID Returns true if the NodeList already has a node with the specified ID
Click to show internal directories.
Click to hide internal directories.