server

package
v0.0.0-...-4b28da7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

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) Close

func (s *Server) Close() error

func (*Server) HTTPHandler

func (s *Server) HTTPHandler() http.Handler

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)

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

func (*Server) Start

func (s *Server) Start(addr string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL