npmci/dist/npmci.build.docker.d.ts
2016-06-05 13:01:45 +02:00

25 lines
882 B
TypeScript

export declare let build: () => any;
export declare let readDockerfiles: () => any;
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[]) => string[];
export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any;
export declare let buildDockerfiles: () => any;
export declare class Dockerfile {
filePath: string;
repo: string;
version: string;
cleanTag: string;
buildTag: string;
content: string;
baseImage: string;
constructor(options: {
filePath?: string;
fileContents?: string | Buffer;
read?: boolean;
});
build(): void;
push(): void;
}
export declare let dockerFileVersion: (dockerfileNameArg: string) => string;
export declare let dockerBaseImage: (dockerfileContentArg: string) => string;
export declare let dockerTag: (repoArg: string, versionArg: string) => string;