Module riak_control_wm_nodes

Returns a list of all nodes, and information about their membership in the cluster.

Description

Returns a list of all nodes, and information about their membership in the cluster.

Function Index

content_types_provided/2Return content-types which are provided.
forbidden/2Prevent requests coming from an invalid origin.
init/1Initialize resource.
is_authorized/2Ensure user has access.
routes/0Return routes this resource should respond to.
service_available/2Handle SSL requests.
to_json/2Return the current cluster, along with a plan if it's available.

Function Details

content_types_provided/2

content_types_provided(ReqData::wrq:reqdata(), Context::undefined) -> {list(), wrq:reqdata(), undefined}

Return content-types which are provided.

forbidden/2

forbidden(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}

Prevent requests coming from an invalid origin.

init/1

init(X1::[]) -> {ok, undefined}

Initialize resource.

is_authorized/2

is_authorized(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}

Ensure user has access.

routes/0

routes() -> [webmachine_dispatcher:matchterm()]

Return routes this resource should respond to.

service_available/2

service_available(ReqData::wrq:reqdata(), Context::undefined) -> {boolean(), wrq:reqdata(), undefined}

Handle SSL requests.

to_json/2

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