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

38 lines
1.6 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 sortDockerfiles: (sortableArrayArg: Dockerfile[]) => any;
export declare let mapDockerfiles: (sortedArray: Dockerfile[]) => any;
export declare let buildDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
2016-06-07 20:27:10 +00:00
export declare let pushDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
2016-06-07 17:41:14 +00:00
export declare let pullDockerfileImages: (sortableArrayArg: Dockerfile[], registryArg?: string) => any;
2016-06-07 01:59:47 +00:00
export declare let testDockerfiles: (sortedArrayArg: Dockerfile[]) => any;
2016-06-07 17:41:14 +00:00
export declare let releaseDockerfiles: (sortedArrayArg: Dockerfile[], registryArg?: any) => 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-07 17:41:14 +00:00
testTag: string;
2016-06-07 01:59:47 +00:00
releaseTag: string;
containerName: string;
2016-06-05 02:48:39 +00:00
content: string;
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;
2016-06-07 20:27:10 +00:00
push(stageArg: any): any;
2016-06-07 17:41:14 +00:00
pull(registryArg: string): void;
2016-06-07 01:59:47 +00:00
test(): void;
getId(): string;
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-07 17:41:14 +00:00
export declare let dockerTag: (registryArg: string, repoArg: string, versionArg: string, suffixArg?: string) => string;
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[];