utils

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessInstance

func GetAccessInstance() *k8sAccess

GetAccessInstance return k8sAccess instance used to access resources in the management cluster.

func GetScheme

func GetScheme() (*runtime.Scheme, error)

func HelmReleaseKey added in v1.13.0

func HelmReleaseKey(releaseNamespace, releaseName string) string

HelmReleaseKey returns the join key used to match a deployed Chart (from ClusterConfiguration) to its OutdatedHelmChartInfo (from ClusterSummary).

func InitalizeManagementClusterAcces

func InitalizeManagementClusterAcces(scheme *runtime.Scheme, restConfig *rest.Config,
	cs *kubernetes.Clientset, c client.Client)

InitalizeManagementClusterAcces initializes k8sAccess singleton

Types

type OutdatedHelmChartInfo added in v1.13.0

type OutdatedHelmChartInfo struct {
	LatestVersion      string
	LatestPatchVersion string
}

OutdatedHelmChartInfo mirrors the subset of HelmChartSummary reporting the outcome of addon-controller's periodic outdated-Helm-chart check for a single helm release.

Jump to

Keyboard shortcuts

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