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

Interface MarshalableResult

test/filetests/filetests.go:29–31  ·  view source on GitHub ↗

MarshalableResult is a template evaluation result that can be (likely) marshaled into a slice of bytes.

Source from the content-addressed store, hash-verified

27
28// MarshalableResult is a template evaluation result that can be (likely) marshaled into a slice of bytes.
29type MarshalableResult interface {
30 AsBytes() ([]byte, error)
31}
32
33// EvaluateTemplate is the processing desired from a source template to the final result.
34type EvaluateTemplate func(src string) (MarshalableResult, *TestErr)

Callers 4

EvalMethod · 0.65
assertSucceedsDocSetFunction · 0.65
asStringMethod · 0.65
yttFunction · 0.65

Implementers 1

DocumentSetpkg/yamlmeta/ast.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…