docker_commander_vm library

Classes

AccessToken
ApacheHttpdContainerConfig
Apache HTTPD pre-configured container.
Authentication
AuthenticationTable
A basic table of username and password.
ConsoleCMD
ContainerInfos
Basic infos of a Container.
ContainerInfosLocal
DockerCommander
The Docker manager.
DockerCommanderConsole
DockerCommanderFormula
A docker_commander Formula:
DockerCommanderFormulaRepository
Base class for formula repositories.
DockerCommanderFormulaRepositoryStandard
The standard DockerCommanderFormulaRepository.
DockerCommanderFormulaSource
The source of a formula
DockerContainer
A Docker container being executed.
DockerContainerConfig<D extends DockerContainer>
Base class for pre-configured containers.
DockerContainerNginx
DockerHost
Base class for Docker machine host.
DockerHostLocal
DockerHost Implementation for Local Docker machine host.
DockerHostRemote
DockerHostServer
A DockerHost Server, to be used by DockerHostRemote.
DockerProcess
DockerProcessLocal
DockerProcessRemote
DockerRunner
Represents a Docker container running.
DockerRunnerLocal
DockerRunnerRemote
MySQLContainer
MySQLContainerConfig
MySQL pre-configured container.
NginxContainerConfig
NGINX pre-configured container.
NginxReverseProxyConfigurer
NGINX reverse proxy configurer.
NginxServerConfig
Output
Output wrapper of a Docker container.
OutputClient
OutputStream<T>
Handles the output stream of a Docker container.
OutputSync
PostgreSQLContainer
PostgreSQLContainerConfig
PostgreSQL pre-configured container.
Service
Base class for a Docker Service.
ServiceTaskInfos
Service Task infos.
SwarmInfos
Base class for Docker Swarm infos.

Enums

ConsoleCMDReturnType
OutputReadyType
Indicates which output should be ready.
OutputStreamType
The type of an OutputStream.

Functions

getFreeListenPort({Iterable<int>? ports, Iterable<int>? skipPort, int? startPort, int? endPort, bool shufflePorts = false, Duration? testTimeout}) Future<int?>
Returns a ServerSocket port free to listen.
isFreeListenPort(int port, {Duration? testTimeout}) Future<bool>
Returns true if port is free to listen.

Typedefs

AuthenticationGrantor = Future<bool> Function(String username, String password)
ConsoleOutput = Future<void> Function(String? line, bool output)
DockerContainerInstantiator = DockerContainer? Function(DockerRunner runner)
FilterEnvironmentProperties = FutureOr<Map<String, String>?> Function(Map<String, String>? environmentProps)
FilterPortsProperties = FutureOr<List<String>?> Function(List<String>? ports)
FilterVolumesProperties = FutureOr<Map<String, String>?> Function(Map<String, String>? volumesProps)
OutputReadyFunction = bool Function(OutputStream outputStream, dynamic data)
ParameterProvider = Future<String> Function(String name, String? description)