Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshConnections ¶
func RefreshConnections(ctx context.Context, forceUpdateConnectionNames ...string) *steampipeconfig.RefreshConnectionResult
Types ¶
type ConnectionConfigMap ¶
type ConnectionConfigMap map[string]*sdkproto.ConnectionConfig
func NewConnectionConfigMap ¶
func NewConnectionConfigMap(connectionMap map[string]*modconfig.Connection) ConnectionConfigMap
func (ConnectionConfigMap) Diff ¶
func (m ConnectionConfigMap) Diff(otherMap ConnectionConfigMap) (addedConnections, deletedConnections, changedConnections map[string][]*sdkproto.ConnectionConfig)
type ConnectionWatcher ¶
type ConnectionWatcher struct {
// contains filtered or unexported fields
}
func NewConnectionWatcher ¶
func NewConnectionWatcher(onConnectionChanged func(ConnectionConfigMap, LimiterMap)) (*ConnectionWatcher, error)
func (*ConnectionWatcher) Close ¶
func (w *ConnectionWatcher) Close()
type LimiterMap ¶ added in v0.21.0
type LimiterMap map[string]*modconfig.RateLimiter
func (LimiterMap) GetPluginsWithChangedLimiters ¶
func (l LimiterMap) GetPluginsWithChangedLimiters(other LimiterMap) map[string]struct{}
GetPluginsWithChangedLimiters returns a list of plugins (short name) who have changed limiter configs (added/deleted/update)
Click to show internal directories.
Click to hide internal directories.