Documentation
¶
Index ¶
- Variables
- type Catalog
- type Extension
- type Service
- func (s *Service) AddCatalog(ctx context.Context, name string, c *Catalog) error
- func (s *Service) AddExtension(ctx context.Context, ext *Extension) error
- func (s *Service) CatalogSchema(name string) (*ast.Schema, error)
- func (s *Service) Engine(name string) (engines.Engine, error)
- func (s *Service) ExistsCatalog(name string) bool
- func (s *Service) ExistsExtension(name string) bool
- func (s *Service) NewExtension(ctx context.Context, def types.DataSource, source sources.Source) (*Extension, error)
- func (s *Service) RebuildSchema(ctx context.Context) error
- func (s *Service) Reload(ctx context.Context, name string) error
- func (s *Service) RemoveCatalog(ctx context.Context, name string) error
- func (s *Service) RemoveExtension(ctx context.Context, name string) error
- func (s *Service) Schema() *ast.Schema
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCatalogNotFound = errors.New("catalog not found")
Functions ¶
This section is empty.
Types ¶
type Extension ¶ added in v0.1.12
type Extension struct {
// contains filtered or unexported fields
}
func (*Extension) Source ¶ added in v0.1.12
func (e *Extension) Source() *ast.SchemaDocument
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AddCatalog ¶
func (*Service) AddExtension ¶
func (*Service) ExistsCatalog ¶
func (*Service) ExistsExtension ¶
func (*Service) NewExtension ¶ added in v0.1.12
func (*Service) RemoveCatalog ¶
func (*Service) RemoveExtension ¶
Click to show internal directories.
Click to hide internal directories.