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

Interface Source

pkg/files/sources.go:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type Source interface {
17 Description() string
18 RelativePath() (string, error)
19 Bytes() ([]byte, error)
20}
21
22var _ []Source = []Source{BytesSource{}, StdinSource{},
23 LocalSource{}, HTTPSource{}, &CachedSource{}}

Callers 21

DescriptionMethod · 0.65
DescriptionMethod · 0.65
EvalPlainYAMLMethod · 0.65
fileMethod · 0.65
WriteMethod · 0.65
NewSortedFilesFromPathsFunction · 0.65
NewFileFromSourceFunction · 0.65
RelativePathMethod · 0.65
collectDataValuesDocsMethod · 0.65
extractDataValueDocsMethod · 0.65

Implementers 6

Filepkg/files/file.go
BytesSourcepkg/files/sources.go
StdinSourcepkg/files/sources.go
LocalSourcepkg/files/sources.go
HTTPSourcepkg/files/sources.go
CachedSourcepkg/files/sources.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…