Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LocalStore string `json:"local_store"` HookSvr *HookSvrConfig `json:"webhook"` Repos []*Repo `json:"repos"` Consul *ConsulConfig `json:"consul"` }
Config is used to represent the passed in configuration
type ConsulConfig ¶
type ConsulConfig struct { Address string `json:"address"` Token string `json:"token,omitempty"` SSLEnable bool `json:"ssl"` SSLVerify bool `json:"ssl_verify,omitempty"` }
ConsulConfig is the configuration for the Consul client
type Hook ¶
type Hook struct { Type string `json:"type"` // Specific to polling Interval time.Duration `json:"interval"` // Specific to webhooks Url string `json:"url,omitempty"` }
Hook is the configuration for hooks
type HookSvrConfig ¶
HookSvrConfig is the configuration for the git hoooks server
Click to show internal directories.
Click to hide internal directories.