@wocker/ws
Version:
Docker workspace for web projects
33 lines (32 loc) • 998 B
TypeScript
import { LogService } from "@wocker/core";
import { ComposeConfig } from "../type/ComposeConfig";
type UpOptions = {
composefile: string;
context: string;
};
type DownOptions = {
composefile: string;
context: string;
};
type BuildOptions = {
composefile: string;
context: string;
};
type ExecOptions = {
service: string;
args: string[];
composefile: string;
context: string;
};
export declare class ComposeService {
protected readonly logService: LogService;
constructor(logService: LogService);
up(options: UpOptions): Promise<void>;
down(options: DownOptions): Promise<void>;
build(options: BuildOptions): Promise<void>;
exec(options: ExecOptions): Promise<void>;
protected getConfig(context: string, composefile: string): ComposeConfig;
protected getConfigAsString(context: string, composefile: string): string;
protected processChunk(chunk: Buffer<ArrayBuffer>, streamSource?: "stdout" | "stderr"): void;
}
export {};