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 workers in the database.
WithClient sets the gorm.io/gorm client in the database engine for Workers.
WithContext sets the context in the database engine for Workers.
WithLogger sets the github.com/sirupsen/logrus logger in the database engine for Workers.
WithSkipCreation sets the skip creation logic in the database engine for Workers.

# Constants

CreateHostnameAddressIndex represents a query to create an index on the workers table for the hostname and address columns.
CreatePostgresTable represents a query to create the Postgres workers table.
CreateSqliteTable represents a query to create the Sqlite workers table.

# Interfaces

WorkerInterface represents the Vela interface for worker functions with the supported Database backends.

# Type aliases

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