Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerConfigSet = wire.NewSet( wire.Struct(new(HandlerConfig), "*"), )
HandlerConfigSet provides a handler config. nolint: gochecknoglobals
View Source
var HandlerSet = wire.NewSet( HandlerConfigSet, NewHandler, )
HandlerSet provides a handler. nolint: gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
HandlerConfig
}
func NewHandler ¶
func NewHandler(conf HandlerConfig, mgr manager.Manager) (*Handler, error)
type HandlerConfig ¶ added in v1.0.0
type HandlerConfig struct { Config Config Client client.Client Recorder record.EventRecorder TriggerHandler hookutil.TriggerHandler }
func NewHandlerConfig ¶ added in v1.0.0
func NewHandlerConfig(conf Config, mgr manager.Manager) HandlerConfig
Click to show internal directories.
Click to hide internal directories.