Skip to content

Commit

Permalink
Fix kclient interface
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed Sep 27, 2021
1 parent 7e47308 commit 64b9f60
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kclient/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ type ClientInterface interface {
GetCustomResource(customResource string) (*olm.CRDDescription, error)
GetCSVWithCR(name string) (*olm.ClusterServiceVersion, error)
GetResourceSpecDefinition(group, version, kind string) (*spec.Schema, error)
GetCRDSpec(cr *olm.CRDDescription, resourceType string, resourceName string) (*spec.Schema, error)

// pods.go
WaitAndGetPodWithEvents(selector string, desiredPhase corev1.PodPhase, waitMessage string) (*corev1.Pod, error)
Expand Down
15 changes: 15 additions & 0 deletions pkg/kclient/mock_Client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 64b9f60

Please sign in to comment.