client implements Client.
| 142 | |
| 143 | // client implements Client. |
| 144 | type client struct { |
| 145 | internalClient libClient.WithWatch |
| 146 | opts ClientOptions |
| 147 | |
| 148 | getAuthorizedClientFn func( |
| 149 | ctx context.Context, |
| 150 | internalClient libClient.WithWatch, |
| 151 | verb string, |
| 152 | gvr schema.GroupVersionResource, |
| 153 | subresource string, |
| 154 | key libClient.ObjectKey, |
| 155 | ) (libClient.WithWatch, error) |
| 156 | } |
| 157 | |
| 158 | // NewClient returns an implementation of the Client interface. The interface |
| 159 | // and implementation offer two key advantages: |
nothing calls this directly
no outgoing calls
no test coverage detected