Documentation ¶
Index ¶
- func BuildStartTimeToString(build *v1.Build) string
- func BuildStatusToMarkdown(build *v1.Build, badgeFailedURL string, badgePassedURL string) string
- func CircleciUserToString(user *v1.User) string
- func GetCircleUserInfo(circleToken string) (*circleci.User, error)
- func GetCircleciUserProjects(circleCiToken string) ([]*circleci.Project, error)
- func GetFullNameFromOwnerAndRepo(owner string, repository string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildStartTimeToString ¶
BuildStartTimeToString returns the formatted start time
func BuildStatusToMarkdown ¶
BuildStatusToMarkdown returns Markdown text with the formatted status, or a badge if we have it
func CircleciUserToString ¶
CircleciUserToString return in the format "FullName (username)"
func GetCircleUserInfo ¶
GetCircleUserInfo returns info about logged in user
func GetCircleciUserProjects ¶
GetCircleciUserProjects returns projects for given user
func GetFullNameFromOwnerAndRepo ¶
GetFullNameFromOwnerAndRepo get full name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.