Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RelationService ¶
RelationService is an autogenerated mock type for the RelationService type
func NewRelationService ¶
func NewRelationService(t mockConstructorTestingTNewRelationService) *RelationService
NewRelationService creates a new instance of RelationService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RelationService) Create ¶
func (_m *RelationService) Create(ctx context.Context, _a1 relation.RelationV2) (relation.RelationV2, error)
Create provides a mock function with given fields: ctx, _a1
func (*RelationService) EXPECT ¶
func (_m *RelationService) EXPECT() *RelationService_Expecter
type RelationService_Create_Call ¶
RelationService_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*RelationService_Create_Call) Return ¶
func (_c *RelationService_Create_Call) Return(_a0 relation.RelationV2, _a1 error) *RelationService_Create_Call
func (*RelationService_Create_Call) Run ¶
func (_c *RelationService_Create_Call) Run(run func(ctx context.Context, _a1 relation.RelationV2)) *RelationService_Create_Call
type RelationService_Expecter ¶
type RelationService_Expecter struct {
// contains filtered or unexported fields
}
func (*RelationService_Expecter) Create ¶
func (_e *RelationService_Expecter) Create(ctx interface{}, _a1 interface{}) *RelationService_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- _a1 relation.RelationV2
type ResourceService ¶
ResourceService is an autogenerated mock type for the ResourceService type
func NewResourceService ¶
func NewResourceService(t mockConstructorTestingTNewResourceService) *ResourceService
NewResourceService creates a new instance of ResourceService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ResourceService) Create ¶
func (_m *ResourceService) Create(ctx context.Context, _a1 resource.Resource) (resource.Resource, error)
Create provides a mock function with given fields: ctx, _a1
func (*ResourceService) EXPECT ¶
func (_m *ResourceService) EXPECT() *ResourceService_Expecter
type ResourceService_Create_Call ¶
ResourceService_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ResourceService_Create_Call) Return ¶
func (_c *ResourceService_Create_Call) Return(_a0 resource.Resource, _a1 error) *ResourceService_Create_Call
func (*ResourceService_Create_Call) Run ¶
func (_c *ResourceService_Create_Call) Run(run func(ctx context.Context, _a1 resource.Resource)) *ResourceService_Create_Call
type ResourceService_Expecter ¶
type ResourceService_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceService_Expecter) Create ¶
func (_e *ResourceService_Expecter) Create(ctx interface{}, _a1 interface{}) *ResourceService_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- _a1 resource.Resource