Documentation
¶
Overview ¶
Package extender contains types and logic to respond to requests from a Kubernetes http scheduler extender.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKubeClient ¶
GetKubeClient returns the kube client interface with its config.
func GetKubeClientExt ¶ added in v0.5.0
func GetKubeClientExt(kubeConfig string, burst int, qps float32) (kubernetes.Interface, *rest.Config, error)
GetKubeClientExt returns the kube client interface with its config. The given Burst and QPS are set into the config.
Types ¶
type Scheduler ¶
type Scheduler interface { Bind(w http.ResponseWriter, r *http.Request) Prioritize(w http.ResponseWriter, r *http.Request) Filter(w http.ResponseWriter, r *http.Request) }
Scheduler has the capabilities needed to prioritize and filter nodes based on http requests.
Click to show internal directories.
Click to hide internal directories.