export

package
v0.0.0-...-7a865d1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const SQLiteExportDBVersion = "v0.0.5"

SQLiteExportDBVersion is in semver format (https://semver.org/) What constitutes the various levels of change: * Anything with a pre-release tag is a wildcard. You can do whatever you want * Patch version is when the changes could not possibly break existing queries:

  • Cosmetic changes, like comments
  • Adding a constraint, index (since this is a change from the generator side)
  • Adding a view
  • Adding a table
  • NOTE: Adding a field is explicitly excluded from patch level changes as that can break `SELECT * FROM` style queries
  • NOTE: This is unikely to be used, and should only be if the change is really and clearly "tame".

* Minor changes are changes like:

  • Adding a field
  • Changing a view/stored procedure while maintaining the In/Out signature
  • NOTE: You should be quick to bump the minor version if there is any suspicion that the change could have impact on existing queries, but is stil (on "paper") backwards compatible
  • NOTE: Changing column types is a major change, because of static langs

* Major change: Everything else

Variables

This section is empty.

Functions

func DoExport

func DoExport(ctx context.Context, q serviceProvider, bucketName string) (string, error)

DoExport exports some key data into a SQLite DB and uploads that to the provided S3 bucket It then returns a pre-signed link to the file that remains valid for 1 hour

The rest if the functions in this file are not exported because they are currently dependent on each other and are basically split only on order to understand the flow better.

Types

type CDNConfig

type CDNConfig interface {
	GetLegacyVODDomain() string
	GetVOD2Domain() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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