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
Click to show internal directories.
Click to hide internal directories.