Documentation ¶
Index ¶
- func AssertResourceUpdated(ctx context.Context, k8sClient client.Client, instance *klcv1alpha3.KeptnApp) *klcv1alpha3.KeptnAppVersion
- func DeleteAppInCluster(ctx context.Context, k8sClient client.Client, instance *klcv1alpha3.KeptnApp)
- func GetAppVersion(ctx context.Context, k8sClient client.Client, instance *klcv1alpha3.KeptnApp) *klcv1alpha3.KeptnAppVersion
- func IgnoreAlreadyExists(err error) error
- func InitKeptnMeters() apicommon.KeptnMeters
- func InitSuite() (context.Context, ctrl.Manager, *otelsdk.TracerProvider, *sdktest.SpanRecorder, ...)
- func LogErrorIfPresent(err error)
- func MakeKLTDefaultNamespace(k8sClient client.Client, name string) *v1.Namespace
- func ResetSpanRecords(tp *otelsdk.TracerProvider, spanRecorder *sdktest.SpanRecorder)
- func WriteReport(specReport ginkgotypes.SpecReport, f *os.File)
- type TracerFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertResourceUpdated ¶
func AssertResourceUpdated(ctx context.Context, k8sClient client.Client, instance *klcv1alpha3.KeptnApp) *klcv1alpha3.KeptnAppVersion
func DeleteAppInCluster ¶
func GetAppVersion ¶
func GetAppVersion(ctx context.Context, k8sClient client.Client, instance *klcv1alpha3.KeptnApp) *klcv1alpha3.KeptnAppVersion
func IgnoreAlreadyExists ¶
func InitKeptnMeters ¶
func InitKeptnMeters() apicommon.KeptnMeters
func InitSuite ¶
func InitSuite() (context.Context, ctrl.Manager, *otelsdk.TracerProvider, *sdktest.SpanRecorder, client.Client, chan struct{})
func LogErrorIfPresent ¶
func LogErrorIfPresent(err error)
func MakeKLTDefaultNamespace ¶
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) controllercommon.ITracer
Click to show internal directories.
Click to hide internal directories.