All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.ContainerFluent Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.ArrayList;
import java.lang.String;
import io.fabric8.kubernetes.api.builder.Predicate;
import java.util.List;
import java.lang.Boolean;
import io.fabric8.kubernetes.api.builder.Fluent;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
import java.lang.StringBuilder;
import io.fabric8.kubernetes.api.builder.Nested;
import java.lang.Deprecated;
import java.util.Iterator;
import java.lang.Integer;
import java.lang.StringBuffer;

public interface ContainerFluent> 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.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingArg(io.fabric8.kubernetes.api.builder.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.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingCommand(io.fabric8.kubernetes.api.builder.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,EnvVar item);
    public A setToEnv(int index,EnvVar item);
    public A addToEnv(EnvVar... items);
    public A addAllToEnv(Collection items);
    public A removeFromEnv(EnvVar... items);
    public A removeAllFromEnv(Collection items);
    public A removeMatchingFromEnv(io.fabric8.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildEnv instead.
 * @return The buildable object.
 */
@Deprecated public List getEnv();
    public List buildEnv();
    public EnvVar buildEnv(int index);
    public EnvVar buildFirstEnv();
    public EnvVar buildLastEnv();
    public EnvVar buildMatchingEnv(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingEnv(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A withEnv(List env);
    public A withEnv(EnvVar... env);
    public Boolean hasEnv();
    public ContainerFluent.EnvNested addNewEnv();
    public ContainerFluent.EnvNested addNewEnvLike(EnvVar item);
    public ContainerFluent.EnvNested setNewEnvLike(int index,EnvVar item);
    public ContainerFluent.EnvNested editEnv(int index);
    public ContainerFluent.EnvNested editFirstEnv();
    public ContainerFluent.EnvNested editLastEnv();
    public ContainerFluent.EnvNested editMatchingEnv(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A addToEnvFrom(int index,EnvFromSource item);
    public A setToEnvFrom(int index,EnvFromSource item);
    public A addToEnvFrom(EnvFromSource... items);
    public A addAllToEnvFrom(Collection items);
    public A removeFromEnvFrom(EnvFromSource... items);
    public A removeAllFromEnvFrom(Collection items);
    public A removeMatchingFromEnvFrom(io.fabric8.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildEnvFrom instead.
 * @return The buildable object.
 */
@Deprecated public List getEnvFrom();
    public List buildEnvFrom();
    public EnvFromSource buildEnvFrom(int index);
    public EnvFromSource buildFirstEnvFrom();
    public EnvFromSource buildLastEnvFrom();
    public EnvFromSource buildMatchingEnvFrom(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingEnvFrom(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A withEnvFrom(List envFrom);
    public A withEnvFrom(EnvFromSource... envFrom);
    public Boolean hasEnvFrom();
    public ContainerFluent.EnvFromNested addNewEnvFrom();
    public ContainerFluent.EnvFromNested addNewEnvFromLike(EnvFromSource item);
    public ContainerFluent.EnvFromNested setNewEnvFromLike(int index,EnvFromSource item);
    public ContainerFluent.EnvFromNested editEnvFrom(int index);
    public ContainerFluent.EnvFromNested editFirstEnvFrom();
    public ContainerFluent.EnvFromNested editLastEnvFrom();
    public ContainerFluent.EnvFromNested editMatchingEnvFrom(io.fabric8.kubernetes.api.builder.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 Lifecycle getLifecycle();
    public Lifecycle buildLifecycle();
    public A withLifecycle(Lifecycle lifecycle);
    public Boolean hasLifecycle();
    public ContainerFluent.LifecycleNested withNewLifecycle();
    public ContainerFluent.LifecycleNested withNewLifecycleLike(Lifecycle item);
    public ContainerFluent.LifecycleNested editLifecycle();
    public ContainerFluent.LifecycleNested editOrNewLifecycle();
    public ContainerFluent.LifecycleNested editOrNewLifecycleLike(Lifecycle item);
    
/**
 * This method has been deprecated, please use method buildLivenessProbe instead.
 * @return The buildable object.
 */
@Deprecated public Probe getLivenessProbe();
    public Probe buildLivenessProbe();
    public A withLivenessProbe(Probe livenessProbe);
    public Boolean hasLivenessProbe();
    public ContainerFluent.LivenessProbeNested withNewLivenessProbe();
    public ContainerFluent.LivenessProbeNested withNewLivenessProbeLike(Probe item);
    public ContainerFluent.LivenessProbeNested editLivenessProbe();
    public ContainerFluent.LivenessProbeNested editOrNewLivenessProbe();
    public ContainerFluent.LivenessProbeNested editOrNewLivenessProbeLike(Probe 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,ContainerPort item);
    public A setToPorts(int index,ContainerPort item);
    public A addToPorts(ContainerPort... items);
    public A addAllToPorts(Collection items);
    public A removeFromPorts(ContainerPort... items);
    public A removeAllFromPorts(Collection items);
    public A removeMatchingFromPorts(io.fabric8.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildPorts instead.
 * @return The buildable object.
 */
@Deprecated public List getPorts();
    public List buildPorts();
    public ContainerPort buildPort(int index);
    public ContainerPort buildFirstPort();
    public ContainerPort buildLastPort();
    public ContainerPort buildMatchingPort(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingPort(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A withPorts(List ports);
    public A withPorts(ContainerPort... ports);
    public Boolean hasPorts();
    public A addNewPort(Integer containerPort,String hostIP,Integer hostPort,String name,String protocol);
    public ContainerFluent.PortsNested addNewPort();
    public ContainerFluent.PortsNested addNewPortLike(ContainerPort item);
    public ContainerFluent.PortsNested setNewPortLike(int index,ContainerPort item);
    public ContainerFluent.PortsNested editPort(int index);
    public ContainerFluent.PortsNested editFirstPort();
    public ContainerFluent.PortsNested editLastPort();
    public ContainerFluent.PortsNested editMatchingPort(io.fabric8.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildReadinessProbe instead.
 * @return The buildable object.
 */
@Deprecated public Probe getReadinessProbe();
    public Probe buildReadinessProbe();
    public A withReadinessProbe(Probe readinessProbe);
    public Boolean hasReadinessProbe();
    public ContainerFluent.ReadinessProbeNested withNewReadinessProbe();
    public ContainerFluent.ReadinessProbeNested withNewReadinessProbeLike(Probe item);
    public ContainerFluent.ReadinessProbeNested editReadinessProbe();
    public ContainerFluent.ReadinessProbeNested editOrNewReadinessProbe();
    public ContainerFluent.ReadinessProbeNested editOrNewReadinessProbeLike(Probe item);
    
/**
 * This method has been deprecated, please use method buildResources instead.
 * @return The buildable object.
 */
@Deprecated public ResourceRequirements getResources();
    public ResourceRequirements buildResources();
    public A withResources(ResourceRequirements resources);
    public Boolean hasResources();
    public ContainerFluent.ResourcesNested withNewResources();
    public ContainerFluent.ResourcesNested withNewResourcesLike(ResourceRequirements item);
    public ContainerFluent.ResourcesNested editResources();
    public ContainerFluent.ResourcesNested editOrNewResources();
    public ContainerFluent.ResourcesNested editOrNewResourcesLike(ResourceRequirements item);
    
/**
 * This method has been deprecated, please use method buildSecurityContext instead.
 * @return The buildable object.
 */
@Deprecated public SecurityContext getSecurityContext();
    public SecurityContext buildSecurityContext();
    public A withSecurityContext(SecurityContext securityContext);
    public Boolean hasSecurityContext();
    public ContainerFluent.SecurityContextNested withNewSecurityContext();
    public ContainerFluent.SecurityContextNested withNewSecurityContextLike(SecurityContext item);
    public ContainerFluent.SecurityContextNested editSecurityContext();
    public ContainerFluent.SecurityContextNested editOrNewSecurityContext();
    public ContainerFluent.SecurityContextNested editOrNewSecurityContextLike(SecurityContext item);
    
/**
 * This method has been deprecated, please use method buildStartupProbe instead.
 * @return The buildable object.
 */
@Deprecated public Probe getStartupProbe();
    public Probe buildStartupProbe();
    public A withStartupProbe(Probe startupProbe);
    public Boolean hasStartupProbe();
    public ContainerFluent.StartupProbeNested withNewStartupProbe();
    public ContainerFluent.StartupProbeNested withNewStartupProbeLike(Probe item);
    public ContainerFluent.StartupProbeNested editStartupProbe();
    public ContainerFluent.StartupProbeNested editOrNewStartupProbe();
    public ContainerFluent.StartupProbeNested editOrNewStartupProbeLike(Probe 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,VolumeDevice item);
    public A setToVolumeDevices(int index,VolumeDevice item);
    public A addToVolumeDevices(VolumeDevice... items);
    public A addAllToVolumeDevices(Collection items);
    public A removeFromVolumeDevices(VolumeDevice... items);
    public A removeAllFromVolumeDevices(Collection items);
    public A removeMatchingFromVolumeDevices(io.fabric8.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildVolumeDevices instead.
 * @return The buildable object.
 */
@Deprecated public List getVolumeDevices();
    public List buildVolumeDevices();
    public VolumeDevice buildVolumeDevice(int index);
    public VolumeDevice buildFirstVolumeDevice();
    public VolumeDevice buildLastVolumeDevice();
    public VolumeDevice buildMatchingVolumeDevice(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingVolumeDevice(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A withVolumeDevices(List volumeDevices);
    public A withVolumeDevices(VolumeDevice... volumeDevices);
    public Boolean hasVolumeDevices();
    public A addNewVolumeDevice(String devicePath,String name);
    public ContainerFluent.VolumeDevicesNested addNewVolumeDevice();
    public ContainerFluent.VolumeDevicesNested addNewVolumeDeviceLike(VolumeDevice item);
    public ContainerFluent.VolumeDevicesNested setNewVolumeDeviceLike(int index,VolumeDevice item);
    public ContainerFluent.VolumeDevicesNested editVolumeDevice(int index);
    public ContainerFluent.VolumeDevicesNested editFirstVolumeDevice();
    public ContainerFluent.VolumeDevicesNested editLastVolumeDevice();
    public ContainerFluent.VolumeDevicesNested editMatchingVolumeDevice(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A addToVolumeMounts(int index,VolumeMount item);
    public A setToVolumeMounts(int index,VolumeMount item);
    public A addToVolumeMounts(VolumeMount... items);
    public A addAllToVolumeMounts(Collection items);
    public A removeFromVolumeMounts(VolumeMount... items);
    public A removeAllFromVolumeMounts(Collection items);
    public A removeMatchingFromVolumeMounts(io.fabric8.kubernetes.api.builder.Predicate predicate);
    
/**
 * This method has been deprecated, please use method buildVolumeMounts instead.
 * @return The buildable object.
 */
@Deprecated public List getVolumeMounts();
    public List buildVolumeMounts();
    public VolumeMount buildVolumeMount(int index);
    public VolumeMount buildFirstVolumeMount();
    public VolumeMount buildLastVolumeMount();
    public VolumeMount buildMatchingVolumeMount(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public Boolean hasMatchingVolumeMount(io.fabric8.kubernetes.api.builder.Predicate predicate);
    public A withVolumeMounts(List volumeMounts);
    public A withVolumeMounts(VolumeMount... volumeMounts);
    public Boolean hasVolumeMounts();
    public ContainerFluent.VolumeMountsNested addNewVolumeMount();
    public ContainerFluent.VolumeMountsNested addNewVolumeMountLike(VolumeMount item);
    public ContainerFluent.VolumeMountsNested setNewVolumeMountLike(int index,VolumeMount item);
    public ContainerFluent.VolumeMountsNested editVolumeMount(int index);
    public ContainerFluent.VolumeMountsNested editFirstVolumeMount();
    public ContainerFluent.VolumeMountsNested editLastVolumeMount();
    public ContainerFluent.VolumeMountsNested editMatchingVolumeMount(io.fabric8.kubernetes.api.builder.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.fabric8.kubernetes.api.builder.Nested,EnvVarFluent>{

        
    public N and();    public N endEnv();
}
    public interface EnvFromNested extends io.fabric8.kubernetes.api.builder.Nested,EnvFromSourceFluent>{

        
    public N and();    public N endEnvFrom();
}
    public interface LifecycleNested extends io.fabric8.kubernetes.api.builder.Nested,LifecycleFluent>{

        
    public N and();    public N endLifecycle();
}
    public interface LivenessProbeNested extends io.fabric8.kubernetes.api.builder.Nested,ProbeFluent>{

        
    public N and();    public N endLivenessProbe();
}
    public interface PortsNested extends io.fabric8.kubernetes.api.builder.Nested,ContainerPortFluent>{

        
    public N and();    public N endPort();
}
    public interface ReadinessProbeNested extends io.fabric8.kubernetes.api.builder.Nested,ProbeFluent>{

        
    public N and();    public N endReadinessProbe();
}
    public interface ResourcesNested extends io.fabric8.kubernetes.api.builder.Nested,ResourceRequirementsFluent>{

        
    public N and();    public N endResources();
}
    public interface SecurityContextNested extends io.fabric8.kubernetes.api.builder.Nested,SecurityContextFluent>{

        
    public N and();    public N endSecurityContext();
}
    public interface StartupProbeNested extends io.fabric8.kubernetes.api.builder.Nested,ProbeFluent>{

        
    public N and();    public N endStartupProbe();
}
    public interface VolumeDevicesNested extends io.fabric8.kubernetes.api.builder.Nested,VolumeDeviceFluent>{

        
    public N and();    public N endVolumeDevice();
}
    public interface VolumeMountsNested extends io.fabric8.kubernetes.api.builder.Nested,VolumeMountFluent>{

        
    public N and();    public N endVolumeMount();
}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy