upgradeprotocol

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package upgradeprotocol defines the node-lifecycle compatibility contract. It is deliberately independent from application API and release versions.

Index

Constants

View Source
const Current = 1

Current remains stable across wire-compatible releases. A future breaking lifecycle protocol must increment it; an old controller whose maximum is lower will then reject worker-first canarying before mutation.

Variables

This section is empty.

Functions

func ValidateStatus

func ValidateStatus(version string, maximum int, minimum int) error

ValidateStatus validates the complete supported protocol range. The only zero-valued bridge is an explicit finite list of releases that predate protocol reporting but are known to interoperate with lifecycle protocol 1.

Types

This section is empty.

Jump to

Keyboard shortcuts

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