github.com/manicqin/nomad@v0.9.5/client/allocrunner/taskrunner/service_hook_test.go (about) 1 package taskrunner 2 3 import ( 4 "github.com/hashicorp/nomad/client/allocrunner/interfaces" 5 ) 6 7 // Statically assert the stats hook implements the expected interfaces 8 var _ interfaces.TaskPoststartHook = (*serviceHook)(nil) 9 var _ interfaces.TaskExitedHook = (*serviceHook)(nil) 10 var _ interfaces.TaskPreKillHook = (*serviceHook)(nil) 11 var _ interfaces.TaskUpdateHook = (*serviceHook)(nil)