Documentation
¶
Overview ¶
Package integrations provides authenticated development-time access to an agent's bound connections, exec endpoints, and MCP servers.
Index ¶
- type Backend
- type ConnectionResult
- type ExecResult
- type Info
- type MCPTools
- type Service
- func (s *Service) CallMCPTool(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string, ...) (wire.MCPToolCallResponse, error)
- func (s *Service) List(ctx context.Context, p authz.Principal, agentID uuid.UUID) ([]Info, error)
- func (s *Service) ListMCPTools(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string) (MCPTools, error)
- func (s *Service) RequestConnection(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string, ...) (ConnectionResult, error)
- func (s *Service) RunExec(ctx context.Context, p authz.Principal, agentID uuid.UUID, slug string, ...) (ExecResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
RequestConnection(context.Context, uuid.UUID, string, wire.ProxyRequest) (ConnectionResult, error)
RunExec(context.Context, uuid.UUID, string, wire.ExecRequest) (ExecResult, error)
ListMCPTools(context.Context, uuid.UUID, string) (MCPTools, error)
CallMCPTool(context.Context, uuid.UUID, string, wire.MCPToolCallRequest) (wire.MCPToolCallResponse, error)
}
Backend executes already-authorized operations through Airlock's existing credential and SSH brokers.
type ConnectionResult ¶
type ExecResult ¶
type MCPTools ¶
type MCPTools struct {
Tools []wire.MCPToolSchema
Instructions string
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CallMCPTool ¶
func (*Service) ListMCPTools ¶
func (*Service) RequestConnection ¶
Click to show internal directories.
Click to hide internal directories.