package
Version:
v0.10.6
Opens a new window with list of versions in this module.
Published: Aug 27, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mongodb
Usage
source:
name: mongodb
config:
connection_url: mongodb://admin:pass123@localhost:3306
Key |
Value |
Example |
Description |
|
connection_url |
string |
mongodb://admin:pass123@localhost:3306 |
URL to access the mongodb server |
required |
Outputs
Field |
Sample Value |
resource.urn |
my_database.my_collection |
resource.name |
my_collection |
resource.service |
mongodb |
description |
table description |
profile.total_rows |
2100 |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
ConnectionURL string `mapstructure:"connection_url" validate:"required"`
}
Config holds the connection URL for the extractor
type Extractor struct {
}
Extractor manages the communication with the mongo server
New returns a pointer to an initialized Extractor Object
Extract collects metadata of each database through emitter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.