Functions | |
def | debug_basic_setup (test_client, test_server) |
def | debug_cert (cert) |
def | debug_security_setup_negative (test_client) |
def | debug_security_setup_positive (test_client, test_server) |
def | debug_sock_tls (tls) |
def | get_deployment_pod_ips (k8s_ns, deployment_name) |
def | main (argv) |
Variables | |
_Channel = grpc_channelz.Channel | |
_ChannelState = grpc_channelz.ChannelState | |
_CLIENT_RPC_HOST | |
_SECURITY | |
_SERVER_RPC_HOST | |
_Socket = grpc_channelz.Socket | |
_XdsTestClient = client_app.XdsTestClient | |
_XdsTestServer = server_app.XdsTestServer | |
logger = logging.getLogger(__name__) | |
def bin.run_channelz.debug_basic_setup | ( | test_client, | |
test_server | |||
) |
Show channel and server socket pair
Definition at line 162 of file run_channelz.py.
def bin.run_channelz.debug_cert | ( | cert | ) |
Definition at line 72 of file run_channelz.py.
def bin.run_channelz.debug_security_setup_negative | ( | test_client | ) |
Debug negative cases: mTLS Error, Server AuthZ error 1) mTLS Error: Server expects client mTLS cert, but client configured only for TLS. 2) AuthZ error: Client does not authorize server because of mismatched SAN name.
Definition at line 90 of file run_channelz.py.
def bin.run_channelz.debug_security_setup_positive | ( | test_client, | |
test_server | |||
) |
Debug positive cases: mTLS, TLS, Plaintext.
Definition at line 135 of file run_channelz.py.
def bin.run_channelz.debug_sock_tls | ( | tls | ) |
Definition at line 79 of file run_channelz.py.
def bin.run_channelz.get_deployment_pod_ips | ( | k8s_ns, | |
deployment_name | |||
) |
Definition at line 84 of file run_channelz.py.
def bin.run_channelz.main | ( | argv | ) |
Definition at line 173 of file run_channelz.py.
|
private |
Definition at line 65 of file run_channelz.py.
|
private |
Definition at line 67 of file run_channelz.py.
|
private |
Definition at line 49 of file run_channelz.py.
|
private |
Definition at line 52 of file run_channelz.py.
|
private |
Definition at line 46 of file run_channelz.py.
|
private |
Definition at line 66 of file run_channelz.py.
|
private |
Definition at line 69 of file run_channelz.py.
|
private |
Definition at line 68 of file run_channelz.py.
bin.run_channelz.logger = logging.getLogger(__name__) |
Definition at line 44 of file run_channelz.py.