Documentation ¶
Index ¶
- type Handle
- func (h *Handle) AsAI(instanceID string) (drivers.AIService, bool)
- func (h *Handle) AsAdmin(instanceID string) (drivers.AdminService, bool)
- func (h *Handle) AsCatalogStore(instanceID string) (drivers.CatalogStore, bool)
- func (h *Handle) AsFileStore() (drivers.FileStore, bool)
- func (h *Handle) AsModelExecutor(instanceID string, opts *drivers.ModelExecutorOptions) (drivers.ModelExecutor, bool)
- func (h *Handle) AsModelManager(instanceID string) (drivers.ModelManager, bool)
- func (h *Handle) AsNotifier(properties map[string]any) (drivers.Notifier, error)
- func (h *Handle) AsOLAP(instanceID string) (drivers.OLAPStore, bool)
- func (h *Handle) AsObjectStore() (drivers.ObjectStore, bool)
- func (h *Handle) AsRegistry() (drivers.RegistryStore, bool)
- func (h *Handle) AsRepoStore(instanceID string) (drivers.RepoStore, bool)
- func (h *Handle) AsSQLStore() (drivers.SQLStore, bool)
- func (h *Handle) AsTransporter(from, to drivers.Handle) (drivers.Transporter, bool)
- func (h *Handle) AsWarehouse() (drivers.Warehouse, bool)
- func (h *Handle) Close() error
- func (h *Handle) CommitHash(ctx context.Context) (string, error)
- func (h *Handle) Complete(ctx context.Context, msgs []*drivers.CompletionMessage) (*drivers.CompletionMessage, error)
- func (h *Handle) Config() map[string]any
- func (h *Handle) Delete(ctx context.Context, filePath string, force bool) error
- func (h *Handle) Driver() string
- func (h *Handle) Get(ctx context.Context, filePath string) (string, error)
- func (h *Handle) GetAlertMetadata(ctx context.Context, alertName string, annotations map[string]string, ...) (*drivers.AlertMetadata, error)
- func (h *Handle) GetReportMetadata(ctx context.Context, reportName string, annotations map[string]string, ...) (*drivers.ReportMetadata, error)
- func (h *Handle) ListRecursive(ctx context.Context, glob string, skipDirs bool) ([]drivers.DirEntry, error)
- func (h *Handle) MakeDir(ctx context.Context, dirPath string) error
- func (h *Handle) Migrate(ctx context.Context) (err error)
- func (h *Handle) MigrationStatus(ctx context.Context) (current, desired int, err error)
- func (h *Handle) Ping(ctx context.Context) error
- func (h *Handle) Put(ctx context.Context, filePath string, reader io.Reader) error
- func (h *Handle) Rename(ctx context.Context, fromPath, toPath string) error
- func (h *Handle) Root() string
- func (h *Handle) Stat(ctx context.Context, filePath string) (*drivers.RepoObjectStat, error)
- func (h *Handle) Sync(ctx context.Context) error
- func (h *Handle) Watch(ctx context.Context, callback drivers.WatchCallback) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle struct {
// contains filtered or unexported fields
}
func (*Handle) AsAdmin ¶ added in v0.37.0
func (h *Handle) AsAdmin(instanceID string) (drivers.AdminService, bool)
AsAdmin implements drivers.Handle.
func (*Handle) AsCatalogStore ¶
func (h *Handle) AsCatalogStore(instanceID string) (drivers.CatalogStore, bool)
AsCatalogStore implements drivers.Handle.
func (*Handle) AsFileStore ¶
AsFileStore implements drivers.Handle.
func (*Handle) AsModelExecutor ¶ added in v0.45.0
func (h *Handle) AsModelExecutor(instanceID string, opts *drivers.ModelExecutorOptions) (drivers.ModelExecutor, bool)
AsModelExecutor implements drivers.Handle.
func (*Handle) AsModelManager ¶ added in v0.45.0
func (h *Handle) AsModelManager(instanceID string) (drivers.ModelManager, bool)
AsModelManager implements drivers.Handle.
func (*Handle) AsNotifier ¶ added in v0.43.0
AsNotifier implements drivers.Handle.
func (*Handle) AsObjectStore ¶
func (h *Handle) AsObjectStore() (drivers.ObjectStore, bool)
AsObjectStore implements drivers.Handle.
func (*Handle) AsRegistry ¶
func (h *Handle) AsRegistry() (drivers.RegistryStore, bool)
AsRegistry implements drivers.Handle.
func (*Handle) AsRepoStore ¶
AsRepoStore implements drivers.Handle.
func (*Handle) AsSQLStore ¶
AsSQLStore implements drivers.Handle.
func (*Handle) AsTransporter ¶
AsTransporter implements drivers.Handle.
func (*Handle) AsWarehouse ¶ added in v0.48.0
AsWarehouse implements drivers.Handle.
func (*Handle) CommitHash ¶ added in v0.37.0
func (*Handle) Complete ¶ added in v0.41.0
func (h *Handle) Complete(ctx context.Context, msgs []*drivers.CompletionMessage) (*drivers.CompletionMessage, error)
func (*Handle) GetAlertMetadata ¶ added in v0.41.0
func (*Handle) GetReportMetadata ¶ added in v0.37.0
func (*Handle) ListRecursive ¶ added in v0.37.0
func (*Handle) MigrationStatus ¶
MigrationStatus implements drivers.Handle.
Click to show internal directories.
Click to hide internal directories.