Documentation ¶
Index ¶
- type SqliteRepository
- func (s *SqliteRepository) Add(a *models.Artifact) error
- func (s SqliteRepository) Copy(a *models.Artifact) error
- func (s SqliteRepository) Delete(a *models.Artifact) error
- func (s *SqliteRepository) Get(repo, path, name string) *models.Artifact
- func (s *SqliteRepository) List(repo, path string, count int) []models.Artifact
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqliteRepository ¶
type SqliteRepository struct {
// contains filtered or unexported fields
}
func NewSqliteRepository ¶
func NewSqliteRepository(dsn string) (*SqliteRepository, error)
NewSqliteRepository создает новый репозиторий SQLite3 для артефактов.
Click to show internal directories.
Click to hide internal directories.