Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultInfoServerListenAddress = ":8080" DefaultInfoServerChecksTimeout = time.Second * 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildParams ¶
type Config ¶
type Config struct {
// Address the server will be bound to
Listen string `mapstructure:"listen"`
// Timeout for health check call
ChecksTimeout time.Duration `mapstructure:"checks_timeout"`
}
Config is an info server configuration structure
func DefaultConfig ¶
func DefaultConfig() *Config
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
func NewInfo ¶
func NewInfo( cfg *Config, op *infraoperator.Operator, bp BuildParams, ) *Info
func (*Info) HealthzHandler ¶
func (*Info) ReadyzHandler ¶
func (*Info) ReleaseHandler ¶
Click to show internal directories.
Click to hide internal directories.