Versions in this module Expand all Collapse all v1 v1.2.0-pre Jun 6, 2024 v1.1.5 Aug 23, 2024 Changes in this version + var BootstrapTime = 10 * time.Second + var DefaultReAnnounceFailedJobsTime = 5 * time.Minute + var DefaultReAnnounceJobTime = 5 * time.Minute + func Package() config.ProtoCommandIface + type Config struct + type GitRepository struct + func (gr *GitRepository) Clone(ctx context.Context, path string, ref string) error + func (gr *GitRepository) Path() string + func (gr *GitRepository) Url() *string + type Lock struct + Eta int64 + Pid libp2p.ID + Timestamp int64 + type PatrickService struct + func New(ctx context.Context, config *tauConfig.Node) (*PatrickService, error) + func (p *PatrickService) ReannounceFailedJobs(ctx context.Context) error + func (p *PatrickService) ReannounceJobs(ctx context.Context) error + func (s *PatrickService) KV() kvdb.KVDB + func (s *PatrickService) Node() peer.Node + func (srv *PatrickService) Close() error + func (srv *PatrickService) GitHubTokenHTTPAuth(ctx http.Context) (interface{}, error) + func (srv *PatrickService) GitHubTokenHTTPAuthCleanup(ctx http.Context) (interface{}, error) + func (srv *PatrickService) NewGitRepository(provider string, repositoryId string, output io.Writer) (iface.GitRepository, error) + func (srv *PatrickService) RegisterJob(ctx context.Context, newJob *patrick.Job) error