io.hyscale.deployer.services.model.Pod Maven / Gradle / Ivy
/**
* Copyright 2019 Pramati Prism, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.hyscale.deployer.services.model;
import java.util.List;
/*TODO make setters to be protected and
move this class to respective package
*/
public class Pod {
private String name;
// TODO enum?
private String status;
private List containers;
private List volumes;
private boolean ready;
public boolean isReady() {
return ready;
}
public List getVolumes() {
return volumes;
}
public void setVolumes(List volumes) {
this.volumes = volumes;
}
public void setReady(boolean ready) {
this.ready = ready;
}
public List getContainers() {
return containers;
}
public void setContainers(List containers) {
this.containers = containers;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
}