Documentation
¶
Index ¶
- type Handle
- func (c *Handle) AsCatalogStore(instanceID string) (drivers.CatalogStore, bool)
- func (c *Handle) AsFileStore() (drivers.FileStore, bool)
- func (c *Handle) AsOLAP(instanceID string) (drivers.OLAPStore, bool)
- func (c *Handle) AsObjectStore() (drivers.ObjectStore, bool)
- func (c *Handle) AsRegistry() (drivers.RegistryStore, bool)
- func (c *Handle) AsRepoStore(instanceID string) (drivers.RepoStore, bool)
- func (c *Handle) AsSQLStore() (drivers.SQLStore, bool)
- func (c *Handle) AsTransporter(from, to drivers.Handle) (drivers.Transporter, bool)
- func (c *Handle) Close() error
- func (c *Handle) Config() map[string]any
- func (c *Handle) Driver() string
- func (c *Handle) Migrate(ctx context.Context) (err error)
- func (c *Handle) MigrationStatus(ctx context.Context) (current, desired int, err 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) AsCatalogStore ¶
func (c *Handle) AsCatalogStore(instanceID string) (drivers.CatalogStore, bool)
Catalog implements drivers.Handle.
func (*Handle) AsFileStore ¶
AsFileStore implements drivers.Handle.
func (*Handle) AsObjectStore ¶
func (c *Handle) AsObjectStore() (drivers.ObjectStore, bool)
AsObjectStore implements drivers.Handle.
func (*Handle) AsRegistry ¶
func (c *Handle) AsRegistry() (drivers.RegistryStore, bool)
Registry implements drivers.Handle.
func (*Handle) AsRepoStore ¶
Repo implements drivers.Handle.
func (*Handle) AsSQLStore ¶
AsSQLStore implements drivers.Handle.
func (*Handle) AsTransporter ¶
AsTransporter implements drivers.Handle.
Click to show internal directories.
Click to hide internal directories.