Documentation ¶
Index ¶
- type Logger
- type MetricsOptions
- type Options
- type Statsd
- type System
- func (s *System) Addr() string
- func (s *System) Log(keyvals ...interface{}) error
- func (s *System) RegisterChecker(component string, checker healthz.HealthChecker) error
- func (s *System) Run(signals <-chan os.Signal, ready chan<- struct{}) error
- func (s *System) Start() error
- func (s *System) Stop() error
- type TLS
- type VersionInfoHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Warn(args ...interface{}) Warnf(template string, args ...interface{}) }
type MetricsOptions ¶
type Options ¶
type Options struct { Logger Logger ListenAddress string Metrics MetricsOptions TLS TLS Version string }
type System ¶
func (*System) RegisterChecker ¶
func (s *System) RegisterChecker(component string, checker healthz.HealthChecker) error
type TLS ¶
type VersionInfoHandler ¶ added in v1.4.5
type VersionInfoHandler struct { CommitSHA string `json:"CommitSHA,omitempty"` Version string `json:"Version,omitempty"` }
func (*VersionInfoHandler) ServeHTTP ¶ added in v1.4.5
func (m *VersionInfoHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.