spectoconfig

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package spectoconfig provides functionality to convert CRD Audit types into audit.Config.

Package spectoconfig provides functionality to convert CRD Telemetry types into telemetry.Config.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAuditConfig added in v0.6.16

func ConvertAuditConfig(
	_ context.Context,
	auditConfig *v1alpha1.AuditConfig,
	componentName string,
) *audit.Config

ConvertAuditConfig converts the CRD AuditConfig to an audit.Config. It may return nil if audit is not enabled.

func ConvertTelemetryConfig

func ConvertTelemetryConfig(
	ctx context.Context,
	telemetryConfig *v1alpha1.TelemetryConfig,
	mcpServerName string,
) *telemetry.Config

ConvertTelemetryConfig converts the CRD TelemetryConfig to a telemetry.Config. It may return nil if no telemetry is configured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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