Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCappCreation ¶
func HandleCappCreation(ctx context.Context, k8sClient client.Client, capp cappv1alpha1.Capp, logger logr.Logger) error
HandleCappCreation creates the initial CappRevision.
func HandleCappUpdate ¶
func HandleCappUpdate(ctx context.Context, k8sClient client.Client, capp cappv1alpha1.Capp, logger logr.Logger, cappRevisions []cappv1alpha1.CappRevision) error
HandleCappUpdate manages the flow of CappRevision when a Capp is updated. It ensures that a CappRevision is created for every update. It also maintains a limit of only revisionsToKeep CappRevisions in the same namespace as the Capp.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.