Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshConnections ¶
func RefreshConnections(ctx context.Context, pluginManager pluginManager, forceUpdateConnectionNames ...string) (res *steampipeconfig.RefreshConnectionResult)
Types ¶
type ConnectionConfigMap ¶
type ConnectionConfigMap map[string]*sdkproto.ConnectionConfig
func NewConnectionConfigMap ¶
func NewConnectionConfigMap(connectionMap map[string]*modconfig.SteampipeConnection) ConnectionConfigMap
NewConnectionConfigMap creates a map of sdkproto.ConnectionConfig keyed by connection name NOTE: connections in error are EXCLUDED
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(pluginManager pluginManager) (*ConnectionWatcher, error)
func (*ConnectionWatcher) Close ¶
func (w *ConnectionWatcher) Close()
type LimiterMap ¶ added in v0.21.0
type LimiterMap map[string]*plugin.RateLimiter
LimiterMap is a map of limiter name to limiter definition
func NewLimiterMap ¶ added in v0.21.0
func NewLimiterMap(limiters []*plugin.RateLimiter) LimiterMap
func (LimiterMap) Equals ¶ added in v0.21.0
func (l LimiterMap) Equals(other LimiterMap) bool
func (LimiterMap) ToPluginLimiterMap ¶ added in v0.21.0
func (l LimiterMap) ToPluginLimiterMap() PluginLimiterMap
ToPluginLimiterMap converts limiter map keyed by limiter name to a map of limiter maps keyed by plugin image ref
type PluginLimiterMap ¶ added in v0.21.0
type PluginLimiterMap map[string]LimiterMap
PluginLimiterMap map of plugin image ref to Limiter map for the plugin
func (PluginLimiterMap) Equals ¶ added in v0.21.0
func (l PluginLimiterMap) Equals(other PluginLimiterMap) bool
type PluginMap ¶ added in v0.21.0
func (PluginMap) ToPluginLimiterMap ¶ added in v0.21.0
func (p PluginMap) ToPluginLimiterMap() PluginLimiterMap
Click to show internal directories.
Click to hide internal directories.