示例#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);
        }
示例#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);
        }
示例#3
0
 public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus)
 {
     _apps[appDeploymentStatus.AppIdentity] = appDeploymentStatus;
 }