utils

package
v0.0.0-...-f82584f Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateExporterCR

func CreateExporterCR(ctx context.Context, namespace string, groupKey string, pollingInterval metav1.Duration) error

func CreateGroupings

func CreateGroupings(focusConfigList *finopsv1.FocusConfigList) map[string][]finopsv1.FocusConfig

func DeleteExporterScraperConfig

func DeleteExporterScraperConfig(ctx context.Context, clientset *kubernetes.Clientset, namespace string, deploymentName string)

func GetClientSet

func GetClientSet() (*kubernetes.Clientset, error)

func GetExporterScraperConfig

func GetExporterScraperConfig(ctx context.Context, clientset *kubernetes.Clientset, namespace string, deploymentName string) (finopsdatatypes.ExporterScraperConfig, error)

func GetExporterScraperObject

func GetExporterScraperObject(namespace string, groupKey string, api finopsdatatypes.API, deploymentName string, pollingInterval metav1.Duration) *finopsdatatypes.ExporterScraperConfig

func MakeGroupKeyKubeCompliant

func MakeGroupKeyKubeCompliant(groupKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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