///
///
module Kubernetes{
export class oracleModelService{
public oraclecontrollers = [] ;
public get oracleControllers(): Array{
return this.oraclecontrollers;
}
public set oracleControllers(oracleControllers: Array){
this.oraclecontrollers = oracleControllers;
}
public findIndexOfOracleControllers(oracleControllers: Array, name: string): number{
for(var index in oracleControllers)
if(oracleControllers[index].name === name)
return index;
return -1;
}
}
_module.factory('OracleStatusModel', [() => {
return new oracleModelService();
}]);
}