features

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package features provides sample mutations for the configmap primitive example.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseConfigMutation

func BaseConfigMutation(version string) configmap.Mutation

BaseConfigMutation writes the application's core server settings into app.yaml. It is always enabled.

func MetricsConfigMutation

func MetricsConfigMutation(version string, enableMetrics bool) configmap.Mutation

MetricsConfigMutation adds a Prometheus metrics section to app.yaml. It is enabled when enableMetrics is true.

func TracingConfigMutation

func TracingConfigMutation(version string, enableTracing bool) configmap.Mutation

TracingConfigMutation adds an OpenTelemetry tracing section to app.yaml. It is enabled when enableTracing is true.

func VersionLabelMutation

func VersionLabelMutation(version string) configmap.Mutation

VersionLabelMutation sets the app.kubernetes.io/version label on the ConfigMap and records the version in app.yaml. It is always enabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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