configuration

package
v0.0.0-...-a845703 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Bucket = flag.String("bucket", "", "<bucketname>")

Bucket to import data into.

View Source
var Cluster = flag.String("cluster", "", "<url>")

Cluster is the The hostname of a node in the cluster to import data into couchbase://<addr>

View Source
var Dataset = flag.String("dataset", "", "<filename>")

Dataset to be loaded. does not neet to be prefixed with file://.

View Source
var DryRun = flag.Bool("dry", false, "<false>")

DryRun if true than simulates the run.

View Source
var Format = flag.String("format", "", "<format>")

Format of the dataset specified (lines, list)

View Source
var GenerateKey = flag.String("generate-key", "", "<key_pattern>")

GenerateKey makes keys according to the pattern provided <key::%name%::#MONO_INCR#>

View Source
var Password = flag.String("password", "", "<password>")

Password for cluster authentication.

View Source
var Username = flag.String("username", "", "<username>")

Username for cluster authentication.

Functions

func GetBucket

func GetBucket() *gocb.Bucket

GetBucket ...

func Init

func Init()

Init ...

func InitCB

func InitCB()

InitCB initializes.

func Usage

func Usage()

Usage ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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