policies

package
v5.0.4-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterNthEpoch

func AfterNthEpoch(afterEpoch primitives.Epoch) func(epoch primitives.Epoch) bool

AfterNthEpoch runs for every epoch after the provided epoch.

func AllEpochs

func AllEpochs(_ primitives.Epoch) bool

AllEpochs runs for all epochs.

func BetweenEpochs

func BetweenEpochs(fromEpoch, toEpoch primitives.Epoch) func(primitives.Epoch) bool

BetweenEpochs runs for every epoch that is between the provided epochs.

func EveryNEpochs

func EveryNEpochs(onwardsEpoch primitives.Epoch, n primitives.Epoch) func(epoch primitives.Epoch) bool

EveryNEpochs runs every N epochs, starting with the provided epoch.

func OnEpoch

func OnEpoch(epoch primitives.Epoch) func(primitives.Epoch) bool

OnEpoch runs only for the provided epoch.

func OnwardsNthEpoch

func OnwardsNthEpoch(onwardsEpoch primitives.Epoch) func(epoch primitives.Epoch) bool

OnwardsNthEpoch runs for every epoch from the provided epoch.

Types

This section is empty.

Jump to

Keyboard shortcuts

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