Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginClientset ¶
type PluginClientset struct {
KubeClients kubernetes.Interface
}
PluginClientset clientset
type PluginInterface ¶
type PluginInterface interface {
// The unique name of Plugin.
Name() string
// for all pod when createJobPod
OnPodCreate(pod *v1.Pod, job *vcbatch.Job) error
// do once when syncJob
OnJobAdd(job *vcbatch.Job) error
// do once when killJob
OnJobDelete(job *vcbatch.Job) error
}
PluginInterface interface
Click to show internal directories.
Click to hide internal directories.