MCPcopy Create free account
hub / github.com/danderson/netboot / BootSpec

Method BootSpec

pixiecore/http_test.go:155–155  ·  view source on GitHub ↗
(m Machine)

Source from the content-addressed store, hash-verified

153type readBootFile string
154
155func (b readBootFile) BootSpec(m Machine) (*Spec, error) { return nil, nil }
156func (b readBootFile) ReadBootFile(id ID) (io.ReadCloser, int64, error) {
157 d := fmt.Sprintf("%s %s", id, b)
158 return ioutil.NopCloser(bytes.NewBuffer([]byte(d))), int64(len(d)), nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected