Documentation ¶
Index ¶
- type CrondSvc
- func (s *CrondSvc) AddIntoPipelineCrond(cronID uint64) error
- func (s *CrondSvc) CleanBuildCacheImages()
- func (s *CrondSvc) CrondSnapshot() []string
- func (s *CrondSvc) DeletePipelineCrond(cronID uint64) error
- func (s *CrondSvc) ListenCrond(ctx context.Context, pipelineCronFunc func(id uint64))
- func (s *CrondSvc) ReloadCrond(ctx context.Context, pipelineCronFunc func(uint64)) ([]string, error)
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 (*CrondSvc) AddIntoPipelineCrond ¶ added in v1.1.0
add the timing task of a certain timing id todo Multi-instance watch etcd add key
func (*CrondSvc) CleanBuildCacheImages ¶
func (s *CrondSvc) CleanBuildCacheImages()
func (*CrondSvc) CrondSnapshot ¶
func (*CrondSvc) DeletePipelineCrond ¶ added in v1.1.0
delete the timing task of a certain timing id todo Multi-instance watch etcd delete key
func (*CrondSvc) ListenCrond ¶
Listen the key in the channel decide to delete or add a scheduled task according to the prefix of the key
Click to show internal directories.
Click to hide internal directories.