Package io.fabric8.kubernetes.api.model
Interface PodSpecFluent<A extends PodSpecFluent<A>>
- All Superinterfaces:
Fluent<A>
- All Known Subinterfaces:
PodFluent.SpecNested<N>,PodTemplateSpecFluent.SpecNested<N>,WatchEventFluent.PodSpecObjectNested<N>
- All Known Implementing Classes:
DoneablePodSpec,PodFluentImpl.SpecNestedImpl,PodSpecBuilder,PodSpecFluentImpl,PodTemplateSpecFluentImpl.SpecNestedImpl,WatchEventFluentImpl.PodSpecObjectNestedImpl
public interface PodSpecFluent<A extends PodSpecFluent<A>> extends Fluent<A>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePodSpecFluent.AffinityNested<N>static interfacePodSpecFluent.ContainersNested<N>static interfacePodSpecFluent.DnsConfigNested<N>static interfacePodSpecFluent.EphemeralContainersNested<N>static interfacePodSpecFluent.HostAliasesNested<N>static interfacePodSpecFluent.ImagePullSecretsNested<N>static interfacePodSpecFluent.InitContainersNested<N>static interfacePodSpecFluent.ReadinessGatesNested<N>static interfacePodSpecFluent.SecurityContextNested<N>static interfacePodSpecFluent.TolerationsNested<N>static interfacePodSpecFluent.TopologySpreadConstraintsNested<N>static interfacePodSpecFluent.VolumesNested<N> -
Method Summary
-
Method Details
-
getActiveDeadlineSeconds
Long getActiveDeadlineSeconds() -
withActiveDeadlineSeconds
-
hasActiveDeadlineSeconds
Boolean hasActiveDeadlineSeconds() -
getAffinity
Deprecated.This method has been deprecated, please use method buildAffinity instead.- Returns:
- The buildable object.
-
buildAffinity
Affinity buildAffinity() -
withAffinity
-
hasAffinity
Boolean hasAffinity() -
withNewAffinity
PodSpecFluent.AffinityNested<A> withNewAffinity() -
withNewAffinityLike
-
editAffinity
PodSpecFluent.AffinityNested<A> editAffinity() -
editOrNewAffinity
PodSpecFluent.AffinityNested<A> editOrNewAffinity() -
editOrNewAffinityLike
-
isAutomountServiceAccountToken
Boolean isAutomountServiceAccountToken() -
withAutomountServiceAccountToken
-
hasAutomountServiceAccountToken
Boolean hasAutomountServiceAccountToken() -
withNewAutomountServiceAccountToken
-
withNewAutomountServiceAccountToken
-
addToContainers
-
setToContainers
-
addToContainers
-
addAllToContainers
-
removeFromContainers
-
removeAllFromContainers
-
removeMatchingFromContainers
-
getContainers
Deprecated.This method has been deprecated, please use method buildContainers instead.- Returns:
- The buildable object.
-
buildContainers
-
buildContainer
-
buildFirstContainer
Container buildFirstContainer() -
buildLastContainer
Container buildLastContainer() -
buildMatchingContainer
-
hasMatchingContainer
-
withContainers
-
withContainers
-
hasContainers
Boolean hasContainers() -
addNewContainer
PodSpecFluent.ContainersNested<A> addNewContainer() -
addNewContainerLike
-
setNewContainerLike
-
editContainer
-
editFirstContainer
PodSpecFluent.ContainersNested<A> editFirstContainer() -
editLastContainer
PodSpecFluent.ContainersNested<A> editLastContainer() -
editMatchingContainer
-
getDnsConfig
Deprecated.This method has been deprecated, please use method buildDnsConfig instead.- Returns:
- The buildable object.
-
buildDnsConfig
PodDNSConfig buildDnsConfig() -
withDnsConfig
-
hasDnsConfig
Boolean hasDnsConfig() -
withNewDnsConfig
PodSpecFluent.DnsConfigNested<A> withNewDnsConfig() -
withNewDnsConfigLike
-
editDnsConfig
PodSpecFluent.DnsConfigNested<A> editDnsConfig() -
editOrNewDnsConfig
PodSpecFluent.DnsConfigNested<A> editOrNewDnsConfig() -
editOrNewDnsConfigLike
-
getDnsPolicy
String getDnsPolicy() -
withDnsPolicy
-
hasDnsPolicy
Boolean hasDnsPolicy() -
withNewDnsPolicy
-
withNewDnsPolicy
-
withNewDnsPolicy
-
isEnableServiceLinks
Boolean isEnableServiceLinks() -
withEnableServiceLinks
-
hasEnableServiceLinks
Boolean hasEnableServiceLinks() -
withNewEnableServiceLinks
-
withNewEnableServiceLinks
-
addToEphemeralContainers
-
setToEphemeralContainers
-
addToEphemeralContainers
-
addAllToEphemeralContainers
-
removeFromEphemeralContainers
-
removeAllFromEphemeralContainers
-
removeMatchingFromEphemeralContainers
-
getEphemeralContainers
Deprecated.This method has been deprecated, please use method buildEphemeralContainers instead.- Returns:
- The buildable object.
-
buildEphemeralContainers
List<EphemeralContainer> buildEphemeralContainers() -
buildEphemeralContainer
-
buildFirstEphemeralContainer
EphemeralContainer buildFirstEphemeralContainer() -
buildLastEphemeralContainer
EphemeralContainer buildLastEphemeralContainer() -
buildMatchingEphemeralContainer
-
hasMatchingEphemeralContainer
-
withEphemeralContainers
-
withEphemeralContainers
-
hasEphemeralContainers
Boolean hasEphemeralContainers() -
addNewEphemeralContainer
PodSpecFluent.EphemeralContainersNested<A> addNewEphemeralContainer() -
addNewEphemeralContainerLike
-
setNewEphemeralContainerLike
PodSpecFluent.EphemeralContainersNested<A> setNewEphemeralContainerLike(int index, EphemeralContainer item) -
editEphemeralContainer
-
editFirstEphemeralContainer
PodSpecFluent.EphemeralContainersNested<A> editFirstEphemeralContainer() -
editLastEphemeralContainer
PodSpecFluent.EphemeralContainersNested<A> editLastEphemeralContainer() -
editMatchingEphemeralContainer
PodSpecFluent.EphemeralContainersNested<A> editMatchingEphemeralContainer(Predicate<EphemeralContainerBuilder> predicate) -
addToHostAliases
-
setToHostAliases
-
addToHostAliases
-
addAllToHostAliases
-
removeFromHostAliases
-
removeAllFromHostAliases
-
removeMatchingFromHostAliases
-
getHostAliases
Deprecated.This method has been deprecated, please use method buildHostAliases instead.- Returns:
- The buildable object.
-
buildHostAliases
-
buildHostAlias
-
buildFirstHostAlias
HostAlias buildFirstHostAlias() -
buildLastHostAlias
HostAlias buildLastHostAlias() -
buildMatchingHostAlias
-
hasMatchingHostAlias
-
withHostAliases
-
withHostAliases
-
hasHostAliases
Boolean hasHostAliases() -
addNewHostAlias
PodSpecFluent.HostAliasesNested<A> addNewHostAlias() -
addNewHostAliasLike
-
setNewHostAliasLike
-
editHostAlias
-
editFirstHostAlias
PodSpecFluent.HostAliasesNested<A> editFirstHostAlias() -
editLastHostAlias
PodSpecFluent.HostAliasesNested<A> editLastHostAlias() -
editMatchingHostAlias
-
isHostIPC
Boolean isHostIPC() -
withHostIPC
-
hasHostIPC
Boolean hasHostIPC() -
withNewHostIPC
-
withNewHostIPC
-
isHostNetwork
Boolean isHostNetwork() -
withHostNetwork
-
hasHostNetwork
Boolean hasHostNetwork() -
withNewHostNetwork
-
withNewHostNetwork
-
isHostPID
Boolean isHostPID() -
withHostPID
-
hasHostPID
Boolean hasHostPID() -
withNewHostPID
-
withNewHostPID
-
getHostname
String getHostname() -
withHostname
-
hasHostname
Boolean hasHostname() -
withNewHostname
-
withNewHostname
-
withNewHostname
-
addToImagePullSecrets
-
setToImagePullSecrets
-
addToImagePullSecrets
-
addAllToImagePullSecrets
-
removeFromImagePullSecrets
-
removeAllFromImagePullSecrets
-
removeMatchingFromImagePullSecrets
-
getImagePullSecrets
Deprecated.This method has been deprecated, please use method buildImagePullSecrets instead.- Returns:
- The buildable object.
-
buildImagePullSecrets
List<LocalObjectReference> buildImagePullSecrets() -
buildImagePullSecret
-
buildFirstImagePullSecret
LocalObjectReference buildFirstImagePullSecret() -
buildLastImagePullSecret
LocalObjectReference buildLastImagePullSecret() -
buildMatchingImagePullSecret
LocalObjectReference buildMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate) -
hasMatchingImagePullSecret
-
withImagePullSecrets
-
withImagePullSecrets
-
hasImagePullSecrets
Boolean hasImagePullSecrets() -
addNewImagePullSecret
-
addNewImagePullSecret
PodSpecFluent.ImagePullSecretsNested<A> addNewImagePullSecret() -
addNewImagePullSecretLike
-
setNewImagePullSecretLike
PodSpecFluent.ImagePullSecretsNested<A> setNewImagePullSecretLike(int index, LocalObjectReference item) -
editImagePullSecret
-
editFirstImagePullSecret
PodSpecFluent.ImagePullSecretsNested<A> editFirstImagePullSecret() -
editLastImagePullSecret
PodSpecFluent.ImagePullSecretsNested<A> editLastImagePullSecret() -
editMatchingImagePullSecret
PodSpecFluent.ImagePullSecretsNested<A> editMatchingImagePullSecret(Predicate<LocalObjectReferenceBuilder> predicate) -
addToInitContainers
-
setToInitContainers
-
addToInitContainers
-
addAllToInitContainers
-
removeFromInitContainers
-
removeAllFromInitContainers
-
removeMatchingFromInitContainers
-
getInitContainers
Deprecated.This method has been deprecated, please use method buildInitContainers instead.- Returns:
- The buildable object.
-
buildInitContainers
-
buildInitContainer
-
buildFirstInitContainer
Container buildFirstInitContainer() -
buildLastInitContainer
Container buildLastInitContainer() -
buildMatchingInitContainer
-
hasMatchingInitContainer
-
withInitContainers
-
withInitContainers
-
hasInitContainers
Boolean hasInitContainers() -
addNewInitContainer
PodSpecFluent.InitContainersNested<A> addNewInitContainer() -
addNewInitContainerLike
-
setNewInitContainerLike
-
editInitContainer
-
editFirstInitContainer
PodSpecFluent.InitContainersNested<A> editFirstInitContainer() -
editLastInitContainer
PodSpecFluent.InitContainersNested<A> editLastInitContainer() -
editMatchingInitContainer
PodSpecFluent.InitContainersNested<A> editMatchingInitContainer(Predicate<ContainerBuilder> predicate) -
getNodeName
String getNodeName() -
withNodeName
-
hasNodeName
Boolean hasNodeName() -
withNewNodeName
-
withNewNodeName
-
withNewNodeName
-
addToNodeSelector
-
addToNodeSelector
-
removeFromNodeSelector
-
removeFromNodeSelector
-
getNodeSelector
-
withNodeSelector
-
hasNodeSelector
Boolean hasNodeSelector() -
addToOverhead
-
addToOverhead
-
removeFromOverhead
-
removeFromOverhead
-
getOverhead
-
withOverhead
-
hasOverhead
Boolean hasOverhead() -
getPreemptionPolicy
String getPreemptionPolicy() -
withPreemptionPolicy
-
hasPreemptionPolicy
Boolean hasPreemptionPolicy() -
withNewPreemptionPolicy
-
withNewPreemptionPolicy
-
withNewPreemptionPolicy
-
getPriority
Integer getPriority() -
withPriority
-
hasPriority
Boolean hasPriority() -
withNewPriority
-
withNewPriority
-
getPriorityClassName
String getPriorityClassName() -
withPriorityClassName
-
hasPriorityClassName
Boolean hasPriorityClassName() -
withNewPriorityClassName
-
withNewPriorityClassName
-
withNewPriorityClassName
-
addToReadinessGates
-
setToReadinessGates
-
addToReadinessGates
-
addAllToReadinessGates
-
removeFromReadinessGates
-
removeAllFromReadinessGates
-
removeMatchingFromReadinessGates
-
getReadinessGates
Deprecated.This method has been deprecated, please use method buildReadinessGates instead.- Returns:
- The buildable object.
-
buildReadinessGates
List<PodReadinessGate> buildReadinessGates() -
buildReadinessGate
-
buildFirstReadinessGate
PodReadinessGate buildFirstReadinessGate() -
buildLastReadinessGate
PodReadinessGate buildLastReadinessGate() -
buildMatchingReadinessGate
-
hasMatchingReadinessGate
-
withReadinessGates
-
withReadinessGates
-
hasReadinessGates
Boolean hasReadinessGates() -
addNewReadinessGate
-
addNewReadinessGate
PodSpecFluent.ReadinessGatesNested<A> addNewReadinessGate() -
addNewReadinessGateLike
-
setNewReadinessGateLike
-
editReadinessGate
-
editFirstReadinessGate
PodSpecFluent.ReadinessGatesNested<A> editFirstReadinessGate() -
editLastReadinessGate
PodSpecFluent.ReadinessGatesNested<A> editLastReadinessGate() -
editMatchingReadinessGate
PodSpecFluent.ReadinessGatesNested<A> editMatchingReadinessGate(Predicate<PodReadinessGateBuilder> predicate) -
getRestartPolicy
String getRestartPolicy() -
withRestartPolicy
-
hasRestartPolicy
Boolean hasRestartPolicy() -
withNewRestartPolicy
-
withNewRestartPolicy
-
withNewRestartPolicy
-
getRuntimeClassName
String getRuntimeClassName() -
withRuntimeClassName
-
hasRuntimeClassName
Boolean hasRuntimeClassName() -
withNewRuntimeClassName
-
withNewRuntimeClassName
-
withNewRuntimeClassName
-
getSchedulerName
String getSchedulerName() -
withSchedulerName
-
hasSchedulerName
Boolean hasSchedulerName() -
withNewSchedulerName
-
withNewSchedulerName
-
withNewSchedulerName
-
getSecurityContext
Deprecated.This method has been deprecated, please use method buildSecurityContext instead.- Returns:
- The buildable object.
-
buildSecurityContext
PodSecurityContext buildSecurityContext() -
withSecurityContext
-
hasSecurityContext
Boolean hasSecurityContext() -
withNewSecurityContext
PodSpecFluent.SecurityContextNested<A> withNewSecurityContext() -
withNewSecurityContextLike
-
editSecurityContext
PodSpecFluent.SecurityContextNested<A> editSecurityContext() -
editOrNewSecurityContext
PodSpecFluent.SecurityContextNested<A> editOrNewSecurityContext() -
editOrNewSecurityContextLike
-
getServiceAccount
String getServiceAccount() -
withServiceAccount
-
hasServiceAccount
Boolean hasServiceAccount() -
withNewServiceAccount
-
withNewServiceAccount
-
withNewServiceAccount
-
getServiceAccountName
String getServiceAccountName() -
withServiceAccountName
-
hasServiceAccountName
Boolean hasServiceAccountName() -
withNewServiceAccountName
-
withNewServiceAccountName
-
withNewServiceAccountName
-
isShareProcessNamespace
Boolean isShareProcessNamespace() -
withShareProcessNamespace
-
hasShareProcessNamespace
Boolean hasShareProcessNamespace() -
withNewShareProcessNamespace
-
withNewShareProcessNamespace
-
getSubdomain
String getSubdomain() -
withSubdomain
-
hasSubdomain
Boolean hasSubdomain() -
withNewSubdomain
-
withNewSubdomain
-
withNewSubdomain
-
getTerminationGracePeriodSeconds
Long getTerminationGracePeriodSeconds() -
withTerminationGracePeriodSeconds
-
hasTerminationGracePeriodSeconds
Boolean hasTerminationGracePeriodSeconds() -
addToTolerations
-
setToTolerations
-
addToTolerations
-
addAllToTolerations
-
removeFromTolerations
-
removeAllFromTolerations
-
removeMatchingFromTolerations
-
getTolerations
Deprecated.This method has been deprecated, please use method buildTolerations instead.- Returns:
- The buildable object.
-
buildTolerations
List<Toleration> buildTolerations() -
buildToleration
-
buildFirstToleration
Toleration buildFirstToleration() -
buildLastToleration
Toleration buildLastToleration() -
buildMatchingToleration
-
hasMatchingToleration
-
withTolerations
-
withTolerations
-
hasTolerations
Boolean hasTolerations() -
addNewToleration
-
addNewToleration
PodSpecFluent.TolerationsNested<A> addNewToleration() -
addNewTolerationLike
-
setNewTolerationLike
-
editToleration
-
editFirstToleration
PodSpecFluent.TolerationsNested<A> editFirstToleration() -
editLastToleration
PodSpecFluent.TolerationsNested<A> editLastToleration() -
editMatchingToleration
-
addToTopologySpreadConstraints
-
setToTopologySpreadConstraints
-
addToTopologySpreadConstraints
-
addAllToTopologySpreadConstraints
-
removeFromTopologySpreadConstraints
-
removeAllFromTopologySpreadConstraints
-
removeMatchingFromTopologySpreadConstraints
A removeMatchingFromTopologySpreadConstraints(Predicate<TopologySpreadConstraintBuilder> predicate) -
getTopologySpreadConstraints
Deprecated.This method has been deprecated, please use method buildTopologySpreadConstraints instead.- Returns:
- The buildable object.
-
buildTopologySpreadConstraints
List<TopologySpreadConstraint> buildTopologySpreadConstraints() -
buildTopologySpreadConstraint
-
buildFirstTopologySpreadConstraint
TopologySpreadConstraint buildFirstTopologySpreadConstraint() -
buildLastTopologySpreadConstraint
TopologySpreadConstraint buildLastTopologySpreadConstraint() -
buildMatchingTopologySpreadConstraint
TopologySpreadConstraint buildMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate) -
hasMatchingTopologySpreadConstraint
-
withTopologySpreadConstraints
-
withTopologySpreadConstraints
-
hasTopologySpreadConstraints
Boolean hasTopologySpreadConstraints() -
addNewTopologySpreadConstraint
PodSpecFluent.TopologySpreadConstraintsNested<A> addNewTopologySpreadConstraint() -
addNewTopologySpreadConstraintLike
PodSpecFluent.TopologySpreadConstraintsNested<A> addNewTopologySpreadConstraintLike(TopologySpreadConstraint item) -
setNewTopologySpreadConstraintLike
PodSpecFluent.TopologySpreadConstraintsNested<A> setNewTopologySpreadConstraintLike(int index, TopologySpreadConstraint item) -
editTopologySpreadConstraint
-
editFirstTopologySpreadConstraint
PodSpecFluent.TopologySpreadConstraintsNested<A> editFirstTopologySpreadConstraint() -
editLastTopologySpreadConstraint
PodSpecFluent.TopologySpreadConstraintsNested<A> editLastTopologySpreadConstraint() -
editMatchingTopologySpreadConstraint
PodSpecFluent.TopologySpreadConstraintsNested<A> editMatchingTopologySpreadConstraint(Predicate<TopologySpreadConstraintBuilder> predicate) -
addToVolumes
-
setToVolumes
-
addToVolumes
-
addAllToVolumes
-
removeFromVolumes
-
removeAllFromVolumes
-
removeMatchingFromVolumes
-
getVolumes
Deprecated.This method has been deprecated, please use method buildVolumes instead.- Returns:
- The buildable object.
-
buildVolumes
-
buildVolume
-
buildFirstVolume
Volume buildFirstVolume() -
buildLastVolume
Volume buildLastVolume() -
buildMatchingVolume
-
hasMatchingVolume
-
withVolumes
-
withVolumes
-
hasVolumes
Boolean hasVolumes() -
addNewVolume
PodSpecFluent.VolumesNested<A> addNewVolume() -
addNewVolumeLike
-
setNewVolumeLike
-
editVolume
-
editFirstVolume
PodSpecFluent.VolumesNested<A> editFirstVolume() -
editLastVolume
PodSpecFluent.VolumesNested<A> editLastVolume() -
editMatchingVolume
-