public class PodSpecFluentImpl<A extends PodSpecFluent<A>> extends BaseFluent<A> implements PodSpecFluent<A>
| Modifier and Type | Class and Description |
|---|---|
class |
PodSpecFluentImpl.ContainersNestedImpl<N> |
class |
PodSpecFluentImpl.ImagePullSecretsNestedImpl<N> |
class |
PodSpecFluentImpl.SecurityContextNestedImpl<N> |
class |
PodSpecFluentImpl.VolumesNestedImpl<N> |
PodSpecFluent.ContainersNested<N>, PodSpecFluent.ImagePullSecretsNested<N>, PodSpecFluent.SecurityContextNested<N>, PodSpecFluent.VolumesNested<N>_visitables| Constructor and Description |
|---|
PodSpecFluentImpl() |
PodSpecFluentImpl(PodSpec instance) |
public PodSpecFluentImpl()
public PodSpecFluentImpl(PodSpec instance)
public Long getActiveDeadlineSeconds()
getActiveDeadlineSeconds in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withActiveDeadlineSeconds(Long activeDeadlineSeconds)
withActiveDeadlineSeconds in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasActiveDeadlineSeconds()
hasActiveDeadlineSeconds in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToContainers(int index, Container item)
addToContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public A setToContainers(int index, Container item)
setToContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToContainers(Container... items)
addToContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addAllToContainers(Collection<Container> items)
addAllToContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeFromContainers(Container... items)
removeFromContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeAllFromContainers(Collection<Container> items)
removeAllFromContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>@Deprecated public List<Container> getContainers()
getContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public List<Container> buildContainers()
buildContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public Container buildContainer(int index)
buildContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public Container buildFirstContainer()
buildFirstContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public Container buildLastContainer()
buildLastContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public Container buildMatchingContainer(Predicate<ContainerBuilder> predicate)
buildMatchingContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withContainers(List<Container> containers)
withContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withContainers(Container... containers)
withContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasContainers()
hasContainers in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> addNewContainer()
addNewContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> addNewContainerLike(Container item)
addNewContainerLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> setNewContainerLike(int index, Container item)
setNewContainerLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> editContainer(int index)
editContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> editFirstContainer()
editFirstContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> editLastContainer()
editLastContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ContainersNested<A> editMatchingContainer(Predicate<ContainerBuilder> predicate)
editMatchingContainer in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getDnsPolicy()
getDnsPolicy in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withDnsPolicy(String dnsPolicy)
withDnsPolicy in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasDnsPolicy()
hasDnsPolicy in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean isHostIPC()
isHostIPC in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withHostIPC(Boolean hostIPC)
withHostIPC in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasHostIPC()
hasHostIPC in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean isHostNetwork()
isHostNetwork in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withHostNetwork(Boolean hostNetwork)
withHostNetwork in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasHostNetwork()
hasHostNetwork in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean isHostPID()
isHostPID in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withHostPID(Boolean hostPID)
withHostPID in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasHostPID()
hasHostPID in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getHostname()
getHostname in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withHostname(String hostname)
withHostname in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasHostname()
hasHostname in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToImagePullSecrets(int index, LocalObjectReference item)
addToImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public A setToImagePullSecrets(int index, LocalObjectReference item)
setToImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToImagePullSecrets(LocalObjectReference... items)
addToImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addAllToImagePullSecrets(Collection<LocalObjectReference> items)
addAllToImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeFromImagePullSecrets(LocalObjectReference... items)
removeFromImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeAllFromImagePullSecrets(Collection<LocalObjectReference> items)
removeAllFromImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>@Deprecated public List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public List<LocalObjectReference> buildImagePullSecrets()
buildImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public LocalObjectReference buildImagePullSecret(int index)
buildImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public LocalObjectReference buildFirstImagePullSecret()
buildFirstImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public LocalObjectReference buildLastImagePullSecret()
buildLastImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
buildMatchingImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
withImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withImagePullSecrets(LocalObjectReference... imagePullSecrets)
withImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasImagePullSecrets()
hasImagePullSecrets in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecret()
addNewImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(LocalObjectReference item)
addNewImagePullSecretLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(int index, LocalObjectReference item)
setNewImagePullSecretLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> editImagePullSecret(int index)
editImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> editFirstImagePullSecret()
editFirstImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> editLastImagePullSecret()
editLastImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
editMatchingImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addNewImagePullSecret(String name)
addNewImagePullSecret in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getNodeName()
getNodeName in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withNodeName(String nodeName)
withNodeName in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasNodeName()
hasNodeName in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToNodeSelector(String key, String value)
addToNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToNodeSelector(Map<String,String> map)
addToNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeFromNodeSelector(String key)
removeFromNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeFromNodeSelector(Map<String,String> map)
removeFromNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public Map<String,String> getNodeSelector()
getNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withNodeSelector(Map<String,String> nodeSelector)
withNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasNodeSelector()
hasNodeSelector in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getRestartPolicy()
getRestartPolicy in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withRestartPolicy(String restartPolicy)
withRestartPolicy in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasRestartPolicy()
hasRestartPolicy in interface PodSpecFluent<A extends PodSpecFluent<A>>@Deprecated public PodSecurityContext getSecurityContext()
getSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSecurityContext buildSecurityContext()
buildSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withSecurityContext(PodSecurityContext securityContext)
withSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasSecurityContext()
hasSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.SecurityContextNested<A> withNewSecurityContext()
withNewSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.SecurityContextNested<A> withNewSecurityContextLike(PodSecurityContext item)
withNewSecurityContextLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.SecurityContextNested<A> editSecurityContext()
editSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContext()
editOrNewSecurityContext in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContextLike(PodSecurityContext item)
editOrNewSecurityContextLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getServiceAccount()
getServiceAccount in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withServiceAccount(String serviceAccount)
withServiceAccount in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasServiceAccount()
hasServiceAccount in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getServiceAccountName()
getServiceAccountName in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withServiceAccountName(String serviceAccountName)
withServiceAccountName in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasServiceAccountName()
hasServiceAccountName in interface PodSpecFluent<A extends PodSpecFluent<A>>public String getSubdomain()
getSubdomain in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withSubdomain(String subdomain)
withSubdomain in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasSubdomain()
hasSubdomain in interface PodSpecFluent<A extends PodSpecFluent<A>>public Long getTerminationGracePeriodSeconds()
getTerminationGracePeriodSeconds in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
withTerminationGracePeriodSeconds in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasTerminationGracePeriodSeconds()
hasTerminationGracePeriodSeconds in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToVolumes(int index, Volume item)
addToVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public A setToVolumes(int index, Volume item)
setToVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addToVolumes(Volume... items)
addToVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public A addAllToVolumes(Collection<Volume> items)
addAllToVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeFromVolumes(Volume... items)
removeFromVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public A removeAllFromVolumes(Collection<Volume> items)
removeAllFromVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>@Deprecated public List<Volume> getVolumes()
getVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public List<Volume> buildVolumes()
buildVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public Volume buildVolume(int index)
buildVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public Volume buildFirstVolume()
buildFirstVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public Volume buildLastVolume()
buildLastVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public Volume buildMatchingVolume(Predicate<VolumeBuilder> predicate)
buildMatchingVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withVolumes(List<Volume> volumes)
withVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public A withVolumes(Volume... volumes)
withVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public Boolean hasVolumes()
hasVolumes in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> addNewVolume()
addNewVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> addNewVolumeLike(Volume item)
addNewVolumeLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> setNewVolumeLike(int index, Volume item)
setNewVolumeLike in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> editVolume(int index)
editVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> editFirstVolume()
editFirstVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> editLastVolume()
editLastVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>public PodSpecFluent.VolumesNested<A> editMatchingVolume(Predicate<VolumeBuilder> predicate)
editMatchingVolume in interface PodSpecFluent<A extends PodSpecFluent<A>>Copyright © 2011–2017 Red Hat. All rights reserved.