You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/capiutils/predicates.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,11 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
+
// Package capiutils contains utility functions for working with Cluster API resources.
18
+
// These have mostly been inlined as part of the CAPI 1.10 -> 1.11 upgrade,
19
+
// and should be removed when we switch to reading CAPI v1beta2 objects.
20
+
//
21
+
// Deprecated: This package is deprecated and is going to be removed when support for v1beta1 will be dropped.
17
22
package capiutils
18
23
19
24
import (
@@ -33,7 +38,6 @@ import (
33
38
34
39
// ClusterUpdateInfraReady returns a predicate that returns true for an update event when a cluster has Status.InfrastructureReady changed from false to true
35
40
// it also returns true if the resource provided is not a Cluster to allow for use with controller-runtime NewControllerManagedBy.
36
-
// Deprecated: replace with predicates.ClusterUpdateInfraReady when we move to v1beta2
0 commit comments