docker/ts/interfaces/service.ts

14 lines
402 B
TypeScript
Raw Normal View History

2019-08-16 10:48:56 +00:00
import * as interfaces from './';
2019-08-16 16:21:55 +00:00
import { DockerNetwork } from '../docker.classes.network';
2019-09-12 12:45:36 +00:00
import { DockerSecret } from '../docker.classes.secret';
2019-09-13 14:57:21 +00:00
import { DockerImage } from '../docker.classes.image';
2019-08-16 10:48:40 +00:00
export interface IServiceCreationDescriptor {
2019-09-13 12:40:38 +00:00
name: string;
2019-09-13 14:57:21 +00:00
image: DockerImage;
2019-09-13 12:40:38 +00:00
labels: interfaces.TLabels;
2019-08-16 16:21:55 +00:00
networks: DockerNetwork[];
2019-08-16 16:32:41 +00:00
networkAlias: string;
2019-09-12 12:45:36 +00:00
secrets: DockerSecret[];
2019-08-16 10:48:56 +00:00
}