public abstract class AbstractServiceSpecAssert<S extends AbstractServiceSpecAssert<S,A>,A extends io.fabric8.kubernetes.api.model.ServiceSpec>
extends org.assertj.core.api.AbstractAssert<S,A>
ServiceSpec
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractServiceSpecAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual ServiceSpec. |
Modifier and Type | Method and Description |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
clusterIP()
Navigates to the property clusterIP so that assertions can be done on it
|
NavigationListAssert<String,org.assertj.core.api.StringAssert> |
externalIPs()
Navigates to the property externalIPs so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
externalName()
Navigates to the property externalName so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
externalTrafficPolicy()
Navigates to the property externalTrafficPolicy so that assertions can be done on it
|
S |
hasHealthCheckNodePort(Integer healthCheckNodePort)
Verifies that the actual ServiceSpec's healthCheckNodePort is equal to the given one.
|
org.assertj.core.api.StringAssert |
ipFamily()
Navigates to the property ipFamily so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
loadBalancerIP()
Navigates to the property loadBalancerIP so that assertions can be done on it
|
NavigationListAssert<String,org.assertj.core.api.StringAssert> |
loadBalancerSourceRanges()
Navigates to the property loadBalancerSourceRanges so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.ServicePort,ServicePortAssert> |
ports()
Navigates to the property ports so that assertions can be done on it
|
org.assertj.core.api.BooleanAssert |
publishNotReadyAddresses()
Navigates to the property publishNotReadyAddresses so that assertions can be done on it
|
org.assertj.core.api.MapAssert |
selector()
Navigates to the property selector so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
sessionAffinity()
Navigates to the property sessionAffinity so that assertions can be done on it
|
SessionAffinityConfigAssert |
sessionAffinityConfig()
Navigates to the property sessionAffinityConfig so that assertions can be done on it
|
NavigationListAssert<String,org.assertj.core.api.StringAssert> |
topologyKeys()
Navigates to the property topologyKeys so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
type()
Navigates to the property type so that assertions can be done on it
|
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withRepresentation, withThreadDumpOnError
protected AbstractServiceSpecAssert(A actual, Class<S> selfType)
AbstractServiceSpecAssert
to make assertions on actual ServiceSpec.actual
- the ServiceSpec we want to make assertions on.public org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.StringAssert clusterIP()
public NavigationListAssert<String,org.assertj.core.api.StringAssert> externalIPs()
public org.assertj.core.api.StringAssert externalName()
public org.assertj.core.api.StringAssert externalTrafficPolicy()
public S hasHealthCheckNodePort(Integer healthCheckNodePort)
healthCheckNodePort
- the given healthCheckNodePort to compare the actual ServiceSpec's healthCheckNodePort to.AssertionError
- - if the actual ServiceSpec's healthCheckNodePort is not equal to the given one.public org.assertj.core.api.StringAssert ipFamily()
public org.assertj.core.api.StringAssert loadBalancerIP()
public NavigationListAssert<String,org.assertj.core.api.StringAssert> loadBalancerSourceRanges()
public NavigationListAssert<io.fabric8.kubernetes.api.model.ServicePort,ServicePortAssert> ports()
public org.assertj.core.api.BooleanAssert publishNotReadyAddresses()
public org.assertj.core.api.MapAssert selector()
public org.assertj.core.api.StringAssert sessionAffinity()
public SessionAffinityConfigAssert sessionAffinityConfig()
public NavigationListAssert<String,org.assertj.core.api.StringAssert> topologyKeys()
public org.assertj.core.api.StringAssert type()
Copyright © 2020. All rights reserved.