k3s/contrib/mesos/pkg/scheduler/meta
Dr. Stefan Schimanski c55e7bf731 Annotate endpoints in mesos endpoint controller with container ports
The EndpointPort struct only stores one port: the port which is used
to connect to the container from outside. In the case of the Mesos
endpoint controller this is the host port. The container port is not part
of the endpoint structure at all.

A number of e2e tests need the container port information to validate correct
endpoint creation. Therefore this patch annotates the Endpoint struct with a
number of annotations mapping "<HostIP>:<HostPort>" to "<ContainerPort>". In a
follow-up commit these annotations are used to validate endpoints in a Mesos
setup.
2015-08-07 20:13:19 +02:00
..
annotations.go Annotate endpoints in mesos endpoint controller with container ports 2015-08-07 20:13:19 +02:00
doc.go additional comments as per code review 2015-06-11 13:47:14 +00:00
store.go Kubernetes Mesos integration 2015-06-10 20:58:39 +00:00