register

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL