com.alibaba.schedulerx.worker.service.SyncK8sTaskService Maven / Gradle / Ivy
package com.alibaba.schedulerx.worker.service;
import com.alibaba.schedulerx.protocol.Server;
/**
* @Auther: tangtao
* @Date: 2022/9/19 14:38
* @Description:同步k8s脚本任务
*/
public abstract class SyncK8sTaskService {
/**
* 同步k8s job 任务
*
* @return
*/
public abstract Server.ServerSyncK8sJobResponse syncK8sJob(Server.ServerSyncK8sJobRequest request);
/**
* 同步 k8s cronjob 任务
*
* @return
*/
public abstract Server.ServerSyncK8sCronJobResponse syncK8sCronJob(Server.ServerSyncK8sCronJobRequest request);
}