Documentation
¶
Overview ¶
Package checkupgrade provides functionality to compare a gen.yaml configuration against the defaults for new SDKs, identifying which settings differ from the recommended defaults.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGenYaml ¶
FindGenYaml locates the gen.yaml file in a repository
func FindTargets ¶
FindTargets returns the language targets configured in a gen.yaml
Types ¶
type ConfigDifference ¶
ConfigDifference represents a single configuration value that differs from the newSDK default
type Options ¶
type Options struct {
IncludeMatches bool // Include matching values in results
}
Options configures the check-upgrade behavior
type Result ¶
type Result struct {
GenYamlPath string
Generation *SectionResult
Languages map[string]*SectionResult
}
Result contains the full comparison results
type SectionResult ¶
type SectionResult struct {
Name string
Differences []ConfigDifference
Matches []ConfigDifference // Only populated when IncludeMatches is true
}
SectionResult contains the comparison results for a configuration section
Click to show internal directories.
Click to hide internal directories.