Back to godoc.org

Package fake

v0.30.2
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/artefactual-labs/enduro

Overview

Package fake is a generated GoMock package.

Index

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) Delete

func (m *MockService) Delete(arg0 context.Context, arg1, arg2 string) error

Delete mocks base method

func (*MockService) Download

func (m *MockService) Download(arg0 context.Context, arg1 io.Writer, arg2, arg3 string) error

Download mocks base method

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Watchers

func (m *MockService) Watchers() []watcher.Watcher

Watchers mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Delete

func (mr *MockServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockServiceMockRecorder) Download

func (mr *MockServiceMockRecorder) Download(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Download indicates an expected call of Download

func (*MockServiceMockRecorder) Watchers

func (mr *MockServiceMockRecorder) Watchers() *gomock.Call

Watchers indicates an expected call of Watchers

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier