INNER CODE UNIT · Python

whoami

kr8s-org/kr8s · kr8s/__init__.py:72

    def whoami(self):  # type: ignore[override]
        return _as_sync_func(self.async_whoami)()

    def lookup_kind(self, kind) -> tuple[str, str, bool]:  # type: ignore[override]
        return _as_sync_func(self.async_lookup_kind)(kind)

    def get(  # type: ignore[override]
        self,
        kind: str | type,
        *names: str,
        namespace: str | None = None,
        label_selector: str | dict | None = None,
        field_selector: str | dict | None = None,
        as_object: type[APIObject] | None = None,
        allow_unknown_type: bool = True,
        raw: bool = False,
        **kwargs,
    ) -> Generator[objects.APIObject | dict]:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…