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

Struct APIHelper

pkg/dynamic/client.go:31–37  ·  view source on GitHub ↗

APIHelper wraps the client-go dynamic client and exposes a simple interface.

Source from the content-addressed store, hash-verified

29
30// APIHelper wraps the client-go dynamic client and exposes a simple interface.
31type 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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected