Documentation ¶
Index ¶
- func CreateDeployment(clientset *kubernetes.Clientset, funcSpecs types.FuncSpecs) (string, error)
- func CreateJob(clientset *kubernetes.Clientset, trigger types.ColdTriggerEvent) (string, error)
- func CreateService(clientset *kubernetes.Clientset, funcSpecs types.FuncSpecs) (string, error)
- func DeleteDeployment(clientset *kubernetes.Clientset, name string) error
- func DeleteJob(clientset *kubernetes.Clientset, name string) error
- func DeleteService(clientset *kubernetes.Clientset, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeployment ¶
CreateDeployment creates a deployment based on a funcSpecs
func CreateJob ¶
func CreateJob(clientset *kubernetes.Clientset, trigger types.ColdTriggerEvent) (string, error)
CreateJob starts a job pod for a cold start trigger
func CreateService ¶
CreateService creates a clusterIP service for the deployment of a trigger
func DeleteDeployment ¶
func DeleteDeployment(clientset *kubernetes.Clientset, name string) error
DeleteDeployment does what the name says
func DeleteJob ¶
func DeleteJob(clientset *kubernetes.Clientset, name string) error
DeleteJob does what the name says
func DeleteService ¶
func DeleteService(clientset *kubernetes.Clientset, name string) error
DeleteService deletes a service in default namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.