Documentation ¶
Index ¶
- type OpenServer
- func (s *OpenServer) ColdTriggerSpawn(w http.ResponseWriter, r *http.Request)
- func (s *OpenServer) DeleteFunc(w http.ResponseWriter, r *http.Request)
- func (s *OpenServer) ListFuncSpecs(w http.ResponseWriter, r *http.Request)
- func (s *OpenServer) PrepareFunc(w http.ResponseWriter, r *http.Request)
- func (s *OpenServer) WaitShutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenServer ¶
OpenServer is the core of Open-func
func (*OpenServer) ColdTriggerSpawn ¶
func (s *OpenServer) ColdTriggerSpawn(w http.ResponseWriter, r *http.Request)
ColdTriggerSpawn creates new container and executes it immediately
func (*OpenServer) DeleteFunc ¶
func (s *OpenServer) DeleteFunc(w http.ResponseWriter, r *http.Request)
DeleteFunc deletes a deployment and service ands stops hot containers
func (*OpenServer) ListFuncSpecs ¶
func (s *OpenServer) ListFuncSpecs(w http.ResponseWriter, r *http.Request)
ListFuncSpecs returns list of funcSpecs
func (*OpenServer) PrepareFunc ¶
func (s *OpenServer) PrepareFunc(w http.ResponseWriter, r *http.Request)
PrepareFunc readies a deployment and service for hot execution
func (*OpenServer) WaitShutdown ¶
func (s *OpenServer) WaitShutdown()
WaitShutdown blocks the main thread until an interrupt is received to initiate graceful shutdown.
Click to show internal directories.
Click to hide internal directories.