def same

near-v-framework@0.4.0.0 · domain/architecture/system/deployment/azure/ops.bend:14

import near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/deployment/azure/type.bend as Az

14# ---- resources: what Azure has against what the system declares ----
15def same(a: Az.Resource, b: Az.Resource) -> Bool:
16  match a b:
17    case Az.Resource{an, ak, ag} Az.Resource{bn, bk, bg}:
18      String.eq(an, bn) && String.eq(ak, bk) && String.eq(ag, bg)

Uses (4)

Used by (1)