public interface IServicePort
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the port
|
int |
getPort()
Port exposed by the service
|
String |
getProtocol()
IP protocol (TCP, UDP)
|
int |
getTargetPort()
The target port on the pod it services
|
void |
setName(String name) |
void |
setPort(int port) |
void |
setProtocol(String proto) |
void |
setTargetPort(int port) |
String getName()
void setName(String name)
int getPort()
void setPort(int port)
int getTargetPort()
void setTargetPort(int port)
String getProtocol()
void setProtocol(String proto)
Copyright © 2016 Red Hat, Inc. All rights reserved.