public interface PodSpecFluent<A extends PodSpecFluent<A>> extends Fluent<A>
Modifier and Type | Interface and Description |
---|---|
static interface |
PodSpecFluent.AffinityNested<N> |
static interface |
PodSpecFluent.ContainersNested<N> |
static interface |
PodSpecFluent.DnsConfigNested<N> |
static interface |
PodSpecFluent.HostAliasesNested<N> |
static interface |
PodSpecFluent.ImagePullSecretsNested<N> |
static interface |
PodSpecFluent.InitContainersNested<N> |
static interface |
PodSpecFluent.ReadinessGatesNested<N> |
static interface |
PodSpecFluent.SecurityContextNested<N> |
static interface |
PodSpecFluent.TolerationsNested<N> |
static interface |
PodSpecFluent.VolumesNested<N> |
Long getActiveDeadlineSeconds()
Boolean hasActiveDeadlineSeconds()
@Deprecated Affinity getAffinity()
Affinity buildAffinity()
Boolean hasAffinity()
PodSpecFluent.AffinityNested<A> withNewAffinity()
PodSpecFluent.AffinityNested<A> withNewAffinityLike(Affinity item)
PodSpecFluent.AffinityNested<A> editAffinity()
PodSpecFluent.AffinityNested<A> editOrNewAffinity()
PodSpecFluent.AffinityNested<A> editOrNewAffinityLike(Affinity item)
Boolean isAutomountServiceAccountToken()
A withAutomountServiceAccountToken(Boolean automountServiceAccountToken)
Boolean hasAutomountServiceAccountToken()
A withNewAutomountServiceAccountToken(boolean arg1)
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 hasMatchingContainer(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)
@Deprecated PodDNSConfig getDnsConfig()
PodDNSConfig buildDnsConfig()
A withDnsConfig(PodDNSConfig dnsConfig)
Boolean hasDnsConfig()
PodSpecFluent.DnsConfigNested<A> withNewDnsConfig()
PodSpecFluent.DnsConfigNested<A> withNewDnsConfigLike(PodDNSConfig item)
PodSpecFluent.DnsConfigNested<A> editDnsConfig()
PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfig()
PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfigLike(PodDNSConfig item)
String getDnsPolicy()
Boolean hasDnsPolicy()
A withNewDnsPolicy(StringBuilder arg1)
A withNewDnsPolicy(StringBuffer arg1)
Boolean isEnableServiceLinks()
Boolean hasEnableServiceLinks()
A withNewEnableServiceLinks(boolean arg1)
A addAllToHostAliases(Collection<HostAlias> items)
A removeAllFromHostAliases(Collection<HostAlias> items)
@Deprecated List<HostAlias> getHostAliases()
HostAlias buildHostAlias(int index)
HostAlias buildFirstHostAlias()
HostAlias buildLastHostAlias()
HostAlias buildMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
Boolean hasMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
Boolean hasHostAliases()
PodSpecFluent.HostAliasesNested<A> addNewHostAlias()
PodSpecFluent.HostAliasesNested<A> addNewHostAliasLike(HostAlias item)
PodSpecFluent.HostAliasesNested<A> setNewHostAliasLike(int index, HostAlias item)
PodSpecFluent.HostAliasesNested<A> editHostAlias(int index)
PodSpecFluent.HostAliasesNested<A> editFirstHostAlias()
PodSpecFluent.HostAliasesNested<A> editLastHostAlias()
PodSpecFluent.HostAliasesNested<A> editMatchingHostAlias(Predicate<HostAliasBuilder> predicate)
Boolean isHostIPC()
Boolean hasHostIPC()
A withNewHostIPC(boolean arg1)
Boolean isHostNetwork()
Boolean hasHostNetwork()
A withNewHostNetwork(boolean arg1)
Boolean isHostPID()
Boolean hasHostPID()
A withNewHostPID(boolean arg1)
String getHostname()
Boolean hasHostname()
A withNewHostname(StringBuilder arg1)
A withNewHostname(StringBuffer arg1)
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)
Boolean hasMatchingImagePullSecret(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)
A addAllToInitContainers(Collection<Container> items)
A removeAllFromInitContainers(Collection<Container> items)
@Deprecated List<Container> getInitContainers()
Container buildInitContainer(int index)
Container buildFirstInitContainer()
Container buildLastInitContainer()
Container buildMatchingInitContainer(Predicate<ContainerBuilder> predicate)
Boolean hasMatchingInitContainer(Predicate<ContainerBuilder> predicate)
Boolean hasInitContainers()
PodSpecFluent.InitContainersNested<A> addNewInitContainer()
PodSpecFluent.InitContainersNested<A> addNewInitContainerLike(Container item)
PodSpecFluent.InitContainersNested<A> setNewInitContainerLike(int index, Container item)
PodSpecFluent.InitContainersNested<A> editInitContainer(int index)
PodSpecFluent.InitContainersNested<A> editFirstInitContainer()
PodSpecFluent.InitContainersNested<A> editLastInitContainer()
PodSpecFluent.InitContainersNested<A> editMatchingInitContainer(Predicate<ContainerBuilder> predicate)
String getNodeName()
Boolean hasNodeName()
A withNewNodeName(StringBuilder arg1)
A withNewNodeName(StringBuffer arg1)
Boolean hasNodeSelector()
String getPreemptionPolicy()
Boolean hasPreemptionPolicy()
A withNewPreemptionPolicy(StringBuilder arg1)
A withNewPreemptionPolicy(StringBuffer arg1)
Integer getPriority()
Boolean hasPriority()
String getPriorityClassName()
Boolean hasPriorityClassName()
A withNewPriorityClassName(StringBuilder arg1)
A withNewPriorityClassName(StringBuffer arg1)
A addToReadinessGates(int index, PodReadinessGate item)
A setToReadinessGates(int index, PodReadinessGate item)
A addToReadinessGates(PodReadinessGate... items)
A addAllToReadinessGates(Collection<PodReadinessGate> items)
A removeFromReadinessGates(PodReadinessGate... items)
A removeAllFromReadinessGates(Collection<PodReadinessGate> items)
@Deprecated List<PodReadinessGate> getReadinessGates()
List<PodReadinessGate> buildReadinessGates()
PodReadinessGate buildReadinessGate(int index)
PodReadinessGate buildFirstReadinessGate()
PodReadinessGate buildLastReadinessGate()
PodReadinessGate buildMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
Boolean hasMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
A withReadinessGates(List<PodReadinessGate> readinessGates)
A withReadinessGates(PodReadinessGate... readinessGates)
Boolean hasReadinessGates()
PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGate()
PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGateLike(PodReadinessGate item)
PodSpecFluent.ReadinessGatesNested<A> setNewReadinessGateLike(int index, PodReadinessGate item)
PodSpecFluent.ReadinessGatesNested<A> editReadinessGate(int index)
PodSpecFluent.ReadinessGatesNested<A> editFirstReadinessGate()
PodSpecFluent.ReadinessGatesNested<A> editLastReadinessGate()
PodSpecFluent.ReadinessGatesNested<A> editMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate)
String getRestartPolicy()
Boolean hasRestartPolicy()
A withNewRestartPolicy(StringBuilder arg1)
A withNewRestartPolicy(StringBuffer arg1)
String getRuntimeClassName()
Boolean hasRuntimeClassName()
A withNewRuntimeClassName(StringBuilder arg1)
A withNewRuntimeClassName(StringBuffer arg1)
String getSchedulerName()
Boolean hasSchedulerName()
A withNewSchedulerName(StringBuilder arg1)
A withNewSchedulerName(StringBuffer arg1)
@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()
A withNewServiceAccount(StringBuilder arg1)
A withNewServiceAccount(StringBuffer arg1)
String getServiceAccountName()
Boolean hasServiceAccountName()
A withNewServiceAccountName(StringBuilder arg1)
A withNewServiceAccountName(StringBuffer arg1)
Boolean isShareProcessNamespace()
Boolean hasShareProcessNamespace()
A withNewShareProcessNamespace(boolean arg1)
String getSubdomain()
Boolean hasSubdomain()
A withNewSubdomain(StringBuilder arg1)
A withNewSubdomain(StringBuffer arg1)
Long getTerminationGracePeriodSeconds()
A withTerminationGracePeriodSeconds(Long terminationGracePeriodSeconds)
Boolean hasTerminationGracePeriodSeconds()
A addToTolerations(int index, Toleration item)
A setToTolerations(int index, Toleration item)
A addToTolerations(Toleration... items)
A addAllToTolerations(Collection<Toleration> items)
A removeFromTolerations(Toleration... items)
A removeAllFromTolerations(Collection<Toleration> items)
@Deprecated List<Toleration> getTolerations()
List<Toleration> buildTolerations()
Toleration buildToleration(int index)
Toleration buildFirstToleration()
Toleration buildLastToleration()
Toleration buildMatchingToleration(Predicate<TolerationBuilder> predicate)
Boolean hasMatchingToleration(Predicate<TolerationBuilder> predicate)
A withTolerations(List<Toleration> tolerations)
A withTolerations(Toleration... tolerations)
Boolean hasTolerations()
A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
PodSpecFluent.TolerationsNested<A> addNewToleration()
PodSpecFluent.TolerationsNested<A> addNewTolerationLike(Toleration item)
PodSpecFluent.TolerationsNested<A> setNewTolerationLike(int index, Toleration item)
PodSpecFluent.TolerationsNested<A> editToleration(int index)
PodSpecFluent.TolerationsNested<A> editFirstToleration()
PodSpecFluent.TolerationsNested<A> editLastToleration()
PodSpecFluent.TolerationsNested<A> editMatchingToleration(Predicate<TolerationBuilder> predicate)
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 hasMatchingVolume(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 © 2015–2019 Red Hat. All rights reserved.