Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildValidationWarningString ¶
func BuildValidationWarningString(failures []*ValidationFailure) string
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()
type ValidationFailure ¶
type ValidationFailure struct { Plugin string ConnectionName string Message string ShouldDropIfExists bool }
func ValidatePlugins ¶
func ValidatePlugins(plugins map[string]*steampipeconfig.ConnectionPlugin) ([]*ValidationFailure, map[string]*steampipeconfig.ConnectionPlugin)
func ValidateUpdates ¶
func ValidateUpdates(updates, commentUpdates steampipeconfig.ConnectionStateMap, validatedPlugins map[string]*steampipeconfig.ConnectionPlugin) ([]*ValidationFailure, steampipeconfig.ConnectionStateMap, steampipeconfig.ConnectionStateMap)
func (ValidationFailure) String ¶
func (v ValidationFailure) String() string
Click to show internal directories.
Click to hide internal directories.