cron

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	*Cron
	Crons [3]*Cron
}

func TripplePartition

func TripplePartition(t *testing.T) *Cluster

func TripplePartitionRun

func TripplePartitionRun(t *testing.T) *Cluster

func (*Cluster) Stop

func (c *Cluster) Stop(t *testing.T)

type Cron

type Cron struct {
	api.Interface
	KV    clientv3.KV
	Calls *atomic.Int64
	// contains filtered or unexported fields
}

func SinglePartition

func SinglePartition(t *testing.T) *Cron

func SinglePartitionRun

func SinglePartitionRun(t *testing.T) *Cron

func (*Cron) Counters

func (c *Cron) Counters(t *testing.T) *clientv3.GetResponse

func (*Cron) Jobs

func (c *Cron) Jobs(t *testing.T) *clientv3.GetResponse

func (*Cron) Stop

func (c *Cron) Stop(t *testing.T)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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