mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-25 14:00:26 -05:00
18 lines
582 B
Go
18 lines
582 B
Go
package connection
|
|
|
|
import (
|
|
"github.com/jackc/pgx/v5/pgxpool"
|
|
"github.com/turbot/steampipe/pkg/pluginmanager_service/grpc/shared"
|
|
"github.com/turbot/steampipe/pkg/steampipeconfig/modconfig"
|
|
)
|
|
|
|
type pluginManager interface {
|
|
shared.PluginManager
|
|
OnConnectionConfigChanged(ConnectionConfigMap, map[string]*modconfig.Plugin)
|
|
GetConnectionConfig() ConnectionConfigMap
|
|
HandlePluginLimiterChanges(limiterMap PluginLimiterMap) error
|
|
Pool() *pgxpool.Pool
|
|
ShouldFetchRateLimiterDefs() bool
|
|
LoadPluginRateLimiters(pluginConnectionMap map[string]string) (PluginLimiterMap, error)
|
|
}
|