Documentation ¶
Overview ¶
Package deprecated handles package deprecations and migrations
Package deprecated handles package deprecations and migrations ¶
Package deprecated handles package deprecations and migrations
Index ¶
Constants ¶
View Source
const ( // This should be updated when a breaking change is introduced to the Jackal package structure. See: https://github.com/racer159/jackal/releases/tag/v0.27.0 LastNonBreakingVersion = "v0.27.0" ScriptsToActionsMigrated = "scripts-to-actions" PluralizeSetVariable = "pluralize-set-variable" )
List of migrations tracked in the jackal.yaml build data.
Variables ¶
This section is empty.
Functions ¶
func MigrateComponent ¶
func MigrateComponent(build types.JackalBuildData, component types.JackalComponent) (migratedComponent types.JackalComponent, warnings []string)
MigrateComponent runs all migrations on a component. Build should be empty on package create, but include just in case someone copied a jackal.yaml from a jackal package.
func PrintBreakingChanges ¶
func PrintBreakingChanges(deployedJackalVersion string)
PrintBreakingChanges prints the breaking changes between the provided version and the current CLIVersion
Types ¶
type BreakingChange ¶
type BreakingChange struct {
// contains filtered or unexported fields
}
BreakingChange represents a breaking change that happened on a specified Jackal version
Click to show internal directories.
Click to hide internal directories.