k3s/pkg/tools
Yuki Yugui Sonoda 2aa3de12d4 Make RESTful operations return 404 Not Found when the target resource
does not exist.

In the original implementation, GET, DELETE and PUT operations on
non-existent resources used to return 500 but not 404.
2014-07-18 14:16:56 +09:00
..
doc.go Move etcd helpers to tools package so they can depend on api package. Add ResourceVersion, hook it up to etcd index to get atomic PUTs. 2014-07-02 15:42:05 -07:00
etcd_tools.go Make RESTful operations return 404 Not Found when the target resource 2014-07-18 14:16:56 +09:00
etcd_tools_test.go Define EtcdErrorCode as constant and reuse EtcdError instances 2014-07-15 20:48:06 +09:00
fake_etcd_client.go Define EtcdErrorCode as constant and reuse EtcdError instances 2014-07-15 20:48:06 +09:00