package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Aug 29, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppSetting struct {
AppHost string `json:"app_host"`
AppPort string `json:"app_port"`
AppBasicAuthUsername string `json:"app_basic_auth_username"`
AppBasicAuthPassword string `json:"app_basic_auth_password"`
}
type Config struct {
AppSetting AppSetting `json:"app_setting"`
WebhookSetting WebhookSetting `json:"webhook_setting"`
}
type Mapping struct {
RepoName string `json:"repo_name"`
BranchName string `json:"branch_name"`
Command string `json:"command"`
}
type WebhookSetting struct {
Github struct {
Mapping []Mapping `json:"mapping"`
} `json:"github"`
Gitlab struct {
Mapping []Mapping `json:"mapping"`
} `json:"gitlab"`
Bitbucket struct {
Mapping []Mapping `json:"mapping"`
} `json:"bitbucket"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.