Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
metlos committed Nov 22, 2024
1 parent e2b0d4e commit 4a97b93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/test/space/space_assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,12 @@ func ProvisionedNamespaces(provisionedNamespaces []toolchainv1alpha1.SpaceNamesp

// condition predicates are done generically

func Conditions(pred test.Predicate[[]toolchainv1alpha1.Condition]) test.Predicate[*toolchainv1alpha1.Space] {
return test.BridgeToConditions(func(s *toolchainv1alpha1.Space) *[]toolchainv1alpha1.Condition {
return &s.Status.Conditions
}, pred)
}

// impls

type (
Expand Down

0 comments on commit 4a97b93

Please sign in to comment.