standalone

package
v2.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve() error

Serve launches a standalone server that does not depend on the Kubernetes API Server.

Types

type Loop

type Loop func() error

Loop will contain all the calls from the server that we'll be listening on.

type Server

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

func (*Server) Handle

func (s *Server) Handle(path string, h http.Handler)

Handle registers an http handler with the server at the provided path.

func (*Server) Listeners

func (s *Server) Listeners() ([]Loop, error)

Listeners returns functions that listen and serve connections.

Jump to

Keyboard shortcuts

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