Documentation ¶
Overview ¶
Package internal contains code that we don't want to export outside of job-manager.
Index ¶
- func EnsureTimeProvider(ctx context.Context) context.Context
- func IgnoreError(err error)
- func NewTicker(d time.Duration) *defaultTicker
- func SetMockTime(ctx context.Context, nows ...time.Time) context.Context
- func SetTicker(ctx context.Context, tick Ticker) context.Context
- func SetTimeProvider(ctx context.Context, t TimeProvider) context.Context
- func Sleep(ctx context.Context, d time.Duration) error
- type MockTick
- type MockTime
- type Ticker
- type Time
- type TimeProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreError ¶
func IgnoreError(err error)
func SetTimeProvider ¶
func SetTimeProvider(ctx context.Context, t TimeProvider) context.Context
Types ¶
type MockTick ¶
func NewMockTick ¶
type TimeProvider ¶
func GetTimeProvider ¶
func GetTimeProvider(ctx context.Context) TimeProvider
Click to show internal directories.
Click to hide internal directories.