taskercontracts

package
v0.285.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScheduleStateRepository added in v0.251.1

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

func SchedulerLocks added in v0.246.0

func SchedulerLocks(subject tasker.SchedulerLocks, 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