Documentation
¶
Index ¶
- func GetRepositoryName(input string) string
- func GetRepositoryOrganization(input string) string
- func IsValidRepositoryName(input string) bool
- func MergeStatuses(platformStatuses []*platforms.Status, configStatuses []string) []*platforms.Status
- func RenderDashboard(tpl string, data *DashboardData) (output string, err error)
- func RenderReleaseNote(tpl string, data *ReleaseNoteData) (output string, err error)
- type DashboardData
- type ReleaseNoteData
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRepositoryName ¶
GetRepositoryName returns the name of a given string
func GetRepositoryOrganization ¶
GetRepositoryOrganization returns the organization from a given string
func IsValidRepositoryName ¶
IsValidRepositoryName returns true if the input match the repository regexp
func MergeStatuses ¶ added in v0.2.0
func MergeStatuses(platformStatuses []*platforms.Status, configStatuses []string) []*platforms.Status
MergeStatuses based on the repo/global config
func RenderDashboard ¶ added in v0.3.0
func RenderDashboard(tpl string, data *DashboardData) (output string, err error)
func RenderReleaseNote ¶ added in v0.2.0
func RenderReleaseNote(tpl string, data *ReleaseNoteData) (output string, err error)
RenderReleaseNote add/update status check from a release note based on a template
Types ¶
type DashboardData ¶ added in v0.3.0
DashboardData hold issue data used to populate the issue dashboard template
type ReleaseNoteData ¶ added in v0.2.0
ReleaseNoteData hold release data used to populate the release note template
type Repository ¶ added in v0.6.0
func ExtractRepository ¶ added in v0.6.0
func ExtractRepository(input string) (repository *Repository, err error)
ExtractRepository extract values from a Git Url and returns a Repository struct
Click to show internal directories.
Click to hide internal directories.