Documentation ¶
Index ¶
- type Handler
- func (h *Handler) CancelPending(_ context.Context, mID string) error
- func (h *Handler) Check(ctx context.Context, modules map[string]*module.Module) error
- func (h *Handler) Get(_ context.Context, mID string) (model.ModUpdate, error)
- func (h *Handler) GetPending(_ context.Context, mID string) (handler.Stage, map[string]struct{}, map[string]struct{}, map[string]struct{}, ...)
- func (h *Handler) List(_ context.Context) (updates map[string]model.ModUpdate)
- func (h *Handler) Prepare(ctx context.Context, modules map[string]*module.Module, stage handler.Stage, ...) error
- func (h *Handler) Remove(_ context.Context, mID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func New ¶
func New(transferHandler handler.ModTransferHandler, modFileHandler handler.ModFileHandler) *Handler
func (*Handler) CancelPending ¶
func (*Handler) GetPending ¶
Click to show internal directories.
Click to hide internal directories.