Documentation ¶
Index ¶
- Constants
- func FormatCacheSize(size_in_bytes float64) string
- func GetRepo(r string) (ghRepo.Repository, error)
- func HttpErrorHandler(err error, errMsg404 string) types.HandledError
- func PrettyPrintCacheList(caches []types.ActionsCache)
- func PrettyPrintTrimmedCacheList(caches []types.ActionsCache)
- func PrintPendingMocks(mocks []gock.Mock) string
- func PrintSingularOrPlural(count int, singularStr string, pluralStr string) string
- func RedTick() string
Constants ¶
View Source
const GB_IN_BYTES = 1024 * 1024 * 1024
View Source
const MB_IN_BYTES = 1024 * 1024
Variables ¶
This section is empty.
Functions ¶
func FormatCacheSize ¶
func HttpErrorHandler ¶
func HttpErrorHandler(err error, errMsg404 string) types.HandledError
func PrettyPrintCacheList ¶
func PrettyPrintCacheList(caches []types.ActionsCache)
func PrettyPrintTrimmedCacheList ¶
func PrettyPrintTrimmedCacheList(caches []types.ActionsCache)
func PrintPendingMocks ¶
func PrintPendingMocks(mocks []gock.Mock) string
func PrintSingularOrPlural ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.