authorizingSubResourceClient implements libClient.SubResourceClient.
| 556 | |
| 557 | // authorizingSubResourceClient implements libClient.SubResourceClient. |
| 558 | type authorizingSubResourceClient struct { |
| 559 | subResourceType string |
| 560 | |
| 561 | internalClient libClient.WithWatch |
| 562 | |
| 563 | getAuthorizedClientFn func( |
| 564 | ctx context.Context, |
| 565 | internalClient libClient.WithWatch, |
| 566 | verb string, |
| 567 | gvr schema.GroupVersionResource, |
| 568 | subresource string, |
| 569 | key libClient.ObjectKey, |
| 570 | ) (libClient.WithWatch, error) |
| 571 | } |
| 572 | |
| 573 | func (a *authorizingSubResourceClient) Get( |
| 574 | ctx context.Context, |
nothing calls this directly
no outgoing calls
no test coverage detected