open-nomad/client/allocrunner/taskrunner/interfaces/events.go

8 lines
140 B
Go

package interfaces
import "github.com/hashicorp/nomad/nomad/structs"
type EventEmitter interface {
EmitEvent(event *structs.TaskEvent)
}