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

Function NewDataValuesFile

pkg/cmd/template/data_values_file.go:15–17  ·  view source on GitHub ↗
(doc *yamlmeta.Document)

Source from the content-addressed store, hash-verified

13}
14
15func NewDataValuesFile(doc *yamlmeta.Document) DataValuesFile {
16 return DataValuesFile{doc.DeepCopy()}
17}
18
19func (f DataValuesFile) AsOverlay() (*yamlmeta.Document, error) {
20 doc := f.doc.DeepCopy()

Callers 1

fileMethod · 0.85

Calls 1

DeepCopyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…