Documentation ¶
Overview ¶
Package component contains types for runtime components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ID_RONL = ID{Kind: RONL, Name: ""} //nolint: revive
ID_RONL is the identifier of the RONL component.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct { // Kind is the component kind. Kind Kind `json:"kind"` // Name is an optional component name. Name string `json:"name,omitempty"` }
ID is a unique component identifier.
func (ID) IsRONL ¶ added in v0.2401.0
IsRONL returns true iff the component identifier is the special RONL component identifier.
func (ID) MarshalText ¶
MarshalText serializes the component identifier into text form.
func (*ID) UnmarshalText ¶
UnmarshalText deserializes the component identifier from text form.
Click to show internal directories.
Click to hide internal directories.