open-vault/http
Caleb Tennis 4da080e769 This adds a new error class which can be used by logical backends to
specify more concrete error cases to make their way back up the stack.

Over time there is probably a cleaner way of doing this, but that's
looking like a more massive rewrite and this solves some issues in
the meantime.

Use a CodedError to return a more concrete HTTP return code for
operations you want to do so.  Returning a regular error leaves
the existing behavior in place.
2015-08-10 13:27:25 -04:00
..
handler.go This adds a new error class which can be used by logical backends to 2015-08-10 13:27:25 -04:00
handler_test.go This adds a new error class which can be used by logical backends to 2015-08-10 13:27:25 -04:00
help.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
help_test.go http: help 2015-04-02 22:26:45 -07:00
http_test.go command/meta: tests passing 2015-03-30 23:30:30 -07:00
logical.go vault: cleanups for the audit log changes 2015-06-29 15:27:28 -07:00
logical_test.go vault: testing raw responses 2015-05-27 14:19:12 -07:00
server.go http: start the API server 2015-03-11 23:05:16 -07:00
sys_audit.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_audit_test.go http: fix tests 2015-04-04 17:42:19 -07:00
sys_auth.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_auth_test.go http: fix tests 2015-04-04 17:42:19 -07:00
sys_health.go http: support ?standbyok for 200 status on standby. Fixes #389 2015-07-02 17:49:35 -07:00
sys_health_test.go http: adding sys/health endpoint 2015-04-23 11:53:31 -07:00
sys_init.go http: root token in init 2015-03-29 16:22:09 -07:00
sys_init_test.go http: root token in init 2015-03-29 16:22:09 -07:00
sys_leader.go http: Adding sys/leader endpoint 2015-04-20 11:59:24 -07:00
sys_leader_test.go http: Adding sys/leader endpoint 2015-04-20 11:59:24 -07:00
sys_lease.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_lease_test.go http: renew endpoints 2015-04-13 20:42:07 -07:00
sys_mount.go This adds a new error class which can be used by logical backends to 2015-08-10 13:27:25 -04:00
sys_mount_test.go Accept PUT as well as post to sys/mounts 2015-06-16 13:02:21 -04:00
sys_policy.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_policy_test.go http: all policy endpoints 2015-04-01 17:59:50 -07:00
sys_rekey.go http: adding rekey handlers 2015-05-28 14:28:50 -07:00
sys_rekey_test.go http: adding rekey handlers 2015-05-28 14:28:50 -07:00
sys_rotate.go Adding error and remote_address to audit log lines 2015-06-18 17:17:18 -07:00
sys_rotate_test.go http: adding key-status and rotate handlers 2015-05-27 18:02:50 -07:00
sys_seal.go http: /sys/seal requires a token 2015-03-31 11:45:44 -07:00
sys_seal_test.go http: /sys/seal requires a token 2015-03-31 11:45:44 -07:00
testing.go http: split testing methods 2015-04-19 13:47:56 -07:00