Documentation ¶
Index ¶
- type Handler
- func (h *Handler) DeleteRepository(ctx context.Context, deleteFiles bool) (err error)
- func (h *Handler) GetRepositoryFileByName(ctx context.Context, name string) (repositoryFile *apiv1.RepositoryFile, err error)
- func (h *Handler) GetRepositoryFileByTag(ctx context.Context, tag string) (repositoryFile *apiv1.RepositoryFile, err error)
- func (h *Handler) ListRepositoryFiles(ctx context.Context, _ *apiv1.Page) (repositoryFiles []*apiv1.RepositoryFile, err error)
- func (h *Handler) ListRepositoryLogs(ctx context.Context, _ *apiv1.Page) (logs []apiv1.RepositoryLog, err error)
- func (h *Handler) QueueEvent(event *eventv1.EventPayload, store bool) error
- func (h *Handler) RemoveRepositoryFile(ctx context.Context, tag string) (err error)
- func (h *Handler) Start(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { *repository.RepoHandler // contains filtered or unexported fields }
func NewHandler ¶
func NewHandler(logger *slog.Logger, repoHandler *repository.RepoHandler) *Handler
func (*Handler) DeleteRepository ¶
func (*Handler) GetRepositoryFileByName ¶
func (*Handler) GetRepositoryFileByTag ¶
func (*Handler) ListRepositoryFiles ¶
func (*Handler) ListRepositoryLogs ¶
func (*Handler) QueueEvent ¶
func (h *Handler) QueueEvent(event *eventv1.EventPayload, store bool) error
func (*Handler) RemoveRepositoryFile ¶
Click to show internal directories.
Click to hide internal directories.