package
0.26.4
Repository: https://github.com/go-vela/server.git
Documentation: pkg.go.dev

# Functions

New creates and returns a Vela service for integrating with logs in the database.
WithClient sets the gorm.io/gorm client in the database engine for Logs.
WithCompressionLevel sets the compression level in the database engine for Logs.
WithContext sets the context in the database engine for Logs.
WithLogger sets the github.com/sirupsen/logrus logger in the database engine for Logs.
WithSkipCreation sets the skip creation logic in the database engine for Logs.

# Constants

CreateBuildIDIndex represents a query to create an index on the logs table for the build_id column.
CreatePostgresTable represents a query to create the Postgres logs table.
CreateSqliteTable represents a query to create the Sqlite logs table.

# Interfaces

LogInterface represents the Vela interface for log functions with the supported Database backends.

# Type aliases

EngineOpt represents a configuration option to initialize the database engine for Logs.