Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
HolgersyncConfig HolgersyncConfig
Logger Logger
}
type GlobalConfig ¶
type GlobalConfig struct {
Git []GitConfig `mapstructure:"gitConfig"`
}
type HolgersyncConfig ¶
type HolgersyncConfig struct {
SourceFileConfig SourceFileConfig `yaml:"sourceFileConfig"`
Targets []Target `mapstructure:"Targets"`
}
type SourceFileConfig ¶
type Target ¶
type Target struct {
Path string `yaml:"path"`
Git []GitConfig `mapstructure:"gitConfig"`
Parameters []Parameter `mapstructure:"parameters"`
}
func (*Target) CheckFileStatusCode ¶
func (t *Target) CheckFileStatusCode(filePath string) (*git.StatusCode, error)
func (*Target) CommitAndPush ¶
func (*Target) CreateHolgersyncBranch ¶
Create the desired Holgersync branch, if the branch already exists do nothing
Click to show internal directories.
Click to hide internal directories.