MCPcopy Create free account
hub / github.com/kubernetes-client/python / __init__

Method __init__

kubernetes/aio/config/kube_config_test.py:288–293  ·  view source on GitHub ↗
(self, token=None, **kwargs)

Source from the content-addressed store, hash-verified

286 FILE_KEYS = ["ssl_ca_cert", "key_file", "cert_file"]
287
288 def __init__(self, token=None, **kwargs):
289 self.api_key = {}
290 if token:
291 self.api_key['BearerToken'] = token
292
293 self.__dict__.update(kwargs)
294
295 def __eq__(self, other):
296 if len(self.__dict__) != len(other.__dict__):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected