Documentation ¶
Index ¶
- func GetConfig(ctx context.Context) (*config.ProjectConfig, error)
- func GetSchema(ctx context.Context) (*proto.Schema, error)
- func GetTraceVerbosity(ctx context.Context) bool
- func WithConfig(ctx context.Context, schema *config.ProjectConfig) context.Context
- func WithSchema(ctx context.Context, schema *proto.Schema) context.Context
- func WithTraceVerbosity(ctx context.Context, verbose bool) context.Context
- type Server
- func (s *Server) GetActiveSchema(ctx context.Context, req *rpc.GetSchemaRequest) (*rpc.GetSchemaResponse, error)
- func (s *Server) GetTrace(ctx context.Context, input *rpc.GetTraceRequest) (*rpc.GetTraceResponse, error)
- func (s *Server) ListTools(ctx context.Context, input *rpc.ListToolsRequest) (*rpc.ListToolsResponse, error)
- func (s *Server) ListTraces(ctx context.Context, input *rpc.ListTracesRequest) (*rpc.ListTracesResponse, error)
- func (s *Server) RunSQLQuery(ctx context.Context, input *rpc.SQLQueryInput) (*rpc.SQLQueryResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfig ¶ added in v0.396.4
func GetConfig(ctx context.Context) (*config.ProjectConfig, error)
func GetTraceVerbosity ¶ added in v0.377.0
func WithConfig ¶ added in v0.396.4
Types ¶
type Server ¶
type Server struct{}
func (*Server) GetActiveSchema ¶
func (s *Server) GetActiveSchema(ctx context.Context, req *rpc.GetSchemaRequest) (*rpc.GetSchemaResponse, error)
func (*Server) GetTrace ¶
func (s *Server) GetTrace(ctx context.Context, input *rpc.GetTraceRequest) (*rpc.GetTraceResponse, error)
func (*Server) ListTools ¶ added in v0.394.2
func (s *Server) ListTools(ctx context.Context, input *rpc.ListToolsRequest) (*rpc.ListToolsResponse, error)
func (*Server) ListTraces ¶
func (s *Server) ListTraces(ctx context.Context, input *rpc.ListTracesRequest) (*rpc.ListTracesResponse, error)
func (*Server) RunSQLQuery ¶
func (s *Server) RunSQLQuery(ctx context.Context, input *rpc.SQLQueryInput) (*rpc.SQLQueryResponse, error)
Click to show internal directories.
Click to hide internal directories.