orgs

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpAnalyticzCollections

func DumpAnalyticzCollections(uri *options.URI, org string, colls []string) error

func FastFilteredCollections added in v1.2.0

func FastFilteredCollections(uri *options.URI, queryField string, queryValue string, colls []string) error

FastFilteredCollections dumps collections concurrently

func ParseMongoURI

func ParseMongoURI(url string) (*options.URI, error)

ParseMongoURI can parse URLs like mongodb:///...

func RedisClient

func RedisClient(ctx context.Context, addrs []string, masterName string, batchSize int64, orgs []string, dir string) redisClient

func RestoreCollections added in v1.1.3

func RestoreCollections(dir string, uri *options.URI, dryRun bool) []mongorestore.Result

RestoreCollections will restore all the collections in dir

func SlowFilteredCollections added in v1.2.0

func SlowFilteredCollections(uri *options.URI, queryField string, queryValue string, colls []string) error

SlowFilteredCollections dumps collections sequentially

Types

This section is empty.

Jump to

Keyboard shortcuts

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