usde

package
v0.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserStrategy added in v0.7.0

func GetUserStrategy(ctx context.Context, namespace, resourceKind string) (config.USDEUserStrategy, error)

func ResourceMetadataHasDataLossRisk added in v0.24.4

func ResourceMetadataHasDataLossRisk(ctx context.Context, newDef, existingDef *unstructured.Unstructured) bool

func ResourceNeedsUpdating added in v0.7.0

ResourceNeedsUpdating calculates the upgrade strategy to use during the resource reconciliation process based on configuration and user preference (see design doc for details). It returns the following values: - bool: Indicates whether the resource needs an update. - apiv1.UpgradeStrategy: The most conservative upgrade strategy to be used for updating the resource. - bool: Indicates if the controller managed resources should be recreated (delete-recreate). - unstructured.UnstructuredList: Resources that require addition - unstructured.UnstructuredList: Resources that require modification - unstructured.UnstructuredList: Resources that require deletion - error: Any error encountered during the function execution.

func RidersNeedUpdating added in v0.22.0

return required upgrade strategy, list of additions, modifications, deletions required

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL