topology

package
v0.0.0-...-19d8ef3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package topology implements the historical DAG topology endpoints (data-plane-memory B2).

GET /v1/jobs/:id/topology             → latest snapshot
GET /v1/jobs/:id/topology?snapshot=<hash>  → snapshot by content hash
GET /v1/jobs/:id/topology?commit=<sha>     → snapshot by git commit
GET /v1/jobs/:id/topology/history          → all snapshots (newest first)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(c *echo.Context) error

Get handles GET /v1/jobs/:id/topology.

Query parameters (mutually exclusive; first match wins):

  • ?snapshot=<content-hash> — return the snapshot with that topology hash.
  • ?commit=<git-sha> — return the most-recent snapshot for that commit.
  • (none) — return the latest (most-recent) snapshot.

func History

func History(c *echo.Context) error

History handles GET /v1/jobs/:id/topology/history. Returns all dag_snapshots for the job, newest first.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL