k3s/pkg/registry/service
Clayton Coleman 1588970ec4 Turn 409 into 500 Try Again Later when using generateName
If a client says they want the name to be generated, a 409 is
not appropriate (since they didn't specify a name). Instead, we
should return the next most appropriate error, which is a 5xx
error indicating the request failed but the client *should* try
again.  Since there is no 5xx error that exactly fits this purpose,
use 500 with StatusReasonTryAgainLater set.

This commit does not implement client retry on TryAgainLater, but
clients should retry up to a certain number of times.
2015-02-02 14:46:25 -05:00
..
doc.go Add several missing pkg Godoc files 2014-09-02 13:41:11 +02:00
ip_allocator.go Make master service IP static (no longer randomly assigned) 2015-01-30 16:07:19 -08:00
ip_allocator_test.go Make master service IP static (no longer randomly assigned) 2015-01-30 16:07:19 -08:00
registry.go Make ResourceVersion a string internally instead of uint64 2014-10-07 19:00:26 -04:00
rest.go Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
rest_test.go Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00