Documentation
¶
Overview ¶
Package agentapi serves the provider-neutral Agent Operations V1 HTTP API.
Index ¶
- type AuthFailureFunc
- type AuthenticateFunc
- type CancelFunc
- type Error
- type Handler
- func (h *Handler) CancelAgentOperation(c echo.Context, id agentwire.OperationID) error
- func (h *Handler) DiscoverAgent(c echo.Context) error
- func (h *Handler) GetAgentOperation(c echo.Context, id agentwire.OperationID) error
- func (h *Handler) Register(router *echo.Echo)
- func (h *Handler) SubmitAgentOperation(c echo.Context) error
- func (h *Handler) WaitForAgentOperation(c echo.Context, id agentwire.OperationID, ...) error
- type Options
- type Store
- type SubmitFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthFailureFunc ¶
type AuthFailureFunc func()
AuthFailureFunc records a redacted authentication failure.
type AuthenticateFunc ¶
AuthenticateFunc resolves one bearer header to a provider client identity.
type CancelFunc ¶
CancelFunc performs provider cleanup while canceling requester-owned work.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler implements the generated Agent V1 Echo interface.
func (*Handler) CancelAgentOperation ¶
func (*Handler) GetAgentOperation ¶
func (*Handler) WaitForAgentOperation ¶
func (h *Handler) WaitForAgentOperation(c echo.Context, id agentwire.OperationID, params agentwire.WaitForAgentOperationParams) error
type Options ¶
type Options struct {
Store Store
Authenticate AuthenticateFunc
Submit SubmitFunc
Cancel CancelFunc
AuthFailure AuthFailureFunc
Realm string
}
Options configures the shared Agent V1 server boundary.
Click to show internal directories.
Click to hide internal directories.