kubernetes_asyncio.config.incluster_config_test module
- class kubernetes_asyncio.config.incluster_config_test.InClusterConfigTest(methodName='runTest')
Bases:
IsolatedAsyncioTestCase- get_test_loader(token_filename: str | None = None, cert_filename: str | None = None, environ: _Environ | dict[str, str] = {'KUBERNETES_SERVICE_HOST': '127.0.0.1', 'KUBERNETES_SERVICE_PORT': '80'}) InClusterConfigLoader
- setUp() None
Hook method for setting up the test fixture before exercising it.
- tearDown() None
Hook method for deconstructing the test fixture after testing it.
- test_client_config() None
- test_empty_cert_file() None
- test_empty_host() None
- test_empty_port() None
- test_empty_token_file() None
- test_join_host_port() None
- test_load_config() None
- async test_load_config_helper() None
- test_no_cert_file() None
- test_no_host() None
- test_no_port() None
- test_no_token_file() None
- async test_refresh_token() None
- async test_refresh_token_default_config_with_copies() None
- kubernetes_asyncio.config.incluster_config_test.monkeypatch_kube_config_path() Generator[None, None, None]