type Info struct {
ID string `json:"id"`
Repo string `json:"repository"`
Pipeline string `json:"pipeline_number"`
Started time.Time `json:"pipeline_started"`
Timeout time.Duration `json:"pipeline_timeout"`
}
type State struct {
sync.Mutex `json:"-"`
Polling int `json:"polling_count"`
Running int `json:"running_count"`
Metadata map[string]Info `json:"running"`
}