hitlpolicyapi

package
v0.9.0 Latest Latest
Warning

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

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

Documentation

Overview

Package hitlpolicyapi provides CRUD HTTP routes for named HITL policy files stored in VFS. Policies are JSON files (hitlservice.Policy) co-located with chains in the project VFS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(mux *http.ServeMux, vfs vfsservice.Service, auth middleware.AuthZReader)

AddRoutes registers HITL policy CRUD on mux. GET /hitl-policies/list — list policy filenames in VFS GET /hitl-policies?name=... — read a policy POST /hitl-policies?name=... — create a new policy PUT /hitl-policies?name=... — update an existing policy DELETE /hitl-policies?name=. — delete a policy

Types

This section is empty.

Jump to

Keyboard shortcuts

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