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

Method VisitReference

pkg/explain/fields_printer.go:74–76  ·  view source on GitHub ↗

VisitReference prints a Reference type. It is just a passthrough.

(r proto.Reference)

Source from the content-addressed store, hash-verified

72
73// VisitReference prints a Reference type. It is just a passthrough.
74func (f *regularFieldsPrinter) VisitReference(r proto.Reference) {
75 r.SubSchema().Accept(f)
76}
77
78// PrintFields will write the types from schema.
79func (f *regularFieldsPrinter) PrintFields(schema proto.Schema) error {

Callers

nothing calls this directly

Calls 1

AcceptMethod · 0.80

Tested by

no test coverage detected