Documentation ¶
Index ¶
Constants ¶
View Source
const ( DatastoreIntro = `` /* 408-byte string literal not displayed */ Exiting = "Exiting..." ReportHelp = ` ` + FileConvertedNames + ` This contains a mapping between the v1 resource name and the v3 resource name. This will contain an entry for every v1 resource that was migrated. ` + FileNameClashes + ` This contains a list of resources that after conversion to v3 have names that are identical to other converted resources. This may occur because name formats in Calico v3 are in some cases more restrictive than previous versions. When the migration code modifies a name an additional short qualifying suffix is appended. In rare circumstances the converted name (with the additional qualifier) may clash with other resources of the same kind. ` + FileConversionErrors + ` This contains a list of all of the errors converting the v1 data to v3 format. There may be multiple conversion errors for a single resource. Provided the v1 format data is correct, conversion errors should be rare. ` + FileValidationErrors + ` This contains a list of errors that occurred when validating the v3 resources that were otherwise successfully converted from v1. These errors may indicate an issue such as a migrated name that is too long and would need resolving by deleting/re-adding the resource with a shorter name before attempting the upgrade. Or these errors may indicate an issue with the migration script itself. If you believe the script is at fault, it is recommended to raise a GitHub issue at https://github.com/projectcalico/calico/issues and await a patch before continuing with the upgrade. ` )
View Source
const ( DefaultConfigPathV1 = clients.DefaultConfigPathV1 DefaultConfigPathV3 = clients.DefaultConfigPathV3 FileConvertedNames = "convertednames" FileNameClashes = "nameclashes" FileConversionErrors = "conversionerrors" FileValidationErrors = "validationerrors" )
Variables ¶
View Source
var AllReportFiles = []string{ FileConvertedNames, FileNameClashes, FileConversionErrors, FileValidationErrors, }
Functions ¶
func GetDefaultOutputDir ¶
func GetDefaultOutputDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.