Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UpgradePatches = []VersionPatches{ { Version: "v3.24.0", Patches: []func(){ v3_24_0.HashPwdForOldVersion, }, }, { Version: "v3.32.0", Patches: []func(){ v3_32_0.UpdateAuthnForOldVersion, }, }, { Version: "v3.41.0", Patches: []func(){ v3_41_0.GrantAdminPermissions, }, }, { Version: "v3.46.0", Patches: []func(){ v3_46_0.ConvertLegacyRoles, }, }, }
Functions ¶
This section is empty.
Types ¶
type VersionPatches ¶
type VersionPatches struct {
// Version means if the system is upgraded from Version or an earlier one
// to the current version, all patches in Patches will be executed.
Version string
Patches []func()
}
Click to show internal directories.
Click to hide internal directories.