releasereport

package
v0.2.57 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 4 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

	// 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