-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add fake.NewClientBuilder to build new fake clients
This change allows us to iterate on the fake client without relying on a small set of arguments passed to NewFakeClient/NewFakeClientWithScheme. The new builder accepts a variety of options to initialize the fake client, including the scheme. Because the builder seems more of a long term solution, I've marked the older functions as deprecated in favor of NewClientBuilder. Note: I dropped the "Fake" prefix given that it stutters with the package name. Signed-off-by: Vince Prignano <vincepri@vmware.com>
- Loading branch information
Showing
3 changed files
with
77 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters