APIHelper wraps the client-go dynamic client and exposes a simple interface.
| 29 | |
| 30 | // APIHelper wraps the client-go dynamic client and exposes a simple interface. |
| 31 | type APIHelper struct { |
| 32 | Client dynamic.Interface |
| 33 | DiscoveryClient discovery.DiscoveryInterface |
| 34 | |
| 35 | Mapper mapper |
| 36 | Accessor MetadataAccessor |
| 37 | } |
| 38 | |
| 39 | // NewAPIHelperFromRESTConfig creates a new APIHelper with default objects |
| 40 | // from client-go. |
nothing calls this directly
no outgoing calls
no test coverage detected