list

package
v0.85.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownStatus    = "unknown"
	PrereleaseStatus = "prerelease"
	BehindStatus     = "behind"
	AheadStatus      = "ahead"
	InSyncStatus     = "in-sync"
)
View Source
const (
	NoReleaseVersion = "-"
	NoVersion        = "no version"
)

Variables

This section is empty.

Functions

func GetReleaseDisplayVersion added in v0.21.0

func GetReleaseDisplayVersion(rel *v1alpha1.Release) string

func Render added in v0.82.0

func Render(writer io.Writer, catalogDir string, releaseList ReleaseList, format formatting.Format, maxColumnWidth int) error

Types

type CrossRelease added in v0.44.0

type CrossRelease struct {
	Name     string    `json:"name"`
	Releases []Release `json:"releases"`
}

type Params added in v0.44.0

type Params struct {
	Environments         []string
	ReferenceEnvironment string
}

type Release added in v0.44.0

type Release struct {
	*v1alpha1.Release `json:",inline"`
	DisplayVersion    string `json:"version"`
	Status            string `json:"status"`
	Environment       string `json:"environment"`
}

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)

Jump to

Keyboard shortcuts

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