Skip to content

Commit

Permalink
Use WithObj
Browse files Browse the repository at this point in the history
  • Loading branch information
sunglim authored Jun 29, 2023
1 parent 1368469 commit 16c9974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/fake/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Package fake provides a fake client for testing.
A fake client is backed by its simple object store indexed by GroupVersionResource.
You can create a fake client with optional objects.
client := NewClientBuilder().WithScheme(scheme).Build()
client := NewClientBuilder().WithScheme(scheme).WithObj(initObjs...).Build()
You can invoke the methods defined in the Client interface.
Expand Down

0 comments on commit 16c9974

Please sign in to comment.