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

Struct DocumentType

pkg/schema/type.go:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43var _ Type = (*NullType)(nil)
44
45type DocumentType struct {
46 Source *yamlmeta.Document
47 ValueType Type // typically one of: MapType, ArrayType, ScalarType
48 Position *filepos.Position
49 defaultValue interface{}
50 validations *validations.NodeValidation
51}
52
53type MapType struct {
54 Items []*MapItemType

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected