bundles

package
v0.666.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// OpenAPIImporter returns the bytes that represents the bundled script for openapi importer.
	//go:embed assets/import_openapi_cli.arraiz
	OpenAPIImporter []byte

	// SQLImporter returns the bytes that represents the bundled script for SQL importer.
	//go:embed assets/import_sql_cli.arraiz
	SQLImporter []byte

	// ProtoImporter returns the bytes that represents the bundled script for SQL importer.
	//go:embed assets/import_proto_cli.arraiz
	ProtoImporter []byte

	// Transformer returns the bytes that represents the bundled script for avro importer.
	//go:embed assets/transformer_cli.arraiz
	Transformer []byte
)

TODO: refactor these into transform plugins and move them into exporters or importers.

View Source
var BundlesFs embed.FS

BundlesFs is a filesystem that can be used to dynamically load the available bundles.

Functions

func MustRead added in v0.509.0

func MustRead(path string) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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