~/bend-docscommunity

domain/architecture/system/deployment/launchd/effects.bend relies on unsafe/foreign

raw source on the hub · import 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/effects.bend as Effects

8 imports
import Base
import bend-net-json@0.3.0.0/json.bend as Json
import ../../effs/io.bend as X
import ../../plan/type.bend as P
import ../nix_darwin/type.bend as ND
import ../nix_darwin/effects.bend as NDE
import ./type.bend as L
import ./ops.bend as LO

Definitions

def tailscale source · line 13 · raw

String

def program_of source · line 16 · raw

@a:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/type.Agent -> String

def program_step source · line 22 · raw

@+entry:String -> @built:Bool -> @same:Bool -> @present:Bool -> @+from:String -> @+program:String -> @+what:String -> List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/plan/type.Step>

The program: current, to install from its build, or blocked when it neither builds nor is installed.

def agent_step source · line 30 · raw

@present:Bool -> @+current:String -> @loaded:Bool -> @+home:String -> @+domain:String -> @+what:String -> @a:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/type.Agent -> 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/plan/type.Step

The agent is current only while its program is as built, its plist as declared, and it is loaded; otherwise it is (re)launched, after its program installs.

def agent_steps source · line 37 · raw

@xs:List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/type.Agent> -> @+root:String -> @+home:String -> @+domain:String -> @+socks:List<&2, String> -> @+what:String -> IO(List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/plan/type.Step>)

def observe source · line 61 · raw

@+root:String -> @+what:String -> @+ld:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/type.Launchd -> @+uid:String -> @lsof:String -> IO(List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/plan/type.Step>)

def read_or source · line 69 · raw

@unread:Bool -> @+root:String -> @+what:String -> @ld:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/type.Launchd -> @uid:String -> @lsof:String -> IO(List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/plan/type.Step>)

def checks source · line 76 · raw

@+root:String -> @+node:String -> @ld:0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/deployment/launchd/type.Launchd -> IO(List<&2, 0x61eb9b926b7147b74881eab60781316b/domain/architecture/system/plan/type.Step>)