package web import ( "strings" "amadan.net/oficina/alta/provision" ) // Every state the engine records is a fixed code; this is the one place // they become words. An unknown code is shown as itself, which is honest // and greppable. var words = map[string]string{ "audit-ok": "Every environment holds exactly its recipe", "instance-waking": "The instance is starting", "awaiting-confirm": "Waiting for you to confirm on Home", "awaiting-confirm-directory": "Waiting for you to confirm on oficina.works", "awaiting-confirm-credential": "Waiting for you to confirm on id.oficina.works", "window-expired": "The confirmed window closed. Continue under a new plan.", "window-closed": "No window is open. Continue under a new plan.", "plan-expired": "The plan expired before it was confirmed. Submit a new one.", "home-busy": "Home already has a plan pending or a window open on that role", "home-unavailable": "Home did not answer. Alta will try again.", "home-not-initialized": "Home's directory is not initialized yet", "receipt-stale": "The owner receipt aged out; a new one is taken next", "owner-needed": "Retype the owner's address to continue", "owner-retype-needed": "Retype the owner's address: Alta no longer holds it", "owner-refused": "Home refused the owner. Have they signed in at oficina.works?", "seed-refused": "Home refused the team: the label may be taken at Home", "provision-refused": "Home refused the directory consumer", "register-refused": "Home refused the credential consumer", "record-unverified": "Home's provisioning record did not verify", "awaiting-platform-keys": "Waiting for the platform to deliver mail (and relay) credentials", "environment-absent": "The environment is not there yet", "extra-key": "The environment holds a key the recipe does not name", "host-held": "The host is held outside Alta's scope", "instance-bound-elsewhere": "The instance is bound to another environment", "domain-checking": "Hostname attached; the platform is checking it", "domain-pending-dns": "Hostname waits for DNS", "domain-issuing-cert": "Issuing the certificate", "domain-unverified": "The hostname needs its ownership proved", "domain-misdirected": "DNS points somewhere else", "domain-failed": "The certificate is failing", "domain-route": "The hostname points at another route", "restarting": "Restarting after a config change", "version-unreachable": "/api/version does not answer yet", "version-unstamped": "The build reports no version", "awaiting-box-report": "Waiting for the box to report what it serves", "serving-disagrees": "The box and /api/version disagree", "version-unacceptable": "/api/version answers something Home would not take as a version", "no-readiness-probe": "The app has no /api/team yet (Docs: it lands with the next Docs deploy)", "not-team-mode": "The app is not in team mode", "awaiting-roster": "Waiting for the app's roster", "attempt-expired": "The verification attempt lapsed; verifying again", "console-unavailable": "The console did not answer. Alta will try again.", "console-write": "The console refused a write", "transient": "Something went wrong. Alta will try again.", "guard": "Alta's own guard refused a request", "label-used": "That label has been used before. Labels are never reused.", "label-reserved": "That label is reserved: it names one of the suite's apps or its own services.", "label-shape": "A label is 3–32 lower-case letters, digits and hyphens, starting with a letter and ending with a letter or digit", "label-double-hyphen": "A label never has two hyphens together (that is how punycode names begin)", "profile-unknown": "Choose a profile: own or outside", "operator-keys-invalid": "A post-run pair is not as the app reads it: for Memoria, MEMORIA_AI is the variable on and MEMORIA_TENSORX_KEY a secret; for Equipo, EQUIPO_EXECUTION_ENABLED is 1 and EQUIPO_EXECUTION_MARKER_PATH is exactly /data/instances/