ServiceHost class
ServiceHost equivalent
Constructors
- ServiceHost({String? host, String? webhookSecret, int? port, String? name})
Properties
Methods
-
addPath<
T extends Portable> (String path, {required Portable factory(), String? identity, ApiScope? permissions}) → void - Register a path with a factory that constructs the Portable instance
-
getServiceSpec(
{required String image, String? command, List< EnvironmentVariable> ? environment}) → ServiceSpec -
get_service_spec -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
) → Future< void> -
Equivalent to
runthat waits for SIGTERM/SIGABRT -
start(
) → Future< void> -
stop(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited