2016-08-02 14:20:32 +00:00
|
|
|
/// <reference types="q" />
|
2016-07-18 14:56:53 +00:00
|
|
|
/// <reference types="node" />
|
2016-08-02 14:20:32 +00:00
|
|
|
import * as plugins from "./npmci.plugins";
|
|
|
|
export declare let build: () => plugins.q.Promise<{}>;
|
|
|
|
export declare let readDockerfiles: () => plugins.q.Promise<{}>;
|
|
|
|
export declare let sortDockerfiles: (sortableArrayArg: Dockerfile[]) => plugins.q.Promise<{}>;
|
|
|
|
export declare let mapDockerfiles: (sortedArray: Dockerfile[]) => plugins.q.Promise<{}>;
|
|
|
|
export declare let buildDockerfiles: (sortedArrayArg: Dockerfile[]) => plugins.q.Promise<{}>;
|
|
|
|
export declare let pushDockerfiles: (sortedArrayArg: Dockerfile[]) => plugins.q.Promise<{}>;
|
|
|
|
export declare let pullDockerfileImages: (sortableArrayArg: Dockerfile[], registryArg?: string) => plugins.q.Promise<{}>;
|
|
|
|
export declare let testDockerfiles: (sortedArrayArg: Dockerfile[]) => plugins.q.Promise<{}>;
|
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;
|
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;
|
|
|
|
});
|
2016-08-02 14:20:32 +00:00
|
|
|
build(): plugins.q.Promise<{}>;
|
|
|
|
push(stageArg: any): plugins.q.Promise<{}>;
|
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;
|
2016-06-05 12:27:56 +00:00
|
|
|
export declare let cleanTagsArrayFunction: (dockerfileArrayArg: Dockerfile[], trackingArrayArg: Dockerfile[]) => string[];
|