gardener: github.com/gardener/gardener/pkg/mock/go/time Index | Files

package time

import "github.com/gardener/gardener/pkg/mock/go/time"

Package time is a generated GoMock package.

Index

Package Files

doc.go funcs.go

type MockNow Uses

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

MockNow is a mock of Now interface

func NewMockNow Uses

func NewMockNow(ctrl *gomock.Controller) *MockNow

NewMockNow creates a new mock instance

func (*MockNow) Do Uses

func (m *MockNow) Do() time.Time

Do mocks base method

func (*MockNow) EXPECT Uses

func (m *MockNow) EXPECT() *MockNowMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockNowMockRecorder Uses

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

MockNowMockRecorder is the mock recorder for MockNow

func (*MockNowMockRecorder) Do Uses

func (mr *MockNowMockRecorder) Do() *gomock.Call

Do indicates an expected call of Do

type Now Uses

type Now interface {
    Do() time.Time
}

Now allows mocking time.Now.

Package time imports 3 packages (graph). Updated 2019-06-12. Refresh now. Tools for package owners.