ContainersClient class

Inheritance

Constructors

ContainersClient.new({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
build({required String tag, required BuildSource source, List<DockerSecret> credentials = const []}) LogStream<void>
deleteImage({required String image}) Future<void>
Delete an image by tag or ID (force = true on the server).
list() Future<List<RoomContainer>>
listBuilds() Future<List<BuildInfo>>
Fetch the in‑memory list of builds tracked by the server.
listImages() Future<List<DockerImage>>
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 []}) LogStream<ImagePullResult>
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 [], bool detach = true}) LogStream<ContainerRunResult>
stop({required String containerId}) Future<void>
stopBuild({required String requestId}) Future<void>
Attempt to cancel a running build (containers.stop_build).
toString() String
A string representation of this object.
inherited

Operators

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