serve

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RequestHandler added in v0.2.0

type RequestHandler struct {
}

RequestHandler implement http request handlers

func NewHandler added in v0.2.0

func NewHandler() *RequestHandler

NewHandler returns new instance of RequestHandler

func (*RequestHandler) HandleConvert added in v0.2.0

func (rh *RequestHandler) HandleConvert(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

HandleConvert parses http request to get K8s resource specs and return generated Go code for valid resource specs

Jump to

Keyboard shortcuts

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