public abstract class AbstractServiceAssert<S extends AbstractServiceAssert<S,A>,A extends io.fabric8.kubernetes.api.model.Service>
extends org.assertj.core.api.AbstractAssert<S,A>
Service specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServiceAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual Service. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual Service's additionalProperties is equal to the given one.
|
S |
hasAnnotations(Map annotations)
Verifies that the actual Service's annotations is equal to the given one.
|
S |
hasApiVersion(io.fabric8.kubernetes.api.model.Service.ApiVersion apiVersion)
Verifies that the actual Service's apiVersion is equal to the given one.
|
S |
hasContainerPort(io.fabric8.kubernetes.api.model.util.IntOrString containerPort)
Verifies that the actual Service's containerPort is equal to the given one.
|
S |
hasCreateExternalLoadBalancer(Boolean createExternalLoadBalancer)
Verifies that the actual Service's createExternalLoadBalancer is equal to the given one.
|
S |
hasCreationTimestamp(String creationTimestamp)
Verifies that the actual Service's creationTimestamp is equal to the given one.
|
S |
hasDeletionTimestamp(String deletionTimestamp)
Verifies that the actual Service's deletionTimestamp is equal to the given one.
|
S |
hasGenerateName(String generateName)
Verifies that the actual Service's generateName is equal to the given one.
|
S |
hasId(String id)
Verifies that the actual Service's id is equal to the given one.
|
S |
hasKind(String kind)
Verifies that the actual Service's kind is equal to the given one.
|
S |
hasLabels(Map labels)
Verifies that the actual Service's labels is equal to the given one.
|
S |
hasNamespace(String namespace)
Verifies that the actual Service's namespace is equal to the given one.
|
S |
hasNoPorts()
Verifies that the actual Service has no ports.
|
S |
hasNoPublicIPs()
Verifies that the actual Service has no publicIPs.
|
S |
hasPort(Integer port)
Verifies that the actual Service's port is equal to the given one.
|
S |
hasPortalIP(String portalIP)
Verifies that the actual Service's portalIP is equal to the given one.
|
S |
hasPortName(String portName)
Verifies that the actual Service's portName is equal to the given one.
|
S |
hasPorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
Verifies that the actual Service's ports contains the given ServicePort elements.
|
S |
hasProtocol(String protocol)
Verifies that the actual Service's protocol is equal to the given one.
|
S |
hasProxyPort(Integer proxyPort)
Verifies that the actual Service's proxyPort is equal to the given one.
|
S |
hasPublicIPs(String... publicIPs)
Verifies that the actual Service's publicIPs contains the given String elements.
|
S |
hasResourceVersion(Integer resourceVersion)
Verifies that the actual Service's resourceVersion is equal to the given one.
|
S |
hasSelector(Map selector)
Verifies that the actual Service's selector is equal to the given one.
|
S |
hasSelfLink(String selfLink)
Verifies that the actual Service's selfLink is equal to the given one.
|
S |
hasSessionAffinity(String sessionAffinity)
Verifies that the actual Service's sessionAffinity is equal to the given one.
|
S |
hasUid(String uid)
Verifies that the actual Service's uid is equal to the given one.
|
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorprotected AbstractServiceAssert(A actual, Class<S> selfType)
AbstractServiceAssert to make assertions on actual Service.actual - the Service we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual Service's additionalProperties to.AssertionError - - if the actual Service's additionalProperties is not equal to the given one.public S hasAnnotations(Map annotations)
annotations - the given annotations to compare the actual Service's annotations to.AssertionError - - if the actual Service's annotations is not equal to the given one.public S hasApiVersion(io.fabric8.kubernetes.api.model.Service.ApiVersion apiVersion)
apiVersion - the given apiVersion to compare the actual Service's apiVersion to.AssertionError - - if the actual Service's apiVersion is not equal to the given one.public S hasContainerPort(io.fabric8.kubernetes.api.model.util.IntOrString containerPort)
containerPort - the given containerPort to compare the actual Service's containerPort to.AssertionError - - if the actual Service's containerPort is not equal to the given one.public S hasCreateExternalLoadBalancer(Boolean createExternalLoadBalancer)
createExternalLoadBalancer - the given createExternalLoadBalancer to compare the actual Service's createExternalLoadBalancer to.AssertionError - - if the actual Service's createExternalLoadBalancer is not equal to the given one.public S hasCreationTimestamp(String creationTimestamp)
creationTimestamp - the given creationTimestamp to compare the actual Service's creationTimestamp to.AssertionError - - if the actual Service's creationTimestamp is not equal to the given one.public S hasDeletionTimestamp(String deletionTimestamp)
deletionTimestamp - the given deletionTimestamp to compare the actual Service's deletionTimestamp to.AssertionError - - if the actual Service's deletionTimestamp is not equal to the given one.public S hasGenerateName(String generateName)
generateName - the given generateName to compare the actual Service's generateName to.AssertionError - - if the actual Service's generateName is not equal to the given one.public S hasId(String id)
id - the given id to compare the actual Service's id to.AssertionError - - if the actual Service's id is not equal to the given one.public S hasKind(String kind)
kind - the given kind to compare the actual Service's kind to.AssertionError - - if the actual Service's kind is not equal to the given one.public S hasLabels(Map labels)
labels - the given labels to compare the actual Service's labels to.AssertionError - - if the actual Service's labels is not equal to the given one.public S hasNamespace(String namespace)
namespace - the given namespace to compare the actual Service's namespace to.AssertionError - - if the actual Service's namespace is not equal to the given one.public S hasPort(Integer port)
port - the given port to compare the actual Service's port to.AssertionError - - if the actual Service's port is not equal to the given one.public S hasPortName(String portName)
portName - the given portName to compare the actual Service's portName to.AssertionError - - if the actual Service's portName is not equal to the given one.public S hasPortalIP(String portalIP)
portalIP - the given portalIP to compare the actual Service's portalIP to.AssertionError - - if the actual Service's portalIP is not equal to the given one.public S hasPorts(io.fabric8.kubernetes.api.model.ServicePort... ports)
ports - the given elements that should be contained in actual Service's ports.AssertionError - if the actual Service's ports does not contain all given ServicePort elements.public S hasNoPorts()
AssertionError - if the actual Service's ports is not empty.public S hasProtocol(String protocol)
protocol - the given protocol to compare the actual Service's protocol to.AssertionError - - if the actual Service's protocol is not equal to the given one.public S hasProxyPort(Integer proxyPort)
proxyPort - the given proxyPort to compare the actual Service's proxyPort to.AssertionError - - if the actual Service's proxyPort is not equal to the given one.public S hasPublicIPs(String... publicIPs)
publicIPs - the given elements that should be contained in actual Service's publicIPs.AssertionError - if the actual Service's publicIPs does not contain all given String elements.public S hasNoPublicIPs()
AssertionError - if the actual Service's publicIPs is not empty.public S hasResourceVersion(Integer resourceVersion)
resourceVersion - the given resourceVersion to compare the actual Service's resourceVersion to.AssertionError - - if the actual Service's resourceVersion is not equal to the given one.public S hasSelector(Map selector)
selector - the given selector to compare the actual Service's selector to.AssertionError - - if the actual Service's selector is not equal to the given one.public S hasSelfLink(String selfLink)
selfLink - the given selfLink to compare the actual Service's selfLink to.AssertionError - - if the actual Service's selfLink is not equal to the given one.public S hasSessionAffinity(String sessionAffinity)
sessionAffinity - the given sessionAffinity to compare the actual Service's sessionAffinity to.AssertionError - - if the actual Service's sessionAffinity is not equal to the given one.public S hasUid(String uid)
uid - the given uid to compare the actual Service's uid to.AssertionError - - if the actual Service's uid is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.