Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrConfigFileCantBeRead when config file cannot be read. ErrConfigFileCantBeRead = errors.New("config file can't be read") // ErrConfigFileHaveInvalidFormat when config file has invalid format. ErrConfigFileHaveInvalidFormat = errors.New("config file have invalid format") )
Functions ¶
This section is empty.
Types ¶
type Branches ¶
type Branches struct {
Main string `yaml:"main" valid:"required"`
ReleaseNext string `yaml:"releaseNext" valid:"required"`
SynchCI string `yaml:"synchCi" valid:"required"`
ReleaseTemplates `yaml:"releaseTemplates"`
Searches `yaml:"searches"`
}
Branches holds configuration for branches.
type Config ¶
type Config struct {
Upstream string `yaml:"upstream" valid:"required"`
Downstream string `yaml:"downstream" valid:"required"`
DryRun bool `yaml:"dryRun"`
GithubWorkflowsRemovalGlob string `yaml:"githubWorkflowsRemovalGlob" valid:"required"`
ResyncReleases `yaml:"resyncReleases"`
Branches `yaml:"branches"`
Tags `yaml:"tags"`
Messages `yaml:"messages"`
SyncLabels []string `yaml:"syncLabels" valid:"required"`
}
Config for a deviate to operate.
type Messages ¶ added in v0.3.0
type Messages struct {
TriggerCI string `yaml:"triggerCi" valid:"required"`
TriggerCIBody string `yaml:"triggerCiBody" valid:"required"`
ApplyForkFiles string `yaml:"applyForkFiles" valid:"required"`
}
Messages holds messages that are used to commit changes and create PRs.
type ReleaseTemplates ¶
type ReleaseTemplates struct {
Upstream string `yaml:"upstream" valid:"required"`
Downstream string `yaml:"downstream" valid:"required"`
}
ReleaseTemplates contains templates for release names.
type ResyncReleases ¶ added in v0.3.0
ResyncReleases holds configuration for resyncing past releases.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.