Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalRef ¶
type Ref ¶
type Ref struct {
Kind RefKind `json:"kind"`
Name string `json:"name,omitempty"`
Stored *StoredRef `json:"stored,omitempty"`
External *ExternalRef `json:"external,omitempty"`
Format string `json:"format,omitempty"`
Value json.RawMessage `json:"value,omitempty"`
}
func NewStoredRef ¶
func NewStoredRef(key jobdb.ArtifactKey) Ref
func ParseValue ¶ added in v0.0.111
ParseValue recognizes only the explicit discriminator at an artifact boundary. RawMessage preserves null versus missing and keeps resolved content opaque.
func (*Ref) DecodeFromMap ¶ added in v0.0.111
DecodeFromMap supports typed op inputs through the existing map decoder.
func (Ref) ValueBytes ¶ added in v0.0.111
ValueBytes serializes a resolved value without evaluating document contents.
type StoredRef ¶
type StoredRef struct {
Key jobdb.ArtifactKey `json:"key"`
}
Click to show internal directories.
Click to hide internal directories.