public class PodTemplateFluentImpl<A extends PodTemplateFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements PodTemplateFluent<A>
| Constructor and Description |
|---|
PodTemplateFluentImpl() |
PodTemplateFluentImpl(PodTemplate instance) |
| Modifier and Type | Method and Description |
|---|---|
A |
addAllToTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items) |
A |
addNewToleration(String effect,
String key,
String operator,
Long tolerationSeconds,
String value) |
A |
addToNodeSelector(Map<String,String> map) |
A |
addToNodeSelector(String key,
String value) |
A |
addToTolerations(int index,
io.fabric8.kubernetes.api.model.Toleration item) |
A |
addToTolerations(io.fabric8.kubernetes.api.model.Toleration... items) |
boolean |
equals(Object o) |
io.fabric8.kubernetes.api.model.Toleration |
getFirstToleration() |
io.fabric8.kubernetes.api.model.Toleration |
getLastToleration() |
io.fabric8.kubernetes.api.model.Toleration |
getMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate) |
Map<String,String> |
getNodeSelector() |
io.fabric8.kubernetes.api.model.Toleration |
getToleration(int index) |
List<io.fabric8.kubernetes.api.model.Toleration> |
getTolerations() |
int |
hashCode() |
Boolean |
hasMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate) |
Boolean |
hasNodeSelector() |
Boolean |
hasTolerations() |
A |
removeAllFromTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items) |
A |
removeFromNodeSelector(Map<String,String> map) |
A |
removeFromNodeSelector(String key) |
A |
removeFromTolerations(io.fabric8.kubernetes.api.model.Toleration... items) |
A |
setToTolerations(int index,
io.fabric8.kubernetes.api.model.Toleration item) |
A |
withNodeSelector(Map<String,String> nodeSelector) |
A |
withTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations) |
A |
withTolerations(io.fabric8.kubernetes.api.model.Toleration... tolerations) |
public PodTemplateFluentImpl()
public PodTemplateFluentImpl(PodTemplate instance)
public A addToNodeSelector(String key, String value)
addToNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A addToNodeSelector(Map<String,String> map)
addToNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A removeFromNodeSelector(String key)
removeFromNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A removeFromNodeSelector(Map<String,String> map)
removeFromNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public Map<String,String> getNodeSelector()
getNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A withNodeSelector(Map<String,String> nodeSelector)
withNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public Boolean hasNodeSelector()
hasNodeSelector in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A addToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)
addToTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A setToTolerations(int index, io.fabric8.kubernetes.api.model.Toleration item)
setToTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A addToTolerations(io.fabric8.kubernetes.api.model.Toleration... items)
addToTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A addAllToTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)
addAllToTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A removeFromTolerations(io.fabric8.kubernetes.api.model.Toleration... items)
removeFromTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A removeAllFromTolerations(Collection<io.fabric8.kubernetes.api.model.Toleration> items)
removeAllFromTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
getTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public io.fabric8.kubernetes.api.model.Toleration getToleration(int index)
getToleration in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public io.fabric8.kubernetes.api.model.Toleration getFirstToleration()
getFirstToleration in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public io.fabric8.kubernetes.api.model.Toleration getLastToleration()
getLastToleration in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public io.fabric8.kubernetes.api.model.Toleration getMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)
getMatchingToleration in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public Boolean hasMatchingToleration(Predicate<io.fabric8.kubernetes.api.model.Toleration> predicate)
hasMatchingToleration in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A withTolerations(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
withTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A withTolerations(io.fabric8.kubernetes.api.model.Toleration... tolerations)
withTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public Boolean hasTolerations()
hasTolerations in interface PodTemplateFluent<A extends PodTemplateFluent<A>>public A addNewToleration(String effect, String key, String operator, Long tolerationSeconds, String value)
addNewToleration in interface PodTemplateFluent<A extends PodTemplateFluent<A>>Copyright © 2015–2020 Red Hat. All rights reserved.