package
1.20.0
Repository: https://github.com/tektoncd/hub.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DefaultValue returns default value if string is empty.
FormatCatalogName returns name of catalog from which the resource is.
FormatCategories returns list of categories seperated by comma.
FormatDesc returns first 40 char of resource description.
FormatInstallCMD returns install command to be executed to install the resource.
FormatJSON returns formatted json string.
FormatName returns name of resource with its latest version.
FormatPlatforms returns list of platforms seperated by comma.
FormatTags returns list of tags seperated by comma.
FormatVersion returns version appended with (latest) if the latest field passed is true.
Icon returns icon for a title passed.
WrapText returns description broken down in multiple lines with max width passed to it titleLength would be the length of title on left hand side before the text starts, so the length of text in first line would be maxwidth - titleLength.