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: 8 Imported by: 0

Documentation

Overview

Package features provides example feature mutations for the deployment primitive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomConvergeStatus

CustomConvergeStatus demonstrates a custom handler for deployment readiness.

func CustomGraceStatus

func CustomGraceStatus() func(*appsv1.Deployment) (concepts.GraceStatusWithReason, error)

CustomGraceStatus demonstrates a custom handler for health when not ready.

func CustomSuspendMutation

func CustomSuspendMutation() func(*deployment.Mutator) error

CustomSuspendMutation demonstrates a custom mutation when suspended.

func MetricsFeature

func MetricsFeature(enabled bool, port int) deployment.Mutation

MetricsFeature adds an exporter sidecar and some annotations.

func TracingFeature

func TracingFeature(enabled bool) deployment.Mutation

TracingFeature adds a Jaeger sidecar to the deployment.

func VersionFeature

func VersionFeature(version string) deployment.Mutation

VersionFeature sets the image version and a label.

Types

This section is empty.

Jump to

Keyboard shortcuts

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