Documentation ¶
Index ¶
- func CreatePreflight(w http.ResponseWriter, r *http.Request)
- func CreateSupportBundle(w http.ResponseWriter, r *http.Request)
- func Healthz(w http.ResponseWriter, r *http.Request)
- func JSON(w http.ResponseWriter, code int, payload interface{})
- func Serve(w http.ResponseWriter, r *http.Request)
- func UpdatePreflight(w http.ResponseWriter, r *http.Request)
- func UpdateSupportBundle(w http.ResponseWriter, r *http.Request)
- func YAML(w http.ResponseWriter, code int, payload interface{})
- type CreatePreflightResponse
- type CreateSupportBundleResponse
- type Handlers
- type HealthzResponse
- type PreflightRequest
- type SupportBundleRequest
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 JSON ¶
func JSON(w http.ResponseWriter, code int, payload interface{})
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 HealthzResponse ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.