convert

package
v0.0.0-...-d6856c1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	YAMLType          = "yaml"
	CassandraType     = "cassandra"
	CassandraDumpType = "cassandra_dump"
	RDBMSType         = "rdbms"
	EtcdType          = "etcd"
	HTTPType          = "http"
)

Data source and destination types.

Variables

This section is empty.

Functions

func Convert

func Convert(c *Config) error

Convert converts data from one format to another.

Types

type Config

type Config struct {
	InType                  string
	InFile                  string
	OutType                 string
	OutFile                 string
	CassandraPort           int
	CassandraTimeout        int
	CassandraConnectTimeout int
	EtcdNotifierPath        string
	URL                     string
}

Config for Convert command.

Jump to

Keyboard shortcuts

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