Function mockDockerodeContainer
- mockDockerodeContainer(callback?): {
id: string;
attach(): Promise<{
pipe(): void;
setEncoding(): void;
}>;
inspect(): Promise<{
Args: any;
Image: string;
Name: any;
NetworkSettings: {
IPAddress: any;
};
Path: any;
State: {
Running: any;
};
}>;
logs(options, cb): Promise<{
on: (() => void);
}>;
start(): Promise<void>;
wait(): Promise<{
Error: any;
StatusCode: number;
}>;
} Returns {
id: string;
attach(): Promise<{
pipe(): void;
setEncoding(): void;
}>;
inspect(): Promise<{
Args: any;
Image: string;
Name: any;
NetworkSettings: {
IPAddress: any;
};
Path: any;
State: {
Running: any;
};
}>;
logs(options, cb): Promise<{
on: (() => void);
}>;
start(): Promise<void>;
wait(): Promise<{
Error: any;
StatusCode: number;
}>;
}
id: string
attach:function
- attach(): Promise<{
pipe(): void;
setEncoding(): void;
}> Returns Promise<{
pipe(): void;
setEncoding(): void;
}>
inspect:function
- inspect(): Promise<{
Args: any;
Image: string;
Name: any;
NetworkSettings: {
IPAddress: any;
};
Path: any;
State: {
Running: any;
};
}> Returns Promise<{
Args: any;
Image: string;
Name: any;
NetworkSettings: {
IPAddress: any;
};
Path: any;
State: {
Running: any;
};
}>
logs:function
- logs(options, cb): Promise<{
on: (() => void);
}> Returns Promise<{
on: (() => void);
}>
start:function
- start(): Promise<void>
Returns Promise<void>
wait:function
- wait(): Promise<{
Error: any;
StatusCode: number;
}> Returns Promise<{
Error: any;
StatusCode: number;
}>