mock

package
v6.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBulkOperationService

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

MockBulkOperationService is a mock of BulkOperationService interface.

func NewMockBulkOperationService

func NewMockBulkOperationService(ctrl *gomock.Controller) *MockBulkOperationService

NewMockBulkOperationService creates a new mock instance.

func (*MockBulkOperationService) BulkQuery

func (m *MockBulkOperationService) BulkQuery(arg0 string, arg1 interface{}) error

BulkQuery mocks base method.

func (*MockBulkOperationService) CancelRunningBulkQuery

func (m *MockBulkOperationService) CancelRunningBulkQuery() error

CancelRunningBulkQuery mocks base method.

func (*MockBulkOperationService) EXPECT

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

func (*MockBulkOperationService) GetCurrentBulkQuery

func (m *MockBulkOperationService) GetCurrentBulkQuery() (*model.BulkOperation, error)

GetCurrentBulkQuery mocks base method.

func (*MockBulkOperationService) GetCurrentBulkQueryResultURL

func (m *MockBulkOperationService) GetCurrentBulkQueryResultURL() (*string, error)

GetCurrentBulkQueryResultURL mocks base method.

func (*MockBulkOperationService) PostBulkQuery

func (m *MockBulkOperationService) PostBulkQuery(arg0 string) (*string, error)

PostBulkQuery mocks base method.

func (*MockBulkOperationService) ShouldGetBulkQueryResultURL

func (m *MockBulkOperationService) ShouldGetBulkQueryResultURL(arg0 *string) (*string, error)

ShouldGetBulkQueryResultURL mocks base method.

func (*MockBulkOperationService) WaitForCurrentBulkQuery

func (m *MockBulkOperationService) WaitForCurrentBulkQuery(arg0 time.Duration) (*model.BulkOperation, error)

WaitForCurrentBulkQuery mocks base method.

type MockBulkOperationServiceMockRecorder

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

MockBulkOperationServiceMockRecorder is the mock recorder for MockBulkOperationService.

func (*MockBulkOperationServiceMockRecorder) BulkQuery

func (mr *MockBulkOperationServiceMockRecorder) BulkQuery(arg0, arg1 interface{}) *gomock.Call

BulkQuery indicates an expected call of BulkQuery.

func (*MockBulkOperationServiceMockRecorder) CancelRunningBulkQuery

func (mr *MockBulkOperationServiceMockRecorder) CancelRunningBulkQuery() *gomock.Call

CancelRunningBulkQuery indicates an expected call of CancelRunningBulkQuery.

func (*MockBulkOperationServiceMockRecorder) GetCurrentBulkQuery

func (mr *MockBulkOperationServiceMockRecorder) GetCurrentBulkQuery() *gomock.Call

GetCurrentBulkQuery indicates an expected call of GetCurrentBulkQuery.

func (*MockBulkOperationServiceMockRecorder) GetCurrentBulkQueryResultURL

func (mr *MockBulkOperationServiceMockRecorder) GetCurrentBulkQueryResultURL() *gomock.Call

GetCurrentBulkQueryResultURL indicates an expected call of GetCurrentBulkQueryResultURL.

func (*MockBulkOperationServiceMockRecorder) PostBulkQuery

func (mr *MockBulkOperationServiceMockRecorder) PostBulkQuery(arg0 interface{}) *gomock.Call

PostBulkQuery indicates an expected call of PostBulkQuery.

func (*MockBulkOperationServiceMockRecorder) ShouldGetBulkQueryResultURL

func (mr *MockBulkOperationServiceMockRecorder) ShouldGetBulkQueryResultURL(arg0 interface{}) *gomock.Call

ShouldGetBulkQueryResultURL indicates an expected call of ShouldGetBulkQueryResultURL.

func (*MockBulkOperationServiceMockRecorder) WaitForCurrentBulkQuery

func (mr *MockBulkOperationServiceMockRecorder) WaitForCurrentBulkQuery(arg0 interface{}) *gomock.Call

WaitForCurrentBulkQuery indicates an expected call of WaitForCurrentBulkQuery.

type MockCollectionService

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

MockCollectionService is a mock of CollectionService interface.

func NewMockCollectionService

func NewMockCollectionService(ctrl *gomock.Controller) *MockCollectionService

NewMockCollectionService creates a new mock instance.

func (*MockCollectionService) Create

Create mocks base method.

func (*MockCollectionService) CreateBulk

func (m *MockCollectionService) CreateBulk(arg0 []model.CollectionInput) error

CreateBulk mocks base method.

func (*MockCollectionService) EXPECT

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

func (*MockCollectionService) Get

Get mocks base method.

func (*MockCollectionService) ListAll

func (m *MockCollectionService) ListAll() ([]model.Collection, error)

ListAll mocks base method.

func (*MockCollectionService) Update

Update mocks base method.

type MockCollectionServiceMockRecorder

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

MockCollectionServiceMockRecorder is the mock recorder for MockCollectionService.

func (*MockCollectionServiceMockRecorder) Create

func (mr *MockCollectionServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockCollectionServiceMockRecorder) CreateBulk

func (mr *MockCollectionServiceMockRecorder) CreateBulk(arg0 interface{}) *gomock.Call

CreateBulk indicates an expected call of CreateBulk.

func (*MockCollectionServiceMockRecorder) Get

func (mr *MockCollectionServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCollectionServiceMockRecorder) ListAll

ListAll indicates an expected call of ListAll.

func (*MockCollectionServiceMockRecorder) Update

func (mr *MockCollectionServiceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockFulfillmentService

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

MockFulfillmentService is a mock of FulfillmentService interface.

func NewMockFulfillmentService

func NewMockFulfillmentService(ctrl *gomock.Controller) *MockFulfillmentService

NewMockFulfillmentService creates a new mock instance.

func (*MockFulfillmentService) Create

Create mocks base method.

func (*MockFulfillmentService) EXPECT

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

type MockFulfillmentServiceMockRecorder

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

MockFulfillmentServiceMockRecorder is the mock recorder for MockFulfillmentService.

func (*MockFulfillmentServiceMockRecorder) Create

func (mr *MockFulfillmentServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

type MockInventoryService

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

MockInventoryService is a mock of InventoryService interface.

func NewMockInventoryService

func NewMockInventoryService(ctrl *gomock.Controller) *MockInventoryService

NewMockInventoryService creates a new mock instance.

func (*MockInventoryService) ActivateInventory

func (m *MockInventoryService) ActivateInventory(arg0, arg1 string) error

ActivateInventory mocks base method.

func (*MockInventoryService) Adjust

Adjust mocks base method.

func (*MockInventoryService) EXPECT

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

func (*MockInventoryService) Update

Update mocks base method.

type MockInventoryServiceMockRecorder

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

MockInventoryServiceMockRecorder is the mock recorder for MockInventoryService.

func (*MockInventoryServiceMockRecorder) ActivateInventory

func (mr *MockInventoryServiceMockRecorder) ActivateInventory(arg0, arg1 interface{}) *gomock.Call

ActivateInventory indicates an expected call of ActivateInventory.

func (*MockInventoryServiceMockRecorder) Adjust

func (mr *MockInventoryServiceMockRecorder) Adjust(arg0, arg1 interface{}) *gomock.Call

Adjust indicates an expected call of Adjust.

func (*MockInventoryServiceMockRecorder) Update

func (mr *MockInventoryServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockLocationService

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

MockLocationService is a mock of LocationService interface.

func NewMockLocationService

func NewMockLocationService(ctrl *gomock.Controller) *MockLocationService

NewMockLocationService creates a new mock instance.

func (*MockLocationService) EXPECT

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

func (*MockLocationService) Get

func (m *MockLocationService) Get(arg0 string) (*model.Location, error)

Get mocks base method.

type MockLocationServiceMockRecorder

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

MockLocationServiceMockRecorder is the mock recorder for MockLocationService.

func (*MockLocationServiceMockRecorder) Get

func (mr *MockLocationServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockMetafieldService

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

MockMetafieldService is a mock of MetafieldService interface.

func NewMockMetafieldService

func NewMockMetafieldService(ctrl *gomock.Controller) *MockMetafieldService

NewMockMetafieldService creates a new mock instance.

func (*MockMetafieldService) Delete

Delete mocks base method.

func (*MockMetafieldService) DeleteBulk

func (m *MockMetafieldService) DeleteBulk(arg0 []model.MetafieldDeleteInput) error

DeleteBulk mocks base method.

func (*MockMetafieldService) EXPECT

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

func (*MockMetafieldService) GetShopMetafieldByKey

func (m *MockMetafieldService) GetShopMetafieldByKey(arg0, arg1 string) (*model.Metafield, error)

GetShopMetafieldByKey mocks base method.

func (*MockMetafieldService) ListAllShopMetafields

func (m *MockMetafieldService) ListAllShopMetafields() ([]model.Metafield, error)

ListAllShopMetafields mocks base method.

func (*MockMetafieldService) ListShopMetafieldsByNamespace

func (m *MockMetafieldService) ListShopMetafieldsByNamespace(arg0 string) ([]model.Metafield, error)

ListShopMetafieldsByNamespace mocks base method.

type MockMetafieldServiceMockRecorder

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

MockMetafieldServiceMockRecorder is the mock recorder for MockMetafieldService.

func (*MockMetafieldServiceMockRecorder) Delete

func (mr *MockMetafieldServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockMetafieldServiceMockRecorder) DeleteBulk

func (mr *MockMetafieldServiceMockRecorder) DeleteBulk(arg0 interface{}) *gomock.Call

DeleteBulk indicates an expected call of DeleteBulk.

func (*MockMetafieldServiceMockRecorder) GetShopMetafieldByKey

func (mr *MockMetafieldServiceMockRecorder) GetShopMetafieldByKey(arg0, arg1 interface{}) *gomock.Call

GetShopMetafieldByKey indicates an expected call of GetShopMetafieldByKey.

func (*MockMetafieldServiceMockRecorder) ListAllShopMetafields

func (mr *MockMetafieldServiceMockRecorder) ListAllShopMetafields() *gomock.Call

ListAllShopMetafields indicates an expected call of ListAllShopMetafields.

func (*MockMetafieldServiceMockRecorder) ListShopMetafieldsByNamespace

func (mr *MockMetafieldServiceMockRecorder) ListShopMetafieldsByNamespace(arg0 interface{}) *gomock.Call

ListShopMetafieldsByNamespace indicates an expected call of ListShopMetafieldsByNamespace.

type MockOrderService

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

MockOrderService is a mock of OrderService interface.

func NewMockOrderService

func NewMockOrderService(ctrl *gomock.Controller) *MockOrderService

NewMockOrderService creates a new mock instance.

func (*MockOrderService) EXPECT

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

func (*MockOrderService) Get

func (m *MockOrderService) Get(arg0 graphql.ID) (*model.Order, error)

Get mocks base method.

func (*MockOrderService) GetFulfillmentOrdersAtLocation

func (m *MockOrderService) GetFulfillmentOrdersAtLocation(arg0 graphql.ID, arg1 int64) ([]model.FulfillmentOrder, error)

GetFulfillmentOrdersAtLocation mocks base method.

func (*MockOrderService) List

func (m *MockOrderService) List(arg0 shopify.ListOptions) ([]model.Order, error)

List mocks base method.

func (*MockOrderService) ListAfterCursor

func (m *MockOrderService) ListAfterCursor(arg0 shopify.ListOptions) ([]model.Order, *string, *string, error)

ListAfterCursor mocks base method.

func (*MockOrderService) ListAll

func (m *MockOrderService) ListAll() ([]model.Order, error)

ListAll mocks base method.

func (*MockOrderService) Update

func (m *MockOrderService) Update(arg0 model.OrderInput) error

Update mocks base method.

type MockOrderServiceMockRecorder

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

MockOrderServiceMockRecorder is the mock recorder for MockOrderService.

func (*MockOrderServiceMockRecorder) Get

func (mr *MockOrderServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockOrderServiceMockRecorder) GetFulfillmentOrdersAtLocation

func (mr *MockOrderServiceMockRecorder) GetFulfillmentOrdersAtLocation(arg0, arg1 interface{}) *gomock.Call

GetFulfillmentOrdersAtLocation indicates an expected call of GetFulfillmentOrdersAtLocation.

func (*MockOrderServiceMockRecorder) List

func (mr *MockOrderServiceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockOrderServiceMockRecorder) ListAfterCursor

func (mr *MockOrderServiceMockRecorder) ListAfterCursor(arg0 interface{}) *gomock.Call

ListAfterCursor indicates an expected call of ListAfterCursor.

func (*MockOrderServiceMockRecorder) ListAll

func (mr *MockOrderServiceMockRecorder) ListAll() *gomock.Call

ListAll indicates an expected call of ListAll.

func (*MockOrderServiceMockRecorder) Update

func (mr *MockOrderServiceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockProductService

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

MockProductService is a mock of ProductService interface.

func NewMockProductService

func NewMockProductService(ctrl *gomock.Controller) *MockProductService

NewMockProductService creates a new mock instance.

func (*MockProductService) Create

func (m *MockProductService) Create(arg0 model.ProductInput) (*string, error)

Create mocks base method.

func (*MockProductService) Delete

Delete mocks base method.

func (*MockProductService) EXPECT

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

func (*MockProductService) Get

func (m *MockProductService) Get(arg0 string) (*model.Product, error)

Get mocks base method.

func (*MockProductService) List

func (m *MockProductService) List(arg0 string) ([]model.Product, error)

List mocks base method.

func (*MockProductService) ListAll

func (m *MockProductService) ListAll() ([]model.Product, error)

ListAll mocks base method.

func (*MockProductService) Update

func (m *MockProductService) Update(arg0 model.ProductInput) error

Update mocks base method.

func (*MockProductService) VariantsBulkCreate

func (m *MockProductService) VariantsBulkCreate(arg0 string, arg1 []model.ProductVariantsBulkInput) error

VariantsBulkCreate mocks base method.

func (*MockProductService) VariantsBulkReorder

func (m *MockProductService) VariantsBulkReorder(arg0 string, arg1 []model.ProductVariantPositionInput) error

VariantsBulkReorder mocks base method.

func (*MockProductService) VariantsBulkUpdate

func (m *MockProductService) VariantsBulkUpdate(arg0 string, arg1 []model.ProductVariantsBulkInput) error

VariantsBulkUpdate mocks base method.

type MockProductServiceMockRecorder

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

MockProductServiceMockRecorder is the mock recorder for MockProductService.

func (*MockProductServiceMockRecorder) Create

func (mr *MockProductServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockProductServiceMockRecorder) Delete

func (mr *MockProductServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProductServiceMockRecorder) Get

func (mr *MockProductServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockProductServiceMockRecorder) List

func (mr *MockProductServiceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockProductServiceMockRecorder) ListAll

ListAll indicates an expected call of ListAll.

func (*MockProductServiceMockRecorder) Update

func (mr *MockProductServiceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockProductServiceMockRecorder) VariantsBulkCreate

func (mr *MockProductServiceMockRecorder) VariantsBulkCreate(arg0, arg1 interface{}) *gomock.Call

VariantsBulkCreate indicates an expected call of VariantsBulkCreate.

func (*MockProductServiceMockRecorder) VariantsBulkReorder

func (mr *MockProductServiceMockRecorder) VariantsBulkReorder(arg0, arg1 interface{}) *gomock.Call

VariantsBulkReorder indicates an expected call of VariantsBulkReorder.

func (*MockProductServiceMockRecorder) VariantsBulkUpdate

func (mr *MockProductServiceMockRecorder) VariantsBulkUpdate(arg0, arg1 interface{}) *gomock.Call

VariantsBulkUpdate indicates an expected call of VariantsBulkUpdate.

type MockVariantService

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

MockVariantService is a mock of VariantService interface.

func NewMockVariantService

func NewMockVariantService(ctrl *gomock.Controller) *MockVariantService

NewMockVariantService creates a new mock instance.

func (*MockVariantService) EXPECT

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

func (*MockVariantService) Update

Update mocks base method.

type MockVariantServiceMockRecorder

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

MockVariantServiceMockRecorder is the mock recorder for MockVariantService.

func (*MockVariantServiceMockRecorder) Update

func (mr *MockVariantServiceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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