SonobuoyKubeAPIClient is the interface Sonobuoy uses to communicate with a kube-apiserver.
| 248 | |
| 249 | // SonobuoyKubeAPIClient is the interface Sonobuoy uses to communicate with a kube-apiserver. |
| 250 | type SonobuoyKubeAPIClient interface { |
| 251 | CreateObject(*unstructured.Unstructured) (*unstructured.Unstructured, error) |
| 252 | Name(*unstructured.Unstructured) (string, error) |
| 253 | Namespace(*unstructured.Unstructured) (string, error) |
| 254 | ResourceVersion(*unstructured.Unstructured) (string, error) |
| 255 | } |
| 256 | |
| 257 | // SonobuoyClient is a high-level interface to Sonobuoy operations. |
| 258 | type SonobuoyClient struct { |
no outgoing calls
no test coverage detected