public class ServiceSpec
extends java.lang.Object
Constructor and Description |
---|
ServiceSpec() |
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getClusterIp() |
java.util.List<Port> |
getPorts() |
void |
setClusterIp(java.net.InetAddress clusterIp) |
void |
setPorts(java.util.List<Port> ports) |
public java.util.List<Port> getPorts()
public void setPorts(java.util.List<Port> ports)
ports
- The list of ports that are exposed by this servicepublic java.net.InetAddress getClusterIp()
public void setClusterIp(java.net.InetAddress clusterIp)
clusterIp
- The IP address of the service.