taskercontracts

package
v0.247.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SchedulerLocks added in v0.246.0

func SchedulerLocks(subject tasker.SchedulerLocks, opts ...Option) contract.Contract

func SchedulerStateRepository added in v0.246.0

func SchedulerStateRepository(subject tasker.ScheduleStateRepository, opts ...Option) contract.Contract

Types

type Config

type Config struct {
	MakeContext       func(testing.TB) context.Context
	MakeScheduleState func(testing.TB) tasker.ScheduleState
}

func (*Config) Init

func (c *Config) Init()

type Option

type Option interface {
	option.Option[Config]
}

Jump to

Keyboard shortcuts

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