cronjobber

package
v0.0.0-...-4ae4a73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package cronjobber contains the controller for TZCronJob objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsJobFinished

func IsJobFinished(j *batchv1.Job) bool

Types

type TZCronJobController

type TZCronJobController struct {
	// contains filtered or unexported fields
}

func NewTZCronJobController

func NewTZCronJobController(kubeClient clientset.Interface, cronjobberClient cronjobberclientset.Interface,
	cronjobberInformer cronjobberinformers.TZCronJobInformer, logger *zap.SugaredLogger) (*TZCronJobController, error)

func (*TZCronJobController) Run

func (jm *TZCronJobController) Run(stopCh <-chan struct{})

Run the main goroutine responsible for watching and syncing jobs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL