vdbutil

package
v0.0.0-...-9d8613e Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchDdl

func FetchDdl(vdb *v1alpha1.VirtualDatabase, targetName string) (string, error)

FetchDdl Get DDL from Custom Resource file, if maven based from Maven file

func ShouldMaterialize

func ShouldMaterialize(ddl string) bool

ShouldMaterialize --

func Tokenize

func Tokenize(ddl string) []string

Tokenize --

func ValidateDataSourceNames

func ValidateDataSourceNames(ds []DatasourceInfo) error

ValidateDataSourceNames --

Types

type DatasourceInfo

type DatasourceInfo struct {
	Name string `yaml:"name,omitempty"`
	Type string `yaml:"type,omitempty"`
}

DatasourceInfo --

func ParseDataSourcesInfoFromDdl

func ParseDataSourcesInfoFromDdl(ddl string) []DatasourceInfo

ParseDataSourcesInfoFromDdl --

Jump to

Keyboard shortcuts

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