ClusterInfo represents information about the swarm as is returned by the "/info" endpoint. Join-tokens are not included. ClusterInfo

interface ClusterInfo {
    CreatedAt?: string;
    DataPathPort?: number;
    DefaultAddrPool?: string[];
    ID?: string;
    RootRotationInProgress?: boolean;
    Spec?: SwarmSpec;
    SubnetSize?: number;
    TLSInfo?: TLSInfo;
    UpdatedAt?: string;
    Version?: ObjectVersion;
}

Properties

CreatedAt?: string

Date and time at which the swarm was initialised in RFC 3339 format with nano-seconds.

DataPathPort?: number

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.

DefaultAddrPool?: string[]

Default Address Pool specifies default subnet pools for global scope networks.

ID?: string

The ID of the swarm.

RootRotationInProgress?: boolean

Whether there is currently a root CA rotation in progress for the swarm

Spec?: SwarmSpec
SubnetSize?: number

SubnetSize specifies the subnet size of the networks created from the default subnet pool.

TLSInfo?: TLSInfo
UpdatedAt?: string

Date and time at which the swarm was last updated in RFC 3339 format with nano-seconds.

Version?: ObjectVersion