Documentation ¶
Index ¶
- Constants
- func MakeDeleteHandler() http.HandlerFunc
- func MakeDeployHandler(s *resmngr.ResourceManagerStates) http.HandlerFunc
- func MakeFunctionReader() http.HandlerFunc
- func MakeHealthHandler() http.HandlerFunc
- func MakeInfoHandler(version, sha string) http.HandlerFunc
- func MakeReplicaReader() http.HandlerFunc
- func MakeReplicaUpdater() http.HandlerFunc
- func MakeUpdateHandler() http.HandlerFunc
Constants ¶
View Source
const ( //OrchestrationIdentifier identifier string for provider orchestration OrchestrationIdentifier = "memory" //ProviderName name of the provider ProviderName = "faas-memory" )
Variables ¶
This section is empty.
Functions ¶
func MakeDeleteHandler ¶
func MakeDeleteHandler() http.HandlerFunc
MakeDeleteHandler delete a function
func MakeDeployHandler ¶
func MakeDeployHandler(s *resmngr.ResourceManagerStates) http.HandlerFunc
MakeDeployHandler creates a handler to create new functions in the cluster
func MakeFunctionReader ¶
func MakeFunctionReader() http.HandlerFunc
MakeFunctionReader handler for reading functions deployed in the cluster as deployments.
func MakeHealthHandler ¶
func MakeHealthHandler() http.HandlerFunc
MakeHealthHandler returns 200/OK when healthy
func MakeInfoHandler ¶
func MakeInfoHandler(version, sha string) http.HandlerFunc
MakeInfoHandler creates handler for /system/info endpoint
func MakeReplicaReader ¶
func MakeReplicaReader() http.HandlerFunc
MakeReplicaReader reads the amount of replicas for a deployment
func MakeReplicaUpdater ¶
func MakeReplicaUpdater() http.HandlerFunc
MakeReplicaUpdater updates desired count of replicas This would be called by an outside monitor to scale stuff up and down THIS IS NOT USED ATM
func MakeUpdateHandler ¶
func MakeUpdateHandler() http.HandlerFunc
MakeUpdateHandler update specified function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.