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 `valid:"required" yaml:"main"` ReleaseNext string `valid:"required" yaml:"releaseNext"` SynchCI string `valid:"required" yaml:"synchCi"` ReleaseTemplates `yaml:"releaseTemplates"` Searches `yaml:"searches"` }
Branches holds configuration for branches.
type Config ¶
type Config struct { Upstream string `valid:"required" yaml:"upstream"` Downstream string `valid:"required" yaml:"downstream"` DryRun bool `yaml:"dryRun"` GithubWorkflowsRemovalGlob string `valid:"required" yaml:"githubWorkflowsRemovalGlob"` ResyncReleases `yaml:"resyncReleases"` Branches `yaml:"branches"` Tags `yaml:"tags"` Messages `yaml:"messages"` SyncLabels []string `valid:"required" yaml:"syncLabels"` }
Config for a deviate to operate.
type Messages ¶ added in v0.3.0
type Messages struct { TriggerCI string `valid:"required" yaml:"triggerCi"` TriggerCIBody string `valid:"required" yaml:"triggerCiBody"` ApplyForkFiles string `valid:"required" yaml:"applyForkFiles"` }
Messages holds messages that are used to commit changes and create PRs.
type ReleaseTemplates ¶
type ReleaseTemplates struct { Upstream string `valid:"required" yaml:"upstream"` Downstream string `valid:"required" yaml:"downstream"` }
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.