automock

package
v0.0.0-...-ecc6c17 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentConverter

type DocumentConverter struct {
	mock.Mock
}

DocumentConverter is an autogenerated mock type for the DocumentConverter type

func (*DocumentConverter) InputFromGraphQL

func (_m *DocumentConverter) InputFromGraphQL(in *graphql.DocumentInput) *model.DocumentInput

InputFromGraphQL provides a mock function with given fields: in

func (*DocumentConverter) ToGraphQL

func (_m *DocumentConverter) ToGraphQL(in *model.Document) *graphql.Document

ToGraphQL provides a mock function with given fields: in

type DocumentRepository

type DocumentRepository struct {
	mock.Mock
}

DocumentRepository is an autogenerated mock type for the DocumentRepository type

func (*DocumentRepository) Create

func (_m *DocumentRepository) Create(item *model.Document) error

Create provides a mock function with given fields: item

func (*DocumentRepository) Delete

func (_m *DocumentRepository) Delete(item *model.Document) error

Delete provides a mock function with given fields: item

func (*DocumentRepository) GetByID

func (_m *DocumentRepository) GetByID(id string) (*model.Document, error)

GetByID provides a mock function with given fields: id

func (*DocumentRepository) ListByApplicationID

func (_m *DocumentRepository) ListByApplicationID(applicationID string, pageSize *int, cursor *string) (*model.DocumentPage, error)

ListByApplicationID provides a mock function with given fields: applicationID, pageSize, cursor

type DocumentService

type DocumentService struct {
	mock.Mock
}

DocumentService is an autogenerated mock type for the DocumentService type

func (*DocumentService) Create

func (_m *DocumentService) Create(ctx context.Context, applicationID string, in model.DocumentInput) (string, error)

Create provides a mock function with given fields: ctx, applicationID, in

func (*DocumentService) Delete

func (_m *DocumentService) Delete(ctx context.Context, id string) error

Delete provides a mock function with given fields: ctx, id

func (*DocumentService) Get

func (_m *DocumentService) Get(ctx context.Context, id string) (*model.Document, error)

Get provides a mock function with given fields: ctx, id

type FetchRequestConverter

type FetchRequestConverter struct {
	mock.Mock
}

FetchRequestConverter is an autogenerated mock type for the FetchRequestConverter type

func (*FetchRequestConverter) InputFromGraphQL

InputFromGraphQL provides a mock function with given fields: in

func (*FetchRequestConverter) ToGraphQL

ToGraphQL provides a mock function with given fields: in

type UIDService

type UIDService struct {
	mock.Mock
}

UIDService is an autogenerated mock type for the UIDService type

func (*UIDService) Generate

func (_m *UIDService) Generate() string

Generate provides a mock function with given fields:

Jump to

Keyboard shortcuts

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