2021-10-10 16:28:59 +02:00
|
|
|
package gitea
|
2021-10-10 16:14:09 +02:00
|
|
|
|
|
|
|
import "code.gitea.io/sdk/gitea"
|
|
|
|
|
|
|
|
type State gitea.StatusState
|
|
|
|
|
|
|
|
const (
|
|
|
|
StatusOK State = State(gitea.StatusSuccess)
|
2021-10-10 17:59:28 +02:00
|
|
|
StatusPending State = State(gitea.StatusPending)
|
2021-10-10 16:14:09 +02:00
|
|
|
StatusFailure State = State(gitea.StatusFailure)
|
|
|
|
)
|
|
|
|
|
|
|
|
type StatusDetails struct {
|
|
|
|
Url string
|
|
|
|
Message string
|
|
|
|
State State
|
|
|
|
}
|