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.
Click to show internal directories.
Click to hide internal directories.