io.k8s.api.core.v1.ContainerState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s131 Show documentation
Show all versions of bl-k8s131 Show documentation
Programmatic resource management for Kubernetes
The newest version!
package io.k8s.api.core.v1;
/**
* ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.
*/
public class ContainerState {
public ContainerStateRunning running;
public ContainerStateTerminated terminated;
public ContainerStateWaiting waiting;
public ContainerState running(ContainerStateRunning running) {
this.running = running;
return this;
}
public ContainerState terminated(ContainerStateTerminated terminated) {
this.terminated = terminated;
return this;
}
public ContainerState waiting(ContainerStateWaiting waiting) {
this.waiting = waiting;
return this;
}
public static ContainerState containerState() {
return new ContainerState();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy