workspace

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(svc *service.Service) http.Handler

Handler exposes CRUD operations for any workspace repository kind (agents, models, workflows, mcp …).

Routes (all under /v1/workspace/):

GET    /{kind}            -> JSON []string
GET    /{kind}/{name}     -> raw YAML/JSON (as stored)
PUT    /{kind}/{name}     -> create/overwrite
DELETE /{kind}/{name}     -> delete

It is intentionally stateless; repositories are resolved via service.Service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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