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

Struct project

pkg/project/project.go:76–83  ·  view source on GitHub ↗

project implements the Project interface using an fs.FS

Source from the content-addressed store, hash-verified

74
75// project implements the Project interface using an fs.FS
76type project struct {
77 fs.FS
78 basePlaybook string
79 *kkprojectv1.Playbook
80
81 config map[string]any
82 playbookGraph *utils.KahnGraph
83}
84
85// ReadFile reads and returns the contents of the file at the given path
86func (f *project) ReadFile(path string) ([]byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected