common

package
v0.0.0-...-9d026b8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertResourceUpdated

func AssertResourceUpdated(ctx context.Context, k8sClient client.Client, instance *apilifecycle.KeptnApp) *apilifecycle.KeptnAppVersion

func DeleteAppInCluster

func DeleteAppInCluster(ctx context.Context, k8sClient client.Client, instance *apilifecycle.KeptnApp)

func GetAppVersion

func GetAppVersion(ctx context.Context, k8sClient client.Client, instance *apilifecycle.KeptnApp) *apilifecycle.KeptnAppVersion

func IgnoreAlreadyExists

func IgnoreAlreadyExists(err error) error

func InitKeptnMeters

func InitKeptnMeters() apicommon.KeptnMeters

func LogErrorIfPresent

func LogErrorIfPresent(err error)

func MakeKeptnDefaultNamespace

func MakeKeptnDefaultNamespace(k8sClient client.Client, name string) *v1.Namespace

func ResetSpanRecords

func ResetSpanRecords(tp *otelsdk.TracerProvider, spanRecorder *sdktest.SpanRecorder)

func WriteReport

func WriteReport(specReport ginkgotypes.SpecReport, f *os.File)

Types

type TracerFactory

type TracerFactory struct {
	Tracer trace.TracerProvider
}

func (*TracerFactory) GetTracer

func (f *TracerFactory) GetTracer(name string) telemetry.ITracer

Jump to

Keyboard shortcuts

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