InstallPreset (install/models.py)

headroom · headroom/install/models.py · python · Apache-2.0
infra

Defines data models for Headroom install/deployment system.

# Source: https://github.com/headroomlabs-ai/headroom | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""Models used by the install / deployment subsystem."""

from __future__ import annotations

from dataclasses import dataclass, field
from datetime import datetime, timezone
from enum import Enum
from typing import Any


class InstallPreset(str, Enum):
    """User-facing persistent runtime presets."""

    PERSISTENT_SERVICE = "persistent-service"
    PERSISTENT_TASK = "persistent-task"
    PERSISTENT_DOCKER = "persistent-docker"


class RuntimeKind(str, Enum):
    """Runtime used to execute Headroom."""

    PYTHON = "python"
    DOCKER = "docker"


class SupervisorKind(str, Enum

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key