ambassador.__main__

Module Contents

ambassador.__main__.logger[source]
ambassador.__main__.choose_backend(backend)[source]
Resolves amabassador name string to implementation
Parameters

backend (str) – Name of the backend to load, either one of the predefined implementations or the name of a module to load (module:ClassName syntax or default of module:Ambassador)

Returns

Ambassador class of the selected implementation

Return type

(Class)

Raises

(Exception) – If backend is not found

ambassador.__main__.main(log, client_log, polyswarmd_addr, keyfile, password, api_key, backend, testing, insecure_transport, allow_key_over_http, chains, watchdog, log_format, submission_rate)[source]
Entrypoint for the ambassador driver