Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sync ¶
func Sync(ctx context.Context, reader client.Reader, writer client.Client, dc dependency.Container, logger *log.Logger) error
Sync ensures the package objects of the old module stack for the running Deckhouse version and the dirs the image ships. The repositories go first, so the version stubs find them in place. A source naming no valid version (no module source, an unparsable release version, an illegal object name, an unreadable module dir, broken or missing schema files) is skipped with a warning; an API failure stops the sync. An embedded module skipped here reconciles nowhere, since the Module reconciler resolves the same version.
Types ¶
This section is empty.