| allowed_methods/2 | Allowed methods. |
| content_types_accepted/2 | Return content-types which are acceptable. |
| content_types_provided/2 | Return content-types which are provided. |
| delete_resource/2 | Remove the staged plan. |
| forbidden/2 | Prevent requests coming from an invalid origin. |
| from_json/2 | Stage a series of changes. |
| init/1 | Initialize resource. |
| is_authorized/2 | Ensure user has access. |
| process_post/2 | Stage a series of changes, and commit the plan immediately. |
| routes/0 | Return routes this resource should respond to. |
| service_available/2 | Handle SSL requests. |
| to_json/2 | Return the current cluster, along with a plan if it's available. |
allowed_methods(ReqData::wrq:reqdata(), Context::undefined) -> {[atom()], wrq:reqdata(), undefined}
Allowed methods.
content_types_accepted(ReqData::wrq:reqdata(), Context::undefined) -> {list(), wrq:reqdata(), undefined}
Return content-types which are acceptable.
content_types_provided(ReqData::wrq:reqdata(), Context::undefined) -> {list(), wrq:reqdata(), undefined}
Return content-types which are provided.
delete_resource(ReqData::wrq:reqdata(), Context::undefined) -> {true, wrq:reqdata(), undefined}
Remove the staged plan.
forbidden(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Prevent requests coming from an invalid origin.
from_json(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Stage a series of changes.
init(X1::[]) -> {ok, undefined}
Initialize resource.
is_authorized(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Ensure user has access.
process_post(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Stage a series of changes, and commit the plan immediately.
routes() -> [webmachine_dispatcher:matchterm()]
Return routes this resource should respond to.
service_available(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}
Handle SSL requests.
to_json(ReqData::wrq:reqdata(), Context::undefined) -> {binary(), wrq:reqdata(), undefined}
Return the current cluster, along with a plan if it's available.
Generated by EDoc