Documentation ¶
Overview ¶
Package config serves machine configuration to the machines that request it via talos.config kernel argument.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles machine configuration requests.
func NewHandler ¶
NewHandler creates a new Handler.
func (*Handler) ServeHTTP ¶
func (s *Handler) ServeHTTP(w http.ResponseWriter, req *http.Request)
ServeHTTP serves the machine configuration.
URL pattern: http://ip-of-this-provider:50042/config?&u=${uuid}
Implements http.Handler interface.
Click to show internal directories.
Click to hide internal directories.