Skip to content

Controller

Kelly Ferrone edited this page Mar 4, 2026 · 1 revision

DuploCtl

::: duplocloud.controller.DuploCtl options: members: false heading_level: 2 show_symbol_type_toc: true

Instantiation

These are a few static methods which instantiate new instances a few different ways. You can also just use the normal init constructor method to build it up manually.

::: duplocloud.controller.DuploCtl.init options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.from_env options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.from_args options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.from_creds options: heading_level: 3 show_root_heading: true show_root_full_path: false

Properties

These are the properties of the DuploCtl class.

::: duplocloud.controller.DuploCtl.token options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.host options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.tenant options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.settings options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.context options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.config options: heading_level: 3 show_root_heading: true show_root_full_path: false

Injection

Duploctl is a plugin framework which takes advantage of the Python entrypoints system in the pyproject.toml file. This allows you to inject your own custom classes into the DuploCtl class.

::: duplocloud.controller.DuploCtl.load options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.load_client options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.load_formatter options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.load_model options: heading_level: 3 show_root_heading: true show_root_full_path: false

Methods

::: duplocloud.controller.DuploCtl.format options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.filter options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.jsonpatch options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.validate_model options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.use_context options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.logger_for options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.build_command options: heading_level: 3 show_root_heading: true show_root_full_path: false

::: duplocloud.controller.DuploCtl.call options: heading_level: 3 show_root_heading: true show_root_full_path: false

Clone this wiki locally