-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
184 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Package discovery provides mechanisms to perform database introspection and | ||
// data discovery on various data repositories. It provides a Scanner type that | ||
// can be used to scan a data repository for sensitive data, classify the data, | ||
// and publish the results to external sources. Additionally, the sql subpackage | ||
// provides various SQL repository implementations that can be used to | ||
// introspect and sample SQL-based data repositories. Support for additional | ||
// data repository types, such as NoSQL-based repos, is intended to be added in | ||
// the future. | ||
package discovery |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
// Package sql provides an API for performing data discovery on SQL databases. | ||
// The Repository type encapsulates the concept of a Dmap data SQL repository. | ||
// The package provides a registry for all supported repository implementations | ||
// and a factory function to create new instances of a repository | ||
// from the registry. All supported repositories are represented as sub-packages | ||
// of the repository name, e.g. mysql, postgresql, etc. | ||
// | ||
// Repository implementations should reside in their own sub-package of the | ||
// repository package. Each implementation register itself with the repository | ||
// registry by calling the Register function with a RepoConstructor function | ||
// that returns a new instance of the repository implementation. This will make | ||
// the repository implementation available to the NewRepository factory | ||
// function. Registration is typically done in the sub-package's init function. | ||
// TODO: fix this doc -ccampo 2024-04-02 | ||
// Package sql provides an API for performing database introspection and data | ||
// discovery on SQL databases. The Repository type encapsulates the concept of a | ||
// Dmap data SQL repository. The package provides a Registry for all supported | ||
// repository implementations and a factory function to create new instances of | ||
// a repository from the registry. All out-of-the-box Repository implementations | ||
// are included in their own files named after the repository type, e.g. | ||
// mysql.go, postgres.go, etc. | ||
package sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.