handlers

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePreflight added in v0.0.2

func CreatePreflight(w http.ResponseWriter, r *http.Request)

func CreateSupportBundle added in v0.0.2

func CreateSupportBundle(w http.ResponseWriter, r *http.Request)

func Healthz

func Healthz(w http.ResponseWriter, r *http.Request)

func JSON

func JSON(w http.ResponseWriter, code int, payload interface{})

func Serve added in v0.0.2

func Serve(w http.ResponseWriter, r *http.Request)

func UpdatePreflight added in v0.0.2

func UpdatePreflight(w http.ResponseWriter, r *http.Request)

func UpdateSupportBundle added in v0.0.2

func UpdateSupportBundle(w http.ResponseWriter, r *http.Request)

func YAML added in v0.0.2

func YAML(w http.ResponseWriter, code int, payload interface{})

Types

type CreatePreflightResponse added in v0.0.2

type CreatePreflightResponse struct {
	ID string `json:"id"`
}

type CreateSupportBundleResponse added in v0.0.2

type CreateSupportBundleResponse struct {
	ID string `json:"id"`
}

type Handlers

type Handlers struct {
}

type HealthzResponse

type HealthzResponse struct {
	Version string `json:"version"`
	GitSHA  string `json:"gitSha"`
}

type PreflightRequest added in v0.0.2

type PreflightRequest struct {
	Spec []byte `json:"spec"`
}

type SupportBundleRequest added in v0.0.2

type SupportBundleRequest struct {
	Spec []byte `json:"spec"`
}

Jump to

Keyboard shortcuts

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