Documentation ¶
Index ¶
- Constants
- type Event
- type Log
- type LogDB
- type RepositoryDB
- func (db *RepositoryDB) AddFile(ctx context.Context, file *RepositoryFile) error
- func (db *RepositoryDB) GetFileByName(ctx context.Context, name string) (*RepositoryFile, error)
- func (db *RepositoryDB) GetFileByTag(ctx context.Context, tag string) (*RepositoryFile, error)
- func (db *RepositoryDB) RemoveFile(ctx context.Context, tag string) (bool, error)
- func (db *RepositoryDB) WalkFiles(ctx context.Context, walkFn WalkFileFunc) error
- type RepositoryFile
- type StatusDB
- func (db *StatusDB) AddEvent(ctx context.Context, event *eventv1.EventPayload) error
- func (db *StatusDB) CountEnvents(ctx context.Context) (int, error)
- func (db *StatusDB) RemoveEvent(ctx context.Context, event *eventv1.EventPayload) error
- func (db *StatusDB) WalkEvents(ctx context.Context, walkFn WalkEventsFunc) error
- type WalkEventsFunc
- type WalkFileFunc
- type WalkLogFunc
Constants ¶
View Source
const ( LogError string = "ERROR" LogInfo string = "INFO" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepositoryDB ¶
func OpenRepositoryDB ¶
func (*RepositoryDB) AddFile ¶
func (db *RepositoryDB) AddFile(ctx context.Context, file *RepositoryFile) error
func (*RepositoryDB) GetFileByName ¶
func (db *RepositoryDB) GetFileByName(ctx context.Context, name string) (*RepositoryFile, error)
func (*RepositoryDB) GetFileByTag ¶
func (db *RepositoryDB) GetFileByTag(ctx context.Context, tag string) (*RepositoryFile, error)
func (*RepositoryDB) RemoveFile ¶
func (*RepositoryDB) WalkFiles ¶
func (db *RepositoryDB) WalkFiles(ctx context.Context, walkFn WalkFileFunc) error
type RepositoryFile ¶
type StatusDB ¶
func OpenStatusDB ¶
func (*StatusDB) RemoveEvent ¶
func (*StatusDB) WalkEvents ¶
func (db *StatusDB) WalkEvents(ctx context.Context, walkFn WalkEventsFunc) error
type WalkEventsFunc ¶
type WalkEventsFunc func(*eventv1.EventPayload) error
type WalkFileFunc ¶
type WalkFileFunc func(*RepositoryFile) error
type WalkLogFunc ¶
Click to show internal directories.
Click to hide internal directories.