Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoBundle ¶
type RepoBundle struct {
TargetDir string `yaml:"target"`
Sources []RepoSyncSource `yaml:"sources"`
}
type RepoBundleOptions ¶
type RepoSyncConfig ¶
type RepoSyncConfig struct {
Sources []RepoSyncSource `yaml:"sources"`
Bundle map[string]RepoBundle `yaml:"bundle"`
}
func LoadConfig ¶
func LoadConfig(file string) (*RepoSyncConfig, error)
type RepoSyncSource ¶
type RepoSyncSource struct {
Url string `yaml:"url"`
Ref string `yaml:"ref"`
Group []string `yaml:"group"`
TargetDir string `yaml:"target"`
Bundle RepoBundleOptions `yaml:"bundle"`
}
Click to show internal directories.
Click to hide internal directories.