webhook

package
v0.0.0-...-a423d60 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TimeoutFactor   int           `mapstructure:"timeout_factor" description:"the factor by which to multiple the reconciliation timeout"`
	WebhookTimeout  time.Duration `mapstructure:"webhook_timeout" description:"defines the maximum time to process a webhook"`
	RequeueInterval time.Duration `mapstructure:"requeue_interval" description:"defines the default requeue interval"`
	TimeLayout      string        `mapstructure:"time_layout" description:"defines the default timestamp time layout"`
}

Settings type to be loaded from the environment

func DefaultConfig

func DefaultConfig() *Config

DefaultSettings returns the default values for configuring the System Broker

func (*Config) Validate

func (s *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL