module documentation

Module implementing executing of a job as a separate process

The complete protocol of initializing a job is described in the haskell module Ganeti.Query.Exec

Function main Undocumented
Function RestorePrivateValueWrapping Wrap private values in JSON decoded structure.
Function _SetupJob Setup the process to execute the job
def main():

Undocumented

def RestorePrivateValueWrapping(json):

Wrap private values in JSON decoded structure.

Parameters
jsonthe json-decoded value to protect.
def _SetupJob():

Setup the process to execute the job

Retrieve the job id from argv, create a livelock and pass it to the master process and finally obtain any secret parameters.

This also closes standard input/output.

Returns
(int, string, json encoding of a list of dicts)Undocumented