fix(core): update

This commit is contained in:
2019-09-12 14:45:36 +02:00
parent e983b66c28
commit 19e67ffdcc
11 changed files with 209 additions and 30 deletions

View File

@ -3,4 +3,5 @@ export * from './image';
export * from './label';
export * from './network';
export * from './port';
export * from './secret';
export * from './service';

7
ts/interfaces/secret.ts Normal file
View File

@ -0,0 +1,7 @@
import * as interfaces from './';
export interface ISecretCreationDescriptor {
name: string;
contentArg: any;
labels: interfaces.TLabels;
}

View File

@ -1,5 +1,6 @@
import * as interfaces from './';
import { DockerNetwork } from '../docker.classes.network';
import { DockerSecret } from '../docker.classes.secret';
export interface IServiceCreationDescriptor {
Name: string;
@ -7,4 +8,5 @@ export interface IServiceCreationDescriptor {
Labels: interfaces.TLabels;
networks: DockerNetwork[];
networkAlias: string;
secrets: DockerSecret[];
}