Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmqpConfiguration ¶
type AmqpConfiguration struct { Host string `json:"host"` Port int `json:"port"` Username string `json:"username"` Password string `json:"password"` VHost string `json:"vhost"` Exchange string `json:"exchange"` Queue string `json:"queue"` RoutingKey string `json:"routing-key"` Identifier string `json:"identifier"` }
type Configuration ¶
type Configuration struct { Gotrap gotrapConfiguration `json:"gotrap"` Github GithubConfiguration `json:"github"` Amqp AmqpConfiguration `json:"amqp"` Gerrit GerritConfiguration `json:"gerrit"` }
func NewConfiguration ¶
func NewConfiguration(configFile *string) (*Configuration, error)
type GerritConfiguration ¶
type GithubConfiguration ¶
type GithubConfiguration struct { APIToken string `json:"api-token"` Organisation string `json:"organisation"` Repository string `json:"repository"` BranchPollingIntervall int `json:"branch-polling-intervall"` StatusPollingIntervall int `json:"status-polling-intervall"` PRTemplate githubPullRequestTemplate `json:"pull-request"` }
Click to show internal directories.
Click to hide internal directories.