Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDefaultRegion ¶
func Calculate ¶
Calculate is a handler that sets the defaults for an AppInstance to its status if and only if its generation is different from its observedGeneration.
This is necessary because querying for defaults will result in all running AppInstances using that default to redeploy when a default changes. By calculating the defaults only when the generation changes, we can ensure that updated defaults are only applied when an AppInstance is updated directly.
Types ¶
Click to show internal directories.
Click to hide internal directories.