You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/d.ts/kubernetes/ts/kubernetesModel.d.ts

55 lines
1.8 KiB

/// <reference path="../../includes.d.ts" />
/// <reference path="kubernetesPlugin.d.ts" />
declare module Kubernetes {
var FABRIC8_PROJECT_JSON: string;
/**
* The object which keeps track of all the pods, replication controllers, services and their associations
*/
class KubernetesModelService {
kubernetes: KubernetesState;
apps: any[];
services: any[];
replicationcontrollers: any[];
replicationControllers: Array<any>;
pods: any[];
hosts: any[];
namespaces: Array<string>;
routes: any[];
templates: any[];
redraw: boolean;
resourceVersions: {};
podsByHost: {};
servicesByKey: {};
replicationControllersByKey: {};
podsByKey: {};
appInfos: any[];
appViews: any[];
appFolders: any[];
fetched: boolean;
showRunButton: boolean;
buildconfigs: any[];
events: any[];
workspaces: any[];
projects: any[];
project: any;
serviceApps: Array<any>;
$keepPolling(): boolean;
orRedraw(flag: any): void;
getService(namespace: any, id: any): any;
getReplicationController(namespace: any, id: any): any;
getPod(namespace: any, id: any): any;
podsForNamespace(namespace?: any): any[];
getBuildConfig(name: any): any;
getProject(name: any, ns?: any): any;
setProject(buildConfig: any): void;
/**
* Returns the current selected namespace or the default namespace
*/
currentNamespace(): any;
protected updateIconUrlAndAppInfo(entity: any, nameField: string): void;
maybeInit(): void;
protected updateApps(): void;
protected discoverPodConnections(entity: any): void;
}
}