v1

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildStartTimeToString

func BuildStartTimeToString(build *v1.Build) string

BuildStartTimeToString returns the formatted start time

func BuildStatusToMarkdown

func BuildStatusToMarkdown(build *v1.Build, badgeFailedURL string, badgePassedURL string) string

BuildStatusToMarkdown returns Markdown text with the formatted status, or a badge if we have it

func CircleciUserToString

func CircleciUserToString(user *v1.User) string

CircleciUserToString return in the format "FullName (username)"

func GetCircleUserInfo

func GetCircleUserInfo(circleToken string) (*circleci.User, error)

GetCircleUserInfo returns info about logged in user

func GetCircleciUserProjects

func GetCircleciUserProjects(circleCiToken string) ([]*circleci.Project, error)

GetCircleciUserProjects returns projects for given user

func GetFullNameFromOwnerAndRepo

func GetFullNameFromOwnerAndRepo(owner string, repository string) string

GetFullNameFromOwnerAndRepo get full name

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL