MCPcopy
hub / github.com/kubesphere/kubekey / Source

Interface Source

pkg/variable/source/source.go:30–33  ·  view source on GitHub ↗

Source is the source from which config is loaded.

Source from the content-addressed store, hash-verified

28
29// Source is the source from which config is loaded.
30type Source interface {
31 Read() (map[string]map[string]any, error)
32 Write(data map[string]any, host string) error
33}

Callers 9

NewFunction · 0.65
PutFileMethod · 0.65
ExecuteCommandMethod · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
syncSourceMethod · 0.65

Implementers 2

fileSourcepkg/variable/source/file.go
memorySourcepkg/variable/source/memory.go

Calls

no outgoing calls

Tested by

no test coverage detected