Documentation ¶
Index ¶
- type Server
- func (s *Server) Close() error
- func (s *Server) HTTPHandler() http.Handler
- func (s *Server) HandleBootbin(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleBootstrapIPXE(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleFlatcarInitrd(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleFlatcarKernel(w http.ResponseWriter, r *http.Request)
- func (s *Server) HandleIPXE(w http.ResponseWriter, r *http.Request)
- func (s *Server) Shutdown(ctx context.Context) error
- func (s *Server) Start(addr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Logger *slog.Logger AssetsPath string Flatcar *flatcar.Fetcher Storage storage.Storage // contains filtered or unexported fields }
func (*Server) HTTPHandler ¶
func (*Server) HandleBootbin ¶
func (s *Server) HandleBootbin(w http.ResponseWriter, r *http.Request)
func (*Server) HandleBootstrapIPXE ¶
func (s *Server) HandleBootstrapIPXE(w http.ResponseWriter, r *http.Request)
func (*Server) HandleFlatcarInitrd ¶
func (s *Server) HandleFlatcarInitrd(w http.ResponseWriter, r *http.Request)
func (*Server) HandleFlatcarKernel ¶
func (s *Server) HandleFlatcarKernel(w http.ResponseWriter, r *http.Request)
func (*Server) HandleIPXE ¶
func (s *Server) HandleIPXE(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.