ContainersClient class

Inheritance

Constructors

ContainersClient({required RoomClient room})

Properties

hashCode int
The hash code for this object.
no setterinherited
room RoomClient
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(void listener()) → void
inherited
deleteContainer({required String containerId}) Future<void>
deleteImage({required String image}) Future<void>
Delete an image by tag or ID (force = true on the server).
exec({required String containerId, required String command, bool tty = false, String? name}) ContainerRun
list({bool? all}) Future<List<RoomContainer>>
listImages() Future<List<ContainerImage>>
logs({required String containerId, bool follow = false}) LogStream<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
inherited
pullImage({required String tag, List<DockerSecret> credentials = const []}) Future<void>
removeListener(void listener()) → void
inherited
run({required String image, String? command, Map<String, String> env = const {}, String? mountPath, String? mountSubpath, String? role, String? participantName, Map<int, int> ports = const {}, Map<String, String>? variables, List<DockerSecret> credentials = const [], String? name}) Future<String>
stop({required String containerId, bool force = true}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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