Documentation
¶
Index ¶
- Variables
- func NewCombined(primary, secondary store.LogStore) store.LogStore
- func NewDatabaseLogOrmStore(db *gorm.DB) store.LogStore
- func NewDatabaseLogStore(db *sqlx.DB) store.LogStore
- func NewS3LogStore(bucket, prefix, endpoint string, pathStyle bool) store.LogStore
- func ProvideLogStore(db *gorm.DB, config *types.Config) store.LogStore
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideLogStore, )
WireSet provides a wire set for this package.
Functions ¶
func NewCombined ¶
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 ¶
NewDatabaseLogOrmStore returns a new LogStore.
func NewDatabaseLogStore ¶
NewDatabaseLogStore returns a new LogStore.
func NewS3LogStore ¶
NewS3Env returns a new S3 log store.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.