Installedinterfaceno test imports itinterface InstalledA shell profile the script is in.
| Member | Type | What it is |
|---|---|---|
shell | Shell | |
files | readonly string[] | The files whose block was written. |
cache | string | The cached script they source. |
What arcactl remembers of a person's instances (commons data 0047-arcactl-init FR-011): a JSON file in its own settings folder that it owns whole, with the instances it knows, which is the default, and the profiles it has put the shell script into. It holds no password and no key: a password is in .pgpass, which libpq reads, and nowhere else.
Installedinterfaceno test imports itinterface InstalledA shell profile the script is in.
| Member | Type | What it is |
|---|---|---|
shell | Shell | |
files | readonly string[] | The files whose block was written. |
cache | string | The cached script they source. |
Knowninterfaceno test imports itinterface KnownAn instance arcactl knows.
| Member | Type | What it is |
|---|---|---|
name | string | |
env? | string | What it is for: dev, staging, prod. |
schema? | string | |
models? | readonly string[] | |
host? | string | |
port? | number | |
database? | string | |
user? | string | |
sslmode? | string | |
ownsService? | boolean | Whether arcactl wrote its service to pg_service.conf (and so owns it), as opposed to the person's own. |
planStateconstno test imports itconst planState: (paths: Paths, s: State) => Result<Change, FileError>Plans writing the state.
stateTextconstconst stateText: (s: State) => stringThe text of a state file: stable, so that writing the same state again changes nothing.
withInstancefunctionno test imports itfunction withInstance(s: State, k: Known, makeDefault: boolean): StateThe state with an instance put in: replaced where its name is there.