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

Method BootSpec

pixiecore/pixiecore.go:125–125  ·  view source on GitHub ↗

The given MAC address wants to know what it should boot. What should Pixiecore make it boot? Returning an error or a nil BootSpec will make Pixiecore ignore the client machine's request.

(m Machine)

Source from the content-addressed store, hash-verified

123 // Returning an error or a nil BootSpec will make Pixiecore ignore
124 // the client machine's request.
125 BootSpec(m Machine) (*Spec, error)
126 // Get the bytes corresponding to an ID given in Spec.
127 //
128 // Additionally returns the total number of bytes in the

Callers 4

TestStaticBooterFunction · 0.65
TestAPIBooterFunction · 0.65
serveDHCPMethod · 0.65
handleIpxeMethod · 0.65

Implementers 2

staticBooterpixiecore/booters.go
apibooterpixiecore/booters.go

Calls

no outgoing calls

Tested by 2

TestStaticBooterFunction · 0.52
TestAPIBooterFunction · 0.52