-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Control included quota and storage providers via build tags (#3664)
* Control included quota and storage providers via build tags * Update CHANGELOG.md * Mention the PostgreSQL and CockroachDB storage implementations in the Package Layout section of storage/README.md * Describe the build tags * Highlight the build tags in the README.md sections on Using / Working on the code * Mention build tags in the feature implementation matrix * 'storage and quota' is never singular
- Loading branch information
1 parent
baa721c
commit cb94231
Showing
10 changed files
with
103 additions
and
20 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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
//go:build cloudspanner || !(crdb || mysql || postgresql) | ||
|
||
package provider | ||
|
||
import ( | ||
_ "github.com/google/trillian/storage/cloudspanner" | ||
) |
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 @@ | ||
//go:build crdb || !(cloudspanner || mysql || postgresql) | ||
|
||
package provider | ||
|
||
import ( | ||
_ "github.com/google/trillian/storage/crdb" | ||
|
||
_ "github.com/google/trillian/quota/crdbqm" | ||
) |
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 @@ | ||
//go:build mysql || !(cloudspanner || crdb || postgresql) | ||
|
||
package provider | ||
|
||
import ( | ||
_ "github.com/google/trillian/storage/mysql" | ||
|
||
_ "github.com/google/trillian/quota/mysqlqm" | ||
) |
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 @@ | ||
//go:build postgresql || !(cloudspanner || crdb || mysql) | ||
|
||
package provider | ||
|
||
import ( | ||
_ "github.com/google/trillian/storage/postgresql" | ||
|
||
_ "github.com/google/trillian/quota/postgresqlqm" | ||
) |
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