Documentation
¶
Index ¶
- func NewDataSource(ctx context.Context, ds types.DataSource, attached bool) (Source, error)
- type Service
- func (s *Service) Attach(ctx context.Context, name string) error
- func (s *Service) AttachRuntimeSource(ctx context.Context, source RuntimeSource) error
- func (s *Service) DataSource(name string) (Source, error)
- func (s *Service) DescribeDataSource(ctx context.Context, name string, self bool) (string, error)
- func (s *Service) Detach(ctx context.Context, name string, db *db.Pool) error
- func (s *Service) Engine(name string) (engines.Engine, error)
- func (s *Service) HttpRequest(ctx context.Context, source, path, method, headers, params, body, jqq string) (any, error)
- func (s *Service) IsAttached(name string) bool
- func (s *Service) LoadDataSource(ctx context.Context, name string) error
- func (s *Service) Register(ctx context.Context, name string, ds Source) error
- func (s *Service) RegisterUDF(ctx context.Context) error
- func (s *Service) Schema() *ast.Schema
- func (s *Service) UnloadDataSource(ctx context.Context, name string) error
- func (s *Service) Unregister(ctx context.Context, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDataSource ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AttachRuntimeSource ¶
func (*Service) DataSource ¶
func (*Service) DescribeDataSource ¶ added in v0.1.14
func (*Service) HttpRequest ¶
func (*Service) IsAttached ¶
func (*Service) LoadDataSource ¶ added in v0.1.8
func (*Service) UnloadDataSource ¶ added in v0.1.8
Click to show internal directories.
Click to hide internal directories.