# Functions
No description provided by the author
CancelPreviousJobs cancels all previous jobs of the same repository, reference, workflow, and event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateRunner creates new runner.
CreateScheduleTask creates new schedule task.
No description provided by the author
DeleteRunner deletes a runner by given ID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindTaskOutputByTaskID returns the outputs of the task.
FindTaskOutputKeyByTaskID returns the keys of the outputs of the task.
No description provided by the author
No description provided by the author
No description provided by the author
GetActors returns a slice of Actors.
No description provided by the author
GetLatestRunnerToken returns the latest runner token.
GetReposMapByIDs returns the repos by given id slice.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetRunnerByID returns a runner via id.
GetRunnerByUUID returns a runner via uuid.
GetRunnerToken returns a action runner via token.
No description provided by the author
GetSchedulesMapByIDs returns the schedules by given id slice.
GetStatusInfoList returns a slice of StatusInfo.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InsertRun inserts a run The title will be cut off at 255 characters if it's longer than 255 characters.
InsertTaskOutputIfNotExist inserts a new task output if it does not exist.
No description provided by the author
ListNeedExpiredArtifacts returns all need expired artifacts but not deleted.
ListPendingDeleteArtifacts returns all artifacts in pending-delete status.
ListUploadedArtifactsMeta returns all uploaded artifacts meta of a run.
NewRunnerToken creates a new active runner token and invalidate all old tokens ownerID will be ignored and treated as 0 if repoID is non-zero.
SetArtifactDeleted sets an artifact to deleted.
SetArtifactExpired sets an artifact to expired.
SetArtifactNeedDelete sets an artifact to need-delete, cron job will delete it.
No description provided by the author
UpdateArtifactByID updates an artifact by id.
UpdateRun updates a run.
No description provided by the author
UpdateRunner updates runner's information.
UpdateRunnerToken updates runner token information.
No description provided by the author
No description provided by the author
UpdateTaskByState updates the task by the state.
No description provided by the author
# Constants
6, ArtifactStatusDeleted is the status of an artifact that is deleted.
4, ArtifactStatusExpired is the status of an artifact that is expired.
5, ArtifactStatusPendingDeletion is the status of an artifact that is pending deletion.
2, ArtifactStatusUploadConfirmed is the status of an artifact upload that is confirmed.
3, ArtifactStatusUploadError is the status of an artifact upload that is errored.
1, ArtifactStatusUploadPending is the status of an artifact upload that is pending.
No description provided by the author
No description provided by the author
7, isn't a runnerv1.Result.
3, consistent with runnerv1.Result_RESULT_CANCELLED.
2, consistent with runnerv1.Result_RESULT_FAILURE.
6, isn't a runnerv1.Result.
4, consistent with runnerv1.Result_RESULT_SKIPPED.
1, consistent with runnerv1.Result_RESULT_SUCCESS.
0, consistent with runnerv1.Result_RESULT_UNSPECIFIED.
5, isn't a runnerv1.Result.
# Structs
ActionArtifact is a file that is stored in the artifact storage.
ActionArtifactMeta is the meta data of an artifact.
ActionRun represents a run of a workflow file.
ActionRunJob represents a job of a run.
ActionRunner represents runner machines
It can be: 1.
ActionRunnerToken represents runner tokens
It can be: 1.
ActionSchedule represents a schedule of a workflow file.
ActionScheduleSpec represents a schedule spec of a workflow file.
ActionTask represents a distribution of job.
ActionTaskOutput represents an output of ActionTask.
ActionTaskStep represents a step of ActionTask.
ActionTasksVersion If both ownerID and repoID is zero, its scope is global.
ActionVariable represents a variable that can be used in actions
It can be: 1.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
ArtifactStatus is the status of an artifact, uploading, expired or need-delete.
LogIndexes is the index for mapping log line number to buffer offset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Status represents the status of ActionRun, ActionRunJob, ActionTask, or ActionTaskStep.
No description provided by the author