Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.5.16 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by baton-sdk. DO NOT EDIT!!!

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigPathField = field.StringField(
		"config-path",
		field.WithRequired(true),
		field.WithDescription("The file path to the baton-sql config to use"),
	)

	// ConfigurationFields defines the external configuration required for the connector to run.
	ConfigurationFields = []field.SchemaField{
		ConfigPathField,
	}
	ConfigurationSchema = field.NewConfiguration(ConfigurationFields)
)
View Source
var (
	Config = field.NewConfiguration(
		ConfigurationFields,
		field.WithConnectorDisplayName("SQL"),
		field.WithHelpUrl("/docs/baton/baton-sql"),
		field.WithIconUrl("/static/app-icons/sql.svg"),
	)
)

Functions

This section is empty.

Types

type SQL added in v0.0.14

type SQL struct {
	ConfigPath string `mapstructure:"config-path"`
}

func (*SQL) GetBool added in v0.0.14

func (c *SQL) GetBool(fieldName string) bool

func (*SQL) GetInt added in v0.0.14

func (c *SQL) GetInt(fieldName string) int

func (*SQL) GetString added in v0.0.14

func (c *SQL) GetString(fieldName string) string

func (*SQL) GetStringMap added in v0.0.14

func (c *SQL) GetStringMap(fieldName string) map[string]any

func (*SQL) GetStringSlice added in v0.0.14

func (c *SQL) GetStringSlice(fieldName string) []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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