Documentation ¶
Index ¶
- Constants
- func FormatReleaseListAsJson(releaseList ReleaseList) (string, error)
- func FormatReleaseListAsTable(releaseList ReleaseList, referenceEnvironment string, maxColumnWidth int) string
- func GetReleaseDisplayVersion(rel *v1alpha1.Release) string
- type CrossRelease
- type Params
- type Release
- type ReleaseList
Constants ¶
View Source
const ( UnknownStatus = "unknown" PreReleaseStatus = "pre-release" BehindStatus = "behind" AheadStatus = "ahead" InSyncStatus = "in-sync" )
View Source
const ( NoReleaseVersion = "-" NoVersion = "no version" )
Variables ¶
This section is empty.
Functions ¶
func FormatReleaseListAsJson ¶ added in v0.44.0
func FormatReleaseListAsJson(releaseList ReleaseList) (string, error)
func FormatReleaseListAsTable ¶ added in v0.44.0
func FormatReleaseListAsTable(releaseList ReleaseList, referenceEnvironment string, maxColumnWidth int) string
func GetReleaseDisplayVersion ¶ added in v0.21.0
Types ¶
type CrossRelease ¶ added in v0.44.0
type ReleaseList ¶ added in v0.44.0
type ReleaseList struct { Environments []string `json:"environments"` ReferenceEnvironment string `json:"referenceEnvironment"` CrossReleases []CrossRelease `json:"crossReleases"` }
func GetReleaseList ¶ added in v0.44.0
func GetReleaseList(cat *catalog.Catalog, params Params) (ReleaseList, error)
Click to show internal directories.
Click to hide internal directories.