juju: github.com/juju/juju/worker/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

doc.go worker_mock.go

type MockWorker Uses

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

MockWorker is a mock of Worker interface

func NewMockWorker Uses

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance

func (*MockWorker) EXPECT Uses

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) Kill Uses

func (m *MockWorker) Kill()

Kill mocks base method

func (*MockWorker) Wait Uses

func (m *MockWorker) Wait() error

Wait mocks base method

type MockWorkerMockRecorder Uses

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

MockWorkerMockRecorder is the mock recorder for MockWorker

func (*MockWorkerMockRecorder) Kill Uses

func (mr *MockWorkerMockRecorder) Kill() *gomock.Call

Kill indicates an expected call of Kill

func (*MockWorkerMockRecorder) Wait Uses

func (mr *MockWorkerMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

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