Swarm Info
@Serializable
Represents generic information about swarm.
Parameters
node ID
Unique identifier of for this node in the swarm.
node Addr
IP address at which this node can be reached by other nodes in the swarm.
local Node State
control Available
error
remote Managers
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
Constructors
Link copied to clipboard
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)