895dfe92e0
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
18 lines
317 B
Go
18 lines
317 B
Go
package gitea
|
|
|
|
import "code.gitea.io/sdk/gitea"
|
|
|
|
type State gitea.StatusState
|
|
|
|
const (
|
|
StatusOK State = State(gitea.StatusSuccess)
|
|
StatusPending State = State(gitea.StatusPending)
|
|
StatusFailure State = State(gitea.StatusFailure)
|
|
)
|
|
|
|
type StatusDetails struct {
|
|
Url string
|
|
Message string
|
|
State State
|
|
}
|