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

Struct APIBootConfiguration

pixiecore/boot_configuration.go:56–62  ·  view source on GitHub ↗

APIBootConfiguration provides an interface to retrieve Boot File URL from an external server based on client ID and architecture type

Source from the content-addressed store, hash-verified

54// APIBootConfiguration provides an interface to retrieve Boot File URL from an external server based on
55// client ID and architecture type
56type 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
65func MakeAPIBootConfiguration(url string, timeout time.Duration, preference uint8, usePreference bool,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected