docker/dist/dockersock.classes.dockersock.d.ts

31 lines
1.4 KiB
TypeScript
Raw Normal View History

2017-03-26 11:02:20 +00:00
/// <reference types="request" />
2016-07-12 11:36:34 +00:00
/// <reference types="q" />
2016-06-15 22:40:32 +00:00
import "typings-global";
2016-07-12 11:36:34 +00:00
import * as plugins from "./dockersock.plugins";
import { Observable } from "rxjs";
2017-03-26 11:02:20 +00:00
import { Objectmap } from 'lik';
2016-06-15 23:56:53 +00:00
export declare class Dockersock {
2016-06-15 22:40:32 +00:00
sockPath: string;
2017-03-26 11:02:20 +00:00
requestObjectmap: Objectmap<plugins.request.Request>;
constructor(pathArg?: string);
2016-07-12 11:36:34 +00:00
auth(userArg: string, passArg: string): plugins.q.Promise<{}>;
listContainers(): plugins.q.Promise<{}>;
listContainersDetailed(): plugins.q.Promise<{}>;
listContainersRunning(): plugins.q.Promise<{}>;
listContainersStopped(): plugins.q.Promise<{}>;
listImages(): plugins.q.Promise<{}>;
listImagesDangling(): plugins.q.Promise<{}>;
2016-07-17 22:54:41 +00:00
pullImage(imageLabelArg: string): plugins.q.Promise<{}>;
2016-07-12 11:36:34 +00:00
createContainer(optionsArg: any, pullFirstArg?: boolean): plugins.q.Promise<{}>;
getContainerId(): void;
2016-07-12 11:36:34 +00:00
startContainer(containerNameArg: any): plugins.q.Promise<{}>;
stopContainer(containerNameArg: any): plugins.q.Promise<{}>;
removeContainer(containerNameArg: any): plugins.q.Promise<{}>;
clean(): plugins.q.Promise<{}>;
2016-06-17 00:38:00 +00:00
callOnChange(cb: Function): void;
2016-07-12 11:36:34 +00:00
getChangeObservable(): Observable<{}>;
request(methodArg: string, routeArg: string, queryArg?: string, dataArg?: {}): plugins.q.Promise<{}>;
2016-07-18 00:50:28 +00:00
requestStream(methodArg: string, routeArg: string, queryArg?: string, dataArg?: {}): plugins.q.Promise<{}>;
endRequests(): void;
2016-06-15 22:40:32 +00:00
}