config

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParamConnectionURL                  = "ConnectionURL"
	ParamCertificatesString             = "Certificates"
	ParamTablePath                      = "TablePath"
	ParamColumns                        = "Columns"
	ParamCredentialsYcServiceAccountKey = "CredentialsYcServiceAccountKey"
	ParamCredentialsYcMetadata          = "CredentialsYcMetadata"
	ParamCredentialsStatic              = "CredentialsStatic"
	ParamCredentialsStaticLogin         = "CredentialsStaticLogin"
	ParamCredentialsStaticPassword      = "CredentialsStaticPassword"
	ParamCredentialsToken               = "CredentialsToken"
	ParamCredentialsAnonymous           = "CredentialsAnonymous"
	ParamLogLevel                       = "LogLevel"

	KeyTimestamp = ".timestamp"
	KeyInput     = ".input"
	KeyOthers    = ".others"
	KeyHash      = ".hash"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConnectionURL     string
	Certificates      string
	CredentialsOption ydb.Option
	TablePath         string
	Columns           map[string]string
	LogLevel          zerolog.Level
}

func ReadConfigFromPlugin

func ReadConfigFromPlugin(plugin unsafe.Pointer) (cfg Config, _ error)

Jump to

Keyboard shortcuts

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