class documentation
class R_2_nodes_name_role(baserlib.OpcodeResource):
/2/nodes/[node_name]/role resource.
Method | GET |
Returns the current node role. |
Method |
|
Sets the node role. |
Inherited from OpcodeResource
:
Class Variable | DELETE |
Set this to disable listed parameters and optionally specific values from being set through the DELETE handler (see baserlib.InspectParams ) |
Class Variable | DELETE |
Set this to a class derived from opcodes.OpCode to automatically generate a DELETE handler submitting the opcode |
Class Variable | DELETE |
Set this to rename parameters in the DELETE handler (see baserlib.FillOpcode ) |
Class Variable | GET |
Set this to duplicate return values in GET results (see baserlib.GetHandler ) |
Class Variable | GET |
Set this to disable listed parameters and optionally specific values from being set through the GET handler (see baserlib.InspectParams ) |
Class Variable | GET |
Set this to a class derived from opcodes.OpCode to automatically generate a GET handler submitting the opcode |
Class Variable | GET |
Set this to rename parameters in the GET handler (see baserlib.FillOpcode ) |
Class Variable | POST |
Set this to disable listed parameters and optionally specific values from being set through the POST handler (see baserlib.InspectParams ) |
Class Variable | POST |
Set this to a class derived from opcodes.OpCode to automatically generate a POST handler submitting the opcode |
Class Variable | POST |
Set this to rename parameters in the POST handler (see baserlib.FillOpcode ) |
Class Variable | PUT |
Set this to disable listed parameters and optionally specific values from being set through the PUT handler (see baserlib.InspectParams ) |
Class Variable | PUT |
Set this to a class derived from opcodes.OpCode to automatically generate a PUT handler submitting the opcode |
Class Variable | PUT |
Set this to rename parameters in the PUT handler (see baserlib.FillOpcode ) |
Instance Variable |
|
Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData ) |
Instance Variable |
|
Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData ) |
Instance Variable |
|
Define this to override the default method for getting opcode parameters (see baserlib.OpcodeResource._GetDefaultData ) |
Method | _ |
Examines provided parameters for forbidden values. |
Method | _ |
Undocumented |
Method | _ |
Return the static parameters common to all the RAPI calls |
Method | _ |
Undocumented |
Method | _ |
Undocumented |
Method | _ |
Extracts the name of the RAPI operation from the class name |
Inherited from ResourceBase
(via OpcodeResource
):
Method | __init__ |
Generic resource constructor. |
Method | dry |
Check if the request specifies dry-run mode. |
Method | get |
Check and return the value for a given parameter. |
Method |
|
Wrapper for luxi.Client with HTTP-specific error handling. |
Method |
|
Generic wrapper for submit job, for better http compatibility. |
Method | use |
Check if the request specifies bulk querying. |
Method | use |
Check if the request specifies a forced operation. |
Method | use |
Check if the request specifies locking. |
Constant | DELETE |
Undocumented |
Constant | GET |
Undocumented |
Constant | POST |
Undocumented |
Constant | PUT |
Undocumented |
Class Variable | request |
Undocumented |
Instance Variable | items |
Undocumented |
Instance Variable | queryargs |
Undocumented |
Method | _check |
Return the parsed value of an int argument. |
Method | _check |
Return the parsed value of a string argument. |
Method | _ |
Returns the body data. |
Instance Variable | _client |
Undocumented |
Instance Variable | _req |
Undocumented |