Documentation ¶
Overview ¶
This package is for maintaining the link between `HelmRelease` resources and the Helm releases to which they correspond. Specifically,
updating the `HelmRelease` status based on the progress of syncing, and the state of the associated Helm release; and,
attributing each resource in a Helm release (under our control) to the associated `HelmRelease`.
Index ¶
- func UpdateConditions(client v1beta1client.HelmReleaseInterface, fhr *v1beta1.HelmRelease, ...) error
- func UpdateConditionsPatch(status *v1beta1.HelmReleaseStatus, updates ...v1beta1.HelmReleaseCondition) (types.PatchType, interface{})
- func UpdateReleaseStatus(client v1beta1client.HelmReleaseInterface, fhr v1beta1.HelmRelease, ...) error
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateConditions ¶
func UpdateConditions(client v1beta1client.HelmReleaseInterface, fhr *v1beta1.HelmRelease, updates ...v1beta1.HelmReleaseCondition) error
UpdateConditions applies the updates to the HelmRelease given, and patches the resource in the cluster.
func UpdateConditionsPatch ¶
func UpdateConditionsPatch(status *v1beta1.HelmReleaseStatus, updates ...v1beta1.HelmReleaseCondition) (types.PatchType, interface{})
We can't rely on having UpdateStatus, or strategic merge patching for custom resources. So we have to create an object which represents the merge path or JSON patch to apply.
func UpdateReleaseStatus ¶
func UpdateReleaseStatus(client v1beta1client.HelmReleaseInterface, fhr v1beta1.HelmRelease, releaseName, releaseStatus string) error
Types ¶
Click to show internal directories.
Click to hide internal directories.