Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitJobController ¶
func InitJobController(rbdNamespace string, stop chan struct{}, kubeClient kubernetes.Interface) error
InitJobController init job controller
Types ¶
type Controller ¶
type Controller interface { ExecJob(ctx context.Context, job *corev1.Pod, logger io.Writer, result *channels.RingChannel) error GetJob(string) (*corev1.Pod, error) GetServiceJobs(serviceID string) ([]*corev1.Pod, error) DeleteJob(job string) GetLanguageBuildSetting(lang code.Lang, name string) string GetDefaultLanguageBuildSetting(lang code.Lang) string }
Controller build job controller
Click to show internal directories.
Click to hide internal directories.