admin

package
v0.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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) AsAI added in v0.41.0

func (h *Handle) AsAI(instanceID string) (drivers.AIService, bool)

AsAI implements drivers.Handle.

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

func (h *Handle) AsFileStore() (drivers.FileStore, bool)

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

func (h *Handle) AsNotifier(properties map[string]any) (drivers.Notifier, error)

AsNotifier implements drivers.Handle.

func (*Handle) AsOLAP

func (h *Handle) AsOLAP(instanceID string) (drivers.OLAPStore, bool)

AsOLAP 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

func (h *Handle) AsRepoStore(instanceID string) (drivers.RepoStore, bool)

AsRepoStore implements drivers.Handle.

func (*Handle) AsSQLStore

func (h *Handle) AsSQLStore() (drivers.SQLStore, bool)

AsSQLStore implements drivers.Handle.

func (*Handle) AsTransporter

func (h *Handle) AsTransporter(from, to drivers.Handle) (drivers.Transporter, bool)

AsTransporter implements drivers.Handle.

func (*Handle) AsWarehouse added in v0.48.0

func (h *Handle) AsWarehouse() (drivers.Warehouse, bool)

AsWarehouse implements drivers.Handle.

func (*Handle) Close

func (h *Handle) Close() error

Close implements drivers.Handle.

func (*Handle) CommitHash added in v0.37.0

func (h *Handle) CommitHash(ctx context.Context) (string, error)

func (*Handle) Complete added in v0.41.0

func (*Handle) Config

func (h *Handle) Config() map[string]any

Config implements drivers.Handle.

func (*Handle) Delete added in v0.37.0

func (h *Handle) Delete(ctx context.Context, filePath string, force bool) error

func (*Handle) Driver

func (h *Handle) Driver() string

Driver implements drivers.Handle.

func (*Handle) Get added in v0.37.0

func (h *Handle) Get(ctx context.Context, filePath string) (string, error)

func (*Handle) GetAlertMetadata added in v0.41.0

func (h *Handle) GetAlertMetadata(ctx context.Context, alertName string, annotations map[string]string, queryForUserID, queryForUserEmail string) (*drivers.AlertMetadata, error)

func (*Handle) GetReportMetadata added in v0.37.0

func (h *Handle) GetReportMetadata(ctx context.Context, reportName string, annotations map[string]string, executionTime time.Time) (*drivers.ReportMetadata, error)

func (*Handle) ListRecursive added in v0.37.0

func (h *Handle) ListRecursive(ctx context.Context, glob string, skipDirs bool) ([]drivers.DirEntry, error)

func (*Handle) MakeDir added in v0.43.0

func (h *Handle) MakeDir(ctx context.Context, dirPath string) error

func (*Handle) Migrate

func (h *Handle) Migrate(ctx context.Context) (err error)

Migrate implements drivers.Handle.

func (*Handle) MigrationStatus

func (h *Handle) MigrationStatus(ctx context.Context) (current, desired int, err error)

MigrationStatus implements drivers.Handle.

func (*Handle) Ping added in v0.47.0

func (h *Handle) Ping(ctx context.Context) error

Ping implements drivers.Handle.

func (*Handle) Put added in v0.37.0

func (h *Handle) Put(ctx context.Context, filePath string, reader io.Reader) error

func (*Handle) Rename added in v0.37.0

func (h *Handle) Rename(ctx context.Context, fromPath, toPath string) error

func (*Handle) Root added in v0.37.0

func (h *Handle) Root() string

func (*Handle) Stat added in v0.37.0

func (h *Handle) Stat(ctx context.Context, filePath string) (*drivers.RepoObjectStat, error)

func (*Handle) Sync added in v0.37.0

func (h *Handle) Sync(ctx context.Context) error

func (*Handle) Watch added in v0.37.0

func (h *Handle) Watch(ctx context.Context, callback drivers.WatchCallback) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL