mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-10 18:40:55 -04:00
This change moves the NewClientWithOptions call into Builder.getClient. Since getClient is the only way for Builder and its visitors to create a RESTClient, we can reasonably guarantee that the request transforms will be honored. Previously, it was possible for a call to NewFlattenListVisitor to return resource Info objects whose Client field did not honor the request transforms. Signed-off-by: Monis Khan <mkhan@redhat.com> |
||
|---|---|---|
| .. | ||
| BUILD | ||
| builder.go | ||
| builder_test.go | ||
| client.go | ||
| doc.go | ||
| fake.go | ||
| helper.go | ||
| helper_test.go | ||
| interfaces.go | ||
| mapper.go | ||
| result.go | ||
| scheme.go | ||
| selector.go | ||
| visitor.go | ||
| visitor_test.go | ||