k3s/pkg/registry
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
..
binding Remove unimplemented methods 2015-01-12 12:20:01 -05:00
controller Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
endpoint Remove unimplemented methods 2015-01-12 12:20:01 -05:00
etcd Add some extra checking around a call to list pods. 2015-01-28 22:22:54 -08:00
event Merge pull request #3445 from saad-ali/fix3172 2015-01-14 15:03:06 -08:00
generic Updated default function names, keyroot to keyrootfunc 2014-12-15 10:42:13 -05:00
limitrange Modified LimitRangeItem.Kind to LimitRangeItem.Type, added example files 2015-01-27 16:41:28 -05:00
minion Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
pod Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
registrytest Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
resourcequota Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
resourcequotausage Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
service Turn 409 into 500 Try Again Later when using generateName 2015-02-02 14:46:25 -05:00
doc.go Address package level comments for readability. 2014-06-12 20:26:12 -07:00