transform

package
v0.0.0-...-d253ebd Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformDBRef

func TransformDBRef(logObject bson.D, db string, nsTrans *NamespaceTransform) bson.D

Types

type DBTransform

type DBTransform struct {
	// contains filtered or unexported fields
}

func NewDBTransform

func NewDBTransform(transRule []string) *DBTransform

func (*DBTransform) Transform

func (transform *DBTransform) Transform(db string) []string

type NamespaceTransform

type NamespaceTransform struct {
	// contains filtered or unexported fields
}

func NewNamespaceTransform

func NewNamespaceTransform(transRule []string) *NamespaceTransform

func (*NamespaceTransform) Transform

func (transform *NamespaceTransform) Transform(namespace string) string

Jump to

Keyboard shortcuts

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