server

package
v0.8.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(mux *http.ServeMux, logger logr.Logger, config *rest.Config, address string, getBindPort func(ctx context.Context) (int32, error)) error

Types

type Controller

type Controller struct {
	GetBindPort   func(ctx context.Context) (int32, error)
	TunnelAddress string
	Clientset     client.Interface
	Logger        logr.Logger
	// contains filtered or unexported fields
}

func (*Controller) Create

func (c *Controller) Create(rw http.ResponseWriter, r *http.Request)

Create POST /hubs/{hub_name}

func (*Controller) Head

func (c *Controller) Head(rw http.ResponseWriter, r *http.Request)

Head HEAD /hubs/{hub_name}

func (*Controller) ServeHTTP

func (c *Controller) ServeHTTP(rw http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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