github.com/semaphoreui/semaphore/services/runners
No package summary is available.
Package
Files: 3. Third party imports: 1. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Types
CommitInfo
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Hash |
|
No comment on field. |
| Message |
|
No comment on field. |
JobData
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Username |
|
No comment on field. |
| IncomingVersion |
|
No comment on field. |
| Alias |
|
No comment on field. |
| Task |
|
No comment on field. |
| Template |
|
No comment on field. |
| Inventory |
|
No comment on field. |
| InventoryRepository |
|
No comment on field. |
| Repository |
|
No comment on field. |
| Environment |
|
No comment on field. |
JobLogger
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Context |
|
No comment on field. |
JobPool
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| logger |
|
logger channel used to putting log records to database. |
| register |
|
register channel used to put tasks to queue. |
| runningJobs |
|
No comment on field. |
| queue |
|
No comment on field. |
| processing |
|
No comment on field. |
JobProgress
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Status |
|
No comment on field. |
| LogRecords |
|
No comment on field. |
| Commit |
|
No comment on field. |
JobState
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| ID |
|
No comment on field. |
| Status |
|
No comment on field. |
LogRecord
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Time |
|
No comment on field. |
| Message |
|
No comment on field. |
RunnerProgress
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| Jobs |
|
No comment on field. |
RunnerRegistration
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| RegistrationToken |
|
No comment on field. |
| Webhook |
|
No comment on field. |
| MaxParallelTasks |
|
No comment on field. |
| PublicKey |
|
No comment on field. |
RunnerState
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| CurrentJobs |
|
No comment on field. |
| NewJobs |
|
No comment on field. |
| AccessKeys |
|
No comment on field. |
| ClearCache |
|
No comment on field. |
| CacheCleanProjectID |
|
No comment on field. |
job
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| username |
|
No comment on field. |
| incomingVersion |
|
No comment on field. |
| alias |
|
No comment on field. |
| job |
|
job presents remote or local job information |
| status |
|
No comment on field. |
jobLogRecord
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| taskID |
|
No comment on field. |
| record |
|
No comment on field. |
runningJob
This type doesn't have documentation.
| Field name | Field type | Comment |
|---|---|---|
| status |
|
No comment on field. |
| logRecords |
|
No comment on field. |
| job |
|
No comment on field. |
| commit |
|
No comment on field. |
| statusListeners |
|
No comment on field. |
| logListeners |
|
No comment on field. |
| logWG |
|
No comment on field. |
Functions
func (*JobLogger) ActionError
func (*JobLogger) Debug
func (*JobLogger) Info
func (*JobLogger) Panic
func (*JobLogger) TaskInfo
func (*JobPool) Register
func (*JobPool) Run
func (*JobPool) Unregister
func (*runningJob) AddLogListener
func (*runningJob) AddStatusListener
func (*runningJob) Log
func (*runningJob) LogCmd
func (*runningJob) LogWithTime
func (*runningJob) Logf
func (*runningJob) LogfWithTime
func (*runningJob) SetCommit
func (*runningJob) SetStatus
func (*runningJob) WaitLog
Private functions
func decryptChunkedBytes
func generatePrivateKey
func loadPrivateKey
func checkNewJobs
checkNewJobs tries to find runner to queued jobs
References: db.TemplateVault, fmt.Errorf, http.Client, http.NewRequest, io.ReadAll, json.Unmarshal, rsa.PrivateKey, strconv.Itoa, tasks.LocalJob, util.Config.