GetBootURL returns Boot File URL, see RFC 5970
(id []byte, clientArchType uint16)
| 35 | |
| 36 | // GetBootURL returns Boot File URL, see RFC 5970 |
| 37 | func (bc *StaticBootConfiguration) GetBootURL(id []byte, clientArchType uint16) ([]byte, error) { |
| 38 | if clientArchType == x86HTTPClient { |
| 39 | return bc.HTTPBootURL, nil |
| 40 | } |
| 41 | return bc.IPxeBootURL, nil |
| 42 | } |
| 43 | |
| 44 | // GetPreference returns server's Preference, see RFC 3315 |
| 45 | func (bc *StaticBootConfiguration) GetPreference() []byte { |
nothing calls this directly
no outgoing calls
no test coverage detected