Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceHealthServer ¶
type ServiceHealthServer interface { // Make the new set of services be active. Services that were open before // will be closed. Services that are new will be opened. Service that // existed and are in the new set will be left alone. The value of the map // is the healthcheck-port to listen on. SyncServices(newServices map[types.NamespacedName]uint16) error FailService(nsn types.NamespacedName) error ResetService(nsn types.NamespacedName) error Stop() }
func NewServiceHealthServer ¶
func NewServiceHealthServer(hostname, hostIP string, recorder record.EventRecorder) ServiceHealthServer
NewServiceHealthServer allocates a new service healthcheck server manager
Click to show internal directories.
Click to hide internal directories.