Documentation
¶
Index ¶
- func GetFloatQueryParam(r *http.Request, name string, defVal float64) (float64, error)
- func GetIntPathParam(r *http.Request, name string, defVal int) int
- func GetIntQueryParam(r *http.Request, name string, defVal int) int
- func GetStringQueryParam(r *http.Request, name, defVal string) string
- func HandleCantGetNodes(w http.ResponseWriter, shootName string)
- func HandleShootNameMissing(w http.ResponseWriter)
- func InternalError(w http.ResponseWriter, err error)
- func Log(w http.ResponseWriter, msg string)
- func LogNodePodAssignments(w http.ResponseWriter, scenarioName string, ...)
- func Logf(w http.ResponseWriter, format string, a ...any)
- func SetupSSEWriter(w http.ResponseWriter)
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloatQueryParam ¶
func HandleCantGetNodes ¶
func HandleCantGetNodes(w http.ResponseWriter, shootName string)
func HandleShootNameMissing ¶
func HandleShootNameMissing(w http.ResponseWriter)
func InternalError ¶
func InternalError(w http.ResponseWriter, err error)
func Log ¶
func Log(w http.ResponseWriter, msg string)
func LogNodePodAssignments ¶
func LogNodePodAssignments(w http.ResponseWriter, scenarioName string, nodePodAssignments []scalesim.NodePodAssignment)
func SetupSSEWriter ¶
func SetupSSEWriter(w http.ResponseWriter)
Types ¶
Click to show internal directories.
Click to hide internal directories.