mock_lambgofile

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_lambgofile is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLoaderAPI

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

MockLoaderAPI is a mock of the LoaderAPI interface in github.com/JosiahWitt/lambgo/internal/lambgofile.

func NewMockLoaderAPI

func NewMockLoaderAPI(ctrl *gomock.Controller) *MockLoaderAPI

NewMockLoaderAPI creates a new mock instance.

func (*MockLoaderAPI) EXPECT

EXPECT returns a struct that allows setting up expectations.

func (*MockLoaderAPI) LoadConfig

func (m *MockLoaderAPI) LoadConfig(_pwd string) (*lambgofile.Config, error)

LoadConfig mocks LoadConfig on LoaderAPI.

func (*MockLoaderAPI) NEW

NEW creates a MockLoaderAPI. This method is used internally by ensure.

type MockLoaderAPIMockRecorder

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

MockLoaderAPIMockRecorder is the mock recorder for MockLoaderAPI.

func (*MockLoaderAPIMockRecorder) LoadConfig

func (mr *MockLoaderAPIMockRecorder) LoadConfig(_pwd interface{}) *gomock.Call

LoadConfig sets up expectations for calls to LoadConfig. Calling this method multiple times allows expecting multiple calls to LoadConfig with a variety of parameters.

Inputs:

pwd string

Outputs:

*lambgofile.Config
error

Jump to

Keyboard shortcuts

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