Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixNameBackReference ¶
FixNameBackReference updates name references in resource A that refer to resource B, given that B's name may have changed.
For example, a HorizontalPodAutoscaler (HPA) necessarily refers to a Deployment, the thing that an HPA scales. In this case:
- the HPA instance is the Referrer,
- the Deployment instance is the ReferralTarget.
If the Deployment's name changes, e.g. a prefix is added, then the HPA's reference to the Deployment must be fixed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.