Documentation ¶
Index ¶
- func NewPushWebhook(id string, subs []chan events.PushData, ph events.PayloadHandler) http.Handler
- func NewSubscriber(id string, bot repoBot, renderer krm.Renderer, messenger commitMessenger, ...) chan events.PushData
- func RequireHeaders(headers []config.Header, handler http.Handler) http.Handler
- func WatchConfigOrDie(path string, onChange func(c *config.NormalizedConfig))
- func WithK8sChain(o *Options)
- type Option
- func WithConfig(c *config.NormalizedConfig) Option
- func WithConfigPath(path string) Option
- func WithDataPath(path string) Option
- func WithDebounce(d time.Duration) Option
- func WithDefaultRegistry(registry string) Option
- func WithImagerefTemplate(t string) Option
- func WithMuxGenerator(g muxGenerator) Option
- func WithWatch(enabled bool) Option
- type Options
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPushWebhook ¶
func NewSubscriber ¶
func RequireHeaders ¶
func WatchConfigOrDie ¶
func WatchConfigOrDie(path string, onChange func(c *config.NormalizedConfig))
func WithK8sChain ¶
func WithK8sChain(o *Options)
Types ¶
type Option ¶
type Option func(*Options)
func WithConfig ¶
func WithConfig(c *config.NormalizedConfig) Option
func WithConfigPath ¶
func WithDataPath ¶
func WithDebounce ¶ added in v0.2.1
func WithDefaultRegistry ¶
func WithImagerefTemplate ¶
func WithMuxGenerator ¶
func WithMuxGenerator(g muxGenerator) Option
Click to show internal directories.
Click to hide internal directories.