Skip to content

Commit

Permalink
Add missing methods to mock
Browse files Browse the repository at this point in the history
  • Loading branch information
lblackstone committed Sep 22, 2022
1 parent f8c409b commit 4c6b6ef
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions provider/pkg/await/await_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,13 @@ func (mri *mockResourceInterface) Patch(
) (*unstructured.Unstructured, error) {
panic("Patch not implemented")
}

func (mri *mockResourceInterface) Apply(ctx context.Context, name string, obj *unstructured.Unstructured, options metav1.ApplyOptions, subresources ...string,
) (*unstructured.Unstructured, error) {
panic("Apply not implemented")
}

func (mri *mockResourceInterface) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options metav1.ApplyOptions,
) (*unstructured.Unstructured, error) {
panic("ApplyStatus not implemented")
}

0 comments on commit 4c6b6ef

Please sign in to comment.