npmci/dist/npmci.build.docker.d.ts

25 lines
914 B
TypeScript
Raw Normal View History

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;
2016-06-05 11:50:45 +00:00
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[];
2016-06-05 11:01:45 +00:00
export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any;
export declare let buildDockerfiles: () => 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;
baseImage: string;
constructor(options: {
filePath?: string;
fileContents?: string | Buffer;
read?: boolean;
});
build(): void;
push(): void;
}
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;