//
pkg.gl
Category
github.com/allegro/mesos-executor
hook
consul
package
0.11.36
Repository:
https://github.com/allegro/mesos-executor.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
10
Dependents
2
Files
264 SLOC
#
Functions
NewHook
NewHook creates new Consul hook that is responsible for graceful Consul deregistration.
#
Structs
Config
Config is Consul hook configuration settable from environment.
Hook
Hook is an executor hook implementation that will register and deregister a service instance in Consul right after startup and just before task termination, respectively.