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

Interface MetadataAccessor

pkg/dynamic/client.go:19–23  ·  view source on GitHub ↗

A scoped down meta.MetadataAccessor

Source from the content-addressed store, hash-verified

17
18// A scoped down meta.MetadataAccessor
19type MetadataAccessor interface {
20 Namespace(runtime.Object) (string, error)
21 Name(runtime.Object) (string, error)
22 ResourceVersion(runtime.Object) (string, error)
23}
24
25// A scoped down meta.RESTMapper
26type mapper interface {

Callers 11

QueryResourcesFunction · 0.65
CreateObjectMethod · 0.65
NamespaceMethod · 0.65
findPluginsFunction · 0.65
createTestRegistryConfigFunction · 0.65
DirToTarballFunction · 0.65
getNodeEndpointFunction · 0.65
ReadPodHealthFunction · 0.65
CreateObjectMethod · 0.65
NameMethod · 0.65
getNamespaceFunction · 0.65

Implementers 2

testMetadataAccessorpkg/dynamic/client_test.go
APIHelperpkg/dynamic/client.go

Calls

no outgoing calls

Tested by

no test coverage detected