test

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClock

type MockClock struct {
	// contains filtered or unexported fields
}

func NewMockClock

func NewMockClock() MockClock

func (MockClock) Add

func (c MockClock) Add(d time.Duration)

func (MockClock) Now

func (c MockClock) Now() time.Time

func (MockClock) Ticker

func (c MockClock) Ticker(period time.Duration) controllerTime.Ticker

type MockTicker

type MockTicker struct {
	// contains filtered or unexported fields
}

func (MockTicker) C

func (t MockTicker) C() <-chan time.Time

func (MockTicker) Stop

func (t MockTicker) Stop()

Jump to

Keyboard shortcuts

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