dal

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthEnforcer *casbin.SyncedEnforcer

AuthEnforcer is the global casbin enforcer

View Source
var (
	// DB is the global database connection
	DB *gorm.DB
)

Functions

func Initialize

func Initialize(config configs.Configuration) error

Initialize initializes the database connection

func UrlMatchFunc

func UrlMatchFunc(args ...any) (any, error)

UrlMatchFunc ... DS${repository}$tags DS$catalog DS${repository}$(blobs)|(manifest)|(blob_uploads)${reference} DS${repository}$blob_uploads API${repository}${url}

Types

This section is empty.

Directories

Path Synopsis
dao
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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