MCPcopy Index your code
hub / github.com/kubernetes-client/python / set_default

Method set_default

kubernetes/client/configuration.py:262–270  ·  view source on GitHub ↗

Set default instance of configuration. It stores default configuration, which can be returned by get_default_copy method. :param default: object of Configuration

(cls, default)

Source from the content-addressed store, hash-verified

260
261 @classmethod
262 def set_default(cls, default):
263 """Set default instance of configuration.
264
265 It stores default configuration, which can be
266 returned by get_default_copy method.
267
268 :param default: object of Configuration
269 """
270 cls._default = copy.deepcopy(default)
271
272 @classmethod
273 def get_default_copy(cls):

Callers 6

apply_proxy_to_confFunction · 0.45
load_and_setMethod · 0.45
load_kube_configFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

apply_proxy_to_confFunction · 0.36