This commit is contained in:
Jörg Thalheim
2023-09-14 16:57:19 +02:00
committed by Mic92
parent b46c40482a
commit a29f301f84
9 changed files with 188 additions and 2 deletions

View File

@@ -32,3 +32,16 @@ class ConfigResponse(BaseModel):
class SchemaResponse(BaseModel):
schema_: dict = Field(alias="schema")
class VmConfig(BaseModel):
flake_url: str
flake_attr: str
cores: int
memory_size: int
graphics: bool
class VmInspectResponse(BaseModel):
config: VmConfig