setcanarystrategy

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package setcanarystrategy implements manifest.set_canary_strategy: it finds the Rollout document matching the target service and sets its spec.strategy.canary.steps to the ladder the given weights describe, leaving every sibling key under canary as the customer wrote it. The two keys whose meaning depends on those steps, blueGreen and analysis.startingStep, are refused rather than written past.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWorkloadNotFound  = errors.New("workload not found")
	ErrWorkloadAmbiguous = errors.New("workload matched more than one document")
	ErrNotCanary         = errors.New("strategy is not a canary")
	ErrStepIndexAuthored = errors.New("strategy indexes the canary steps")
)

Functions

func New

func New() runner.BuiltinFunction

Types

This section is empty.

Jump to

Keyboard shortcuts

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