Documentation
¶
Index ¶
- type CallReturnedRunUpdate
- type CallWaitRunState
- func (c *CallWaitRunState) Args() []*apivalues.Value
- func (c *CallWaitRunState) CallValue() *apivalues.Value
- func (*CallWaitRunState) IsDiscardable() bool
- func (*CallWaitRunState) IsFinal() bool
- func (*CallWaitRunState) IsRunState() bool
- func (c *CallWaitRunState) Kws() map[string]*apivalues.Value
- func (*CallWaitRunState) Name() string
- type CanceledRunState
- type ClientErrorRunState
- type CompletedRunState
- type ErrorRunState
- type LoadReturnedRunUpdate
- type LoadWaitRunState
- type PrintRunUpdate
- type RunState
- func MustNewRunState(state runState) *RunState
- func MustRunStateFromProto(pb *pblang.RunState) *RunState
- func NewCallReturnedRunUpdate(retval *apivalues.Value, err *apiprogram.Error) *RunState
- func NewCallWaitRunState(call *apivalues.Value, args []*apivalues.Value, ...) *RunState
- func NewCanceledRunState(reason string, callstack []*apiprogram.CallFrame) *RunState
- func NewClientErrorRunState(err error) *RunState
- func NewCompletedRunState(vs map[string]*apivalues.Value) *RunState
- func NewErrorRunState(err *apiprogram.Error) *RunState
- func NewLoadReturnedRunUpdate(vs map[string]*apivalues.Value, err *apiprogram.Error, sum *RunSummary) *RunState
- func NewLoadWaitRunState(path *apiprogram.Path) *RunState
- func NewPrintRunUpdateState(text string) *RunState
- func NewRunState(state runState) (*RunState, error)
- func NewRunningRunState() *RunState
- func RunStateFromProto(pb *pblang.RunState) (*RunState, error)
- func (r *RunState) Clone() *RunState
- func (r *RunState) Get() runState
- func (r *RunState) IsDiscardable() bool
- func (r *RunState) IsFinal() bool
- func (r *RunState) IsRunning() bool
- func (r *RunState) IsState() bool
- func (p *RunState) MarshalJSON() ([]byte, error)
- func (r *RunState) Name() string
- func (r *RunState) PB() *pblang.RunState
- func (p *RunState) UnmarshalJSON(bs []byte) error
- type RunStateLogRecord
- func (r *RunStateLogRecord) Clone() *RunStateLogRecord
- func (p *RunStateLogRecord) MarshalJSON() ([]byte, error)
- func (r *RunStateLogRecord) PB() *pblang.RunStateLogRecord
- func (p *RunStateLogRecord) UnmarshalJSON(bs []byte) error
- func (r *RunStateLogRecord) WithSource(path *apiprogram.Path) *RunStateLogRecord
- type RunSummary
- type RunningRunState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallReturnedRunUpdate ¶
type CallReturnedRunUpdate struct {
// contains filtered or unexported fields
}
func (*CallReturnedRunUpdate) IsDiscardable ¶
func (*CallReturnedRunUpdate) IsDiscardable() bool
func (*CallReturnedRunUpdate) IsFinal ¶
func (*CallReturnedRunUpdate) IsFinal() bool
func (*CallReturnedRunUpdate) IsRunState ¶
func (*CallReturnedRunUpdate) IsRunState() bool
func (*CallReturnedRunUpdate) Name ¶
func (*CallReturnedRunUpdate) Name() string
type CallWaitRunState ¶
type CallWaitRunState struct {
// contains filtered or unexported fields
}
func (*CallWaitRunState) Args ¶
func (c *CallWaitRunState) Args() []*apivalues.Value
func (*CallWaitRunState) CallValue ¶
func (c *CallWaitRunState) CallValue() *apivalues.Value
func (*CallWaitRunState) IsDiscardable ¶
func (*CallWaitRunState) IsDiscardable() bool
func (*CallWaitRunState) IsFinal ¶
func (*CallWaitRunState) IsFinal() bool
func (*CallWaitRunState) IsRunState ¶
func (*CallWaitRunState) IsRunState() bool
func (*CallWaitRunState) Name ¶
func (*CallWaitRunState) Name() string
type CanceledRunState ¶
type CanceledRunState struct {
// contains filtered or unexported fields
}
func (*CanceledRunState) CallStack ¶
func (c *CanceledRunState) CallStack() []*apiprogram.CallFrame
func (*CanceledRunState) IsDiscardable ¶
func (*CanceledRunState) IsDiscardable() bool
func (*CanceledRunState) IsFinal ¶
func (*CanceledRunState) IsFinal() bool
func (*CanceledRunState) IsRunState ¶
func (*CanceledRunState) IsRunState() bool
func (*CanceledRunState) Name ¶
func (*CanceledRunState) Name() string
type ClientErrorRunState ¶
type ClientErrorRunState struct {
// contains filtered or unexported fields
}
func (*ClientErrorRunState) Error ¶
func (c *ClientErrorRunState) Error() string
func (*ClientErrorRunState) IsDiscardable ¶
func (*ClientErrorRunState) IsDiscardable() bool
func (*ClientErrorRunState) IsFinal ¶
func (*ClientErrorRunState) IsFinal() bool
func (*ClientErrorRunState) IsRunState ¶
func (*ClientErrorRunState) IsRunState() bool
func (*ClientErrorRunState) Name ¶
func (*ClientErrorRunState) Name() string
type CompletedRunState ¶
type CompletedRunState struct {
// contains filtered or unexported fields
}
func (*CompletedRunState) IsDiscardable ¶
func (*CompletedRunState) IsDiscardable() bool
func (*CompletedRunState) IsFinal ¶
func (*CompletedRunState) IsFinal() bool
func (*CompletedRunState) IsRunState ¶
func (*CompletedRunState) IsRunState() bool
func (*CompletedRunState) Name ¶
func (*CompletedRunState) Name() string
type ErrorRunState ¶
type ErrorRunState struct {
// contains filtered or unexported fields
}
func (*ErrorRunState) Error ¶
func (e *ErrorRunState) Error() error
func (*ErrorRunState) IsDiscardable ¶
func (*ErrorRunState) IsDiscardable() bool
func (*ErrorRunState) IsFinal ¶
func (*ErrorRunState) IsFinal() bool
func (*ErrorRunState) IsRunState ¶
func (*ErrorRunState) IsRunState() bool
func (*ErrorRunState) Name ¶
func (*ErrorRunState) Name() string
type LoadReturnedRunUpdate ¶
type LoadReturnedRunUpdate struct {
// contains filtered or unexported fields
}
func (*LoadReturnedRunUpdate) IsDiscardable ¶
func (*LoadReturnedRunUpdate) IsDiscardable() bool
func (*LoadReturnedRunUpdate) IsFinal ¶
func (*LoadReturnedRunUpdate) IsFinal() bool
func (*LoadReturnedRunUpdate) IsRunState ¶
func (*LoadReturnedRunUpdate) IsRunState() bool
func (*LoadReturnedRunUpdate) Name ¶
func (*LoadReturnedRunUpdate) Name() string
type LoadWaitRunState ¶
type LoadWaitRunState struct {
// contains filtered or unexported fields
}
func (*LoadWaitRunState) IsDiscardable ¶
func (*LoadWaitRunState) IsDiscardable() bool
func (*LoadWaitRunState) IsFinal ¶
func (*LoadWaitRunState) IsFinal() bool
func (*LoadWaitRunState) IsRunState ¶
func (*LoadWaitRunState) IsRunState() bool
func (*LoadWaitRunState) Name ¶
func (*LoadWaitRunState) Name() string
func (*LoadWaitRunState) Path ¶
func (l *LoadWaitRunState) Path() *apiprogram.Path
type PrintRunUpdate ¶
type PrintRunUpdate struct {
// contains filtered or unexported fields
}
func (*PrintRunUpdate) IsDiscardable ¶
func (*PrintRunUpdate) IsDiscardable() bool
func (*PrintRunUpdate) IsFinal ¶
func (*PrintRunUpdate) IsFinal() bool
func (*PrintRunUpdate) IsRunState ¶
func (*PrintRunUpdate) IsRunState() bool
func (*PrintRunUpdate) Name ¶
func (*PrintRunUpdate) Name() string
func (*PrintRunUpdate) Text ¶
func (r *PrintRunUpdate) Text() string
type RunState ¶
type RunState struct {
// contains filtered or unexported fields
}
func MustNewRunState ¶
func MustNewRunState(state runState) *RunState
func MustRunStateFromProto ¶
func NewCallReturnedRunUpdate ¶
func NewCallReturnedRunUpdate(retval *apivalues.Value, err *apiprogram.Error) *RunState
func NewCallWaitRunState ¶
func NewCanceledRunState ¶
func NewCanceledRunState(reason string, callstack []*apiprogram.CallFrame) *RunState
func NewClientErrorRunState ¶
func NewErrorRunState ¶
func NewErrorRunState(err *apiprogram.Error) *RunState
func NewLoadReturnedRunUpdate ¶
func NewLoadReturnedRunUpdate(vs map[string]*apivalues.Value, err *apiprogram.Error, sum *RunSummary) *RunState
func NewLoadWaitRunState ¶
func NewLoadWaitRunState(path *apiprogram.Path) *RunState
func NewPrintRunUpdateState ¶
func NewRunState ¶
func NewRunningRunState ¶
func NewRunningRunState() *RunState
func (*RunState) IsDiscardable ¶
func (*RunState) MarshalJSON ¶
func (*RunState) UnmarshalJSON ¶
type RunStateLogRecord ¶
type RunStateLogRecord struct {
// contains filtered or unexported fields
}
func MustRunStateLogRecordFromProto ¶
func MustRunStateLogRecordFromProto(pb *pblang.RunStateLogRecord) *RunStateLogRecord
func NewRunStateLogRecord ¶
func NewRunStateLogRecord(s *RunState, t *time.Time) *RunStateLogRecord
func RunStateLogRecordFromProto ¶
func RunStateLogRecordFromProto(pb *pblang.RunStateLogRecord) (*RunStateLogRecord, error)
func (*RunStateLogRecord) Clone ¶
func (r *RunStateLogRecord) Clone() *RunStateLogRecord
func (*RunStateLogRecord) MarshalJSON ¶
func (p *RunStateLogRecord) MarshalJSON() ([]byte, error)
func (*RunStateLogRecord) PB ¶
func (r *RunStateLogRecord) PB() *pblang.RunStateLogRecord
func (*RunStateLogRecord) UnmarshalJSON ¶
func (p *RunStateLogRecord) UnmarshalJSON(bs []byte) error
func (*RunStateLogRecord) WithSource ¶
func (r *RunStateLogRecord) WithSource(path *apiprogram.Path) *RunStateLogRecord
type RunSummary ¶
type RunSummary struct {
// contains filtered or unexported fields
}
func MustRunSummaryFromProto ¶
func MustRunSummaryFromProto(pb *pblang.RunSummary) *RunSummary
func NewRunSummary ¶
func NewRunSummary(log []*RunStateLogRecord, prints []string) *RunSummary
func RunSummaryFromProto ¶
func RunSummaryFromProto(pb *pblang.RunSummary) (*RunSummary, error)
func (*RunSummary) Add ¶
func (s *RunSummary) Add(log *RunStateLogRecord)
func (*RunSummary) Clone ¶
func (s *RunSummary) Clone() *RunSummary
func (*RunSummary) Flatten ¶
func (s *RunSummary) Flatten() *RunSummary
func (*RunSummary) MarshalJSON ¶
func (p *RunSummary) MarshalJSON() ([]byte, error)
func (*RunSummary) PB ¶
func (s *RunSummary) PB() *pblang.RunSummary
func (*RunSummary) UnmarshalJSON ¶
func (p *RunSummary) UnmarshalJSON(bs []byte) error
type RunningRunState ¶
type RunningRunState struct {
// contains filtered or unexported fields
}
func (*RunningRunState) IsDiscardable ¶
func (*RunningRunState) IsDiscardable() bool
func (*RunningRunState) IsFinal ¶
func (*RunningRunState) IsFinal() bool
func (*RunningRunState) IsRunState ¶
func (*RunningRunState) IsRunState() bool
func (*RunningRunState) Name ¶
func (*RunningRunState) Name() string
Click to show internal directories.
Click to hide internal directories.