2016-06-04 21:20:39 +00:00
|
|
|
export declare let build: () => any;
|
2016-06-05 11:01:45 +00:00
|
|
|
export declare let readDockerfiles: () => any;
|
|
|
|
export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any;
|
2016-06-05 12:27:56 +00:00
|
|
|
export declare let mapDockerfiles: (sortedArray: Dockerfile[]) => any;
|
|
|
|
export declare let buildDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
|
2016-06-05 15:17:15 +00:00
|
|
|
export declare let pushDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
|
2016-06-05 02:48:39 +00:00
|
|
|
export declare class Dockerfile {
|
|
|
|
filePath: string;
|
|
|
|
repo: string;
|
|
|
|
version: string;
|
2016-06-05 04:20:05 +00:00
|
|
|
cleanTag: string;
|
|
|
|
buildTag: string;
|
2016-06-05 02:48:39 +00:00
|
|
|
content: string;
|
2016-06-05 12:27:56 +00:00
|
|
|
patchedContent: string;
|
2016-06-05 02:48:39 +00:00
|
|
|
baseImage: string;
|
2016-06-05 12:27:56 +00:00
|
|
|
localBaseImageDependent: boolean;
|
|
|
|
localBaseDockerfile: Dockerfile;
|
2016-06-05 02:48:39 +00:00
|
|
|
constructor(options: {
|
|
|
|
filePath?: string;
|
|
|
|
fileContents?: string | Buffer;
|
|
|
|
read?: boolean;
|
|
|
|
});
|
|
|
|
build(): void;
|
|
|
|
push(): void;
|
2016-06-05 12:27:56 +00:00
|
|
|
patchContents(): void;
|
|
|
|
restoreContents(): void;
|
2016-06-05 02:48:39 +00:00
|
|
|
}
|
2016-06-05 11:01:45 +00:00
|
|
|
export declare let dockerFileVersion: (dockerfileNameArg: string) => string;
|
|
|
|
export declare let dockerBaseImage: (dockerfileContentArg: string) => string;
|
2016-06-05 02:48:39 +00:00
|
|
|
export declare let dockerTag: (repoArg: string, versionArg: string) => string;
|
2016-06-05 12:27:56 +00:00
|
|
|
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[];
|