collector

package
v0.0.0-...-7d92a45 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PreComputeTeststepFields

func PreComputeTeststepFields(phase argov1.NodePhase, meta metadata.Metadata, clusterDomain string) *metadata.StepPreComputed

PreComputeTeststepFields precomputes fields for elasticsearch that are otherwise hard to add at runtime (i.e. as grafana does not support scripted fields)

Types

type Interface

type Interface interface {
	GetMetadata(tr *tmv1beta1.Testrun) (*metadata.Metadata, error)
	Collect(tr *tmv1beta1.Testrun, metadata *metadata.Metadata) error
}

Interface is the testmachinery interface to collects testrun results, store them in a persistent store and handle the metadata.

func New

func New(log logr.Logger, k8sClient client.Client, esConfig *config.ElasticSearch, s3Config *config.S3) (Interface, error)

Jump to

Keyboard shortcuts

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