kubernetes/staging/src/k8s.io/apiserver/pkg/server/routes/debugsocket.go

type DebugSocket

// NewDebugSocket creates a new DebugSocket for the given path.
func NewDebugSocket(path string) *DebugSocket {}

// InstallProfiling installs profiling endpoints in the socket.
func (s *DebugSocket) InstallProfiling() {}

// InstallDebugFlag installs debug flag endpoints in the socket.
func (s *DebugSocket) InstallDebugFlag(flag string, handler func(http.ResponseWriter, *http.Request)) {}

// Run starts the server and waits for stopCh to be closed to close the server.
func (s *DebugSocket) Run(stopCh <-chan struct{}