Documentation
¶
Index ¶
Constants ¶
const ( Key = "server" Address = Key + ".address" Token = Key + ".token" // Address other icebaths reach this server at, such as https://spark.example.com; none when they don't PublicURL = Key + ".public_url" // Longest the processes left once the server stopped get between the signal to end and the kill: every other process of its container // when it is the first, the processes orphaned below it when it runs below the container's init KillGrace = Key + ".kill_grace" // Files the process asks the system to let it hold open at once, as it starts; zero asks for nothing more than it was given OpenFiles = Key + ".open_files" // Most memory arenas the allocator of the C code in the process makes, as it starts, where that allocator is glibc's; zero leaves it Arenas = Key + ".malloc_arenas" )
const APIKeyLength = 16
Fewest characters of a key the HTTP API takes: what it guards runs commands, so a key short enough to guess is no key
const APIKeyVariable = "API_SERVER_KEY"
Variable that holds the key other programs reach the HTTP API of a profile with. The server makes one and keeps it in the .env of the profile it runs on unless the environment supplies one, and every other profile is reached with the key its own environment holds
const AddressVariable = "ICEBATH_SERVER_ADDRESS"
Variable that sets the address over the settings, such as a container's start gives it: a port published to a container reaches only an address of the container's network
const Port = "7433"
Port an icebath server listens on unless its address says another
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.