public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus) { InstanceDeploymentStatus instanceDeploymentStatus; if (!_instances.TryGetValue(appDeploymentStatus.InstanceId, out instanceDeploymentStatus)) { instanceDeploymentStatus = new InstanceDeploymentStatus(); _instances[appDeploymentStatus.InstanceId] = instanceDeploymentStatus; } instanceDeploymentStatus.SetAppDeploymentStatus(appDeploymentStatus); }
public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus) { ClusterDeploymentStatus clusterDeploymentStatus; if (!_clusters.TryGetValue(appDeploymentStatus.ClusterId, out clusterDeploymentStatus)) { clusterDeploymentStatus = new ClusterDeploymentStatus(); _clusters[appDeploymentStatus.ClusterId] = clusterDeploymentStatus; } clusterDeploymentStatus.SetAppDeploymentStatus(appDeploymentStatus); }
public void SetAppDeploymentStatus(AppDeploymentStatus appDeploymentStatus) { _apps[appDeploymentStatus.AppIdentity] = appDeploymentStatus; }