Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JobGVK = k8s.PaddleJobGVK KubePaddleFwVersion = client.KubeFrameworkVersion(JobGVK) )
Functions ¶
func New ¶
func New(kubeClient framework.RuntimeClientInterface) framework.JobInterface
Types ¶
type KubePaddleJob ¶
type KubePaddleJob struct {
kuberuntime.KubeBaseJob
}
KubePaddleJob is an executor struct that runs a paddle job
func (*KubePaddleJob) AddEventListener ¶
func (pj *KubePaddleJob) AddEventListener(ctx context.Context, listenerType string, jobQueue workqueue.RateLimitingInterface, listener interface{}) error
func (*KubePaddleJob) JobStatus ¶
func (pj *KubePaddleJob) JobStatus(obj interface{}) (api.StatusInfo, error)
JobStatus get the statusInfo of paddle job, including origin status, pf status and message
Click to show internal directories.
Click to hide internal directories.