public interface PodSpecFluent<A extends PodSpecFluent<A>> extends Fluent<A>
Modifier and Type | Interface and Description |
---|---|
static interface |
PodSpecFluent.ContainersNested<N> |
static interface |
PodSpecFluent.ImagePullSecretsNested<N> |
static interface |
PodSpecFluent.SecurityContextNested<N> |
static interface |
PodSpecFluent.VolumesNested<N> |
Long getActiveDeadlineSeconds()
Boolean hasActiveDeadlineSeconds()
A addAllToContainers(Collection<Container> items)
A removeAllFromContainers(Collection<Container> items)
@Deprecated List<Container> getContainers()
Container buildContainer(int index)
Container buildFirstContainer()
Container buildLastContainer()
Container buildMatchingContainer(Predicate<ContainerBuilder> predicate)
Boolean hasContainers()
PodSpecFluent.ContainersNested<A> addNewContainer()
PodSpecFluent.ContainersNested<A> addNewContainerLike(Container item)
PodSpecFluent.ContainersNested<A> setNewContainerLike(int index, Container item)
PodSpecFluent.ContainersNested<A> editContainer(int index)
PodSpecFluent.ContainersNested<A> editFirstContainer()
PodSpecFluent.ContainersNested<A> editLastContainer()
PodSpecFluent.ContainersNested<A> editMatchingContainer(Predicate<ContainerBuilder> predicate)
String getDnsPolicy()
Boolean hasDnsPolicy()
Boolean isHostIPC()
Boolean hasHostIPC()
Boolean isHostNetwork()
Boolean hasHostNetwork()
Boolean isHostPID()
Boolean hasHostPID()
String getHostname()
Boolean hasHostname()
A addToImagePullSecrets(int index, LocalObjectReference item)
A setToImagePullSecrets(int index, LocalObjectReference item)
A addToImagePullSecrets(LocalObjectReference... items)
A addAllToImagePullSecrets(Collection<LocalObjectReference> items)
A removeFromImagePullSecrets(LocalObjectReference... items)
A removeAllFromImagePullSecrets(Collection<LocalObjectReference> items)
@Deprecated List<LocalObjectReference> getImagePullSecrets()
List<LocalObjectReference> buildImagePullSecrets()
LocalObjectReference buildImagePullSecret(int index)
LocalObjectReference buildFirstImagePullSecret()
LocalObjectReference buildLastImagePullSecret()
LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
A withImagePullSecrets(List<LocalObjectReference> imagePullSecrets)
A withImagePullSecrets(LocalObjectReference... imagePullSecrets)
Boolean hasImagePullSecrets()
PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecret()
PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecretLike(LocalObjectReference item)
PodSpecFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(int index, LocalObjectReference item)
PodSpecFluent.ImagePullSecretsNested<A> editImagePullSecret(int index)
PodSpecFluent.ImagePullSecretsNested<A> editFirstImagePullSecret()
PodSpecFluent.ImagePullSecretsNested<A> editLastImagePullSecret()
PodSpecFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate)
String getNodeName()
Boolean hasNodeName()
Boolean hasNodeSelector()
String getRestartPolicy()
Boolean hasRestartPolicy()
@Deprecated PodSecurityContext getSecurityContext()
PodSecurityContext buildSecurityContext()
A withSecurityContext(PodSecurityContext securityContext)
Boolean hasSecurityContext()
PodSpecFluent.SecurityContextNested<A> withNewSecurityContext()
PodSpecFluent.SecurityContextNested<A> withNewSecurityContextLike(PodSecurityContext item)
PodSpecFluent.SecurityContextNested<A> editSecurityContext()
PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContext()
PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContextLike(PodSecurityContext item)
String getServiceAccount()
Boolean hasServiceAccount()
String getServiceAccountName()
Boolean hasServiceAccountName()
String getSubdomain()
Boolean hasSubdomain()
Long getTerminationGracePeriodSeconds()
A withTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
Boolean hasTerminationGracePeriodSeconds()
A addAllToVolumes(Collection<Volume> items)
A removeAllFromVolumes(Collection<Volume> items)
@Deprecated List<Volume> getVolumes()
Volume buildVolume(int index)
Volume buildFirstVolume()
Volume buildLastVolume()
Volume buildMatchingVolume(Predicate<VolumeBuilder> predicate)
Boolean hasVolumes()
PodSpecFluent.VolumesNested<A> addNewVolume()
PodSpecFluent.VolumesNested<A> addNewVolumeLike(Volume item)
PodSpecFluent.VolumesNested<A> setNewVolumeLike(int index, Volume item)
PodSpecFluent.VolumesNested<A> editVolume(int index)
PodSpecFluent.VolumesNested<A> editFirstVolume()
PodSpecFluent.VolumesNested<A> editLastVolume()
PodSpecFluent.VolumesNested<A> editMatchingVolume(Predicate<VolumeBuilder> predicate)
Copyright © 2011–2017 Red Hat. All rights reserved.