airbyte_source

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCommand

func CheckCommand(ch *Helper) *cobra.Command

func DiscoverCommand

func DiscoverCommand(ch *Helper) *cobra.Command

func Execute

func Execute(ctx context.Context, ver, commit, buildDate string)

func ReadCommand

func ReadCommand(ch *Helper) *cobra.Command

func SpecCommand

func SpecCommand() *cobra.Command

Types

type FileReader

type FileReader interface {
	ReadFile(path string) ([]byte, error)
}

type Helper

type Helper struct {
	Database   internal.PlanetScaleDatabase
	FileReader FileReader
	Logger     internal.AirbyteLogger
}

func DefaultHelper

func DefaultHelper(w io.Writer) *Helper

func (*Helper) EnsureDB

func (h *Helper) EnsureDB(psc internal.PlanetScaleSource) error

type State

type State struct {
	Shards map[string]map[string]interface{} `json:"shards"`
}

Jump to

Keyboard shortcuts

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