juju: github.com/juju/juju/container/lxd/mocks Index | Files

package mocks

import "github.com/juju/juju/container/lxd/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

clock_mock.go

type MockClock Uses

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

MockClock is a mock of Clock interface

func NewMockClock Uses

func NewMockClock(ctrl *gomock.Controller) *MockClock

NewMockClock creates a new mock instance

func (*MockClock) After Uses

func (m *MockClock) After(arg0 time.Duration) <-chan time.Time

After mocks base method

func (*MockClock) AfterFunc Uses

func (m *MockClock) AfterFunc(arg0 time.Duration, arg1 func()) clock.Timer

AfterFunc mocks base method

func (*MockClock) EXPECT Uses

func (m *MockClock) EXPECT() *MockClockMockRecorder

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

func (*MockClock) NewTimer Uses

func (m *MockClock) NewTimer(arg0 time.Duration) clock.Timer

NewTimer mocks base method

func (*MockClock) Now Uses

func (m *MockClock) Now() time.Time

Now mocks base method

type MockClockMockRecorder Uses

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

MockClockMockRecorder is the mock recorder for MockClock

func (*MockClockMockRecorder) After Uses

func (mr *MockClockMockRecorder) After(arg0 interface{}) *gomock.Call

After indicates an expected call of After

func (*MockClockMockRecorder) AfterFunc Uses

func (mr *MockClockMockRecorder) AfterFunc(arg0, arg1 interface{}) *gomock.Call

AfterFunc indicates an expected call of AfterFunc

func (*MockClockMockRecorder) NewTimer Uses

func (mr *MockClockMockRecorder) NewTimer(arg0 interface{}) *gomock.Call

NewTimer indicates an expected call of NewTimer

func (*MockClockMockRecorder) Now Uses

func (mr *MockClockMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now

Package mocks imports 4 packages (graph). Updated 2019-03-18. Refresh now. Tools for package owners.