connection

package
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2025 License: AGPL-3.0 Imports: 37 Imported by: 0

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

type LimiterMap map[string]*plugin.RateLimiter

LimiterMap is a map of limiter name to limiter definition

func NewLimiterMap

func NewLimiterMap(limiters []*plugin.RateLimiter) LimiterMap

func (LimiterMap) Equals

func (l LimiterMap) Equals(other LimiterMap) bool

func (LimiterMap) ToPluginLimiterMap

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

type PluginLimiterMap map[string]LimiterMap

PluginLimiterMap map of plugin image ref to Limiter map for the plugin

func (PluginLimiterMap) Equals

func (l PluginLimiterMap) Equals(other PluginLimiterMap) bool

type PluginMap

type PluginMap map[string]*plugin.Plugin

func (PluginMap) ToPluginLimiterMap

func (p PluginMap) ToPluginLimiterMap() PluginLimiterMap

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL