trigger

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() auacornapi.Acorn

Types

type Impl

type Impl struct {
	Configuration       librepo.Configuration
	CustomConfiguration repository.CustomConfiguration
	Logging             librepo.Logging
	Updater             service.Updater

	LoggingCtx context.Context
	Cron       *cron.Cron

	SkipStart bool
	Now       func() time.Time
}

func (*Impl) AcornName

func (s *Impl) AcornName() string

func (*Impl) AssembleAcorn

func (s *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) Error

func (s *Impl) Error(err error, msg string, keysAndValues ...interface{})

func (*Impl) Info

func (s *Impl) Info(msg string, keysAndValues ...interface{})

func (*Impl) IsTrigger

func (s *Impl) IsTrigger() bool

func (*Impl) PerformWithCancel

func (s *Impl) PerformWithCancel(ctx context.Context) error

func (*Impl) Setup

func (s *Impl) Setup(ctx context.Context) error

func (*Impl) SetupAcorn

func (s *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) StartCronjob

func (s *Impl) StartCronjob(_ context.Context) error

func (*Impl) StopCronjob

func (s *Impl) StopCronjob(_ context.Context) error

func (*Impl) TeardownAcorn

func (s *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error

Jump to

Keyboard shortcuts

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