validations

package
v0.0.1-pre Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareMetricsConfig

func CompareMetricsConfig(old, new *v1alpha1.MetricsConfiguration) bool

CompareMetricsConfig compares two metrics configurations

func MetricsCRD

func MetricsCRD(metricsConfig *v1alpha1.MetricsConfiguration) error

MetricsConfiguration validates the metrics configuration

func MetricsContextOptionsCompare

func MetricsContextOptionsCompare(old, new []v1alpha1.MetricsContextOptions) bool

MetricsContextOptionsCompare compares two metrics context options

func MetricsNamespaces

func MetricsNamespaces(mn v1alpha1.MetricsNamespaces) error

MetricsNamespaces validates the metrics namespaces

func MetricsNamespacesCompare

func MetricsNamespacesCompare(old, new v1alpha1.MetricsNamespaces) bool

MetricsNamespacesCompare compares two metrics namespaces

func MetricsSpec

func MetricsSpec(metricsSpec v1alpha1.MetricsSpec) error

MetricsSpec validates the metrics spec

func MetricsSpecCompare

func MetricsSpecCompare(old, new v1alpha1.MetricsSpec) bool

MetricsSpecCompare compares two metrics specs

func TraceConfiguration

func TraceConfiguration(traceConfig []*v1alpha1.TraceConfiguration) error

TraceConfiguration validates the trace configuration

func TraceOutputConfiguration

func TraceOutputConfiguration(traceOutputConfig *v1alpha1.TraceOutputConfiguration) error

func TracePoints

func TracePoints(tp v1alpha1.TracePoints) error

func TracePort

func TracePort(port *v1alpha1.TracePorts) error

func TraceTarget

func TraceTarget(tt *v1alpha1.TraceTarget) error

func TraceTargets

func TraceTargets(target *v1alpha1.TraceTargets) error

func TracesCRD

func TracesCRD(tracesConfig *v1alpha1.TracesConfiguration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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