bean

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppIdentifier

type AppIdentifier struct {
	ClusterId   int    `json:"clusterId"`
	Namespace   string `json:"namespace"`
	ReleaseName string `json:"releaseName"`
}

func (*AppIdentifier) GetUniqueAppIdentifierForGivenNamespaceAndCluster

func (r *AppIdentifier) GetUniqueAppIdentifierForGivenNamespaceAndCluster(namespace, clusterId string) string

func (*AppIdentifier) GetUniqueAppNameIdentifier

func (r *AppIdentifier) GetUniqueAppNameIdentifier() string

GetUniqueAppNameIdentifier returns unique app name identifier, we store all helm releases in kubelink cache with key as what is returned from this func, this is the case where an app across diff namespace or cluster can have same name, so to identify then uniquely below implementation would serve as good unique identifier for an external app.

Jump to

Keyboard shortcuts

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