Callout Server:
Services
CalloutServer
CalloutServer.address
CalloutServer.port
CalloutServer.health_check_address
CalloutServer.health_check_port
CalloutServer.combined_health_check
CalloutServer.secure_health_check
CalloutServer.plaintext_address
CalloutServer.plaintext_port
CalloutServer.disable_plaintext
CalloutServer.default_ip
CalloutServer.cert_chain
CalloutServer.cert_chain_path
CalloutServer.private_key
CalloutServer.private_key_path
CalloutServer.server_thread_count
CalloutServer.run()
CalloutServer.shutdown()
CalloutServer._start_servers()
CalloutServer._stop_servers()
CalloutServer._loop_server()
CalloutServer.process()
CalloutServer.on_request_headers()
CalloutServer.on_response_headers()
CalloutServer.on_request_body()
CalloutServer.on_response_body()
HealthCheckService
HealthCheckService.do_GET()
_GRPCCalloutService
_GRPCCalloutService.Process()
add_body_mutation()
add_command_line_args()
add_header_mutation()
body_contains()
deny_callout()
header_immediate_response()
headers_contain()
Callouts Examples
BasicCalloutServer
BasicCalloutServer.on_request_body()
BasicCalloutServer.on_request_headers()
BasicCalloutServer.on_response_body()
BasicCalloutServer.on_response_headers()
make_json_request()
CalloutServerExample
CalloutServerExample.process()
check_metadata()
unpack_string()
ObservabilityServerExample
ObservabilityServerExample.on_request_body()
ObservabilityServerExample.on_request_headers()
ObservabilityServerExample.on_response_body()
ObservabilityServerExample.on_response_headers()
ObservabilityServerExample.shutdown()
RequestHandler
RequestHandler.do_GET()
CalloutServerExample.on_request_body()
CalloutServerExample.on_response_body()
CalloutServerExample.on_request_headers()
CalloutServerExample.on_response_headers()
generate_mock_body_response()
generate_mock_header_response()
validate_header()
extract_jwt_token()
validate_jwt_token()
CalloutServerExample.add_device_type_header()
get_device_type()
Python 3.11+
buf
requirements.txt
Note
All commands are expected to be run from within the callouts/python directory.
callouts/python