EndpointSpec represents the spec of an endpoint.
| 38 | |
| 39 | // EndpointSpec represents the spec of an endpoint. |
| 40 | type EndpointSpec struct { |
| 41 | Mode int32 `json:",omitempty"` |
| 42 | Ports []PortConfig `json:",omitempty"` |
| 43 | } |
| 44 | |
| 45 | // PortConfig represents the config of a port. |
| 46 | type PortConfig struct { |
nothing calls this directly
no outgoing calls
no test coverage detected