transform

package
v2.0.0-...-acbaf60 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: GPL-3.0 Imports: 6 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