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

Struct testMetadataAccessor

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

Source from the content-addressed store, hash-verified

35}
36
37type testMetadataAccessor struct{}
38
39func (t *testMetadataAccessor) Namespace(obj runtime.Object) (string, error) {
40 if obj.GetObjectKind().GroupVersionKind().Kind == "fail-namespace" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected