types

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LangTypescript = "typescript"
	LangGo         = "go"
	LangSwift      = "swift"
	LangPython     = "python"
)
View Source
const (
	SwiftPublicAccessControl   = "public"
	SwiftInternalAccessControl = "internal"
)

Variables

This section is empty.

Functions

func GetRootCA

func GetRootCA(ctx context.Context, dbURL string, options ...func(*pgx.ConnConfig)) (string, error)

func IsSSLDebugEnabled

func IsSSLDebugEnabled() bool

func LogSSLDebugf

func LogSSLDebugf(format string, args ...any)

func Run

func Run(ctx context.Context, projectId string, dbConfig pgconn.Config, lang string, schemas []string, postgrestV9Compat bool, swiftAccessControl string, queryTimeout time.Duration, fsys afero.Fs, options ...func(*pgx.ConnConfig)) error

func RunVolcengine

func RunVolcengine(ctx context.Context, client *volcengine.Client, params VolcengineParams, w io.Writer) error

Types

type VolcengineParams

type VolcengineParams struct {
	WorkspaceID        string
	BranchID           string
	Lang               string
	Schemas            []string
	PostgrestV9Compat  bool
	SwiftAccessControl string
}

Jump to

Keyboard shortcuts

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