domain/architecture/system/deployment/type.bend checks
raw source on the hub · import 0x3ffc69d4b5da64782dbe50fda425aa0c/domain/architecture/system/deployment/type.bend as Type
4 imports
import Base import ./host/type.bend as H import ./nix_darwin/type.bend as ND import ./azure/type.bend as Az
Types
type Role source · line 7 · raw
Data
A device is someone's own (a phone, a laptop); a server runs the system for others.
DeviceRole
ServerRole
type Platform source · line 12 · raw
Data
What configures a node: nothing V manages, nix-darwin, or an Azure subscription.
UnmanagedPlatform
Darwin@config:0x3ffc69d4b5da64782dbe50fda425aa0c/domain/architecture/system/deployment/nix_darwin/type.NixDarwin -> Platform
AzureCloud@config:0x3ffc69d4b5da64782dbe50fda425aa0c/domain/architecture/system/deployment/azure/type.Azure -> Platform
type Node source · line 18 · raw
Data
Where containers run: a machine, a runtime inside it, nested as deep as it is. Instances are container keys.
Node@key:String -> @name:String -> @technology:String -> @role:Role -> @host:0x3ffc69d4b5da64782dbe50fda425aa0c/domain/architecture/system/deployment/host/type.Host -> @platform:Platform -> @children:List<&2, Node> -> @instances:List<&2, String> -> Node
type Break source · line 22 · raw
Data
What a deploy breaks, compared with what was deployed before.
AddressChangedBreak
StoreRemoved@name:String -> Break
type Deployment source · line 28 · raw
Data
Where the system runs: the address it is reached at, the data stores that must survive a deploy, the breaks accepted for the next deploy, and the nodes.
Deployment@address:String -> @stores:List<&2, String> -> @accepted:List<&2, Break> -> @nodes:List<&2, Node> -> Deployment