Service class
Base class for a Docker Service.
Constructors
Properties
-
args
↔ List<
String> ? -
getter/setter pair
- containerHostname → String?
-
final
- containerNetwork → String?
-
final
- dockerHost → DockerHost
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pair
- image → String?
-
final
-
ports
→ List<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceName → String
-
final
Methods
-
catLogs(
{String? taskName, int? taskNumber, bool stderr = false, Pattern? waitDataMatcher, Duration? waitDataTimeout, bool waitExit = false, int? desiredExitCode, bool follow = false}) → Future< String?> -
Returns this Service logs as
String
. -
listTasks(
) → Future< List< ServiceTaskInfos> ?> - Returns a list of ServiceTaskInfos of this service.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openLogs(
String serviceNameOrTask) → Future< DockerProcess?> - Opens this Service logs.
-
remove(
) → Future< bool> - Removes this service from Swarm cluster.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited