fix(core): update

This commit is contained in:
2019-08-14 20:56:57 +02:00
parent e50b028c00
commit ff5cecb07e
9 changed files with 108 additions and 95 deletions

View File

@ -31,9 +31,7 @@ export class DockerContainer {
/**
* create a container
*/
public static async create(creationSpecifier: interfaces.IContainerCreationSpecifier) {
}
public static async create(creationSpecifier: interfaces.IContainerCreationSpecifier) {}
// ========
// INSTANCE

View File

@ -3,7 +3,10 @@ import { DockerHost } from './docker.classes.host';
export class DockerImage {
// STATIC
public static async createFromRegistry(dockerHostArg: DockerHost, dockerImageTag): Promise<DockerImage> {
public static async createFromRegistry(
dockerHostArg: DockerHost,
dockerImageTag
): Promise<DockerImage> {
const resultingImage = new DockerImage();
return resultingImage;
@ -20,18 +23,16 @@ export class DockerImage {
/**
* returns a boolean wether the image has a upstream image
*/
public isUpstreamImage (): boolean {
public isUpstreamImage(): boolean {
// TODO: implement isUpastreamImage
return true;
};
/**
*
*/
public async pullLatestImageFromRegistry() : Promise<boolean> {
// TODO: implement pullLatestImageFromRegistry
return true;
}
/**
*
*/
public async pullLatestImageFromRegistry(): Promise<boolean> {
// TODO: implement pullLatestImageFromRegistry
return true;
}
}

View File

@ -3,6 +3,4 @@ import * as interfaces from './interfaces';
import { DockerHost } from './docker.classes.host';
export class DockerNetwork {
}
export class DockerNetwork {}

View File

@ -3,6 +3,4 @@ import * as interfaces from './interfaces';
import { DockerHost } from './docker.classes.host';
export class DockerService {
}
export class DockerService {}