aggregation-platform/d.ts/service/ts/servicePlugin.d.ts

20 lines
464 B
TypeScript
Raw Normal View History

2016-06-28 10:22:53 +08:00
/// <reference path="serviceHelpers.d.ts" />
/// <reference path="../../includes.d.ts" />
declare module Service {
interface SelectorMap {
[name: string]: string;
}
interface Service {
kind: string;
id: string;
portalIP: string;
selector?: SelectorMap;
port: number;
containerPort: number;
}
interface ServiceResponse {
items: Array<Service>;
}
var _module: ng.IModule;
}