Documentation ¶
Index ¶
- func MakeDeleteHandler(clientset *kubernetes.Clientset) http.HandlerFunc
- func MakeDeployHandler(clientset *kubernetes.Clientset) http.HandlerFunc
- func MakeFunctionReader(clientset *kubernetes.Clientset) http.HandlerFunc
- func MakeProxy() http.HandlerFunc
- func MakeReplicaReader(clientset *kubernetes.Clientset) http.HandlerFunc
- func MakeReplicaUpdater(clientset *kubernetes.Clientset) http.HandlerFunc
- func ValidateDeployRequest(request *requests.CreateFunctionRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeDeleteHandler ¶
func MakeDeleteHandler(clientset *kubernetes.Clientset) http.HandlerFunc
MakeDeleteHandler delete a function
func MakeDeployHandler ¶
func MakeDeployHandler(clientset *kubernetes.Clientset) http.HandlerFunc
MakeDeployHandler creates a handler to create new functions in the cluster
func MakeFunctionReader ¶
func MakeFunctionReader(clientset *kubernetes.Clientset) http.HandlerFunc
MakeFunctionReader handler for reading functions deployed in the cluster as deployments.
func MakeProxy ¶
func MakeProxy() http.HandlerFunc
MakeProxy creates a proxy for HTTP web requests which can be routed to a function.
func MakeReplicaReader ¶
func MakeReplicaReader(clientset *kubernetes.Clientset) http.HandlerFunc
MakeReplicaReader reads the amount of replicas for a deployment
func MakeReplicaUpdater ¶
func MakeReplicaUpdater(clientset *kubernetes.Clientset) http.HandlerFunc
MakeReplicaUpdater updates desired count of replicas
func ValidateDeployRequest ¶
func ValidateDeployRequest(request *requests.CreateFunctionRequest) error
ValidateDeployRequest validates that the service name is valid for Kubernetes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.