(t time.Duration)
| 397 | } |
| 398 | |
| 399 | func (a RunnerScaleSetSession) ExpiresIn(t time.Duration) bool { |
| 400 | remaining, err := a.TimeRemaining() |
| 401 | if err != nil { |
| 402 | return true |
| 403 | } |
| 404 | return remaining <= t |
| 405 | } |
| 406 | |
| 407 | type RunnerScaleSetMessage struct { |
| 408 | MessageID int64 `json:"messageId"` |
no test coverage detected