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 A addToContainers(Container... items)
addToContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromContainers(Container... items)
removeFromContainers
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<Container> getContainers()
getContainers
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 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 String getDnsPolicy()
getDnsPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withDnsPolicy(String dnsPolicy)
withDnsPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public String getHost()
getHost
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHost(String host)
withHost
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 isHostNetwork()
isHostNetwork
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostNetwork(Boolean hostNetwork)
withHostNetwork
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 String getHostname()
getHostname
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withHostname(String hostname)
withHostname
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A addToImagePullSecrets(LocalObjectReference... items)
addToImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromImagePullSecrets(LocalObjectReference... items)
removeFromImagePullSecrets
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<LocalObjectReference> getImagePullSecrets()
getImagePullSecrets
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 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 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 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 String getRestartPolicy()
getRestartPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withRestartPolicy(String restartPolicy)
withRestartPolicy
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public PodSecurityContext getSecurityContext()
getSecurityContext
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withSecurityContext(PodSecurityContext securityContext)
withSecurityContext
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 String getServiceAccount()
getServiceAccount
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withServiceAccount(String serviceAccount)
withServiceAccount
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 String getSubdomain()
getSubdomain
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A withSubdomain(String subdomain)
withSubdomain
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 A addToVolumes(Volume... items)
addToVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public A removeFromVolumes(Volume... items)
removeFromVolumes
in interface PodSpecFluent<A extends PodSpecFluent<A>>
public List<Volume> getVolumes()
getVolumes
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 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>>
Copyright © 2011–2016 Red Hat. All rights reserved.