Cluster Info
@Serializable
ClusterInfo represents information about the swarm as is returned by the \"/info\" endpoint. Join-tokens are not included.
Parameters
ID
The ID of the swarm.
version
created At
Date and time at which the swarm was initialised in RFC 3339 format with nano-seconds.
updated At
Date and time at which the swarm was last updated in RFC 3339 format with nano-seconds.
spec
tl SInfo
root Rotation In Progress
Whether there is currently a root CA rotation in progress for the swarm
data Path Port
DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used.
default Addr Pool
Default Address Pool specifies default subnet pools for global scope networks.
subnet Size
SubnetSize specifies the subnet size of the networks created from the default subnet pool.
Constructors
Link copied to clipboard
constructor(ID: String? = null, version: ObjectVersion? = null, createdAt: String? = null, updatedAt: String? = null, spec: SwarmSpec? = null, tlSInfo: TLSInfo? = null, rootRotationInProgress: Boolean? = null, dataPathPort: Int? = null, defaultAddrPool: List<String>? = null, subnetSize: Int? = null)