mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
926 B
38 lines
926 B
7 years ago
|
package release
|
||
|
|
||
|
import google_protobuf "github.com/golang/protobuf/ptypes/timestamp"
|
||
|
|
||
|
type TestRun_Status int32
|
||
|
|
||
|
const (
|
||
|
TestRun_UNKNOWN TestRun_Status = 0
|
||
|
TestRun_SUCCESS TestRun_Status = 1
|
||
|
TestRun_FAILURE TestRun_Status = 2
|
||
|
TestRun_RUNNING TestRun_Status = 3
|
||
|
)
|
||
|
|
||
|
var TestRun_Status_name = map[int32]string{
|
||
|
0: "UNKNOWN",
|
||
|
1: "SUCCESS",
|
||
|
2: "FAILURE",
|
||
|
3: "RUNNING",
|
||
|
}
|
||
|
var TestRun_Status_value = map[string]int32{
|
||
|
"UNKNOWN": 0,
|
||
|
"SUCCESS": 1,
|
||
|
"FAILURE": 2,
|
||
|
"RUNNING": 3,
|
||
|
}
|
||
|
|
||
|
func (x TestRun_Status) String() string {
|
||
|
return TestRun_Status_name[int32(x)]
|
||
|
}
|
||
|
|
||
|
type TestRun struct {
|
||
|
Name string `json:"name,omitempty"`
|
||
|
Status TestRun_Status `json:"status,omitempty"`
|
||
|
Info string `json:"info,omitempty"`
|
||
|
StartedAt *google_protobuf.Timestamp `json:"started_at,omitempty"`
|
||
|
CompletedAt *google_protobuf.Timestamp `json:"completed_at,omitempty"`
|
||
|
}
|