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

Method set_default

kubernetes/aio/client/configuration.py:259–267  ·  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

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

Callers 4

get_defaultMethod · 0.45
load_and_setMethod · 0.45
load_kube_configFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected