Package org.arquillian.cube.spi
Class Binding
java.lang.Object
org.arquillian.cube.spi.Binding
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPortBinding(Integer exposedPort, Integer bindingPort) booleangetBindingForExposedPort(Integer exposedPort) getIP()int
-
Field Details
-
bindings
-
-
Constructor Details
-
Binding
-
Binding
-
-
Method Details
-
getIP
-
getPortBindings
-
getNumberOfPortBindings
public int getNumberOfPortBindings() -
getFirstPortBinding
-
getInternalIP
-
addPortBinding
- Parameters:
exposedPort- the port exposed by the container (e.g. EXPOSE or Pod.Spec.Container[].Ports[])bindingPort- the port to which the container port is bound on this IP (e.g. docker run -p ip:hostPort:exposedPort or Pod.Spec.Container[].Ports[].HostPort)
-
arePortBindings
public boolean arePortBindings() -
getBindingForExposedPort
-