Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoConfiguration ¶
type RepoConfiguration struct {
Repositories []*Repository `json:"repositories"`
}
RepoConfiguration is a slice of Repository values.
func Parse ¶
func Parse(in io.Reader) (*RepoConfiguration, error)
Parse reads and returns a configuration from Reader.
func (RepoConfiguration) Find ¶
func (c RepoConfiguration) Find(name string) *Repository
Find looks up the repository by name.
type Repository ¶
type Repository struct { Name string `json:"name"` SourceRepo string `json:"sourceRepo"` SourceBranch string `json:"sourceBranch"` FilePath string `json:"filePath"` UpdateKey string `json:"updateKey"` BranchGenerateName string `json:"branchGenerateName"` TagMatch string `json:"tagMatch"` }
Repository is the items that are required to update a specific file in a repo.
Click to show internal directories.
Click to hide internal directories.