debug

package
v1.28.7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package debug provides http endpoints for healthcheck, metrics, and pprof debugging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DagBuilder added in v1.21.0

type DagBuilder interface {
	// Build builds and returns a new DAG
	Build() *dag.DAG
}

DagBuilder encapsulates only the Build aspect of the dag.Builder

type Service

type Service struct {
	httpsvc.Service

	Builder *dag.Builder
}

Service serves various http endpoints including /debug/pprof.

func (*Service) NeedLeaderElection added in v1.20.0

func (svc *Service) NeedLeaderElection() bool

func (*Service) Start

func (svc *Service) Start(ctx context.Context) error

Implements controller-runtime Runnable interface. When context is done, http server will shutdown.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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