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

33 lines
1.3 KiB
TypeScript
Raw Permalink 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;
export declare let getDockerImagesGitlab: (sortableArrayArg: Dockerfile[]) => void;
2016-06-05 11:01:45 +00:00
export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any;
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;
patchedContent: string;
2016-06-05 02:48:39 +00:00
baseImage: string;
localBaseImageDependent: boolean;
localBaseDockerfile: Dockerfile;
2016-06-05 02:48:39 +00:00
constructor(options: {
filePath?: string;
fileContents?: string | Buffer;
read?: boolean;
});
build(): any;
push(): any;
patchContents(): any;
restoreContents(): any;
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;
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[];