Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Validate ¶
func Validate(f SourcesFile) error
Types ¶
type RepositoryGetter ¶
type Source ¶
type Source struct {
Type string `yaml:"type"`
Path string `yaml:"path"`
Repository string `yaml:"repository"`
Token string `yaml:"token"`
Glob string `yaml:"glob"`
}
func ParseSourcesFile ¶
type SourcesFile ¶
type SourcesFile struct {
Sources []Source `yaml:"sources"`
}
Click to show internal directories.
Click to hide internal directories.