k3s/pkg/api/validation
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
..
doc.go Make validation work when not in the api package. 2014-09-02 10:42:06 -07:00
events.go Kubelet reports node related events with empty namespace for now. 2015-03-26 16:30:23 -07:00
events_test.go Fix server-side namespace handling for events; add validation 2014-11-14 09:43:28 -08:00
schema.go Replace automatic YAML decoding with opt-in YAML decoding 2015-03-20 00:03:56 -04:00
schema_test.go Factor out API defaulting from validation logic 2015-02-03 00:55:42 -08:00
v1beta1-swagger.json Updating pkg/api/validation/ to consider swagger.items as object and not array 2015-03-12 16:04:11 -07:00
validation.go Implement multi-port endpoints 2015-03-27 12:36:32 -07:00
validation_test.go Implement multi-port endpoints 2015-03-27 12:36:32 -07:00