What a plugin host can reach, as the tags a plugin's needs are checked
against.
MontyPlugin's needs says what a plugin calls while it answers: :quiddity
for the geometry, :cadmpeg for the file, :monty for the framework. A
cluster can only hold a plugin to that answer if the host publishes the other
half — what it carries — so a host's tags are its plugins and this.
Two kinds of tag
- A package is on the node's code path or it is not, and that is a fact
about the build rather than a promise in a deployment file.
Applicationanswers it, socarried/0asks; the tag is the nameneedsuses, which is the table below and nothing else in this package. - What only the machine knows —
gpu,world:mujoco, a licence server — arrives inMONTY_CAPABILITIES, comma-separated, the same variable a studio node reads when it says what it can do.
The declared tags are reported as written. A tag is compared, not parsed, and
the comparison that decides a placement is the reader's
(ExTbpMonty.Cluster.Capabilities.offers?/2, which normalises both sides), so
a spelling difference between two deployments is not a tag this module has to
correct.
Summary
Functions
Every tag this host carries, sorted and without duplicates.
The tags MONTY_CAPABILITIES adds, in the order written.
Functions
Every tag this host carries, sorted and without duplicates.
installed? is how the package question is asked — Application unless a
caller says otherwise. A test says otherwise, because the three packages are
other applications and are not on this package's own code path; a deployment
reads it as it is.
@spec declared() :: [String.t()]
The tags MONTY_CAPABILITIES adds, in the order written.
Empty when it is unset, which is an answer: the packages are still reported, and the machine has said nothing about itself.