k3s/pkg/kubectl
Tim Hockin 8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
..
cmd Alias --container-port to --target-port in kubectl 2015-03-26 17:59:46 -07:00
resource add source filename in error message 2015-03-27 09:28:48 +08:00
describe.go Implement multi-port endpoints 2015-03-27 12:36:32 -07:00
describe_test.go Make describe able to be invoked on local resources 2015-03-16 00:09:20 -04:00
doc.go kubectl: kubecfg rewrite for better modularity and improved UX 2014-10-15 15:29:54 -07:00
generate.go Add a service generator and a command to easily expose services. 2015-01-27 10:06:08 -08:00
generate_test.go Add tests for run command and generate. 2015-01-14 07:12:32 -08:00
interfaces.go Allow Create/Update/Delete kubectl commands to handle arbitrary objects 2014-11-04 10:44:56 -05:00
kubectl.go Only insert outputversion as a preferred mapping type if no error occurs 2015-03-04 10:48:05 -05:00
proxy_server.go Configurable API prefix for kubectl proxy 2015-02-10 13:58:46 +00:00
proxy_server_test.go Replace custom proxy with httputil.ReverseProxy for kubecfg/kubectl. 2014-10-21 18:52:18 +01:00
resize.go Retry resizing replication controllers in kubectl 2015-03-02 20:26:41 -08:00
resize_test.go Retry resizing replication controllers in kubectl 2015-03-02 20:26:41 -08:00
resource_printer.go Implement multi-port endpoints 2015-03-27 12:36:32 -07:00
resource_printer_test.go Implement multi-port endpoints 2015-03-27 12:36:32 -07:00
rolling_updater.go Add a rollingupdate lib and command to kubectl 2015-01-06 17:29:05 -08:00
rolling_updater_test.go Add a kubectl stop command 2015-01-22 09:46:53 -08:00
run.go Rename type Port to ContainerPort 2015-02-27 21:05:59 -08:00
run_test.go Rename type Port to ContainerPort 2015-02-27 21:05:59 -08:00
service.go Rename Service.ContainerPort to TargetPort in v1b3 2015-03-20 13:50:06 -07:00
service_test.go Rename Service.ContainerPort to TargetPort in v1b3 2015-03-20 13:50:06 -07:00
sorted_event_list.go Modify Event struct to allow compressing multiple recurring events in to a single event. 2015-02-05 21:50:29 -08:00
sorted_event_list_test.go Modify Event struct to allow compressing multiple recurring events in to a single event. 2015-02-05 21:50:29 -08:00
sorted_resource_name_list.go Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
stop.go Properly reap replication controllers in e2e test 2015-03-09 13:08:12 -07:00
stop_test.go Properly reap replication controllers in e2e test 2015-03-09 13:08:12 -07:00
version.go add get available versions commmand 2015-03-17 13:51:18 +00:00
watchloop.go Allow kubectl get to fetch multiple resource types 2015-01-09 13:30:14 -05:00