controller

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronJobTriggerConfig

type CronJobTriggerConfig struct {
	KubeCli        kubernetes.Interface
	TriggerClient  versioned.Interface
	KubelessClient kubelessversioned.Interface
}

CronJobTriggerConfig contains config for CronJobTriggerController

type CronJobTriggerController

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

CronJobTriggerController object

func NewCronJobTriggerController

func NewCronJobTriggerController(cfg CronJobTriggerConfig) *CronJobTriggerController

NewCronJobTriggerController initializes a controller object

func (*CronJobTriggerController) Run

func (c *CronJobTriggerController) Run(stopCh <-chan struct{})

Run starts the Trigger controller

func (*CronJobTriggerController) WaitForCacheSync

func (c *CronJobTriggerController) WaitForCacheSync(stopCh <-chan struct{}) bool

WaitForCacheSync is required for caches to be synced

Jump to

Keyboard shortcuts

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