Documentation
¶
Overview ¶
Package identity defines Floret's durable execution and artifact identities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalid reports an identity outside Floret's canonical text format. ErrInvalid = errors.New("invalid Floret identity") )
Functions ¶
This section is empty.
Types ¶
type ArtifactID ¶
type ArtifactID string
func ParseArtifactID ¶
func ParseArtifactID(raw string) (ArtifactID, error)
func (ArtifactID) MarshalJSON ¶
func (id ArtifactID) MarshalJSON() ([]byte, error)
func (ArtifactID) MarshalText ¶
func (id ArtifactID) MarshalText() ([]byte, error)
func (ArtifactID) String ¶
func (id ArtifactID) String() string
func (*ArtifactID) UnmarshalJSON ¶
func (id *ArtifactID) UnmarshalJSON(data []byte) error
func (*ArtifactID) UnmarshalText ¶
func (id *ArtifactID) UnmarshalText(text []byte) error
type LogicalRequestID ¶
type LogicalRequestID string
func ParseLogicalRequestID ¶
func ParseLogicalRequestID(raw string) (LogicalRequestID, error)
func (LogicalRequestID) MarshalJSON ¶
func (id LogicalRequestID) MarshalJSON() ([]byte, error)
func (LogicalRequestID) MarshalText ¶
func (id LogicalRequestID) MarshalText() ([]byte, error)
func (LogicalRequestID) String ¶
func (id LogicalRequestID) String() string
func (*LogicalRequestID) UnmarshalJSON ¶
func (id *LogicalRequestID) UnmarshalJSON(data []byte) error
func (*LogicalRequestID) UnmarshalText ¶
func (id *LogicalRequestID) UnmarshalText(text []byte) error
type PromptScopeID ¶
type PromptScopeID string
func ParsePromptScopeID ¶
func ParsePromptScopeID(raw string) (PromptScopeID, error)
func (PromptScopeID) MarshalJSON ¶
func (id PromptScopeID) MarshalJSON() ([]byte, error)
func (PromptScopeID) MarshalText ¶
func (id PromptScopeID) MarshalText() ([]byte, error)
func (PromptScopeID) String ¶
func (id PromptScopeID) String() string
func (*PromptScopeID) UnmarshalJSON ¶
func (id *PromptScopeID) UnmarshalJSON(data []byte) error
func (*PromptScopeID) UnmarshalText ¶
func (id *PromptScopeID) UnmarshalText(text []byte) error
type RunID ¶
type RunID string
func ParseRunID ¶
func (RunID) MarshalJSON ¶
func (RunID) MarshalText ¶
func (*RunID) UnmarshalJSON ¶
func (*RunID) UnmarshalText ¶
type ThreadID ¶
type ThreadID string
func ParseThreadID ¶
func (ThreadID) MarshalJSON ¶
func (ThreadID) MarshalText ¶
func (*ThreadID) UnmarshalJSON ¶
func (*ThreadID) UnmarshalText ¶
type TraceID ¶
type TraceID string
func ParseTraceID ¶
func (TraceID) MarshalJSON ¶
func (TraceID) MarshalText ¶
func (*TraceID) UnmarshalJSON ¶
func (*TraceID) UnmarshalText ¶
type TurnID ¶
type TurnID string
func ParseTurnID ¶
func (TurnID) MarshalJSON ¶
func (TurnID) MarshalText ¶
func (*TurnID) UnmarshalJSON ¶
func (*TurnID) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.