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

# Constants

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

# Interfaces

DeploymentInterface represents the Vela interface for deployment functions with the supported Database backends.

# Type aliases

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