server

package
v0.0.1-alpha4 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 12 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 {
	http.ServeMux
	Config config.Config
}

Server defines the bas construct for the operator

func New

func New(config config.Config) *Server

New creates a new server from a config

func (*Server) Run

func (c *Server) Run(ctx context.Context)

Run starts the server to listen to Kubernetes

Jump to

Keyboard shortcuts

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