Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LocalSrc string `json:"local-src" yaml:"local-src"` Repo string `json:"repo" yaml:"repo"` Checkout string `json:"checkout" yaml:"checkout"` Nodes int `json:"nodes" yaml:"nodes"` ENS string `json:"ens-api" yaml:"ens-api"` LogLevel string `json:"loglevel" yaml:"loglevel"` Geth bool `json:"geth" yaml:"geth"` Config string `json:"config" yaml:"config"` Path string `json:"path" yaml:"path"` DockerLog string `json:"docker_log" yaml:"docker_log"` SwarmLog string `json:"swarm_log" yaml:"swarm_log"` Add string `json:"add" yaml:"add"` Follow bool `json:"follow" yaml:"follow"` }
Config defines the values needed by the application at runtime.
type ContainerInfo ¶
type ContainerInfo struct {
Containers []types.ContainerJSON `json:"containers" yaml:"containers"`
}
ContainerInfo is the data structure for the container information we output in JSON format to be used from build systems.
type DockerContainers ¶
type DockerContainers struct { ID string `json:"id" yaml:"id"` Created string `json:"created" yaml:"created"` Args []string `json:"args" yaml:"args"` State *types.ContainerState `json:"state" yaml:"state"` Image string `json:"image" yaml:"image"` HostsPath string `json:"hosts_path" yaml:"hosts_path"` LogPath string `json:"log_path" yaml:"log_path"` Node *types.ContainerNode `json:"node" yaml:"node"` Name string `json:"name" yaml:"name"` HostConfig *container.HostConfig `json:"host_config" yaml:"host_config"` }
DockerContainers is intended to be a lighter weight struct for types.ContainerJSON.
type NodeInfo ¶
type NodeInfo struct { CommPort string `json:"comm_port" yaml:"comm_port"` GatewayPort string `json:"gateway_port" yaml:"gateway_port"` WebsocketPort string `json:"websocket_port" yaml:"websocket_port"` AdminPort string `json:"admin_port" yaml:"admin_port"` Enode string `json:"enode" yaml:"enode"` Enr string `json:"enr" yaml:"enr"` ID string `json:"id" yaml:"id"` Name string `json:"name" yaml:"name"` ContainerID string `json:"container_id" yaml:"container_id"` ContainerNames []string `json:"container_names" yaml:"container_names"` IPAddress string `json:"ip" yaml:"ip"` }
NodeInfo holds data we need for peering.
Click to show internal directories.
Click to hide internal directories.