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

Method BootSpec

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

Source from the content-addressed store, hash-verified

28type booterFunc func(Machine) (*Spec, error)
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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected