MCPcopy
hub / github.com/carvel-dev/ytt / SetType

Function SetType

pkg/schema/yamlmeta.go:20–22  ·  view source on GitHub ↗

SetType attaches schema metadata to `n`, later retrieved via GetType().

(n yamlmeta.Node, t Type)

Source from the content-addressed store, hash-verified

18
19// SetType attaches schema metadata to `n`, later retrieved via GetType().
20func SetType(n yamlmeta.Node, t Type) {
21 n.SetMeta(schemaType, t)
22}

Callers 5

AssignTypeToMethod · 0.85
AssignTypeToMethod · 0.85
AssignTypeToMethod · 0.85
AssignTypeToMethod · 0.85
AssignTypeToMethod · 0.85

Calls 1

SetMetaMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…