pecltest

package
v0.0.0-...-f459114 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package pecltest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackend

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

MockBackend is a mock of Backend interface

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance

func (*MockBackend) Build

func (m *MockBackend) Build(arg0 context.Context, arg1 pecl.BuildOpts) error

Build mocks base method

func (*MockBackend) Download

func (m *MockBackend) Download(arg0 context.Context, arg1 pecl.DownloadOpts) (string, error)

Download mocks base method

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) Install

func (m *MockBackend) Install(arg0 context.Context, arg1 pecl.InstallOpts) error

Install mocks base method

func (*MockBackend) ResolveConstraint

func (m *MockBackend) ResolveConstraint(arg0 context.Context, arg1, arg2 string, arg3 peclapi.Stability) (string, error)

ResolveConstraint mocks base method

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend

func (*MockBackendMockRecorder) Build

func (mr *MockBackendMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call

Build indicates an expected call of Build

func (*MockBackendMockRecorder) Download

func (mr *MockBackendMockRecorder) Download(arg0, arg1 interface{}) *gomock.Call

Download indicates an expected call of Download

func (*MockBackendMockRecorder) Install

func (mr *MockBackendMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call

Install indicates an expected call of Install

func (*MockBackendMockRecorder) ResolveConstraint

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

ResolveConstraint indicates an expected call of ResolveConstraint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL