Example #1
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 #2
0
 public void SetClusterDeploymentStatus(string clusterId, ClusterDeploymentStatus clusterDeploymentStatus)
 {
     _clusters[clusterId] = clusterDeploymentStatus;
 }