Documentation ¶
Index ¶
- type DB
- func (db *DB) GetPlugins(ctx context.Context) ([]*entry.Plugin, error)
- func (db *DB) RemovePluginByID(ctx context.Context, PluginID umid.UMID) error
- func (db *DB) RemovePluginsByIDs(ctx context.Context, PluginIDs []umid.UMID) error
- func (db *DB) UpdatePluginMeta(ctx context.Context, pluginID umid.UMID, meta entry.PluginMeta) error
- func (db *DB) UpdatePluginOptions(ctx context.Context, pluginID umid.UMID, options *entry.PluginOptions) error
- func (db *DB) UpsertPlugin(ctx context.Context, plugin *entry.Plugin) error
- func (db *DB) UpsertPlugins(ctx context.Context, plugins []*entry.Plugin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetPlugins ¶ added in v0.2.0
func (*DB) RemovePluginByID ¶ added in v0.2.0
func (*DB) RemovePluginsByIDs ¶ added in v0.2.0
func (*DB) UpdatePluginMeta ¶ added in v0.2.0
func (*DB) UpdatePluginOptions ¶ added in v0.2.0
func (*DB) UpsertPlugin ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.