registries

package
v0.0.0-...-0be4235 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SQL_CREATE_CONTAINERS = "" /* 225-byte string literal not displayed */
	SQL_CREATE_JOBS       = "" /* 294-byte string literal not displayed */
	SQL_CREATE_JOBS_INDEX = "CREATE INDEX jobs_status_locked_at_created_at_index ON jobs (status, locked_at, created_at)"
)

Variables

This section is empty.

Functions

func InitializeDB

func InitializeDB(driver, dsn string) services.DBConnection

Types

type Registry

type Registry struct {
	ContainerAPIService *services.ContainerAPIService
	JobAPIService       *services.JobAPIService
	JobService          *services.JobService
	DB                  services.DBConnection
	Commander           *openvzcmd.POCCommanderStub
}

func NewRegistry

func NewRegistry(dsn *string) *Registry

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL