Documentation ¶
Overview ¶
Package simapi contains definitions of JSON objects used in the simulation API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecRequest ¶
type ExecRequest struct {
Command []string `json:"command"`
}
type NodeConfig ¶
type NodeConfig struct { Client string `json:"client"` Networks []string `json:"networks"` Environment map[string]string `json:"environment"` }
NodeConfig contains the launch parameters for a client container.
type NodeResponse ¶
NodeResponse is the description of a running client as returned by the API.
type StartNodeResponse ¶
type StartNodeResponse struct { ID string `json:"id"` // Container ID. IP string `json:"ip"` // IP address in bridge network }
StartNodeReponse is returned by the client startup endpoint.
Click to show internal directories.
Click to hide internal directories.