logs

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

WireSet provides a wire set for this package.

Functions

func NewCombined

func NewCombined(primary, secondary store.LogStore) store.LogStore

NewCombined returns a new combined log store that will fallback to a secondary log store when necessary. This can be useful when migrating from database logs to s3, where logs for older builds are still being stored in the database, and newer logs in s3.

func NewDatabaseLogOrmStore

func NewDatabaseLogOrmStore(db *gorm.DB) store.LogStore

NewDatabaseLogOrmStore returns a new LogStore.

func NewDatabaseLogStore

func NewDatabaseLogStore(db *sqlx.DB) store.LogStore

NewDatabaseLogStore returns a new LogStore.

func NewS3LogStore

func NewS3LogStore(bucket, prefix, endpoint string, pathStyle bool) store.LogStore

NewS3Env returns a new S3 log store.

func ProvideLogStore

func ProvideLogStore(db *gorm.DB, config *types.Config) store.LogStore

Types

This section is empty.

Jump to

Keyboard shortcuts

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