internal

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 FormatCacheSize(size_in_bytes float64) string

func GetRepo

func GetRepo(r string) (ghRepo.Repository, error)

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

func PrintSingularOrPlural(count int, singularStr string, pluralStr string) string

func RedTick

func RedTick() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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