Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HealthPath is the URL path for the HTTP endpoint that returns health status. HealthPath = "/health" // ReadyPath URL path for the HTTP endpoint that returns ready status. ReadyPath = "/ready" // ProwConfigMapName name of the ConfgMap holding the config ProwConfigMapName = "config" // ProwPluginsConfigMapName name of the ConfigMap holding the plugins config ProwPluginsConfigMapName = "plugins" // ProwConfigFilename config file name ProwConfigFilename = "config.yaml" // ProwPluginsFilename plugins file name ProwPluginsFilename = "plugins.yaml" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { BindAddress string Path string Port int JSONLog bool // contains filtered or unexported fields }
Options holds the command line arguments
func NewWebhook ¶
NewWebhook creates a new webhook handler
func (*Options) GetFactory ¶
GetFactory lazily creates a Factory if its not already created
Click to show internal directories.
Click to hide internal directories.