Documentation ¶
Index ¶
Constants ¶
View Source
const (
SchemaVersion = db.SchemaVersion
)
Variables ¶
View Source
var ( // GitHub Container Registry DefaultGHCRRepository = fmt.Sprintf("%s:%d", "ghcr.io/khulnasoft/tunnel-db", db.SchemaVersion) // GCR mirror DefaultGCRRepository = fmt.Sprintf("%s:%d", "ghcr.io/khulnasoft/tunnel-db", db.SchemaVersion) Init = db.Init Close = db.Close Path = db.Path )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements DB operations
func (*Client) NeedsUpdate ¶
NeedsUpdate check is DB needs update
type Option ¶
type Option func(*options)
Option is a functional option
func WithDBRepository ¶
WithDBRepository takes a dbRepository
func WithOCIArtifact ¶
WithOCIArtifact takes an OCI artifact
Click to show internal directories.
Click to hide internal directories.