Forseti Server program.
check_args
(args)[source]¶Make sure the required args are present and valid.
The exit codes are arbitrary and just serve the purpose of facilitating distinction betweeen the various error cases.
Parameters: | args (dict) – the command line args |
---|---|
Returns: | 2-tuple with an exit code and error message. |
Return type: | tuple |
serve
(endpoint, services, forseti_db_connect_string, config_file_path, log_level, enable_console_log, max_workers=32, wait_shutdown_secs=3)[source]¶Instantiate the services and serves them via gRPC.
Parameters: |
|
---|---|
Raises: |
|