mold

package
v0.0.0-...-994a6d8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: MIT Imports: 3 Imported by: 2

Documentation

Overview

Package mold is a generated GoMock package.

Package mold is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateError

type CreateError struct {
	Req *CreateRequest
	Err error
}

type CreateInteractor

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

func NewCreateInteractor

func NewCreateInteractor(repo mold.Repository, service mold.Service, presenter CreateOutputPort) *CreateInteractor

func (*CreateInteractor) ExecuteCreate

func (r *CreateInteractor) ExecuteCreate(req *CreateRequest)

type CreateOutputPort

type CreateOutputPort interface {
	RenderCreateResponse(r *CreateResponse)
	RenderCreateError(e *CreateError)
}

type CreateRequest

type CreateRequest struct {
	ImportPath string
	MoldName   string
}

type CreateResponse

type CreateResponse struct {
	MoldName string
}

type MockCreateOutputPort

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

MockCreateOutputPort is a mock of CreateOutputPort interface

func NewMockCreateOutputPort

func NewMockCreateOutputPort(ctrl *gomock.Controller) *MockCreateOutputPort

NewMockCreateOutputPort creates a new mock instance

func (*MockCreateOutputPort) EXPECT

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

func (*MockCreateOutputPort) RenderCreateError

func (m *MockCreateOutputPort) RenderCreateError(e *CreateError)

RenderCreateError mocks base method

func (*MockCreateOutputPort) RenderCreateResponse

func (m *MockCreateOutputPort) RenderCreateResponse(r *CreateResponse)

RenderCreateResponse mocks base method

type MockCreateOutputPortMockRecorder

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

MockCreateOutputPortMockRecorder is the mock recorder for MockCreateOutputPort

func (*MockCreateOutputPortMockRecorder) RenderCreateError

func (mr *MockCreateOutputPortMockRecorder) RenderCreateError(e interface{}) *gomock.Call

RenderCreateError indicates an expected call of RenderCreateError

func (*MockCreateOutputPortMockRecorder) RenderCreateResponse

func (mr *MockCreateOutputPortMockRecorder) RenderCreateResponse(r interface{}) *gomock.Call

RenderCreateResponse indicates an expected call of RenderCreateResponse

type MockPourOutputPort

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

MockPourOutputPort is a mock of PourOutputPort interface

func NewMockPourOutputPort

func NewMockPourOutputPort(ctrl *gomock.Controller) *MockPourOutputPort

NewMockPourOutputPort creates a new mock instance

func (*MockPourOutputPort) EXPECT

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

func (*MockPourOutputPort) RenderPourError

func (m *MockPourOutputPort) RenderPourError(e *PourError)

RenderPourError mocks base method

func (*MockPourOutputPort) RenderPourResponse

func (m *MockPourOutputPort) RenderPourResponse(r *PourResponse)

RenderPourResponse mocks base method

type MockPourOutputPortMockRecorder

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

MockPourOutputPortMockRecorder is the mock recorder for MockPourOutputPort

func (*MockPourOutputPortMockRecorder) RenderPourError

func (mr *MockPourOutputPortMockRecorder) RenderPourError(e interface{}) *gomock.Call

RenderPourError indicates an expected call of RenderPourError

func (*MockPourOutputPortMockRecorder) RenderPourResponse

func (mr *MockPourOutputPortMockRecorder) RenderPourResponse(r interface{}) *gomock.Call

RenderPourResponse indicates an expected call of RenderPourResponse

type PourError

type PourError struct {
	Req *PourRequest
	Err error
}

type PourInteractor

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

func NewPourInteractor

func NewPourInteractor(repo mold.Repository, materialService mold.MaterialService, productService mold.ProductService, output PourOutputPort) *PourInteractor

func (*PourInteractor) ExecutePour

func (r *PourInteractor) ExecutePour(req *PourRequest)

type PourOutputPort

type PourOutputPort interface {
	RenderPourResponse(r *PourResponse)
	RenderPourError(e *PourError)
}

type PourRequest

type PourRequest struct {
	MoldName string
	DestDir  string
}

type PourResponse

type PourResponse struct {
	MoldName string
}

Jump to

Keyboard shortcuts

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