profile

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PprofHandler

type PprofHandler struct {
	Handle http.HandlerFunc
}

func (*PprofHandler) ServeHTTP

func (h *PprofHandler) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type Pprofer

type Pprofer struct {
	// contains filtered or unexported fields
}

An update method of adding pprof to the controller manager.

func NewPprofer

func NewPprofer(opts ...PproferOptions) *Pprofer

func (*Pprofer) ConfigureControllerManager

func (p *Pprofer) ConfigureControllerManager(mgr manager.Manager) error

type PproferOptions

type PproferOptions func(*Pprofer)

Options

func WithCmdline

func WithCmdline(val bool) PproferOptions

func WithIndex

func WithIndex(val bool) PproferOptions

func WithProfile

func WithProfile(val bool) PproferOptions

func WithSymbol

func WithSymbol(val bool) PproferOptions

func WithTrace

func WithTrace(val bool) PproferOptions

Jump to

Keyboard shortcuts

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