connectionwatcher

package
v0.18.0-alpha.25 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package connection_watcher contains logic and types to support file-watching Steampipe connection config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnectionConfigMap

func NewConnectionConfigMap(connectionMap map[string]*modconfig.Connection) map[string]*sdkproto.ConnectionConfig

Types

type ConnectionWatcher

type ConnectionWatcher struct {
	// contains filtered or unexported fields
}

func NewConnectionWatcher

func NewConnectionWatcher(onConnectionChanged func(configMap map[string]*sdkproto.ConnectionConfig)) (*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