Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Execute ¶
type Execute struct { Type string `json:"type,omitempty"` RequestID string `json:"request_id,omitempty"` From peer.ID `json:"from,omitempty"` Code codes.Code `json:"code,omitempty"` Results execute.ResultMap `json:"results,omitempty"` Cluster execute.Cluster `json:"cluster,omitempty"` // Used to communicate the reason for failure to the user. Message string `json:"message,omitempty"` }
Execute describes the response to the `MessageExecute` message.
type FormCluster ¶
type FormCluster struct { Type string `json:"type,omitempty"` RequestID string `json:"request_id,omitempty"` From peer.ID `json:"from,omitempty"` Code codes.Code `json:"code,omitempty"` }
FormCluster describes the `MessageFormClusteRr` response.
type Health ¶
type Health struct { Type string `json:"type,omitempty"` From peer.ID `json:"from,omitempty"` Code int `json:"code,omitempty"` }
Health describes the message sent as a health ping.
type InstallFunction ¶
type InstallFunction struct { Type string `json:"type,omitempty"` From peer.ID `json:"from,omitempty"` Code codes.Code `json:"code,omitempty"` Message string `json:"message,omitempty"` }
InstallFunction describes the response to the `MessageInstallFunction` message.
type RollCall ¶
type RollCall struct { Type string `json:"type,omitempty"` From peer.ID `json:"from,omitempty"` Code codes.Code `json:"code,omitempty"` Role string `json:"role,omitempty"` FunctionID string `json:"function_id,omitempty"` RequestID string `json:"request_id,omitempty"` }
RollCall describes the `MessageRollCall` response payload.
Click to show internal directories.
Click to hide internal directories.