@wocker/core 1.1.8-beta.0 → 1.1.9-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ export declare abstract class ContainerService {
4
4
  abstract get docker(): Docker;
5
5
  abstract create(params: ContainerService.CreateParams): Promise<Container>;
6
6
  abstract get(name: string | string[]): Promise<Container | null>;
7
- abstract list(params: ContainerService.ListParams): Promise<ContainerInfo[]>;
7
+ abstract list(params?: ContainerService.ListParams): Promise<ContainerInfo[]>;
8
8
  abstract logs(containerOrName: ContainerService.ContainerOrName, params?: ContainerService.LogsParams): Promise<NodeJS.ReadableStream | null>;
9
9
  }
10
10
  export declare namespace ContainerService {
@@ -53,7 +53,8 @@ export declare namespace ContainerService {
53
53
  type ListParams = {
54
54
  all?: boolean;
55
55
  name?: string | string[];
56
- } | undefined;
56
+ label?: string | string[] | Record<string, string>;
57
+ };
57
58
  type ExecParams = string[] | {
58
59
  cmd: string[];
59
60
  attach?: boolean;
@@ -6,7 +6,7 @@ export declare abstract class DockerService {
6
6
  abstract get docker(): Docker;
7
7
  abstract createContainer(params: DockerService.CreateContainerParams): Promise<Container>;
8
8
  abstract getContainer(name: string | string[]): Promise<Container | null>;
9
- abstract listContainer(params: DockerService.ListContainerParams): Promise<ContainerInfo[]>;
9
+ abstract listContainer(params?: DockerService.ListContainerParams): Promise<ContainerInfo[]>;
10
10
  abstract removeContainer(name: string): Promise<void>;
11
11
  abstract createVolume(name: string, options?: DockerService.CreateVolumeOptions): Promise<Volume>;
12
12
  abstract hasVolume(name: string): Promise<boolean>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
3
  "type": "commonjs",
4
- "version": "1.1.8-beta.0",
4
+ "version": "1.1.9-beta.0",
5
5
  "author": "Kris Papercut <krispcut@gmail.com>",
6
6
  "description": "Core of the Wocker",
7
7
  "license": "MIT",