blob: a466f77c4b622bdfc71d6ee5f7bc4c51836c650b [file] [log] [blame]
package workflows
import (
pb "go.skia.org/infra/perf/go/culprit/proto/v1"
)
// Workflow name definitions.
//
// Those are used to invoke the workflows. This is meant to decouple the
// souce code dependencies such that the client doesn't need to link with
// the actual implementation.
// TODO(b/326352379): introduce a specific type to encapsulate these workflow names
const (
ProcessCulprit = "perf.process_culprit"
)
type ProcessCulpritParam struct {
CulpritServiceUrl string
Commits []*pb.Commit
AnomalyGroupId string
}
type ProcessCulpritResult struct {
CulpritIds []string
IssueIds []string
}