breakability

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HighRiskInstruction   = "" /* 160-byte string literal not displayed */
	MediumRiskInstruction = "" /* 170-byte string literal not displayed */
	LowRiskInstruction    = "Non-breaking change, proceed with the upgrade."
)

Variables

This section is empty.

Functions

func ToAPIUpgrades

func ToAPIUpgrades(upgrades []PackageUpgrade) []breakabilityapi.Upgrade

Types

type BreakabilityResponse

type BreakabilityResponse struct {
	RiskLevel    string `json:"risk_level"`
	Assessment   string `json:"assessment"`
	Instructions string `json:"instructions"`
	PublicId     string `json:"-"`
}

type PackageUpgrade

type PackageUpgrade struct {
	Name        string `json:"name"`
	FromVersion string `json:"from_version"`
	ToVersion   string `json:"to_version"`
}

Jump to

Keyboard shortcuts

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