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

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

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.Deprecated;
import javax.validation.constraints.Pattern;
import java.lang.Integer;

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.alauda.kubernetes.api.builder.Predicate predicate);
    public A withArgs(List args);
    public A withArgs(String... args);
    public Boolean hasArgs();
    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.alauda.kubernetes.api.builder.Predicate predicate);
    public A withCommand(List command);
    public A withCommand(String... command);
    public Boolean hasCommand();
    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);
    
/**
 * This method has been deprecated, please use method buildEnv instead.
 */
@Deprecated public List getEnv();
    public List buildEnv();
    public EnvVar buildEnv(int index);
    public EnvVar buildFirstEnv();
    public EnvVar buildLastEnv();
    public EnvVar buildMatchingEnv(io.alauda.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.alauda.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);
    
/**
 * This method has been deprecated, please use method buildEnvFrom instead.
 */
@Deprecated public List getEnvFrom();
    public List buildEnvFrom();
    public EnvFromSource buildEnvFrom(int index);
    public EnvFromSource buildFirstEnvFrom();
    public EnvFromSource buildLastEnvFrom();
    public EnvFromSource buildMatchingEnvFrom(io.alauda.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.alauda.kubernetes.api.builder.Predicate predicate);
    public String getImage();
    public A withImage(String image);
    public Boolean hasImage();
    public String getImagePullPolicy();
    public A withImagePullPolicy(String imagePullPolicy);
    public Boolean hasImagePullPolicy();
    
/**
 * This method has been deprecated, please use method buildLifecycle instead.
 */
@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.
 */
@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 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);
    
/**
 * This method has been deprecated, please use method buildPorts instead.
 */
@Deprecated public List getPorts();
    public List buildPorts();
    public ContainerPort buildPort(int index);
    public ContainerPort buildFirstPort();
    public ContainerPort buildLastPort();
    public ContainerPort buildMatchingPort(io.alauda.kubernetes.api.builder.Predicate predicate);
    public A withPorts(List ports);
    public A withPorts(ContainerPort... ports);
    public Boolean hasPorts();
    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.alauda.kubernetes.api.builder.Predicate predicate);
    public A addNewPort(Integer containerPort,String hostIP,Integer hostPort,String name,String protocol);
    
/**
 * This method has been deprecated, please use method buildReadinessProbe instead.
 */
@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.
 */
@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.
 */
@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);
    public Boolean isStdin();
    public A withStdin(Boolean stdin);
    public Boolean hasStdin();
    public Boolean isStdinOnce();
    public A withStdinOnce(Boolean stdinOnce);
    public Boolean hasStdinOnce();
    public String getTerminationMessagePath();
    public A withTerminationMessagePath(String terminationMessagePath);
    public Boolean hasTerminationMessagePath();
    public String getTerminationMessagePolicy();
    public A withTerminationMessagePolicy(String terminationMessagePolicy);
    public Boolean hasTerminationMessagePolicy();
    public Boolean isTty();
    public A withTty(Boolean tty);
    public Boolean hasTty();
    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);
    
/**
 * This method has been deprecated, please use method buildVolumeMounts instead.
 */
@Deprecated public List getVolumeMounts();
    public List buildVolumeMounts();
    public VolumeMount buildVolumeMount(int index);
    public VolumeMount buildFirstVolumeMount();
    public VolumeMount buildLastVolumeMount();
    public VolumeMount buildMatchingVolumeMount(io.alauda.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.alauda.kubernetes.api.builder.Predicate predicate);
    public A addNewVolumeMount(String mountPath,String name,Boolean readOnly,String subPath);
    public String getWorkingDir();
    public A withWorkingDir(String workingDir);
    public Boolean hasWorkingDir();

    public interface EnvNested extends io.alauda.kubernetes.api.builder.Nested,EnvVarFluent>{

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

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

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

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

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

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

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

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

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


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy