Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCategoriesService
- type MockCategoriesServiceMockRecorder
- type MockLettersService
- func (m *MockLettersService) Create(request *gocancel.LetterRequest) (*gocancel.Letter, error)
- func (m *MockLettersService) EXPECT() *MockLettersServiceMockRecorder
- func (m *MockLettersService) Get(letterID string) (*gocancel.Letter, error)
- func (m *MockLettersService) List() ([]*gocancel.Letter, error)
- type MockLettersServiceMockRecorder
- type MockOrganizationsService
- func (m *MockOrganizationsService) EXPECT() *MockOrganizationsServiceMockRecorder
- func (m *MockOrganizationsService) Get(organizationID string) (*gocancel.Organization, error)
- func (m *MockOrganizationsService) GetProduct(organizationID, productID string) (*gocancel.Product, error)
- func (m *MockOrganizationsService) List(opts *gocancel.OrganizationsListOptions) ([]*gocancel.Organization, error)
- func (m *MockOrganizationsService) ListProducts(organizationID string, opts *gocancel.OrganizationProductsListOptions) ([]*gocancel.Product, error)
- type MockOrganizationsServiceMockRecorder
- func (mr *MockOrganizationsServiceMockRecorder) Get(organizationID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) GetProduct(organizationID, productID interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) List(opts interface{}) *gomock.Call
- func (mr *MockOrganizationsServiceMockRecorder) ListProducts(organizationID, opts interface{}) *gomock.Call
- type MockProductsService
- type MockProductsServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCategoriesService ¶
type MockCategoriesService struct {
// contains filtered or unexported fields
}
MockCategoriesService is a mock of CategoriesService interface.
func NewMockCategoriesService ¶
func NewMockCategoriesService(ctrl *gomock.Controller) *MockCategoriesService
NewMockCategoriesService creates a new mock instance.
func (*MockCategoriesService) EXPECT ¶
func (m *MockCategoriesService) EXPECT() *MockCategoriesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCategoriesService) Get ¶
func (m *MockCategoriesService) Get(categoryID string) (*gocancel.Category, error)
Get mocks base method.
func (*MockCategoriesService) List ¶
func (m *MockCategoriesService) List(opts *gocancel.CategoriesListOptions) ([]*gocancel.Category, error)
List mocks base method.
type MockCategoriesServiceMockRecorder ¶
type MockCategoriesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCategoriesServiceMockRecorder is the mock recorder for MockCategoriesService.
func (*MockCategoriesServiceMockRecorder) Get ¶
func (mr *MockCategoriesServiceMockRecorder) Get(categoryID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCategoriesServiceMockRecorder) List ¶
func (mr *MockCategoriesServiceMockRecorder) List(opts interface{}) *gomock.Call
List indicates an expected call of List.
type MockLettersService ¶
type MockLettersService struct {
// contains filtered or unexported fields
}
MockLettersService is a mock of LettersService interface.
func NewMockLettersService ¶
func NewMockLettersService(ctrl *gomock.Controller) *MockLettersService
NewMockLettersService creates a new mock instance.
func (*MockLettersService) Create ¶
func (m *MockLettersService) Create(request *gocancel.LetterRequest) (*gocancel.Letter, error)
Create mocks base method.
func (*MockLettersService) EXPECT ¶
func (m *MockLettersService) EXPECT() *MockLettersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLettersServiceMockRecorder ¶
type MockLettersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLettersServiceMockRecorder is the mock recorder for MockLettersService.
func (*MockLettersServiceMockRecorder) Create ¶
func (mr *MockLettersServiceMockRecorder) Create(request interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLettersServiceMockRecorder) Get ¶
func (mr *MockLettersServiceMockRecorder) Get(letterID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockLettersServiceMockRecorder) List ¶
func (mr *MockLettersServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type MockOrganizationsService ¶
type MockOrganizationsService struct {
// contains filtered or unexported fields
}
MockOrganizationsService is a mock of OrganizationsService interface.
func NewMockOrganizationsService ¶
func NewMockOrganizationsService(ctrl *gomock.Controller) *MockOrganizationsService
NewMockOrganizationsService creates a new mock instance.
func (*MockOrganizationsService) EXPECT ¶
func (m *MockOrganizationsService) EXPECT() *MockOrganizationsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrganizationsService) Get ¶
func (m *MockOrganizationsService) Get(organizationID string) (*gocancel.Organization, error)
Get mocks base method.
func (*MockOrganizationsService) GetProduct ¶
func (m *MockOrganizationsService) GetProduct(organizationID, productID string) (*gocancel.Product, error)
GetProduct mocks base method.
func (*MockOrganizationsService) List ¶
func (m *MockOrganizationsService) List(opts *gocancel.OrganizationsListOptions) ([]*gocancel.Organization, error)
List mocks base method.
func (*MockOrganizationsService) ListProducts ¶
func (m *MockOrganizationsService) ListProducts(organizationID string, opts *gocancel.OrganizationProductsListOptions) ([]*gocancel.Product, error)
ListProducts mocks base method.
type MockOrganizationsServiceMockRecorder ¶
type MockOrganizationsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrganizationsServiceMockRecorder is the mock recorder for MockOrganizationsService.
func (*MockOrganizationsServiceMockRecorder) Get ¶
func (mr *MockOrganizationsServiceMockRecorder) Get(organizationID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockOrganizationsServiceMockRecorder) GetProduct ¶
func (mr *MockOrganizationsServiceMockRecorder) GetProduct(organizationID, productID interface{}) *gomock.Call
GetProduct indicates an expected call of GetProduct.
func (*MockOrganizationsServiceMockRecorder) List ¶
func (mr *MockOrganizationsServiceMockRecorder) List(opts interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockOrganizationsServiceMockRecorder) ListProducts ¶
func (mr *MockOrganizationsServiceMockRecorder) ListProducts(organizationID, opts interface{}) *gomock.Call
ListProducts indicates an expected call of ListProducts.
type MockProductsService ¶
type MockProductsService struct {
// contains filtered or unexported fields
}
MockProductsService is a mock of ProductsService interface.
func NewMockProductsService ¶
func NewMockProductsService(ctrl *gomock.Controller) *MockProductsService
NewMockProductsService creates a new mock instance.
func (*MockProductsService) EXPECT ¶
func (m *MockProductsService) EXPECT() *MockProductsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductsServiceMockRecorder ¶
type MockProductsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockProductsServiceMockRecorder is the mock recorder for MockProductsService.
func (*MockProductsServiceMockRecorder) Get ¶
func (mr *MockProductsServiceMockRecorder) Get(productID interface{}) *gomock.Call
Get indicates an expected call of Get.