debugger

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const DebugPath = "/debug/placements/"

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugResult

type DebugResult struct {
	FilterResults     []scheduling.FilterResult      `json:"filteredPiplieResults,omitempty"`
	PrioritizeResults []scheduling.PrioritizerResult `json:"prioritizeResults,omitempty"`
	Error             string                         `json:"error,omitempty"`
}

DebugResult is the result returned by debugger

type Debugger

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

Debugger provides a debug http endpoint for scheduler

func NewDebugger

func NewDebugger(
	scheduler scheduling.Scheduler,
	placementInformer clusterinformerv1beta1.PlacementInformer,
	clusterInformer clusterinformerv1.ManagedClusterInformer) *Debugger

func (*Debugger) Handler

func (d *Debugger) Handler(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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