Documentation
¶
Index ¶
- Constants
- Variables
- func NewAOPServiceHandler(svc AOPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewAgentServiceHandler(svc AgentServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewConfigServiceHandler(svc ConfigServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSCOServiceHandler(svc SCOServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewScanServiceHandler(svc ScanServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSessionServiceHandler(svc SessionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSystemServiceHandler(svc SystemServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AOPServiceClient
- type AOPServiceHandler
- type AgentServiceClient
- type AgentServiceHandler
- type ConfigServiceClient
- type ConfigServiceHandler
- type SCOServiceClient
- type SCOServiceHandler
- type ScanServiceClient
- type ScanServiceHandler
- type SessionServiceClient
- type SessionServiceHandler
- type SystemServiceClient
- type SystemServiceHandler
- type UnimplementedAOPServiceHandler
- type UnimplementedAgentServiceHandler
- type UnimplementedConfigServiceHandler
- func (UnimplementedConfigServiceHandler) ActivateProfile(context.Context, *connect.Request[types.ActivateProfileRequest]) (*connect.Response[types.ActivateProfileResponse], error)
- func (UnimplementedConfigServiceHandler) GetConfig(context.Context, *connect.Request[types.GetConfigRequest]) (*connect.Response[types.GetConfigResponse], error)
- func (UnimplementedConfigServiceHandler) ListModels(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.ListModelsResult], error)
- func (UnimplementedConfigServiceHandler) TestConnection(context.Context, *connect.Request[types.TestConnectionRequest]) (*connect.Response[types.TestConnectionResponse], error)
- func (UnimplementedConfigServiceHandler) TestLLM(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.LLMProbeResult], error)
- func (UnimplementedConfigServiceHandler) UpdateConfig(context.Context, *connect.Request[types.UpdateConfigRequest]) (*connect.Response[types.UpdateConfigResponse], error)
- type UnimplementedSCOServiceHandler
- func (UnimplementedSCOServiceHandler) DeleteNodes(context.Context, *connect.Request[types.DeleteNodesRequest]) (*connect.Response[types.DeleteNodesResponse], error)
- func (UnimplementedSCOServiceHandler) GetNode(context.Context, *connect.Request[types.GetNodeRequest]) (*connect.Response[types.GetNodeResponse], error)
- func (UnimplementedSCOServiceHandler) GetStats(context.Context, *connect.Request[types.GetStatsRequest]) (*connect.Response[types.GetStatsResponse], error)
- func (UnimplementedSCOServiceHandler) ImportNodes(context.Context, *connect.Request[types.ImportNodesRequest]) (*connect.Response[types.ImportNodesResponse], error)
- func (UnimplementedSCOServiceHandler) ListArtifacts(context.Context, *connect.Request[types.ListArtifactsRequest]) (*connect.Response[types.ListArtifactsResponse], error)
- func (UnimplementedSCOServiceHandler) ListNodes(context.Context, *connect.Request[types.ListNodesRequest]) (*connect.Response[types.ListNodesResponse], error)
- type UnimplementedScanServiceHandler
- func (UnimplementedScanServiceHandler) CancelScan(context.Context, *connect.Request[types.CancelScanRequest]) (*connect.Response[types.CancelScanResponse], error)
- func (UnimplementedScanServiceHandler) GetScan(context.Context, *connect.Request[types.GetScanRequest]) (*connect.Response[types.GetScanResponse], error)
- func (UnimplementedScanServiceHandler) GetScanReport(context.Context, *connect.Request[types.GetScanReportRequest]) (*connect.Response[types.GetScanReportResponse], error)
- func (UnimplementedScanServiceHandler) ListScans(context.Context, *connect.Request[types.ListScansRequest]) (*connect.Response[types.ListScansResponse], error)
- func (UnimplementedScanServiceHandler) SubmitScan(context.Context, *connect.Request[types.SubmitScanRequest]) (*connect.Response[types.SubmitScanResponse], error)
- type UnimplementedSessionServiceHandler
- func (UnimplementedSessionServiceHandler) DeleteSession(context.Context, *connect.Request[types.DeleteSessionRequest]) (*connect.Response[types.DeleteSessionResponse], error)
- func (UnimplementedSessionServiceHandler) GetSession(context.Context, *connect.Request[types.GetSessionRequest]) (*connect.Response[types.GetSessionResponse], error)
- func (UnimplementedSessionServiceHandler) ListCommands(context.Context, *connect.Request[types.ListCommandsRequest]) (*connect.Response[types.ListCommandsResponse], error)
- func (UnimplementedSessionServiceHandler) ListEvents(context.Context, *connect.Request[aop.ListEventsRequest]) (*connect.Response[aop.ListEventsResponse], error)
- func (UnimplementedSessionServiceHandler) ListSessions(context.Context, *connect.Request[types.ListSessionsRequest]) (*connect.Response[types.ListSessionsResponse], error)
- func (UnimplementedSessionServiceHandler) ResetSession(context.Context, *connect.Request[types.ResetSessionRequest]) (*connect.Response[types.ResetSessionResponse], error)
- type UnimplementedSystemServiceHandler
Constants ¶
const ( // SessionServiceListSessionsProcedure is the fully-qualified name of the SessionService's // ListSessions RPC. SessionServiceListSessionsProcedure = "/aiscan.rpc.chat.SessionService/ListSessions" // SessionServiceGetSessionProcedure is the fully-qualified name of the SessionService's GetSession // RPC. SessionServiceGetSessionProcedure = "/aiscan.rpc.chat.SessionService/GetSession" // SessionServiceResetSessionProcedure is the fully-qualified name of the SessionService's // ResetSession RPC. SessionServiceResetSessionProcedure = "/aiscan.rpc.chat.SessionService/ResetSession" // SessionServiceDeleteSessionProcedure is the fully-qualified name of the SessionService's // DeleteSession RPC. SessionServiceDeleteSessionProcedure = "/aiscan.rpc.chat.SessionService/DeleteSession" // SessionServiceListCommandsProcedure is the fully-qualified name of the SessionService's // ListCommands RPC. SessionServiceListCommandsProcedure = "/aiscan.rpc.chat.SessionService/ListCommands" // SessionServiceListEventsProcedure is the fully-qualified name of the SessionService's ListEvents // RPC. SessionServiceListEventsProcedure = "/aiscan.rpc.chat.SessionService/ListEvents" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // ConfigServiceGetConfigProcedure is the fully-qualified name of the ConfigService's GetConfig RPC. ConfigServiceGetConfigProcedure = "/aiscan.rpc.config.ConfigService/GetConfig" // ConfigServiceUpdateConfigProcedure is the fully-qualified name of the ConfigService's // UpdateConfig RPC. ConfigServiceUpdateConfigProcedure = "/aiscan.rpc.config.ConfigService/UpdateConfig" // ConfigServiceActivateProfileProcedure is the fully-qualified name of the ConfigService's // ActivateProfile RPC. ConfigServiceActivateProfileProcedure = "/aiscan.rpc.config.ConfigService/ActivateProfile" // ConfigServiceTestLLMProcedure is the fully-qualified name of the ConfigService's TestLLM RPC. ConfigServiceTestLLMProcedure = "/aiscan.rpc.config.ConfigService/TestLLM" // ConfigServiceListModelsProcedure is the fully-qualified name of the ConfigService's ListModels // RPC. ConfigServiceListModelsProcedure = "/aiscan.rpc.config.ConfigService/ListModels" // ConfigServiceTestConnectionProcedure is the fully-qualified name of the ConfigService's // TestConnection RPC. ConfigServiceTestConnectionProcedure = "/aiscan.rpc.config.ConfigService/TestConnection" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // ScanServiceSubmitScanProcedure is the fully-qualified name of the ScanService's SubmitScan RPC. ScanServiceSubmitScanProcedure = "/aiscan.rpc.scan.ScanService/SubmitScan" // ScanServiceGetScanProcedure is the fully-qualified name of the ScanService's GetScan RPC. ScanServiceGetScanProcedure = "/aiscan.rpc.scan.ScanService/GetScan" // ScanServiceListScansProcedure is the fully-qualified name of the ScanService's ListScans RPC. ScanServiceListScansProcedure = "/aiscan.rpc.scan.ScanService/ListScans" // ScanServiceCancelScanProcedure is the fully-qualified name of the ScanService's CancelScan RPC. ScanServiceCancelScanProcedure = "/aiscan.rpc.scan.ScanService/CancelScan" // ScanServiceGetScanReportProcedure is the fully-qualified name of the ScanService's GetScanReport // RPC. ScanServiceGetScanReportProcedure = "/aiscan.rpc.scan.ScanService/GetScanReport" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // SCOServiceListNodesProcedure is the fully-qualified name of the SCOService's ListNodes RPC. SCOServiceListNodesProcedure = "/aiscan.rpc.sco.SCOService/ListNodes" // SCOServiceGetNodeProcedure is the fully-qualified name of the SCOService's GetNode RPC. SCOServiceGetNodeProcedure = "/aiscan.rpc.sco.SCOService/GetNode" // SCOServiceGetStatsProcedure is the fully-qualified name of the SCOService's GetStats RPC. SCOServiceGetStatsProcedure = "/aiscan.rpc.sco.SCOService/GetStats" // SCOServiceDeleteNodesProcedure is the fully-qualified name of the SCOService's DeleteNodes RPC. SCOServiceDeleteNodesProcedure = "/aiscan.rpc.sco.SCOService/DeleteNodes" // SCOServiceImportNodesProcedure is the fully-qualified name of the SCOService's ImportNodes RPC. SCOServiceImportNodesProcedure = "/aiscan.rpc.sco.SCOService/ImportNodes" // SCOServiceListArtifactsProcedure is the fully-qualified name of the SCOService's ListArtifacts // RPC. SCOServiceListArtifactsProcedure = "/aiscan.rpc.sco.SCOService/ListArtifacts" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AOPServiceConnectProcedure is the fully-qualified name of the AOPService's Connect RPC.
AOPServiceConnectProcedure = "/aiscan.rpc.aop.AOPService/Connect"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AOPServiceName is the fully-qualified name of the AOPService service.
AOPServiceName = "aiscan.rpc.aop.AOPService"
)
const (
// AgentServiceListAgentsProcedure is the fully-qualified name of the AgentService's ListAgents RPC.
AgentServiceListAgentsProcedure = "/aiscan.rpc.agent.AgentService/ListAgents"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AgentServiceName is the fully-qualified name of the AgentService service.
AgentServiceName = "aiscan.rpc.agent.AgentService"
)
const (
// ConfigServiceName is the fully-qualified name of the ConfigService service.
ConfigServiceName = "aiscan.rpc.config.ConfigService"
)
const (
// SCOServiceName is the fully-qualified name of the SCOService service.
SCOServiceName = "aiscan.rpc.sco.SCOService"
)
const (
// ScanServiceName is the fully-qualified name of the ScanService service.
ScanServiceName = "aiscan.rpc.scan.ScanService"
)
const (
// SessionServiceName is the fully-qualified name of the SessionService service.
SessionServiceName = "aiscan.rpc.chat.SessionService"
)
const (
// SystemServiceGetStatusProcedure is the fully-qualified name of the SystemService's GetStatus RPC.
SystemServiceGetStatusProcedure = "/aiscan.rpc.system.SystemService/GetStatus"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// SystemServiceName is the fully-qualified name of the SystemService service.
SystemServiceName = "aiscan.rpc.system.SystemService"
)
Variables ¶
var File_rpc_agent_proto protoreflect.FileDescriptor
var File_rpc_aop_proto protoreflect.FileDescriptor
var File_rpc_chat_proto protoreflect.FileDescriptor
var File_rpc_config_proto protoreflect.FileDescriptor
var File_rpc_scan_proto protoreflect.FileDescriptor
var File_rpc_sco_proto protoreflect.FileDescriptor
var File_rpc_system_proto protoreflect.FileDescriptor
Functions ¶
func NewAOPServiceHandler ¶
func NewAOPServiceHandler(svc AOPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAOPServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewAgentServiceHandler ¶
func NewAgentServiceHandler(svc AgentServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAgentServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewConfigServiceHandler ¶
func NewConfigServiceHandler(svc ConfigServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewConfigServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSCOServiceHandler ¶
func NewSCOServiceHandler(svc SCOServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSCOServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewScanServiceHandler ¶
func NewScanServiceHandler(svc ScanServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewScanServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSessionServiceHandler ¶
func NewSessionServiceHandler(svc SessionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSessionServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSystemServiceHandler ¶
func NewSystemServiceHandler(svc SystemServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSystemServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type AOPServiceClient ¶
type AOPServiceClient interface {
Connect(context.Context) *connect.BidiStreamForClient[aop.Envelope, aop.Envelope]
}
AOPServiceClient is a client for the aiscan.rpc.aop.AOPService service.
func NewAOPServiceClient ¶
func NewAOPServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AOPServiceClient
NewAOPServiceClient constructs a client for the aiscan.rpc.aop.AOPService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AOPServiceHandler ¶
type AOPServiceHandler interface {
Connect(context.Context, *connect.BidiStream[aop.Envelope, aop.Envelope]) error
}
AOPServiceHandler is an implementation of the aiscan.rpc.aop.AOPService service.
type AgentServiceClient ¶
type AgentServiceClient interface {
ListAgents(context.Context, *connect.Request[types.ListAgentsRequest]) (*connect.Response[types.ListAgentsResponse], error)
}
AgentServiceClient is a client for the aiscan.rpc.agent.AgentService service.
func NewAgentServiceClient ¶
func NewAgentServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AgentServiceClient
NewAgentServiceClient constructs a client for the aiscan.rpc.agent.AgentService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AgentServiceHandler ¶
type AgentServiceHandler interface {
ListAgents(context.Context, *connect.Request[types.ListAgentsRequest]) (*connect.Response[types.ListAgentsResponse], error)
}
AgentServiceHandler is an implementation of the aiscan.rpc.agent.AgentService service.
type ConfigServiceClient ¶
type ConfigServiceClient interface {
GetConfig(context.Context, *connect.Request[types.GetConfigRequest]) (*connect.Response[types.GetConfigResponse], error)
UpdateConfig(context.Context, *connect.Request[types.UpdateConfigRequest]) (*connect.Response[types.UpdateConfigResponse], error)
ActivateProfile(context.Context, *connect.Request[types.ActivateProfileRequest]) (*connect.Response[types.ActivateProfileResponse], error)
TestLLM(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.LLMProbeResult], error)
ListModels(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.ListModelsResult], error)
TestConnection(context.Context, *connect.Request[types.TestConnectionRequest]) (*connect.Response[types.TestConnectionResponse], error)
}
ConfigServiceClient is a client for the aiscan.rpc.config.ConfigService service.
func NewConfigServiceClient ¶
func NewConfigServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ConfigServiceClient
NewConfigServiceClient constructs a client for the aiscan.rpc.config.ConfigService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ConfigServiceHandler ¶
type ConfigServiceHandler interface {
GetConfig(context.Context, *connect.Request[types.GetConfigRequest]) (*connect.Response[types.GetConfigResponse], error)
UpdateConfig(context.Context, *connect.Request[types.UpdateConfigRequest]) (*connect.Response[types.UpdateConfigResponse], error)
ActivateProfile(context.Context, *connect.Request[types.ActivateProfileRequest]) (*connect.Response[types.ActivateProfileResponse], error)
TestLLM(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.LLMProbeResult], error)
ListModels(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.ListModelsResult], error)
TestConnection(context.Context, *connect.Request[types.TestConnectionRequest]) (*connect.Response[types.TestConnectionResponse], error)
}
ConfigServiceHandler is an implementation of the aiscan.rpc.config.ConfigService service.
type SCOServiceClient ¶
type SCOServiceClient interface {
ListNodes(context.Context, *connect.Request[types.ListNodesRequest]) (*connect.Response[types.ListNodesResponse], error)
GetNode(context.Context, *connect.Request[types.GetNodeRequest]) (*connect.Response[types.GetNodeResponse], error)
GetStats(context.Context, *connect.Request[types.GetStatsRequest]) (*connect.Response[types.GetStatsResponse], error)
DeleteNodes(context.Context, *connect.Request[types.DeleteNodesRequest]) (*connect.Response[types.DeleteNodesResponse], error)
ImportNodes(context.Context, *connect.Request[types.ImportNodesRequest]) (*connect.Response[types.ImportNodesResponse], error)
ListArtifacts(context.Context, *connect.Request[types.ListArtifactsRequest]) (*connect.Response[types.ListArtifactsResponse], error)
}
SCOServiceClient is a client for the aiscan.rpc.sco.SCOService service.
func NewSCOServiceClient ¶
func NewSCOServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SCOServiceClient
NewSCOServiceClient constructs a client for the aiscan.rpc.sco.SCOService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SCOServiceHandler ¶
type SCOServiceHandler interface {
ListNodes(context.Context, *connect.Request[types.ListNodesRequest]) (*connect.Response[types.ListNodesResponse], error)
GetNode(context.Context, *connect.Request[types.GetNodeRequest]) (*connect.Response[types.GetNodeResponse], error)
GetStats(context.Context, *connect.Request[types.GetStatsRequest]) (*connect.Response[types.GetStatsResponse], error)
DeleteNodes(context.Context, *connect.Request[types.DeleteNodesRequest]) (*connect.Response[types.DeleteNodesResponse], error)
ImportNodes(context.Context, *connect.Request[types.ImportNodesRequest]) (*connect.Response[types.ImportNodesResponse], error)
ListArtifacts(context.Context, *connect.Request[types.ListArtifactsRequest]) (*connect.Response[types.ListArtifactsResponse], error)
}
SCOServiceHandler is an implementation of the aiscan.rpc.sco.SCOService service.
type ScanServiceClient ¶
type ScanServiceClient interface {
SubmitScan(context.Context, *connect.Request[types.SubmitScanRequest]) (*connect.Response[types.SubmitScanResponse], error)
GetScan(context.Context, *connect.Request[types.GetScanRequest]) (*connect.Response[types.GetScanResponse], error)
ListScans(context.Context, *connect.Request[types.ListScansRequest]) (*connect.Response[types.ListScansResponse], error)
CancelScan(context.Context, *connect.Request[types.CancelScanRequest]) (*connect.Response[types.CancelScanResponse], error)
GetScanReport(context.Context, *connect.Request[types.GetScanReportRequest]) (*connect.Response[types.GetScanReportResponse], error)
}
ScanServiceClient is a client for the aiscan.rpc.scan.ScanService service.
func NewScanServiceClient ¶
func NewScanServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ScanServiceClient
NewScanServiceClient constructs a client for the aiscan.rpc.scan.ScanService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ScanServiceHandler ¶
type ScanServiceHandler interface {
SubmitScan(context.Context, *connect.Request[types.SubmitScanRequest]) (*connect.Response[types.SubmitScanResponse], error)
GetScan(context.Context, *connect.Request[types.GetScanRequest]) (*connect.Response[types.GetScanResponse], error)
ListScans(context.Context, *connect.Request[types.ListScansRequest]) (*connect.Response[types.ListScansResponse], error)
CancelScan(context.Context, *connect.Request[types.CancelScanRequest]) (*connect.Response[types.CancelScanResponse], error)
GetScanReport(context.Context, *connect.Request[types.GetScanReportRequest]) (*connect.Response[types.GetScanReportResponse], error)
}
ScanServiceHandler is an implementation of the aiscan.rpc.scan.ScanService service.
type SessionServiceClient ¶
type SessionServiceClient interface {
ListSessions(context.Context, *connect.Request[types.ListSessionsRequest]) (*connect.Response[types.ListSessionsResponse], error)
GetSession(context.Context, *connect.Request[types.GetSessionRequest]) (*connect.Response[types.GetSessionResponse], error)
ResetSession(context.Context, *connect.Request[types.ResetSessionRequest]) (*connect.Response[types.ResetSessionResponse], error)
DeleteSession(context.Context, *connect.Request[types.DeleteSessionRequest]) (*connect.Response[types.DeleteSessionResponse], error)
ListCommands(context.Context, *connect.Request[types.ListCommandsRequest]) (*connect.Response[types.ListCommandsResponse], error)
ListEvents(context.Context, *connect.Request[aop.ListEventsRequest]) (*connect.Response[aop.ListEventsResponse], error)
}
SessionServiceClient is a client for the aiscan.rpc.chat.SessionService service.
func NewSessionServiceClient ¶
func NewSessionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SessionServiceClient
NewSessionServiceClient constructs a client for the aiscan.rpc.chat.SessionService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SessionServiceHandler ¶
type SessionServiceHandler interface {
ListSessions(context.Context, *connect.Request[types.ListSessionsRequest]) (*connect.Response[types.ListSessionsResponse], error)
GetSession(context.Context, *connect.Request[types.GetSessionRequest]) (*connect.Response[types.GetSessionResponse], error)
ResetSession(context.Context, *connect.Request[types.ResetSessionRequest]) (*connect.Response[types.ResetSessionResponse], error)
DeleteSession(context.Context, *connect.Request[types.DeleteSessionRequest]) (*connect.Response[types.DeleteSessionResponse], error)
ListCommands(context.Context, *connect.Request[types.ListCommandsRequest]) (*connect.Response[types.ListCommandsResponse], error)
ListEvents(context.Context, *connect.Request[aop.ListEventsRequest]) (*connect.Response[aop.ListEventsResponse], error)
}
SessionServiceHandler is an implementation of the aiscan.rpc.chat.SessionService service.
type SystemServiceClient ¶
type SystemServiceClient interface {
GetStatus(context.Context, *connect.Request[types.GetStatusRequest]) (*connect.Response[types.GetStatusResponse], error)
}
SystemServiceClient is a client for the aiscan.rpc.system.SystemService service.
func NewSystemServiceClient ¶
func NewSystemServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SystemServiceClient
NewSystemServiceClient constructs a client for the aiscan.rpc.system.SystemService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SystemServiceHandler ¶
type SystemServiceHandler interface {
GetStatus(context.Context, *connect.Request[types.GetStatusRequest]) (*connect.Response[types.GetStatusResponse], error)
}
SystemServiceHandler is an implementation of the aiscan.rpc.system.SystemService service.
type UnimplementedAOPServiceHandler ¶
type UnimplementedAOPServiceHandler struct{}
UnimplementedAOPServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedAgentServiceHandler ¶
type UnimplementedAgentServiceHandler struct{}
UnimplementedAgentServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAgentServiceHandler) ListAgents ¶
func (UnimplementedAgentServiceHandler) ListAgents(context.Context, *connect.Request[types.ListAgentsRequest]) (*connect.Response[types.ListAgentsResponse], error)
type UnimplementedConfigServiceHandler ¶
type UnimplementedConfigServiceHandler struct{}
UnimplementedConfigServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedConfigServiceHandler) ActivateProfile ¶
func (UnimplementedConfigServiceHandler) ActivateProfile(context.Context, *connect.Request[types.ActivateProfileRequest]) (*connect.Response[types.ActivateProfileResponse], error)
func (UnimplementedConfigServiceHandler) GetConfig ¶
func (UnimplementedConfigServiceHandler) GetConfig(context.Context, *connect.Request[types.GetConfigRequest]) (*connect.Response[types.GetConfigResponse], error)
func (UnimplementedConfigServiceHandler) ListModels ¶
func (UnimplementedConfigServiceHandler) ListModels(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.ListModelsResult], error)
func (UnimplementedConfigServiceHandler) TestConnection ¶
func (UnimplementedConfigServiceHandler) TestConnection(context.Context, *connect.Request[types.TestConnectionRequest]) (*connect.Response[types.TestConnectionResponse], error)
func (UnimplementedConfigServiceHandler) TestLLM ¶
func (UnimplementedConfigServiceHandler) TestLLM(context.Context, *connect.Request[types.LLMProbeRequest]) (*connect.Response[types.LLMProbeResult], error)
func (UnimplementedConfigServiceHandler) UpdateConfig ¶
func (UnimplementedConfigServiceHandler) UpdateConfig(context.Context, *connect.Request[types.UpdateConfigRequest]) (*connect.Response[types.UpdateConfigResponse], error)
type UnimplementedSCOServiceHandler ¶
type UnimplementedSCOServiceHandler struct{}
UnimplementedSCOServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSCOServiceHandler) DeleteNodes ¶
func (UnimplementedSCOServiceHandler) DeleteNodes(context.Context, *connect.Request[types.DeleteNodesRequest]) (*connect.Response[types.DeleteNodesResponse], error)
func (UnimplementedSCOServiceHandler) GetNode ¶
func (UnimplementedSCOServiceHandler) GetNode(context.Context, *connect.Request[types.GetNodeRequest]) (*connect.Response[types.GetNodeResponse], error)
func (UnimplementedSCOServiceHandler) GetStats ¶
func (UnimplementedSCOServiceHandler) GetStats(context.Context, *connect.Request[types.GetStatsRequest]) (*connect.Response[types.GetStatsResponse], error)
func (UnimplementedSCOServiceHandler) ImportNodes ¶
func (UnimplementedSCOServiceHandler) ImportNodes(context.Context, *connect.Request[types.ImportNodesRequest]) (*connect.Response[types.ImportNodesResponse], error)
func (UnimplementedSCOServiceHandler) ListArtifacts ¶
func (UnimplementedSCOServiceHandler) ListArtifacts(context.Context, *connect.Request[types.ListArtifactsRequest]) (*connect.Response[types.ListArtifactsResponse], error)
func (UnimplementedSCOServiceHandler) ListNodes ¶
func (UnimplementedSCOServiceHandler) ListNodes(context.Context, *connect.Request[types.ListNodesRequest]) (*connect.Response[types.ListNodesResponse], error)
type UnimplementedScanServiceHandler ¶
type UnimplementedScanServiceHandler struct{}
UnimplementedScanServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedScanServiceHandler) CancelScan ¶
func (UnimplementedScanServiceHandler) CancelScan(context.Context, *connect.Request[types.CancelScanRequest]) (*connect.Response[types.CancelScanResponse], error)
func (UnimplementedScanServiceHandler) GetScan ¶
func (UnimplementedScanServiceHandler) GetScan(context.Context, *connect.Request[types.GetScanRequest]) (*connect.Response[types.GetScanResponse], error)
func (UnimplementedScanServiceHandler) GetScanReport ¶
func (UnimplementedScanServiceHandler) GetScanReport(context.Context, *connect.Request[types.GetScanReportRequest]) (*connect.Response[types.GetScanReportResponse], error)
func (UnimplementedScanServiceHandler) ListScans ¶
func (UnimplementedScanServiceHandler) ListScans(context.Context, *connect.Request[types.ListScansRequest]) (*connect.Response[types.ListScansResponse], error)
func (UnimplementedScanServiceHandler) SubmitScan ¶
func (UnimplementedScanServiceHandler) SubmitScan(context.Context, *connect.Request[types.SubmitScanRequest]) (*connect.Response[types.SubmitScanResponse], error)
type UnimplementedSessionServiceHandler ¶
type UnimplementedSessionServiceHandler struct{}
UnimplementedSessionServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSessionServiceHandler) DeleteSession ¶
func (UnimplementedSessionServiceHandler) DeleteSession(context.Context, *connect.Request[types.DeleteSessionRequest]) (*connect.Response[types.DeleteSessionResponse], error)
func (UnimplementedSessionServiceHandler) GetSession ¶
func (UnimplementedSessionServiceHandler) GetSession(context.Context, *connect.Request[types.GetSessionRequest]) (*connect.Response[types.GetSessionResponse], error)
func (UnimplementedSessionServiceHandler) ListCommands ¶
func (UnimplementedSessionServiceHandler) ListCommands(context.Context, *connect.Request[types.ListCommandsRequest]) (*connect.Response[types.ListCommandsResponse], error)
func (UnimplementedSessionServiceHandler) ListEvents ¶
func (UnimplementedSessionServiceHandler) ListEvents(context.Context, *connect.Request[aop.ListEventsRequest]) (*connect.Response[aop.ListEventsResponse], error)
func (UnimplementedSessionServiceHandler) ListSessions ¶
func (UnimplementedSessionServiceHandler) ListSessions(context.Context, *connect.Request[types.ListSessionsRequest]) (*connect.Response[types.ListSessionsResponse], error)
func (UnimplementedSessionServiceHandler) ResetSession ¶
func (UnimplementedSessionServiceHandler) ResetSession(context.Context, *connect.Request[types.ResetSessionRequest]) (*connect.Response[types.ResetSessionResponse], error)
type UnimplementedSystemServiceHandler ¶
type UnimplementedSystemServiceHandler struct{}
UnimplementedSystemServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSystemServiceHandler) GetStatus ¶
func (UnimplementedSystemServiceHandler) GetStatus(context.Context, *connect.Request[types.GetStatusRequest]) (*connect.Response[types.GetStatusResponse], error)