api

package
v0.2402.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL