status: () => {
agreementSettings: string[];
capabilities: {
acceptedMissing: string[];
missing: string[];
ready: boolean;
rows: {
accepted: boolean;
by: string;
id: string;
note: any;
provided: boolean;
section: string;
what: string;
}[];
unknownAccepted: string[];
};
configured: string;
fingerprintSet: boolean;
heartbeatFailures: number;
heartbeatMs: number;
joinedAt: string;
lastHeartbeatError: string;
lastStallMs: any;
leases: { name: any; token: any }[];
mode: any;
msSinceRenewal: number;
name: any;
nodeId: string;
refused: any;
role: string;
ttlMs: number;
why: any;
} = status
Type Declaration
-
- (): {
agreementSettings: string[];
capabilities: {
acceptedMissing: string[];
missing: string[];
ready: boolean;
rows: {
accepted: boolean;
by: string;
id: string;
note: any;
provided: boolean;
section: string;
what: string;
}[];
unknownAccepted: string[];
};
configured: string;
fingerprintSet: boolean;
heartbeatFailures: number;
heartbeatMs: number;
joinedAt: string;
lastHeartbeatError: string;
lastStallMs: any;
leases: { name: any; token: any }[];
mode: any;
msSinceRenewal: number;
name: any;
nodeId: string;
refused: any;
role: string;
ttlMs: number;
why: any;
}
-
Returns {
agreementSettings: string[];
capabilities: {
acceptedMissing: string[];
missing: string[];
ready: boolean;
rows: {
accepted: boolean;
by: string;
id: string;
note: any;
provided: boolean;
section: string;
what: string;
}[];
unknownAccepted: string[];
};
configured: string;
fingerprintSet: boolean;
heartbeatFailures: number;
heartbeatMs: number;
joinedAt: string;
lastHeartbeatError: string;
lastStallMs: any;
leases: { name: any; token: any }[];
mode: any;
msSinceRenewal: number;
name: any;
nodeId: string;
refused: any;
role: string;
ttlMs: number;
why: any;
}
the status
Reports what this node says about itself, synchronously: its mode, role, heartbeat, leases and the capability verdict.