removedvalue

package
v1.170.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package removedvalue keeps, for each tool, the argument values it no longer takes and what replaces each (#2441): manage_script's endpoint_set and schedule_set, removed with no alias. A tool's input schema no longer lists a removed value, so the SDK refuses a call naming one before the tool's handler runs; the error contract (pkg/middleware) reads this registry to answer that refusal with the replacement instead of the schema's list of values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lookup

func Lookup(tool, arg, value string) (string, bool)

Lookup is what replaces value of tool's arg, and whether it was removed.

func Register

func Register(tool, arg, value, replacement string)

Register records that tool's arg no longer takes value, and what a caller uses instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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