otel: go.opentelemetry.io/otel/sdk/metric/controller/controllertest Index | Files

package controllertest

import "go.opentelemetry.io/otel/sdk/metric/controller/controllertest"

Index

Package Files

test.go

type MockClock Uses

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

func NewMockClock Uses

func NewMockClock() MockClock

func (MockClock) Add Uses

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

func (MockClock) Now Uses

func (c MockClock) Now() time.Time

func (MockClock) Ticker Uses

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

type MockTicker Uses

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

func (MockTicker) C Uses

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

func (MockTicker) Stop Uses

func (t MockTicker) Stop()

Package controllertest imports 3 packages (graph). Updated 2020-08-18. Refresh now. Tools for package owners.