Resolve keeps its own address strip (kept, ADR 0155), which needs no seat name. The one seat name left is ManifestNeeds' store holder (ADR 0632 §2), beside its rule in manifest_reads.go. Claude-Session: https://claude.ai/code/session_01NcbgfFSnn24M3GcqttoU7i
39 lines
1.6 KiB
Go
39 lines
1.6 KiB
Go
package catalogue
|
|
|
|
import "git.novox.be/novox/mesh-sdk/go/seatlist/seatlisttest"
|
|
|
|
// defaultSeats is the list the tests start from (seatlisttest: the contracts modules' definitions, read as a host reads
|
|
// them from the bus, ADR 0635 §1), and DefaultSeats gives a copy of it for a test to restore.
|
|
var defaultSeats = func() []Seat {
|
|
list := SeatsFromDefinitions(seatlisttest.Definitions())
|
|
UseSeats(list)
|
|
return list
|
|
}()
|
|
|
|
// DefaultSeats is the tests' seat list.
|
|
func DefaultSeats() []Seat { return append([]Seat(nil), defaultSeats...) }
|
|
|
|
// The whole seats' names, which the tests use and the package does not (ADR 0634 §4; ADR 0613 §5 refuses them in
|
|
// non-test code).
|
|
const (
|
|
CatalogSeat = "mesh-catalog"
|
|
CheckerSeat = "mesh-delivery-checker"
|
|
EnrolmentSeat = "mesh-node-enroller"
|
|
PlacementSeat = "mesh-module-assigner"
|
|
DeliverySeat = "mesh-delivery"
|
|
WantsSeat = "mesh-wants"
|
|
HandActsSeat = "mesh-hand-acts"
|
|
ConditionsSeat = "mesh-conditions"
|
|
WatchdogsSeat = "mesh-watchdogs"
|
|
SelfCheckSeat = "mesh-self-check"
|
|
HealersSeat = "mesh-healers"
|
|
VaultSeat = "mesh-vault"
|
|
ProvisionerSeat = "mesh-provisioner"
|
|
BrokerSeat = "mesh-broker"
|
|
EngineSeat = "node-engine"
|
|
NpmPackageRegistrySeat = "npm-package-registry"
|
|
GoPackageRegistrySeat = "go-package-registry"
|
|
ContainerImageRegistrySeat = "container-image-registry"
|
|
OciArtifactRegistrySeat = "oci-artifact-registry"
|
|
)
|