Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Description describes which functionality this health check implements. Description = "Ensure network interface is present and has proper network configuration." // Name is the identifier of the health check. This can be used for emitting // metrics. Name = "interfaceHealthz" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. Name string IP string Logger micrologger.Logger }
Config represents the configuration used to create a healthz service.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig provides a default configuration to create a new healthz service by best effort.
Click to show internal directories.
Click to hide internal directories.