Documentation ¶
Index ¶
- Variables
- func AbortTask(executionId uuid.UUID) error
- func BuildJobName(taskEx *models.TaskExecution) string
- func ConnectToK8SInCluster() *kubernetes.Clientset
- func ConnectToK8s(kubeConfigPath *string) *kubernetes.Clientset
- func GetJobStatus(executionId uuid.UUID) (models.Status, error)
- func InitK8SClientSet(kubeConfigPath *string)
- func LaunchK8sJob(jobName *string, taskEx *models.TaskExecution)
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientSet *kubernetes.Clientset
Functions ¶
func BuildJobName ¶
func BuildJobName(taskEx *models.TaskExecution) string
func ConnectToK8SInCluster ¶
func ConnectToK8SInCluster() *kubernetes.Clientset
func ConnectToK8s ¶
func ConnectToK8s(kubeConfigPath *string) *kubernetes.Clientset
func InitK8SClientSet ¶
func InitK8SClientSet(kubeConfigPath *string)
func LaunchK8sJob ¶
func LaunchK8sJob( jobName *string, taskEx *models.TaskExecution, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.