File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -923,6 +923,12 @@ type HelmRelease struct {
923
923
Status HelmReleaseStatus `json:"status,omitempty"`
924
924
}
925
925
926
+ // GetRequeueAfter returns the duration after which the HelmRelease
927
+ // must be reconciled again.
928
+ func (in HelmRelease ) GetRequeueAfter () time.Duration {
929
+ return in .Spec .Interval .Duration
930
+ }
931
+
926
932
// GetValues unmarshals the raw values to a map[string]interface{} and returns
927
933
// the result.
928
934
func (in HelmRelease ) GetValues () map [string ]interface {} {
@@ -989,7 +995,18 @@ func (in HelmRelease) GetDependsOn() []meta.NamespacedObjectReference {
989
995
return in .Spec .DependsOn
990
996
}
991
997
992
- // GetStatusConditions returns a pointer to the Status.Conditions slice
998
+ // GetConditions returns the status conditions of the object.
999
+ func (in HelmRelease ) GetConditions () []metav1.Condition {
1000
+ return in .Status .Conditions
1001
+ }
1002
+
1003
+ // SetConditions sets the status conditions on the object.
1004
+ func (in * HelmRelease ) SetConditions (conditions []metav1.Condition ) {
1005
+ in .Status .Conditions = conditions
1006
+ }
1007
+
1008
+ // GetStatusConditions returns a pointer to the Status.Conditions slice.
1009
+ // Deprecated: use GetConditions instead.
993
1010
func (in * HelmRelease ) GetStatusConditions () * []metav1.Condition {
994
1011
return & in .Status .Conditions
995
1012
}
You can’t perform that action at this time.
0 commit comments