daemon.models.workspaces module
class daemon.models.workspaces.WorkspaceArguments(\*data*)[source]
Bases: pydantic.main.BaseModel
Pydantic model for WorkspaceArguments
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.
files: List[str]
jinad: Dict[str, str]
requirements: str
class daemon.models.workspaces.WorkspaceMetadata(\*data*)[source]
Bases: pydantic.main.BaseModel
Pydantic model for WorkspaceMetadata
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.
image_id: str
image_name: str
network: str
workdir: str
container_id: Optional[str]
managed_objects: Set[daemon.models.id.DaemonID]
class daemon.models.workspaces.WorkspaceItem(\*data*)[source]
Bases: daemon.models.base.StoreItem
Pydantic model for WorkspaceItem
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.
metadata: Optional[daemon.models.workspaces.WorkspaceMetadata]
arguments: Optional[daemon.models.workspaces.WorkspaceArguments]
class daemon.models.workspaces.WorkspaceStoreStatus(\*data*)[source]
Bases: daemon.models.base.StoreStatus
Pydantic model for WorkspaceStoreStatus
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.
ip_range_start: ipaddress.IPv4Address
subnet_size: int
ip_range_current_offset: int
items: Dict[daemon.models.id.DaemonID, daemon.models.workspaces.WorkspaceItem]