Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitJobController ¶
func InitJobController(wtNamespace 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(ctx context.Context, lang code.Lang, name string) string GetDefaultLanguageBuildSetting(ctx context.Context, lang code.Lang) string }
Controller build job controller
Click to show internal directories.
Click to hide internal directories.