daemon.models.containers module

class daemon.models.containers.ContainerArguments(\*data*)[source]

Bases: pydantic.main.BaseModel

Pydantic model for ContainerArguments

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

  • object: Dict

  • entrypoint: str

class daemon.models.containers.ContainerMetadata(\*data*)[source]

Bases: pydantic.main.BaseModel

Pydantic model for ContainerMetadata

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

  • container_id: str

  • container_name: str

  • image_id: str

  • network: str

  • ports: Dict

  • uri: str

class daemon.models.containers.ContainerItem(\*data*)[source]

Bases: daemon.models.base.StoreItem

Pydantic model for ContainerItem

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

class daemon.models.containers.ContainerStoreStatus(\*data*)[source]

Bases: daemon.models.base.StoreStatus

Pydantic model for ContainerStoreStatus

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.