Documentation ¶
Index ¶
- func GetRepoList() []string
- func PrintRepos(repos []Repo)
- func PrintStageResults(results []internaltypes.Result)
- func PrintWorkflows(workflows []internaltypes.Workflow)
- func SaveToConfig(r RepoFile)
- func StringInSlice(a string, list []string) bool
- func TrimSuffix(s, suffix string) string
- type Location
- type Repo
- type RepoFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepoList ¶
func GetRepoList() []string
func PrintRepos ¶
func PrintRepos(repos []Repo)
func PrintStageResults ¶
func PrintStageResults(results []internaltypes.Result)
func PrintWorkflows ¶
func PrintWorkflows(workflows []internaltypes.Workflow)
func SaveToConfig ¶
func SaveToConfig(r RepoFile)
func StringInSlice ¶
func TrimSuffix ¶
Types ¶
type Location ¶
type Location struct { Path string `json:"path" xml:"path" form:"path" query:"path" mapstructure:"path" validate:"nonzero"` Type string `json:"type" xml:"type" form:"type" query:"type" mapstructure:"type" validate:"nonzero"` Subfolder string `json:"subfolder" xml:"subfolder" form:"subfolder" query:"subfolder" mapstructure:"subfolder,omitempty"` Branch string `json:"branch" xml:"branch" form:"branch" query:"branch" mapstructure:"branch,omitempty"` }
type Repo ¶
type Repo struct { Name string `json:"name" xml:"name" form:"name" query:"name" mapstructure:"name" validate:"nonzero"` Description string `json:"description" xml:"description" form:"description" query:"description" mapstructure:"description"` Location Location `json:"location" xml:"location" form:"location" query:"location" mapstructure:"location" validate:"nonzero"` }
Click to show internal directories.
Click to hide internal directories.