crondsvc

package
v1.1.0-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrondSvc

type CrondSvc struct {
	// contains filtered or unexported fields
}

func New

func New(dbClient *dbclient.Client, bdl *bundle.Bundle, js jsonstore.JsonStore) *CrondSvc

func (*CrondSvc) CleanBuildCacheImages

func (s *CrondSvc) CleanBuildCacheImages()

func (*CrondSvc) CrondSnapshot

func (s *CrondSvc) CrondSnapshot() []string

func (*CrondSvc) DistributedReloadCrond

func (s *CrondSvc) DistributedReloadCrond() error

DistributedReloadCrond 和 ReloadCrond 不同,触发所有 crond 实例更新任务.

func (*CrondSvc) ListenCrond

func (s *CrondSvc) ListenCrond(pipelineCronFunc func(id uint64))

func (*CrondSvc) ReloadCrond

func (s *CrondSvc) ReloadCrond(pipelineCronFunc func(uint64)) ([]string, error)

ReloadCrond 触发当前 crond 实例更新任务.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL