Go API Documentation

github.com/semaphoreui/semaphore/services/schedules

No package summary is available.

Package

Files: 1. Third party imports: 2. Imports from organisation: 0. Tests: 0. Benchmarks: 0.

Types

SchedulePool

This type doesn't have documentation.

Field name Field type Comment
cron

*cron.Cron

No comment on field.
locker

sync.Locker

No comment on field.
store

db.Store

No comment on field.
taskPool

*tasks.TaskPool

No comment on field.

ScheduleRunner

This type doesn't have documentation.

Field name Field type Comment
projectID

int

No comment on field.
scheduleID

int

No comment on field.
pool

*SchedulePool

No comment on field.

Functions

func CreateSchedulePool

func ValidateCronFormat

func (*SchedulePool) Destroy

func (*SchedulePool) Refresh

Uses: log.Error, log.Fields, log.WithError.

func (*SchedulePool) Run

func (ScheduleRunner) Run

Uses: db.Task, log.Error, strconv.Itoa.

Private functions

func addRunner

func clear

func init

References: sync.Mutex, time.LoadLocation, util.Config.

func tryUpdateScheduleCommitHash


Tests

Files: 1. Third party imports: 0. Imports from organisation: 0. Tests: 1. Benchmarks: 0.

Test functions

TestValidateCronFormat