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

Method _build_kwargs

kubernetes/informer/informer.py:165–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

163 # ---------------------------------------------------------------- #
164
165 def _build_kwargs(self):
166 kw = {}
167 if self._namespace is not None:
168 kw["namespace"] = self._namespace
169 if self._label_selector is not None:
170 kw["label_selector"] = self._label_selector
171 if self._field_selector is not None:
172 kw["field_selector"] = self._field_selector
173 return kw
174
175 def _fire(self, event_type, obj):
176 """Execute all registered callbacks for *event_type*, passing *obj*.

Callers 2

_initial_listMethod · 0.95
_run_loopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected