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

Method ReadBootFile

pixiecore/http_test.go:31–33  ·  view source on GitHub ↗
(id ID)

Source from the content-addressed store, hash-verified

29
30func (b booterFunc) BootSpec(m Machine) (*Spec, error) { return b(m) }
31func (b booterFunc) ReadBootFile(id ID) (io.ReadCloser, int64, error) {
32 return nil, -1, errors.New("no")
33}
34func (b booterFunc) WriteBootFile(id ID, r io.Reader) error { return errors.New("no") }
35
36func TestIpxe(t *testing.T) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected