Exemplo n.º 1
0
 public void UpdatePod(Pod pod)
 {
     Pods.First(x => x.Name == pod.Name).Name      = pod.Name;
     Pods.First(x => x.Name == pod.Name).Container = pod.Container;
     Pods.First(x => x.Name == pod.Name).NameSpace = pod.NameSpace;
     Pods.First(x => x.Name == pod.Name).Status    = pod.Status;
 }
Exemplo n.º 2
0
 public void RemovePod(Pod pod)
 {
     Pods.Remove(Pods.First(x => x.Name == pod.Name));
     DeletedPods.Add(pod.Name);
 }