ServiceDiscovery class

Finds every Revali service in a repository.

A repo with five services is five packages today, each run and built on its own. Everything that wants to treat them as one system — running them together, generating a compose file — needs to know what "them" is first, which is what this answers.

Constructors

ServiceDiscovery()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

find(Directory root) List<RevaliService>
Services under root, ordered by path so output is stable between runs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited