Container class

Wrapper for Docker containers

final Container container = new Container(runningContainerIDs());
container.names.forEach((final String name) {
   log("Active containers: -${name}-");
});

Constructors

Container(UnmodifiableListView<String> _containerList)
_containerList comes from allContainerIDs or runningContainerIDs
Container.withDocker(UnmodifiableListView<String> _containerList, Docker _docker)
For testing - _docker sets a mocked Docker-Version

Properties

images → UnmodifiableListView<String>
All available Container-image-names
read-only
names → UnmodifiableListView<String>
All available Container-names.
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toImage(String containerid) → String
Converts Container-Id to Image-Name
toName(String containerid) → String
Converts Container-Id to Container-Name
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited