Documentation ¶
Index ¶
- Variables
- func HealthProbe(ctx context.Context) healthz.Checker
- func NewCRDValidationWebhook(ctx context.Context, _ configmap.Watcher) *controller.Impl
- func NewConfigValidationWebhook(ctx context.Context, _ configmap.Watcher) *controller.Impl
- func NewWebhooks() []knativeinjection.ControllerConstructor
- func Start(ctx context.Context, cfg *rest.Config, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var Resources = map[schema.GroupVersionKind]resourcesemantics.GenericCRD{ v1alpha5.SchemeGroupVersion.WithKind("Provisioner"): &v1alpha5.Provisioner{}, v1beta1.SchemeGroupVersion.WithKind("NodePool"): &v1beta1.NodePool{}, v1beta1.SchemeGroupVersion.WithKind("NodeClaim"): &v1beta1.NodeClaim{}, }
Functions ¶
func NewCRDValidationWebhook ¶
func NewWebhooks ¶
func NewWebhooks() []knativeinjection.ControllerConstructor
func Start ¶ added in v0.32.0
func Start(ctx context.Context, cfg *rest.Config, kubernetesInterface kubernetes.Interface, ctors ...knativeinjection.ControllerConstructor)
Start copies the relevant portions for starting the webhooks from sharedmain.MainWithConfig https://github.com/knative/pkg/blob/0f52db700d63/injection/sharedmain/main.go#L227
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.