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" )