io.alauda.kubernetes.api.model.PodSpecFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.alauda.kubernetes.api.builder.Nested;
import java.lang.String;
import io.alauda.kubernetes.api.builder.Predicate;
import java.lang.Deprecated;
import java.util.List;
import java.lang.Boolean;
import io.alauda.kubernetes.api.builder.Fluent;
import javax.validation.Valid;
import java.lang.Long;
import java.util.Collection;
import java.lang.Object;
import java.util.Map;
public interface PodSpecFluent> extends Fluent{
public Long getActiveDeadlineSeconds();
public A withActiveDeadlineSeconds(Long activeDeadlineSeconds);
public Boolean hasActiveDeadlineSeconds();
/**
* This method has been deprecated, please use method buildAffinity instead.
*/
@Deprecated public Affinity getAffinity();
public Affinity buildAffinity();
public A withAffinity(Affinity affinity);
public Boolean hasAffinity();
public PodSpecFluent.AffinityNested withNewAffinity();
public PodSpecFluent.AffinityNested withNewAffinityLike(Affinity item);
public PodSpecFluent.AffinityNested editAffinity();
public PodSpecFluent.AffinityNested editOrNewAffinity();
public PodSpecFluent.AffinityNested editOrNewAffinityLike(Affinity item);
public Boolean isAutomountServiceAccountToken();
public A withAutomountServiceAccountToken(Boolean automountServiceAccountToken);
public Boolean hasAutomountServiceAccountToken();
public A addToContainers(int index,Container item);
public A setToContainers(int index,Container item);
public A addToContainers(Container... items);
public A addAllToContainers(Collection items);
public A removeFromContainers(Container... items);
public A removeAllFromContainers(Collection items);
/**
* This method has been deprecated, please use method buildContainers instead.
*/
@Deprecated public List getContainers();
public List buildContainers();
public Container buildContainer(int index);
public Container buildFirstContainer();
public Container buildLastContainer();
public Container buildMatchingContainer(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withContainers(List containers);
public A withContainers(Container... containers);
public Boolean hasContainers();
public PodSpecFluent.ContainersNested addNewContainer();
public PodSpecFluent.ContainersNested addNewContainerLike(Container item);
public PodSpecFluent.ContainersNested setNewContainerLike(int index,Container item);
public PodSpecFluent.ContainersNested editContainer(int index);
public PodSpecFluent.ContainersNested editFirstContainer();
public PodSpecFluent.ContainersNested editLastContainer();
public PodSpecFluent.ContainersNested editMatchingContainer(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getDnsPolicy();
public A withDnsPolicy(String dnsPolicy);
public Boolean hasDnsPolicy();
public A addToHostAliases(int index,HostAlias item);
public A setToHostAliases(int index,HostAlias item);
public A addToHostAliases(HostAlias... items);
public A addAllToHostAliases(Collection items);
public A removeFromHostAliases(HostAlias... items);
public A removeAllFromHostAliases(Collection items);
/**
* This method has been deprecated, please use method buildHostAliases instead.
*/
@Deprecated public List getHostAliases();
public List buildHostAliases();
public HostAlias buildHostAlias(int index);
public HostAlias buildFirstHostAlias();
public HostAlias buildLastHostAlias();
public HostAlias buildMatchingHostAlias(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withHostAliases(List hostAliases);
public A withHostAliases(HostAlias... hostAliases);
public Boolean hasHostAliases();
public PodSpecFluent.HostAliasesNested addNewHostAlias();
public PodSpecFluent.HostAliasesNested addNewHostAliasLike(HostAlias item);
public PodSpecFluent.HostAliasesNested setNewHostAliasLike(int index,HostAlias item);
public PodSpecFluent.HostAliasesNested editHostAlias(int index);
public PodSpecFluent.HostAliasesNested editFirstHostAlias();
public PodSpecFluent.HostAliasesNested editLastHostAlias();
public PodSpecFluent.HostAliasesNested editMatchingHostAlias(io.alauda.kubernetes.api.builder.Predicate predicate);
public Boolean isHostIPC();
public A withHostIPC(Boolean hostIPC);
public Boolean hasHostIPC();
public Boolean isHostNetwork();
public A withHostNetwork(Boolean hostNetwork);
public Boolean hasHostNetwork();
public Boolean isHostPID();
public A withHostPID(Boolean hostPID);
public Boolean hasHostPID();
public String getHostname();
public A withHostname(String hostname);
public Boolean hasHostname();
public A addToImagePullSecrets(int index,LocalObjectReference item);
public A setToImagePullSecrets(int index,LocalObjectReference item);
public A addToImagePullSecrets(LocalObjectReference... items);
public A addAllToImagePullSecrets(Collection items);
public A removeFromImagePullSecrets(LocalObjectReference... items);
public A removeAllFromImagePullSecrets(Collection items);
/**
* This method has been deprecated, please use method buildImagePullSecrets instead.
*/
@Deprecated public List getImagePullSecrets();
public List buildImagePullSecrets();
public LocalObjectReference buildImagePullSecret(int index);
public LocalObjectReference buildFirstImagePullSecret();
public LocalObjectReference buildLastImagePullSecret();
public LocalObjectReference buildMatchingImagePullSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withImagePullSecrets(List imagePullSecrets);
public A withImagePullSecrets(LocalObjectReference... imagePullSecrets);
public Boolean hasImagePullSecrets();
public PodSpecFluent.ImagePullSecretsNested addNewImagePullSecret();
public PodSpecFluent.ImagePullSecretsNested addNewImagePullSecretLike(LocalObjectReference item);
public PodSpecFluent.ImagePullSecretsNested setNewImagePullSecretLike(int index,LocalObjectReference item);
public PodSpecFluent.ImagePullSecretsNested editImagePullSecret(int index);
public PodSpecFluent.ImagePullSecretsNested editFirstImagePullSecret();
public PodSpecFluent.ImagePullSecretsNested editLastImagePullSecret();
public PodSpecFluent.ImagePullSecretsNested editMatchingImagePullSecret(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewImagePullSecret(String name);
public A addToInitContainers(int index,Container item);
public A setToInitContainers(int index,Container item);
public A addToInitContainers(Container... items);
public A addAllToInitContainers(Collection items);
public A removeFromInitContainers(Container... items);
public A removeAllFromInitContainers(Collection items);
/**
* This method has been deprecated, please use method buildInitContainers instead.
*/
@Deprecated public List getInitContainers();
public List buildInitContainers();
public Container buildInitContainer(int index);
public Container buildFirstInitContainer();
public Container buildLastInitContainer();
public Container buildMatchingInitContainer(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withInitContainers(List initContainers);
public A withInitContainers(Container... initContainers);
public Boolean hasInitContainers();
public PodSpecFluent.InitContainersNested addNewInitContainer();
public PodSpecFluent.InitContainersNested addNewInitContainerLike(Container item);
public PodSpecFluent.InitContainersNested setNewInitContainerLike(int index,Container item);
public PodSpecFluent.InitContainersNested editInitContainer(int index);
public PodSpecFluent.InitContainersNested editFirstInitContainer();
public PodSpecFluent.InitContainersNested editLastInitContainer();
public PodSpecFluent.InitContainersNested editMatchingInitContainer(io.alauda.kubernetes.api.builder.Predicate predicate);
public String getNodeName();
public A withNodeName(String nodeName);
public Boolean hasNodeName();
public A addToNodeSelector(String key,String value);
public A addToNodeSelector(Map map);
public A removeFromNodeSelector(String key);
public A removeFromNodeSelector(Map map);
public Map getNodeSelector();
public A withNodeSelector(Map nodeSelector);
public Boolean hasNodeSelector();
public String getRestartPolicy();
public A withRestartPolicy(String restartPolicy);
public Boolean hasRestartPolicy();
public String getSchedulerName();
public A withSchedulerName(String schedulerName);
public Boolean hasSchedulerName();
/**
* This method has been deprecated, please use method buildSecurityContext instead.
*/
@Deprecated public PodSecurityContext getSecurityContext();
public PodSecurityContext buildSecurityContext();
public A withSecurityContext(PodSecurityContext securityContext);
public Boolean hasSecurityContext();
public PodSpecFluent.SecurityContextNested withNewSecurityContext();
public PodSpecFluent.SecurityContextNested withNewSecurityContextLike(PodSecurityContext item);
public PodSpecFluent.SecurityContextNested editSecurityContext();
public PodSpecFluent.SecurityContextNested editOrNewSecurityContext();
public PodSpecFluent.SecurityContextNested editOrNewSecurityContextLike(PodSecurityContext item);
public String getServiceAccount();
public A withServiceAccount(String serviceAccount);
public Boolean hasServiceAccount();
public String getServiceAccountName();
public A withServiceAccountName(String serviceAccountName);
public Boolean hasServiceAccountName();
public String getSubdomain();
public A withSubdomain(String subdomain);
public Boolean hasSubdomain();
public Long getTerminationGracePeriodSeconds();
public A withTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds);
public Boolean hasTerminationGracePeriodSeconds();
public A addToTolerations(int index,Toleration item);
public A setToTolerations(int index,Toleration item);
public A addToTolerations(Toleration... items);
public A addAllToTolerations(Collection items);
public A removeFromTolerations(Toleration... items);
public A removeAllFromTolerations(Collection items);
/**
* This method has been deprecated, please use method buildTolerations instead.
*/
@Deprecated public List getTolerations();
public List buildTolerations();
public Toleration buildToleration(int index);
public Toleration buildFirstToleration();
public Toleration buildLastToleration();
public Toleration buildMatchingToleration(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withTolerations(List tolerations);
public A withTolerations(Toleration... tolerations);
public Boolean hasTolerations();
public PodSpecFluent.TolerationsNested addNewToleration();
public PodSpecFluent.TolerationsNested addNewTolerationLike(Toleration item);
public PodSpecFluent.TolerationsNested setNewTolerationLike(int index,Toleration item);
public PodSpecFluent.TolerationsNested editToleration(int index);
public PodSpecFluent.TolerationsNested editFirstToleration();
public PodSpecFluent.TolerationsNested editLastToleration();
public PodSpecFluent.TolerationsNested editMatchingToleration(io.alauda.kubernetes.api.builder.Predicate predicate);
public A addNewToleration(String effect,String key,String operator,Long tolerationSeconds,String value);
public A addToVolumes(int index,Volume item);
public A setToVolumes(int index,Volume item);
public A addToVolumes(Volume... items);
public A addAllToVolumes(Collection items);
public A removeFromVolumes(Volume... items);
public A removeAllFromVolumes(Collection items);
/**
* This method has been deprecated, please use method buildVolumes instead.
*/
@Deprecated public List getVolumes();
public List buildVolumes();
public Volume buildVolume(int index);
public Volume buildFirstVolume();
public Volume buildLastVolume();
public Volume buildMatchingVolume(io.alauda.kubernetes.api.builder.Predicate predicate);
public A withVolumes(List volumes);
public A withVolumes(Volume... volumes);
public Boolean hasVolumes();
public PodSpecFluent.VolumesNested addNewVolume();
public PodSpecFluent.VolumesNested addNewVolumeLike(Volume item);
public PodSpecFluent.VolumesNested setNewVolumeLike(int index,Volume item);
public PodSpecFluent.VolumesNested editVolume(int index);
public PodSpecFluent.VolumesNested editFirstVolume();
public PodSpecFluent.VolumesNested editLastVolume();
public PodSpecFluent.VolumesNested editMatchingVolume(io.alauda.kubernetes.api.builder.Predicate predicate);
public interface AffinityNested extends io.alauda.kubernetes.api.builder.Nested,AffinityFluent>{
public N and(); public N endAffinity();
}
public interface ContainersNested extends io.alauda.kubernetes.api.builder.Nested,ContainerFluent>{
public N and(); public N endContainer();
}
public interface HostAliasesNested extends io.alauda.kubernetes.api.builder.Nested,HostAliasFluent>{
public N and(); public N endHostAlias();
}
public interface ImagePullSecretsNested extends io.alauda.kubernetes.api.builder.Nested,LocalObjectReferenceFluent>{
public N and(); public N endImagePullSecret();
}
public interface InitContainersNested extends io.alauda.kubernetes.api.builder.Nested,ContainerFluent>{
public N and(); public N endInitContainer();
}
public interface SecurityContextNested extends io.alauda.kubernetes.api.builder.Nested,PodSecurityContextFluent>{
public N and(); public N endSecurityContext();
}
public interface TolerationsNested extends io.alauda.kubernetes.api.builder.Nested,TolerationFluent>{
public N and(); public N endToleration();
}
public interface VolumesNested extends io.alauda.kubernetes.api.builder.Nested,VolumeFluent>{
public N and(); public N endVolume();
}
}