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

# Constants

CreateOrgNameIndex represents a query to create an index on the repos table for the org and name columns.
CreatePostgresTable represents a query to create the Postgres repos table.
CreateSqliteTable represents a query to create the Sqlite repos table.

# Interfaces

RepoInterface represents the Vela interface for repo functions with the supported Database backends.

# Type aliases

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