Skip to content

nodus.api

View Markdown

Layer 1 of the SDK: the generic resource client over every kind (resources.md §10.3).

nodus.api.get, list, watch, apply, create, patch, delete, estimate, logs, exec, files, healthz and readyz use the default client; nodus.Client(...) makes another one. Every call blocks and has an .aio form. Objects are JSON dicts shaped like the kinds in resources.md; nodus.api.models holds the generated pydantic models.

  • Config: defined in nodus.api._config
  • KINDS: defined in nodus.api._kinds
  • Resource: defined in nodus.api._kinds
  • default_client: defined in nodus.api._client
  • resolve: defined in nodus.api._config