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

@ -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;
}
}