Documentation ¶
Overview ¶
Package api implements all the handlers of all the apis available in this system.
Index ¶
- Constants
- func FunctionGet(w http.ResponseWriter, r *http.Request)
- func FunctionPost(w http.ResponseWriter, r *http.Request)
- func GetConfiguration(w http.ResponseWriter, r *http.Request)
- func GetScheduler(w http.ResponseWriter, r *http.Request)
- func Hello(w http.ResponseWriter, r *http.Request)
- func SetConfiguration(w http.ResponseWriter, r *http.Request)
- func SetScheduler(w http.ResponseWriter, r *http.Request)
- func SystemFunctionGet(w http.ResponseWriter, r *http.Request)
- func SystemFunctionsDelete(w http.ResponseWriter, r *http.Request)
- func SystemFunctionsGet(w http.ResponseWriter, r *http.Request)
- func SystemFunctionsPost(w http.ResponseWriter, r *http.Request)
- func SystemFunctionsPut(w http.ResponseWriter, r *http.Request)
- func SystemScaleFunctionPost(w http.ResponseWriter, r *http.Request)
- type HelloResponse
Constants ¶
View Source
const HeaderP2PFaaSExecutionTime = "X-P2PFaaS-Timing-Execution-Time-Seconds"
View Source
const HeaderP2PFaaSExternallyExecuted = "X-P2PFaaS-Externally-Executed"
View Source
const HeaderP2PFaaSHops = "X-P2PFaaS-Hops"
View Source
const HeaderP2PFaaSPeersListId = "X-P2PFaaS-Peers-List-Id"
View Source
const HeaderP2PFaaSPeersListIp = "X-P2PFaaS-Peers-List-Ip"
View Source
const HeaderP2PFaaSProbingTime = "X-P2PFaaS-Timing-Probing-Time-Seconds"
View Source
const HeaderP2PFaaSProbingTimingsList = "X-P2PFaaS-Timing-Probing-Seconds-List"
View Source
const HeaderP2PFaaSScheduler = "X-P2PFaaS-Scheduler"
View Source
const HeaderP2PFaaSSchedulingTime = "X-P2PFaaS-Timing-Scheduling-Time-Seconds"
View Source
const HeaderP2PFaaSSchedulingTimingsList = "X-P2PFaaS-Timing-Scheduling-Seconds-List"
View Source
const HeaderP2PFaaSTotalTime = "X-P2PFaaS-Timing-Total-Time-Seconds"
View Source
const HeaderP2PFaaSTotalTimingsList = "X-P2PFaaS-Timing-Total-Seconds-List"
View Source
const HeaderP2PFaaSVersion = "X-P2PFaaS-Version"
Variables ¶
This section is empty.
Functions ¶
func FunctionGet ¶
func FunctionGet(w http.ResponseWriter, r *http.Request)
func FunctionPost ¶
func FunctionPost(w http.ResponseWriter, r *http.Request)
func GetConfiguration ¶
func GetConfiguration(w http.ResponseWriter, r *http.Request)
Retrieve the current configuration of the system.
func GetScheduler ¶
func GetScheduler(w http.ResponseWriter, r *http.Request)
Retrieve the scheduler information.
func SetConfiguration ¶
func SetConfiguration(w http.ResponseWriter, r *http.Request)
Set the configuration of the system (conform to config.ConfigurationSetExp) and save it to a file, in such a way it is load at the startup. This configuration does not include the scheduler information.
func SetScheduler ¶
func SetScheduler(w http.ResponseWriter, r *http.Request)
Set the scheduler information and save the configuration to file in such a way it is loaded automatically at startup.
func SystemFunctionGet ¶
func SystemFunctionGet(w http.ResponseWriter, r *http.Request)
func SystemFunctionsDelete ¶
func SystemFunctionsDelete(w http.ResponseWriter, r *http.Request)
func SystemFunctionsGet ¶
func SystemFunctionsGet(w http.ResponseWriter, r *http.Request)
func SystemFunctionsPost ¶
func SystemFunctionsPost(w http.ResponseWriter, r *http.Request)
func SystemFunctionsPut ¶
func SystemFunctionsPut(w http.ResponseWriter, r *http.Request)
func SystemScaleFunctionPost ¶
func SystemScaleFunctionPost(w http.ResponseWriter, r *http.Request)
Types ¶
type HelloResponse ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package api_monitoring implements all the handlers of all the apis called for monitoring the nodes, like for example probing.
|
Package api_monitoring implements all the handlers of all the apis called for monitoring the nodes, like for example probing. |
Package api_peer implements all the handlers of all the apis called by other nodes.
|
Package api_peer implements all the handlers of all the apis called by other nodes. |
Click to show internal directories.
Click to hide internal directories.