Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HandlerName is the name of this webhook handler. HandlerName = "pod-scheduler-name" // WebhookPath is the path at which the handler should be registered. WebhookPath = "/webhooks/default-pod-scheduler-name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v1.59.0
type Handler struct {
SchedulerName string
}
Handler handles admission requests and sets the spec.schedulerName field in Pod resources.
func (*Handler) AddToManager ¶ added in v1.59.0
AddToManager adds Handler to the given manager.
Click to show internal directories.
Click to hide internal directories.