controllers

package
v0.0.0-...-e28fca9 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(w http.ResponseWriter, format string, args ...interface{})

func FileServer

func FileServer(dir string) http.HandlerFunc

func InternalServerError

func InternalServerError(w http.ResponseWriter, format string, args ...interface{})

func K8sServerVersion

func K8sServerVersion() http.HandlerFunc

K8sServerVersion retreive k8s *version.Info

func MethodNotAllowed

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

func NotImplemented

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

func Ping

func Ping() http.HandlerFunc

func PodsDelete

func PodsDelete() http.HandlerFunc

func PodsList

func PodsList() http.HandlerFunc

func Pong

func Pong(w http.ResponseWriter, r *http.Request) error

func RequestProcessed

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

func RespondJSON

func RespondJSON(w http.ResponseWriter, responseObject interface{}) error

func RespondWithJSON

func RespondWithJSON(w http.ResponseWriter, statusCode int, responseObject interface{}) error

func SIOConnect

func SIOConnect() onConnectFunc

func SIODisconnect

func SIODisconnect() onDisonnectFunc

func SIONamespaceConnect

func SIONamespaceConnect(c *neffos.NSConn, msg neffos.Message) error

func SIONamespaceDisconnect

func SIONamespaceDisconnect(c *neffos.NSConn, msg neffos.Message) error

func SIOPodDelete

func SIOPodDelete(c *neffos.NSConn, msg neffos.Message) error

func SIORoomJoined

func SIORoomJoined(c *neffos.NSConn, msg neffos.Message) error

func SIORoomLeft

func SIORoomLeft(c *neffos.NSConn, msg neffos.Message) error

func SIOUpgradeError

func SIOUpgradeError() onUpgradeErrorFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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