io.kubernetes.client.openapi.models.V1ContainerFluent Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import com.google.gson.annotations.SerializedName;
import java.util.ArrayList;
import java.lang.String;
import io.kubernetes.client.fluent.Predicate;
import java.util.List;
import java.lang.Boolean;
import io.kubernetes.client.fluent.Fluent;
import java.util.Collection;
import java.lang.StringBuilder;
import io.kubernetes.client.fluent.Nested;
import java.lang.Deprecated;
import java.util.Iterator;
import java.lang.StringBuffer;
public interface V1ContainerFluent> extends Fluent {
public A addToArgs(int index,String item);
public A setToArgs(int index,String item);
public A addToArgs(String... items);
public A addAllToArgs(Collection items);
public A removeFromArgs(String... items);
public A removeAllFromArgs(Collection items);
public List getArgs();
public String getArg(int index);
public String getFirstArg();
public String getLastArg();
public String getMatchingArg(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingArg(io.kubernetes.client.fluent.Predicate predicate);
public A withArgs(List args);
public A withArgs(String... args);
public Boolean hasArgs();
public A addNewArg(String arg1);
public A addNewArg(StringBuilder arg1);
public A addNewArg(StringBuffer arg1);
public A addToCommand(int index,String item);
public A setToCommand(int index,String item);
public A addToCommand(String... items);
public A addAllToCommand(Collection items);
public A removeFromCommand(String... items);
public A removeAllFromCommand(Collection items);
public List getCommand();
public String getCommand(int index);
public String getFirstCommand();
public String getLastCommand();
public String getMatchingCommand(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingCommand(io.kubernetes.client.fluent.Predicate predicate);
public A withCommand(List command);
public A withCommand(String... command);
public Boolean hasCommand();
public A addNewCommand(String arg1);
public A addNewCommand(StringBuilder arg1);
public A addNewCommand(StringBuffer arg1);
public A addToEnv(int index,V1EnvVar item);
public A setToEnv(int index,V1EnvVar item);
public A addToEnv(V1EnvVar... items);
public A addAllToEnv(Collection items);
public A removeFromEnv(V1EnvVar... items);
public A removeAllFromEnv(Collection items);
public A removeMatchingFromEnv(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildEnv instead.
* @return The buildable object.
*/
@Deprecated public List getEnv();
public List buildEnv();
public V1EnvVar buildEnv(int index);
public V1EnvVar buildFirstEnv();
public V1EnvVar buildLastEnv();
public V1EnvVar buildMatchingEnv(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingEnv(io.kubernetes.client.fluent.Predicate predicate);
public A withEnv(List env);
public A withEnv(V1EnvVar... env);
public Boolean hasEnv();
public V1ContainerFluent.EnvNested addNewEnv();
public V1ContainerFluent.EnvNested addNewEnvLike(V1EnvVar item);
public V1ContainerFluent.EnvNested setNewEnvLike(int index,V1EnvVar item);
public V1ContainerFluent.EnvNested editEnv(int index);
public V1ContainerFluent.EnvNested editFirstEnv();
public V1ContainerFluent.EnvNested editLastEnv();
public V1ContainerFluent.EnvNested editMatchingEnv(io.kubernetes.client.fluent.Predicate predicate);
public A addToEnvFrom(int index,V1EnvFromSource item);
public A setToEnvFrom(int index,V1EnvFromSource item);
public A addToEnvFrom(V1EnvFromSource... items);
public A addAllToEnvFrom(Collection items);
public A removeFromEnvFrom(V1EnvFromSource... items);
public A removeAllFromEnvFrom(Collection items);
public A removeMatchingFromEnvFrom(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildEnvFrom instead.
* @return The buildable object.
*/
@Deprecated public List getEnvFrom();
public List buildEnvFrom();
public V1EnvFromSource buildEnvFrom(int index);
public V1EnvFromSource buildFirstEnvFrom();
public V1EnvFromSource buildLastEnvFrom();
public V1EnvFromSource buildMatchingEnvFrom(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingEnvFrom(io.kubernetes.client.fluent.Predicate predicate);
public A withEnvFrom(List envFrom);
public A withEnvFrom(V1EnvFromSource... envFrom);
public Boolean hasEnvFrom();
public V1ContainerFluent.EnvFromNested addNewEnvFrom();
public V1ContainerFluent.EnvFromNested addNewEnvFromLike(V1EnvFromSource item);
public V1ContainerFluent.EnvFromNested setNewEnvFromLike(int index,V1EnvFromSource item);
public V1ContainerFluent.EnvFromNested editEnvFrom(int index);
public V1ContainerFluent.EnvFromNested editFirstEnvFrom();
public V1ContainerFluent.EnvFromNested editLastEnvFrom();
public V1ContainerFluent.EnvFromNested editMatchingEnvFrom(io.kubernetes.client.fluent.Predicate predicate);
public String getImage();
public A withImage(String image);
public Boolean hasImage();
public A withNewImage(String arg1);
public A withNewImage(StringBuilder arg1);
public A withNewImage(StringBuffer arg1);
public String getImagePullPolicy();
public A withImagePullPolicy(String imagePullPolicy);
public Boolean hasImagePullPolicy();
public A withNewImagePullPolicy(String arg1);
public A withNewImagePullPolicy(StringBuilder arg1);
public A withNewImagePullPolicy(StringBuffer arg1);
/**
* This method has been deprecated, please use method buildLifecycle instead.
* @return The buildable object.
*/
@Deprecated public V1Lifecycle getLifecycle();
public V1Lifecycle buildLifecycle();
public A withLifecycle(V1Lifecycle lifecycle);
public Boolean hasLifecycle();
public V1ContainerFluent.LifecycleNested withNewLifecycle();
public V1ContainerFluent.LifecycleNested withNewLifecycleLike(V1Lifecycle item);
public V1ContainerFluent.LifecycleNested editLifecycle();
public V1ContainerFluent.LifecycleNested editOrNewLifecycle();
public V1ContainerFluent.LifecycleNested editOrNewLifecycleLike(V1Lifecycle item);
/**
* This method has been deprecated, please use method buildLivenessProbe instead.
* @return The buildable object.
*/
@Deprecated public V1Probe getLivenessProbe();
public V1Probe buildLivenessProbe();
public A withLivenessProbe(V1Probe livenessProbe);
public Boolean hasLivenessProbe();
public V1ContainerFluent.LivenessProbeNested withNewLivenessProbe();
public V1ContainerFluent.LivenessProbeNested withNewLivenessProbeLike(V1Probe item);
public V1ContainerFluent.LivenessProbeNested editLivenessProbe();
public V1ContainerFluent.LivenessProbeNested editOrNewLivenessProbe();
public V1ContainerFluent.LivenessProbeNested editOrNewLivenessProbeLike(V1Probe item);
public String getName();
public A withName(String name);
public Boolean hasName();
public A withNewName(String arg1);
public A withNewName(StringBuilder arg1);
public A withNewName(StringBuffer arg1);
public A addToPorts(int index,V1ContainerPort item);
public A setToPorts(int index,V1ContainerPort item);
public A addToPorts(V1ContainerPort... items);
public A addAllToPorts(Collection items);
public A removeFromPorts(V1ContainerPort... items);
public A removeAllFromPorts(Collection items);
public A removeMatchingFromPorts(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildPorts instead.
* @return The buildable object.
*/
@Deprecated public List getPorts();
public List buildPorts();
public V1ContainerPort buildPort(int index);
public V1ContainerPort buildFirstPort();
public V1ContainerPort buildLastPort();
public V1ContainerPort buildMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
public A withPorts(List ports);
public A withPorts(V1ContainerPort... ports);
public Boolean hasPorts();
public V1ContainerFluent.PortsNested addNewPort();
public V1ContainerFluent.PortsNested addNewPortLike(V1ContainerPort item);
public V1ContainerFluent.PortsNested setNewPortLike(int index,V1ContainerPort item);
public V1ContainerFluent.PortsNested editPort(int index);
public V1ContainerFluent.PortsNested editFirstPort();
public V1ContainerFluent.PortsNested editLastPort();
public V1ContainerFluent.PortsNested editMatchingPort(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildReadinessProbe instead.
* @return The buildable object.
*/
@Deprecated public V1Probe getReadinessProbe();
public V1Probe buildReadinessProbe();
public A withReadinessProbe(V1Probe readinessProbe);
public Boolean hasReadinessProbe();
public V1ContainerFluent.ReadinessProbeNested withNewReadinessProbe();
public V1ContainerFluent.ReadinessProbeNested withNewReadinessProbeLike(V1Probe item);
public V1ContainerFluent.ReadinessProbeNested editReadinessProbe();
public V1ContainerFluent.ReadinessProbeNested editOrNewReadinessProbe();
public V1ContainerFluent.ReadinessProbeNested editOrNewReadinessProbeLike(V1Probe item);
/**
* This method has been deprecated, please use method buildResources instead.
* @return The buildable object.
*/
@Deprecated public V1ResourceRequirements getResources();
public V1ResourceRequirements buildResources();
public A withResources(V1ResourceRequirements resources);
public Boolean hasResources();
public V1ContainerFluent.ResourcesNested withNewResources();
public V1ContainerFluent.ResourcesNested withNewResourcesLike(V1ResourceRequirements item);
public V1ContainerFluent.ResourcesNested editResources();
public V1ContainerFluent.ResourcesNested editOrNewResources();
public V1ContainerFluent.ResourcesNested editOrNewResourcesLike(V1ResourceRequirements item);
/**
* This method has been deprecated, please use method buildSecurityContext instead.
* @return The buildable object.
*/
@Deprecated public V1SecurityContext getSecurityContext();
public V1SecurityContext buildSecurityContext();
public A withSecurityContext(V1SecurityContext securityContext);
public Boolean hasSecurityContext();
public V1ContainerFluent.SecurityContextNested withNewSecurityContext();
public V1ContainerFluent.SecurityContextNested withNewSecurityContextLike(V1SecurityContext item);
public V1ContainerFluent.SecurityContextNested editSecurityContext();
public V1ContainerFluent.SecurityContextNested editOrNewSecurityContext();
public V1ContainerFluent.SecurityContextNested editOrNewSecurityContextLike(V1SecurityContext item);
/**
* This method has been deprecated, please use method buildStartupProbe instead.
* @return The buildable object.
*/
@Deprecated public V1Probe getStartupProbe();
public V1Probe buildStartupProbe();
public A withStartupProbe(V1Probe startupProbe);
public Boolean hasStartupProbe();
public V1ContainerFluent.StartupProbeNested withNewStartupProbe();
public V1ContainerFluent.StartupProbeNested withNewStartupProbeLike(V1Probe item);
public V1ContainerFluent.StartupProbeNested editStartupProbe();
public V1ContainerFluent.StartupProbeNested editOrNewStartupProbe();
public V1ContainerFluent.StartupProbeNested editOrNewStartupProbeLike(V1Probe item);
public Boolean isStdin();
public A withStdin(Boolean stdin);
public Boolean hasStdin();
public A withNewStdin(String arg1);
public A withNewStdin(boolean arg1);
public Boolean isStdinOnce();
public A withStdinOnce(Boolean stdinOnce);
public Boolean hasStdinOnce();
public A withNewStdinOnce(String arg1);
public A withNewStdinOnce(boolean arg1);
public String getTerminationMessagePath();
public A withTerminationMessagePath(String terminationMessagePath);
public Boolean hasTerminationMessagePath();
public A withNewTerminationMessagePath(String arg1);
public A withNewTerminationMessagePath(StringBuilder arg1);
public A withNewTerminationMessagePath(StringBuffer arg1);
public String getTerminationMessagePolicy();
public A withTerminationMessagePolicy(String terminationMessagePolicy);
public Boolean hasTerminationMessagePolicy();
public A withNewTerminationMessagePolicy(String arg1);
public A withNewTerminationMessagePolicy(StringBuilder arg1);
public A withNewTerminationMessagePolicy(StringBuffer arg1);
public Boolean isTty();
public A withTty(Boolean tty);
public Boolean hasTty();
public A withNewTty(String arg1);
public A withNewTty(boolean arg1);
public A addToVolumeDevices(int index,V1VolumeDevice item);
public A setToVolumeDevices(int index,V1VolumeDevice item);
public A addToVolumeDevices(V1VolumeDevice... items);
public A addAllToVolumeDevices(Collection items);
public A removeFromVolumeDevices(V1VolumeDevice... items);
public A removeAllFromVolumeDevices(Collection items);
public A removeMatchingFromVolumeDevices(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildVolumeDevices instead.
* @return The buildable object.
*/
@Deprecated public List getVolumeDevices();
public List buildVolumeDevices();
public V1VolumeDevice buildVolumeDevice(int index);
public V1VolumeDevice buildFirstVolumeDevice();
public V1VolumeDevice buildLastVolumeDevice();
public V1VolumeDevice buildMatchingVolumeDevice(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingVolumeDevice(io.kubernetes.client.fluent.Predicate predicate);
public A withVolumeDevices(List volumeDevices);
public A withVolumeDevices(V1VolumeDevice... volumeDevices);
public Boolean hasVolumeDevices();
public V1ContainerFluent.VolumeDevicesNested addNewVolumeDevice();
public V1ContainerFluent.VolumeDevicesNested addNewVolumeDeviceLike(V1VolumeDevice item);
public V1ContainerFluent.VolumeDevicesNested setNewVolumeDeviceLike(int index,V1VolumeDevice item);
public V1ContainerFluent.VolumeDevicesNested editVolumeDevice(int index);
public V1ContainerFluent.VolumeDevicesNested editFirstVolumeDevice();
public V1ContainerFluent.VolumeDevicesNested editLastVolumeDevice();
public V1ContainerFluent.VolumeDevicesNested editMatchingVolumeDevice(io.kubernetes.client.fluent.Predicate predicate);
public A addToVolumeMounts(int index,V1VolumeMount item);
public A setToVolumeMounts(int index,V1VolumeMount item);
public A addToVolumeMounts(V1VolumeMount... items);
public A addAllToVolumeMounts(Collection items);
public A removeFromVolumeMounts(V1VolumeMount... items);
public A removeAllFromVolumeMounts(Collection items);
public A removeMatchingFromVolumeMounts(io.kubernetes.client.fluent.Predicate predicate);
/**
* This method has been deprecated, please use method buildVolumeMounts instead.
* @return The buildable object.
*/
@Deprecated public List getVolumeMounts();
public List buildVolumeMounts();
public V1VolumeMount buildVolumeMount(int index);
public V1VolumeMount buildFirstVolumeMount();
public V1VolumeMount buildLastVolumeMount();
public V1VolumeMount buildMatchingVolumeMount(io.kubernetes.client.fluent.Predicate predicate);
public Boolean hasMatchingVolumeMount(io.kubernetes.client.fluent.Predicate predicate);
public A withVolumeMounts(List volumeMounts);
public A withVolumeMounts(V1VolumeMount... volumeMounts);
public Boolean hasVolumeMounts();
public V1ContainerFluent.VolumeMountsNested addNewVolumeMount();
public V1ContainerFluent.VolumeMountsNested addNewVolumeMountLike(V1VolumeMount item);
public V1ContainerFluent.VolumeMountsNested setNewVolumeMountLike(int index,V1VolumeMount item);
public V1ContainerFluent.VolumeMountsNested editVolumeMount(int index);
public V1ContainerFluent.VolumeMountsNested editFirstVolumeMount();
public V1ContainerFluent.VolumeMountsNested editLastVolumeMount();
public V1ContainerFluent.VolumeMountsNested editMatchingVolumeMount(io.kubernetes.client.fluent.Predicate predicate);
public String getWorkingDir();
public A withWorkingDir(String workingDir);
public Boolean hasWorkingDir();
public A withNewWorkingDir(String arg1);
public A withNewWorkingDir(StringBuilder arg1);
public A withNewWorkingDir(StringBuffer arg1);
public interface EnvNested extends io.kubernetes.client.fluent.Nested,V1EnvVarFluent> {
public N and();
public N endEnv(); }
public interface EnvFromNested extends io.kubernetes.client.fluent.Nested,V1EnvFromSourceFluent> {
public N and();
public N endEnvFrom(); }
public interface LifecycleNested extends io.kubernetes.client.fluent.Nested,V1LifecycleFluent> {
public N and();
public N endLifecycle(); }
public interface LivenessProbeNested extends io.kubernetes.client.fluent.Nested,V1ProbeFluent> {
public N and();
public N endLivenessProbe(); }
public interface PortsNested extends io.kubernetes.client.fluent.Nested,V1ContainerPortFluent> {
public N and();
public N endPort(); }
public interface ReadinessProbeNested extends io.kubernetes.client.fluent.Nested,V1ProbeFluent> {
public N and();
public N endReadinessProbe(); }
public interface ResourcesNested extends io.kubernetes.client.fluent.Nested,V1ResourceRequirementsFluent> {
public N and();
public N endResources(); }
public interface SecurityContextNested extends io.kubernetes.client.fluent.Nested,V1SecurityContextFluent> {
public N and();
public N endSecurityContext(); }
public interface StartupProbeNested extends io.kubernetes.client.fluent.Nested,V1ProbeFluent> {
public N and();
public N endStartupProbe(); }
public interface VolumeDevicesNested extends io.kubernetes.client.fluent.Nested,V1VolumeDeviceFluent> {
public N and();
public N endVolumeDevice(); }
public interface VolumeMountsNested extends io.kubernetes.client.fluent.Nested,V1VolumeMountFluent> {
public N and();
public N endVolumeMount(); }
}