Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerCommand ¶ added in v0.16.0
func NewServerWithOptions ¶
func NewServerWithOptions(log logr.Logger, _ options.WebhookFlags, opts config.WebhookConfiguration, optionFunctions ...ServerOption) (*server.Server, error)
Types ¶
type ServerOption ¶
func WithConversionHandler ¶
func WithConversionHandler(handler handlers.ConversionHook) ServerOption
WithConversionHandler allows you to override the handler for the `/convert` endpoint in tests.
Click to show internal directories.
Click to hide internal directories.