server

package
v0.0.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

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

HTTPServer handles event POST requests

func NewHTTPServer

func NewHTTPServer(port string, logger logr.Logger, kubeClient client.Client) *HTTPServer

NewHTTPServer returns an HTTP server

func (*HTTPServer) ListenAndServe

func (s *HTTPServer) ListenAndServe(stopCh <-chan struct{})

ListenAndServe starts the HTTP server on the specified port

Jump to

Keyboard shortcuts

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