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

33 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

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