Versions in this module Expand all Collapse all v1 v1.0.1 Feb 21, 2024 v1.0.0 Feb 21, 2024 Changes in this version + const ErrSystem + func SetConfig(cfg *Config) error + type Config struct + DefaultWarehouse string + ResourceConstraints core.ResourceConstraintsSpec + TokenKey string + WebAPI webapi.PluginConfig + func GetConfig() *Config + type HTTPClient interface + Do func(req *http.Request) (*http.Response, error) + type Plugin struct + func (p Plugin) Create(ctx context.Context, taskCtx webapi.TaskExecutionContextReader) (webapi.ResourceMeta, webapi.Resource, error) + func (p Plugin) Delete(ctx context.Context, taskCtx webapi.DeleteContext) error + func (p Plugin) Get(ctx context.Context, taskCtx webapi.GetContext) (latest webapi.Resource, err error) + func (p Plugin) GetConfig() webapi.PluginConfig + func (p Plugin) ResourceRequirements(_ context.Context, _ webapi.TaskExecutionContextReader) (namespace core.ResourceNamespace, constraints core.ResourceConstraintsSpec, ...) + func (p Plugin) Status(_ context.Context, taskCtx webapi.StatusContext) (phase core.PhaseInfo, err error) + type QueryInfo struct + Account string + Database string + Schema string + Statement string + Warehouse string + type ResourceMetaWrapper struct + Account string + QueryID string + Token string + type ResourceWrapper struct + Message string + StatusCode int