commands.checkpoints
Runtime Checkpoint commands for Datalayer CLI (CRIU full-pod checkpoints).
checkpoints_callback
@app.callback()
def checkpoints_callback(ctx: typer.Context) -> None
Runtime checkpoint management commands.
checkpoints_list
@app.command(name="ls")
def checkpoints_list(agent_uid: Optional[str] = typer.Option(
None,
"--agent",
"-a",
help=
"Filter checkpoints by agent UID (pod name). If omitted, lists all checkpoints.",
),
token: Optional[str] = typer.Option(
None,
"--api-key",
help="API key (Bearer token for API requests).",
),
runtimes_url: Optional[str] = typer.Option(
None,
"--runtimes-url",
help="Datalayer Runtimes server URL.",
)) -> None
List runtime checkpoints.
checkpoints_ls
def checkpoints_ls(agent_uid: Optional[str] = typer.Option(
None,
"--agent",
"-a",
help=
"Filter checkpoints by agent UID (pod name). If omitted, lists all checkpoints.",
),
token: Optional[str] = typer.Option(
None,
"--api-key",
help="API key (Bearer token for API requests).",
),
runtimes_url: Optional[str] = typer.Option(
None,
"--runtimes-url",
help="Datalayer Runtimes server URL.",
)) -> None
List runtime checkpoints (root command alias).
checkpoints_delete
@app.command(name="delete")
def checkpoints_delete(
checkpoint_uid: str = typer.Argument(...,
help="Checkpoint UID to delete"),
agent_uid: Optional[str] = typer.
Option(
None,
"--agent",
"-a",
help=
"Agent UID that owns the checkpoint. If omitted, will be looked up automatically.",
),
token: Optional[str] = typer.Option(
None,
"--api-key",
help="API key (Bearer token for API requests).",
),
runtimes_url: Optional[str] = typer.Option(
None,
"--runtimes-url",
help="Datalayer Runtimes server URL.",
),
yes: bool = typer.Option(
False,
"--yes",
"-y",
help="Skip confirmation prompt.",
)) -> None
Delete a runtime checkpoint.