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 SelectAssessment ¶ added in v1.14.0
func SelectAssessment(body *breakabilityapi.BreakabilityAssessmentsResponseBody, upgrade PackageUpgrade) *breakabilityapi.BreakabilityResponseAttributes
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:"-"`
}
func BuildBreakabilityResponse ¶
func BuildBreakabilityResponse(attrs *breakabilityapi.BreakabilityResponseAttributes) *BreakabilityResponse
type PackageUpgrade ¶
Click to show internal directories.
Click to hide internal directories.