connection

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: AGPL-3.0 Imports: 29 Imported by: 0

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)) (*ConnectionWatcher, error)

func (*ConnectionWatcher) Close

func (w *ConnectionWatcher) Close()

Jump to

Keyboard shortcuts

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