timer

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SYNC requestType = iota
)

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, clientGen crd.ClientGeneratorInterface, logger *zap.Logger, mgr manager.Interface, routerUrl string) error

Types

type Timer

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

func MakeTimer

func MakeTimer(logger *zap.Logger, publisher publisher.Publisher) *Timer

type TimerSync

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

func MakeTimerSync

func MakeTimerSync(ctx context.Context, logger *zap.Logger, fissionClient versioned.Interface, timer *Timer) (*TimerSync, error)

func (*TimerSync) AddUpdateTimeTrigger added in v1.18.0

func (ws *TimerSync) AddUpdateTimeTrigger(timeTrigger *fv1.TimeTrigger)

func (*TimerSync) DeleteTimeTrigger added in v1.18.0

func (ws *TimerSync) DeleteTimeTrigger(timeTrigger *fv1.TimeTrigger)

func (*TimerSync) Run added in v1.18.0

func (ws *TimerSync) Run(ctx context.Context, mgr manager.Interface)

func (*TimerSync) TimeTriggerEventHandlers added in v1.18.0

func (ws *TimerSync) TimeTriggerEventHandlers(ctx context.Context) error

Jump to

Keyboard shortcuts

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