package
Version:
v1.0.10
Opens a new window with list of versions in this module.
Published: Nov 28, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
HTTP HTTP `mapstructure:"http" validate:"required"`
Repo Repo `mapstructure:"repo" validate:"required"`
}
func NewWithoutValidate() Config
type Gitlab struct {
Host string `mapstructure:"gitlab_host" validate:"required"`
Token string `mapstructure:"gitlab_token" validate:"required"`
}
type HTTP struct {
Gitlab Gitlab `mapstructure:"gitlab" validate:"required"`
YTracker YTracker `mapstructure:"y_tracker" validate:"required"`
}
type Repo struct {
MainBranch string `mapstructure:"main_branch" validate:"required"`
AdditionalBranches []string `mapstructure:"additional_branches"`
}
type YTracker struct {
Token string `mapstructure:"y_tracker_token" validate:"required"`
OrgID int `mapstructure:"y_tracker_org_id" validate:"required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.