Documentation ¶
Overview ¶
Package sqlite provides the ability for Vela to integrate with Sqlite as a SQL backend.
Usage:
import "github.com/go-vela/server/database/sqlite"
nolint: dupl // ignore false positive of duplicate code
nolint: dupl // ignore false positive of duplicate code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClientOpt ¶
type ClientOpt func(*client) error
ClientOpt represents a configuration option to initialize the database client.
func WithAddress ¶
WithAddress sets the Sqlite address in the database client.
func WithCompressionLevel ¶
WithCompressionLevel sets the Sqlite compression level in the database client.
func WithConnectionIdle ¶
WithConnectionIdle sets the Sqlite maximum idle connections in the database client.
func WithConnectionLife ¶
WithConnectionLife sets the Sqlite connection duration in the database client.
func WithConnectionOpen ¶
WithConnectionOpen sets the Sqlite maximum open connections in the database client.
func WithEncryptionKey ¶
WithEncryptionKey sets the Sqlite encryption key in the database client.
Source Files ¶
- build.go
- build_count.go
- build_list.go
- doc.go
- hook.go
- hook_count.go
- hook_list.go
- log.go
- opts.go
- ping.go
- repo.go
- repo_count.go
- repo_list.go
- secret.go
- secret_count.go
- secret_list.go
- service.go
- service_count.go
- service_list.go
- sqlite.go
- step.go
- step_count.go
- step_list.go
- user.go
- user_count.go
- user_list.go
- worker.go
- worker_count.go
- worker_list.go
Directories ¶
Path | Synopsis |
---|---|
Package ddl provides the Sqlite data definition language (DDL) for Vela.
|
Package ddl provides the Sqlite data definition language (DDL) for Vela. |
Package dml provides the Sqlite data manipulation language (DML) for Vela.
|
Package dml provides the Sqlite data manipulation language (DML) for Vela. |