MCPcopy
hub / github.com/vmware-tanzu/sonobuoy / SonobuoyKubeAPIClient

Interface SonobuoyKubeAPIClient

pkg/client/interfaces.go:250–255  ·  view source on GitHub ↗

SonobuoyKubeAPIClient is the interface Sonobuoy uses to communicate with a kube-apiserver.

Source from the content-addressed store, hash-verified

248
249// SonobuoyKubeAPIClient is the interface Sonobuoy uses to communicate with a kube-apiserver.
250type 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.
258type SonobuoyClient struct {

Callers 9

RunManifestMethod · 0.65
RetrieveResultsMethod · 0.65
RunManifestMethod · 0.65
fileInfoToReaderFunction · 0.65
fileInfoToReaderFunction · 0.65
RetrieveResultsMethod · 0.65
RunManifestMethod · 0.65
RunManifestMethod · 0.65

Implementers 1

APIHelperpkg/dynamic/client.go

Calls

no outgoing calls

Tested by

no test coverage detected