source

package
v0.2.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseSourceConfig

type DatabaseSourceConfig struct {
	Queries []DatabaseSourceConfigQuery `json:"queries"`
}

type DatabaseSourceConfigQuery

type DatabaseSourceConfigQuery struct {
	Name         string `json:"name"`
	DatabaseName string `json:"databaseName"`
	Query        string `json:"query"`
}

type DatabaseSources

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

func NewDatabaseSources

func NewDatabaseSources(
	logger log.Logger,
	conns *db.Connections,
	file string,
) (*DatabaseSources, error)

func (*DatabaseSources) InputSources

func (s *DatabaseSources) InputSources() (map[string]func(context.Context) ([]byte, error), error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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