k3s/pkg/api
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
..
errors Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
latest Plumb restmapper properly through apiserver and tests 2015-02-02 10:26:19 -05:00
meta Add name generation and normalize common create flows 2015-02-02 14:44:53 -05:00
resource Move all kubernetes to posix flags 2015-01-15 09:12:19 -08:00
rest Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
testapi v1beta3 Pod refactor 2014-11-18 09:25:42 -05:00
testing Use name generation on pods via replication controllers 2015-02-02 14:44:53 -05:00
v1beta1 Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
v1beta2 Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
v1beta3 Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
validation Use name generation on pods via replication controllers 2015-02-02 14:44:53 -05:00
context.go update code.goole.com/p/go.net to golang.org/x/net 2014-11-16 22:10:24 -05:00
context_test.go Refactor tests to split ObjectMeta from TypeMeta 2014-10-24 11:22:21 -04:00
conversion.go make conversion do deep copies 2015-01-15 12:02:22 -08:00
doc.go Split api into api, api/common, api/validation & apitools 2014-09-02 10:40:52 -07:00
generate.go Add name generation and normalize common create flows 2015-02-02 14:44:53 -05:00
generate_test.go Add name generation and normalize common create flows 2015-02-02 14:44:53 -05:00
helpers.go Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
helpers_test.go Adding a 'Typename' strongtype for representing all compute resource types. 2015-01-23 22:17:56 +00:00
meta.go Add name generation and normalize common create flows 2015-02-02 14:44:53 -05:00
meta_test.go Set uid during object create 2014-11-13 15:25:49 -05:00
ref.go Allow, when testing, SelfLinks to be unset. Kubelet now makes events in tests. 2014-12-09 17:53:42 -08:00
ref_test.go Make fieldPath part of getting a reference rather than part of making an event. 2014-11-05 15:09:14 -08:00
register.go Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
resource_helpers.go Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource 2015-02-01 02:19:55 +00:00
resource_helpers_test.go Adding ResourceRequirementSpec to v1beta1, v1beta2, and v1beta3 APIs. The old resource 2015-02-01 02:19:55 +00:00
serialization_test.go Refactor API object fuzzer 2015-01-29 18:14:09 -08:00
types.go Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
unversioned.go Updating handleIndex in master to list all valid paths. 2015-01-21 13:40:01 -08:00