releasereport

package
v0.23.11 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadReleases

func LoadReleases(path string, releases *[]*NamespaceReleases) error

LoadReleases loads the releases

Types

type IngressInfo

type IngressInfo struct {
	Name string `json:"name,omitempty"`
	URL  string `json:"url,omitempty"`
}

IngressInfo details of an ingress

type NamespaceReleases

type NamespaceReleases struct {
	Path      string         `json:"path,omitempty"`
	Namespace string         `json:"namespace,omitempty"`
	Releases  []*ReleaseInfo `json:"releases,omitempty"`
}

NamespaceReleases the releases for a namespace

type ReleaseInfo

type ReleaseInfo struct {
	chart.Metadata

	// ReleaseName is the name of the helm release
	ReleaseName string `json:"releaseName,omitempty"`

	// FirstDeployed is when the chart version was first deployed.
	FirstDeployed *metav1.Time `json:"firstDeployed,omitempty"`
	// LastDeployed is when the release was last deployed.
	LastDeployed *metav1.Time `json:"lastDeployed,omitempty"`

	// RepositoryName the chart repository name used in the fully qualified chart name
	RepositoryName string `json:"repositoryName,omitempty"`
	// RepositoryURL the chart repository URL
	RepositoryURL string `json:"repositoryUrl,omitempty"`
	// ApplicationURL the ingress URL for the application if available
	ApplicationURL string `json:"applicationUrl,omitempty"`
	// LogsURL the URL to browse the application logs if available
	LogsURL string `json:"logsUrl,omitempty"`

	// ResourcesPath the relative path to the kubernetes resources
	ResourcesPath string `json:"resourcePath,omitempty"`

	// Ingresses the ingress URLs
	Ingresses []IngressInfo `json:"ingresses,omitempty"`
}

ReleaseInfo information about the release

func (*ReleaseInfo) String

func (i *ReleaseInfo) String() string

Jump to

Keyboard shortcuts

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