Documentation
¶
Index ¶
- type ErrUnauthorizedTokenRequest
- type Source
- func (s *Source) Attach(ctx context.Context, db *db.Pool) (err error)
- func (s *Source) CatalogSource(ctx context.Context, db *db.Pool) (cs.Catalog, error)
- func (s *Source) CompileOptions() compiler.Options
- func (s *Source) Definition() types.DataSource
- func (s *Source) DefinitionExtensions(ctx context.Context, name string) iter.Seq[*ast.Definition]
- func (s *Source) Definitions(ctx context.Context) iter.Seq[*ast.Definition]
- func (s *Source) Description() string
- func (s *Source) Detach(ctx context.Context, db *db.Pool) error
- func (s *Source) DirectiveDefinitions(ctx context.Context) iter.Seq2[string, *ast.DirectiveDefinition]
- func (s *Source) DirectiveForName(ctx context.Context, name string) *ast.DirectiveDefinition
- func (s *Source) Engine() engines.Engine
- func (s *Source) Extensions(ctx context.Context) iter.Seq[*ast.Definition]
- func (s *Source) ForName(ctx context.Context, name string) *ast.Definition
- func (s *Source) IsAttached() bool
- func (s *Source) Name() string
- func (s *Source) ReadOnly() bool
- func (s *Source) Reload(ctx context.Context) error
- func (s *Source) Request(ctx context.Context, path, method, headers, params, body string) (*http.Response, error)
- func (s *Source) Version(_ context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrUnauthorizedTokenRequest ¶
type ErrUnauthorizedTokenRequest string
func (*ErrUnauthorizedTokenRequest) Error ¶
func (e *ErrUnauthorizedTokenRequest) Error() string
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
func (*Source) CatalogSource ¶
func (*Source) CompileOptions ¶ added in v0.3.0
func (*Source) Definition ¶
func (s *Source) Definition() types.DataSource
func (*Source) DefinitionExtensions ¶ added in v0.3.0
func (*Source) Definitions ¶ added in v0.3.0
func (*Source) Description ¶ added in v0.3.0
func (*Source) DirectiveDefinitions ¶ added in v0.3.0
func (*Source) DirectiveForName ¶ added in v0.3.0
func (*Source) Extensions ¶ added in v0.3.0
func (*Source) IsAttached ¶
Click to show internal directories.
Click to hide internal directories.