Example #1
0
        public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus)
        {
            InstanceDeploymentStatus instanceDeploymentStatus;

            if (!_instances.TryGetValue(appDeploymentStatus.InstanceId, out instanceDeploymentStatus))
            {
                instanceDeploymentStatus = new InstanceDeploymentStatus();
                _instances[appDeploymentStatus.InstanceId] = instanceDeploymentStatus;
            }
            instanceDeploymentStatus.SetAppDeploymentStatus(appDeploymentStatus);
        }
Example #2
0
        public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus)
        {
            ClusterDeploymentStatus clusterDeploymentStatus;

            if (!_clusters.TryGetValue(appDeploymentStatus.ClusterId, out clusterDeploymentStatus))
            {
                clusterDeploymentStatus = new ClusterDeploymentStatus();
                _clusters[appDeploymentStatus.ClusterId] = clusterDeploymentStatus;
            }
            clusterDeploymentStatus.SetAppDeploymentStatus(appDeploymentStatus);
        }
Example #3
0
 public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus)
 {
     _apps[appDeploymentStatus.AppIdentity] = appDeploymentStatus;
 }