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 hooks in the database.
WithClient sets the gorm.io/gorm client in the database engine for Hooks.
WithContext sets the context in the database engine for Repos.
WithEncryptionKey sets the encryption key in the database engine for Builds.
WithLogger sets the github.com/sirupsen/logrus logger in the database engine for Hooks.
WithSkipCreation sets the skip creation logic in the database engine for Hooks.

# Constants

CreatePostgresTable represents a query to create the Postgres hooks table.
CreateRepoIDIndex represents a query to create an index on the hooks table for the repo_id column.
CreateSqliteTable represents a query to create the Sqlite hooks table.

# Interfaces

HookInterface represents the Vela interface for hook functions with the supported Database backends.

# Type aliases

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