APIBootConfiguration provides an interface to retrieve Boot File URL from an external server based on client ID and architecture type
| 54 | // APIBootConfiguration provides an interface to retrieve Boot File URL from an external server based on |
| 55 | // client ID and architecture type |
| 56 | type APIBootConfiguration struct { |
| 57 | Client *http.Client |
| 58 | URLPrefix string |
| 59 | RecursiveDNS []net.IP |
| 60 | Preference []byte |
| 61 | UsePreference bool |
| 62 | } |
| 63 | |
| 64 | // MakeAPIBootConfiguration creates a new APIBootConfiguration initialized with provided values |
| 65 | func MakeAPIBootConfiguration(url string, timeout time.Duration, preference uint8, usePreference bool, |
nothing calls this directly
no outgoing calls
no test coverage detected