Documentation ¶
Index ¶
- type DB
- func (db *DB) CreateRepository(tx *sql.Tx, project, tag, digest string) error
- func (db *DB) DeleteRepository(id string) error
- func (db *DB) GetRepository(tx *sql.Tx, project, tag string) (*structs.Repository, error)
- func (db *DB) GetRepositoryByID(id string) (*structs.Repository, error)
- func (db *DB) MarkDeleteRepository(tx *sql.Tx, id string) error
- func (db *DB) NewTx(ctx context.Context) (*sql.Tx, error)
- func (db *DB) UpdateDigestRepository(tx *sql.Tx, project, tag, digest string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) CreateRepository ¶
func (*DB) DeleteRepository ¶
func (*DB) GetRepository ¶
func (*DB) GetRepositoryByID ¶
func (db *DB) GetRepositoryByID(id string) (*structs.Repository, error)
Click to show internal directories.
Click to hide internal directories.