Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProcessors ¶
func RegisterProcessors(mgr manager.Manager, opts *RegistryOption, featureGate features.KubeDiagFeatureGate, router *mux.Router, setupLog logr.Logger) error
RegisterProcessors will initialize all processors and add into router to provide HTTP service.
Types ¶
type RegistryOption ¶
type RegistryOption struct { // NodeName specifies the node name. NodeName string // DockerEndpoint specifies the docker endpoint. DockerEndpoint string // DataRoot is root directory of persistent kubediag data. DataRoot string // BindAddress is the address on which to advertise. BindAddress string }
RegistryOption contains options of all kinds of Processors, it might be append in the future.
Click to show internal directories.
Click to hide internal directories.