SwarmInfo

constructor(nodeID: String? = "", nodeAddr: String? = "", localNodeState: LocalNodeState? = LocalNodeState.EMPTY, controlAvailable: Boolean? = false, error: String? = "", remoteManagers: List<PeerNode>? = null, nodes: Int? = null, managers: Int? = null, cluster: ClusterInfo? = null)

Parameters

nodeID

Unique identifier of for this node in the swarm.

nodeAddr

IP address at which this node can be reached by other nodes in the swarm.

localNodeState
controlAvailable
error
remoteManagers

List of ID's and addresses of other managers in the swarm.

nodes

Total number of nodes in the swarm.

managers

Total number of managers in the swarm.

cluster