Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶ added in v0.2202.0
type Status struct { // Status is a concise status of the committee node. Status StatusState `json:"status"` }
Status is the executor worker status.
type StatusState ¶ added in v0.2202.0
type StatusState uint8
StatusState is the concise status state of the common runtime worker.
const ( // StatusStateReady is the ready status state. StatusStateReady StatusState = 0 // StatusStateWaitingRuntime is the waiting for runtime initialization status state. StatusStateWaitingRuntime StatusState = 1 // StatusStateWaitingTrustSync is the waiting for runtime trust sync status state. StatusStateWaitingTrustSync StatusState = 2 )
func (StatusState) MarshalText ¶ added in v0.2202.0
func (s StatusState) MarshalText() ([]byte, error)
MarshalText encodes a StatusState into text form.
func (StatusState) String ¶ added in v0.2202.0
func (s StatusState) String() string
String returns a string representation of a status state.
func (*StatusState) UnmarshalText ¶ added in v0.2202.0
func (s *StatusState) UnmarshalText(text []byte) error
UnmarshalText decodes a text slice into a StatusState.
Click to show internal directories.
Click to hide internal directories.