servers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DHCPServerBootMenuPromptBIOS      = "PXE"
	DHCPServerBootMenuDescriptionBIOS = "Boot from bofied (BIOS)"
)
View Source
const (
	WebDAVRealmDescription = `` /* 130-byte string literal not displayed */
	HTTPPrefix             = "/public"
	WebDAVPrefix           = "/private"
	GRPCPrefix             = "/grpc"
)
View Source
const (
	UDPServerReadBufSize = 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DHCPServer

type DHCPServer struct {
	UDPServer
}

func NewDHCPServer

func NewDHCPServer(listenAddress string, advertisedIP string, eventHandler *eventing.EventHandler) *DHCPServer

type ExtendedHTTPServer

type ExtendedHTTPServer struct {
	FileServer
	// contains filtered or unexported fields
}

func NewExtendedHTTPServer

func NewExtendedHTTPServer(
	workingDir string,
	listenAddress string,
	oidcValidator *validators.OIDCValidator,
	eventsServerHandler http.Handler,
	eventHandler *eventing.EventHandler,
) *ExtendedHTTPServer

func (*ExtendedHTTPServer) GetHTTPHandler

func (s *ExtendedHTTPServer) GetHTTPHandler() http.Handler

func (*ExtendedHTTPServer) GetWebDAVHandler

func (s *ExtendedHTTPServer) GetWebDAVHandler(prefix string) webdav.Handler

func (*ExtendedHTTPServer) ListenAndServe

func (s *ExtendedHTTPServer) ListenAndServe() error

type FileServer

type FileServer struct {
	// contains filtered or unexported fields
}

type GRPCServer

type GRPCServer struct {
	// contains filtered or unexported fields
}

func NewGRPCServer

func NewGRPCServer(listenAddress string, eventsService *services.EventsService, metadataService *services.MetadataService) (*GRPCServer, *websocketproxy.WebSocketProxyServer)

func (*GRPCServer) ListenAndServe

func (s *GRPCServer) ListenAndServe() error

type ProxyDHCPServer

type ProxyDHCPServer struct {
	UDPServer
}

func NewProxyDHCPServer

func NewProxyDHCPServer(listenAddress string, advertisedIP string, configFileLocation string, eventHandler *eventing.EventHandler, pureConfig bool) *ProxyDHCPServer

type TFTPServer

type TFTPServer struct {
	FileServer
	// contains filtered or unexported fields
}

func NewTFTPServer

func NewTFTPServer(workingDir string, listenAddress string, eventHandler *eventing.EventHandler) *TFTPServer

func (*TFTPServer) ListenAndServe

func (s *TFTPServer) ListenAndServe() error

type UDPServer

type UDPServer struct {
	// contains filtered or unexported fields
}

func (*UDPServer) ListenAndServe

func (s *UDPServer) ListenAndServe() error

Jump to

Keyboard shortcuts

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