logs

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *db.DB) core.LogStore

New returns a new LogStore.

func NewAzureBlobEnv added in v1.3.0

func NewAzureBlobEnv(containerName, storageAccountName, storageAccessKey string) core.LogStore

NewAzureBlobEnv returns a new Azure blob log store.

func NewCombined added in v1.2.0

func NewCombined(primary, secondary core.LogStore) core.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 NewS3

func NewS3(session *session.Session, bucket, prefix string) core.LogStore

NewS3 returns a new S3 log store.

func NewS3Env

func NewS3Env(bucket, prefix, endpoint string, pathStyle bool) core.LogStore

NewS3Env returns a new S3 log store.

Types

This section is empty.

Jump to

Keyboard shortcuts

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