- Add .gitignore: exclude compiled binaries, build artifacts, and Helm values files containing real secrets (authentik, prometheus) - Add all Kubernetes deployment manifests (deployment/) - Add services source code: ha-sync, device-inventory, games-console, paperclip, parts-inventory - Add Ansible orchestration: playbooks, roles, inventory, cloud-init - Add hardware specs, execution plans, scripts, HOMELAB.md - Add skills/homelab/SKILL.md + skills/install.sh to preserve Copilot skill - Remove previously-tracked inventory-cli binary from git index Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
26 lines
547 B
JavaScript
26 lines
547 B
JavaScript
|
|
/*!
|
|
* Connection states
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const STATES = module.exports = exports = Object.create(null);
|
|
|
|
const disconnected = 'disconnected';
|
|
const connected = 'connected';
|
|
const connecting = 'connecting';
|
|
const disconnecting = 'disconnecting';
|
|
const uninitialized = 'uninitialized';
|
|
|
|
STATES[0] = disconnected;
|
|
STATES[1] = connected;
|
|
STATES[2] = connecting;
|
|
STATES[3] = disconnecting;
|
|
STATES[99] = uninitialized;
|
|
|
|
STATES[disconnected] = 0;
|
|
STATES[connected] = 1;
|
|
STATES[connecting] = 2;
|
|
STATES[disconnecting] = 3;
|
|
STATES[uninitialized] = 99;
|