mirror of
https://github.com/go-gitea/gitea
synced 2024-11-06 10:14:25 +00:00
24 lines
589 B
Go
24 lines
589 B
Go
|
// Copyright 2019 The Gitea Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package structs
|
||
|
|
||
|
import (
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
// Tag represents a repository tag
|
||
|
type ActionTask struct {
|
||
|
ID int64 `json:"id"`
|
||
|
JobName string `json:"job_name"`
|
||
|
WorkflowID string `json:"workflow_id"`
|
||
|
Title string `json:"title"`
|
||
|
Status string `json:"status"`
|
||
|
Commit string `json:"commit"`
|
||
|
Duration string `json:"duration"`
|
||
|
// swagger:strfmt date-time
|
||
|
Started time.Time `json:"started,omitempty"`
|
||
|
// swagger:strfmt date-time
|
||
|
Stopped time.Time `json:"stopped,omitempty"`
|
||
|
}
|