admin

package
v0.40.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 26 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) 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) 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) 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) 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) 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) 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) ([]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) 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