def firewall_typed

near-v-framework@0.4.0.0 · domain/architecture/ops.bend:627

import near-v-framework@0.4.0.0/domain/architecture/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend as ND
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/setting/ops.bend as StO

627# ---- every nix-darwin node: its serve ports are distinct, its services and serves run what it hosts, a
628# container on it is on the tailnet exactly when it is served, and its listeners belong to something ----
629def firewall_typed(nd: ND.NixDarwin) -> Bool:
630  match nd:
631    case ND.NixDarwin{_, _, _, _, _, st, _, _, _, _, _, _, _, _}:
632      StO.firewall_typed(st)

Uses (3)

Used by (1)