Documentation ¶
Overview ¶
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Index ¶
- type MockClientService
- type MockClientServiceMockRecorder
- type MockTokensService
- func (m *MockTokensService) Create(contractNumber int32) (*resources.Jwt, *resources.Response, error)
- func (m *MockTokensService) DeleteByCriteria(criteria string, contractNumber int32) (*resources.DeleteResponse, *resources.Response, error)
- func (m *MockTokensService) DeleteByID(tokenId string, contractNumber int32) (*resources.DeleteResponse, *resources.Response, error)
- func (m *MockTokensService) EXPECT() *MockTokensServiceMockRecorder
- func (m *MockTokensService) Get(tokenId string, contractNumber int32) (*resources.Token, *resources.Response, error)
- func (m *MockTokensService) List(contractNumber int32) (resources.Tokens, *resources.Response, error)
- type MockTokensServiceMockRecorder
- func (mr *MockTokensServiceMockRecorder) Create(contractNumber interface{}) *gomock.Call
- func (mr *MockTokensServiceMockRecorder) DeleteByCriteria(criteria, contractNumber interface{}) *gomock.Call
- func (mr *MockTokensServiceMockRecorder) DeleteByID(tokenId, contractNumber interface{}) *gomock.Call
- func (mr *MockTokensServiceMockRecorder) Get(tokenId, contractNumber interface{}) *gomock.Call
- func (mr *MockTokensServiceMockRecorder) List(contractNumber interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientService ¶
type MockClientService struct {
// contains filtered or unexported fields
}
MockClientService is a mock of ClientService interface.
func NewMockClientService ¶
func NewMockClientService(ctrl *gomock.Controller) *MockClientService
NewMockClientService creates a new mock instance.
func (*MockClientService) EXPECT ¶
func (m *MockClientService) EXPECT() *MockClientServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientService) Get ¶
func (m *MockClientService) Get() *resources.Client
Get mocks base method.
func (*MockClientService) GetConfig ¶
func (m *MockClientService) GetConfig() *resources.ClientConfig
GetConfig mocks base method.
type MockClientServiceMockRecorder ¶
type MockClientServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientServiceMockRecorder is the mock recorder for MockClientService.
func (*MockClientServiceMockRecorder) Get ¶
func (mr *MockClientServiceMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get.
func (*MockClientServiceMockRecorder) GetConfig ¶
func (mr *MockClientServiceMockRecorder) GetConfig() *gomock.Call
GetConfig indicates an expected call of GetConfig.
type MockTokensService ¶
type MockTokensService struct {
// contains filtered or unexported fields
}
MockTokensService is a mock of TokensService interface.
func NewMockTokensService ¶
func NewMockTokensService(ctrl *gomock.Controller) *MockTokensService
NewMockTokensService creates a new mock instance.
func (*MockTokensService) Create ¶
func (m *MockTokensService) Create(contractNumber int32) (*resources.Jwt, *resources.Response, error)
Create mocks base method.
func (*MockTokensService) DeleteByCriteria ¶
func (m *MockTokensService) DeleteByCriteria(criteria string, contractNumber int32) (*resources.DeleteResponse, *resources.Response, error)
DeleteByCriteria mocks base method.
func (*MockTokensService) DeleteByID ¶
func (m *MockTokensService) DeleteByID(tokenId string, contractNumber int32) (*resources.DeleteResponse, *resources.Response, error)
DeleteByID mocks base method.
func (*MockTokensService) EXPECT ¶
func (m *MockTokensService) EXPECT() *MockTokensServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTokensServiceMockRecorder ¶
type MockTokensServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTokensServiceMockRecorder is the mock recorder for MockTokensService.
func (*MockTokensServiceMockRecorder) Create ¶
func (mr *MockTokensServiceMockRecorder) Create(contractNumber interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockTokensServiceMockRecorder) DeleteByCriteria ¶
func (mr *MockTokensServiceMockRecorder) DeleteByCriteria(criteria, contractNumber interface{}) *gomock.Call
DeleteByCriteria indicates an expected call of DeleteByCriteria.
func (*MockTokensServiceMockRecorder) DeleteByID ¶
func (mr *MockTokensServiceMockRecorder) DeleteByID(tokenId, contractNumber interface{}) *gomock.Call
DeleteByID indicates an expected call of DeleteByID.
func (*MockTokensServiceMockRecorder) Get ¶
func (mr *MockTokensServiceMockRecorder) Get(tokenId, contractNumber interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTokensServiceMockRecorder) List ¶
func (mr *MockTokensServiceMockRecorder) List(contractNumber interface{}) *gomock.Call
List indicates an expected call of List.