keptnmetric

package
v0.0.0-...-67b0140 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeptnMetricProvider

type KeptnMetricProvider struct {
	Log       logr.Logger
	K8sClient client.Client
}

func (*KeptnMetricProvider) FetchData

func (p *KeptnMetricProvider) FetchData(ctx context.Context, objective apilifecycle.Objective, namespace string) (string, []byte, error)

FetchData fetches the SLI values from KeptnMetric resource

func (*KeptnMetricProvider) GetKeptnMetric

func (p *KeptnMetricProvider) GetKeptnMetric(ctx context.Context, objective apilifecycle.Objective, namespace string) (*unstructured.Unstructured, error)

Jump to

Keyboard shortcuts

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