Versions in this module Expand all Collapse all v0 v0.1.1 May 2, 2023 Changes in this version + const CronDaily + const CronWeekly + func CrontabFile(user *user.User) string + func GetRouteFromUrl(url string) (string, bool) + type CronScheduler interface + AddJob func(ctx context.Context, schedule cronSchedule, exePath string, args []string) error + func NewCronScheduler(l log.TraceLogger, u common.UserProvider, c cmd.CommandExecutor, ...) CronScheduler + type Repository struct + RepoDir string + Route string + WebDir string + type RepositoryProvider interface + CreateRepository func(ctx context.Context, route string) (*Repository, error) + GetRepositories func(ctx context.Context) (map[string]Repository, error) + ReadRepositoryStorage func(ctx context.Context) (map[string]Repository, error) + RemoveRoute func(ctx context.Context, route string) error + WriteAllRoutes func(ctx context.Context, repos map[string]Repository) error + func NewRepositoryProvider(logger log.TraceLogger, u common.UserProvider, fs common.FileSystem, ...) RepositoryProvider