links

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvironmentLinks(provider Provider, cat *catalog.Catalog, envName string) (map[string]string, error)

func GetOrSelectLinkUrl

func GetOrSelectLinkUrl(links map[string]string, linkName string) (string, error)
func GetProjectLinks(provider Provider, cat *catalog.Catalog, projectName string) (map[string]string, error)
func GetReleaseLinks(provider Provider, cat *catalog.Catalog, envName, releaseName string) (map[string]string, error)
func PrintLinks(links map[string]string, linkName string) error

Types

type Provider

type Provider interface {
	GetEnvironmentLinks(environment *v1alpha1.Environment) (map[string]string, error)
	GetProjectLinks(project *v1alpha1.Project) (map[string]string, error)
	GetReleaseLinks(release *v1alpha1.Release) (map[string]string, error)
}

func NewProvider

func NewProvider(infoProvider info.Provider, templates config.Templates) Provider

Jump to

Keyboard shortcuts

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