MCPcopy
hub / github.com/kubernetes/kubectl / VisitMap

Method VisitMap

pkg/explain/fields_printer.go:64–66  ·  view source on GitHub ↗

VisitMap prints a Map type. It is just a passthrough.

(m *proto.Map)

Source from the content-addressed store, hash-verified

62
63// VisitMap prints a Map type. It is just a passthrough.
64func (f *regularFieldsPrinter) VisitMap(m *proto.Map) {
65 m.SubType.Accept(f)
66}
67
68// VisitPrimitive prints a Primitive type. It stops the recursion.
69func (f *regularFieldsPrinter) VisitPrimitive(p *proto.Primitive) {

Callers

nothing calls this directly

Calls 1

AcceptMethod · 0.80

Tested by

no test coverage detected