Documentation ¶
Index ¶
- type ActivityManager
- type ActivityManager_Expecter
- type ActivityManager_GetActivities_Call
- func (_c *ActivityManager_GetActivities_Call) Return(_a0 []*domain.Activity, _a1 error) *ActivityManager_GetActivities_Call
- func (_c *ActivityManager_GetActivities_Call) Run(...) *ActivityManager_GetActivities_Call
- func (_c *ActivityManager_GetActivities_Call) RunAndReturn(...) *ActivityManager_GetActivities_Call
- type AssignmentTyper
- type AssignmentTyper_Expecter
- type AssignmentTyper_IsExclusiveRoleAssignment_Call
- func (_c *AssignmentTyper_IsExclusiveRoleAssignment_Call) Return(_a0 bool) *AssignmentTyper_IsExclusiveRoleAssignment_Call
- func (_c *AssignmentTyper_IsExclusiveRoleAssignment_Call) Run(run func(_a0 context.Context)) *AssignmentTyper_IsExclusiveRoleAssignment_Call
- func (_c *AssignmentTyper_IsExclusiveRoleAssignment_Call) RunAndReturn(run func(context.Context) bool) *AssignmentTyper_IsExclusiveRoleAssignment_Call
- type AuditLogger
- type AuditLogger_Expecter
- type AuditLogger_Log_Call
- func (_c *AuditLogger_Log_Call) Return(_a0 error) *AuditLogger_Log_Call
- func (_c *AuditLogger_Log_Call) Run(run func(ctx context.Context, action string, data interface{})) *AuditLogger_Log_Call
- func (_c *AuditLogger_Log_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *AuditLogger_Log_Call
- type Client
- func (_m *Client) CreateConfig(_a0 *domain.ProviderConfig) error
- func (_m *Client) EXPECT() *Client_Expecter
- func (_m *Client) GetAccountTypes() []string
- func (_m *Client) GetPermissions(p *domain.ProviderConfig, resourceType string, role string) ([]interface{}, error)
- func (_m *Client) GetResources(ctx context.Context, pc *domain.ProviderConfig) ([]*domain.Resource, error)
- func (_m *Client) GetRoles(pc *domain.ProviderConfig, resourceType string) ([]*domain.Role, error)
- func (_m *Client) GetType() string
- func (_m *Client) GrantAccess(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant) error
- func (_m *Client) ListAccess(_a0 context.Context, _a1 domain.ProviderConfig, _a2 []*domain.Resource) (domain.MapResourceAccess, error)
- func (_m *Client) RevokeAccess(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant) error
- type Client_CreateConfig_Call
- type Client_Expecter
- func (_e *Client_Expecter) CreateConfig(_a0 interface{}) *Client_CreateConfig_Call
- func (_e *Client_Expecter) GetAccountTypes() *Client_GetAccountTypes_Call
- func (_e *Client_Expecter) GetPermissions(p interface{}, resourceType interface{}, role interface{}) *Client_GetPermissions_Call
- func (_e *Client_Expecter) GetResources(ctx interface{}, pc interface{}) *Client_GetResources_Call
- func (_e *Client_Expecter) GetRoles(pc interface{}, resourceType interface{}) *Client_GetRoles_Call
- func (_e *Client_Expecter) GetType() *Client_GetType_Call
- func (_e *Client_Expecter) GrantAccess(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_GrantAccess_Call
- func (_e *Client_Expecter) ListAccess(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_ListAccess_Call
- func (_e *Client_Expecter) RevokeAccess(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_RevokeAccess_Call
- type Client_GetAccountTypes_Call
- type Client_GetPermissions_Call
- func (_c *Client_GetPermissions_Call) Return(_a0 []interface{}, _a1 error) *Client_GetPermissions_Call
- func (_c *Client_GetPermissions_Call) Run(run func(p *domain.ProviderConfig, resourceType string, role string)) *Client_GetPermissions_Call
- func (_c *Client_GetPermissions_Call) RunAndReturn(run func(*domain.ProviderConfig, string, string) ([]interface{}, error)) *Client_GetPermissions_Call
- type Client_GetResources_Call
- func (_c *Client_GetResources_Call) Return(_a0 []*domain.Resource, _a1 error) *Client_GetResources_Call
- func (_c *Client_GetResources_Call) Run(run func(ctx context.Context, pc *domain.ProviderConfig)) *Client_GetResources_Call
- func (_c *Client_GetResources_Call) RunAndReturn(run func(context.Context, *domain.ProviderConfig) ([]*domain.Resource, error)) *Client_GetResources_Call
- type Client_GetRoles_Call
- func (_c *Client_GetRoles_Call) Return(_a0 []*domain.Role, _a1 error) *Client_GetRoles_Call
- func (_c *Client_GetRoles_Call) Run(run func(pc *domain.ProviderConfig, resourceType string)) *Client_GetRoles_Call
- func (_c *Client_GetRoles_Call) RunAndReturn(run func(*domain.ProviderConfig, string) ([]*domain.Role, error)) *Client_GetRoles_Call
- type Client_GetType_Call
- type Client_GrantAccess_Call
- func (_c *Client_GrantAccess_Call) Return(_a0 error) *Client_GrantAccess_Call
- func (_c *Client_GrantAccess_Call) Run(run func(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant)) *Client_GrantAccess_Call
- func (_c *Client_GrantAccess_Call) RunAndReturn(run func(context.Context, *domain.ProviderConfig, domain.Grant) error) *Client_GrantAccess_Call
- type Client_ListAccess_Call
- type Client_RevokeAccess_Call
- func (_c *Client_RevokeAccess_Call) Return(_a0 error) *Client_RevokeAccess_Call
- func (_c *Client_RevokeAccess_Call) Run(run func(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant)) *Client_RevokeAccess_Call
- func (_c *Client_RevokeAccess_Call) RunAndReturn(run func(context.Context, *domain.ProviderConfig, domain.Grant) error) *Client_RevokeAccess_Call
- type DormancyChecker
- func (_m *DormancyChecker) CorrelateGrantActivities(_a0 context.Context, _a1 domain.Provider, _a2 []*domain.Grant, ...) error
- func (_m *DormancyChecker) EXPECT() *DormancyChecker_Expecter
- func (_m *DormancyChecker) ListActivities(_a0 context.Context, _a1 domain.Provider, _a2 domain.ListActivitiesFilter) ([]*domain.Activity, error)
- type DormancyChecker_CorrelateGrantActivities_Call
- func (_c *DormancyChecker_CorrelateGrantActivities_Call) Return(_a0 error) *DormancyChecker_CorrelateGrantActivities_Call
- func (_c *DormancyChecker_CorrelateGrantActivities_Call) Run(run func(_a0 context.Context, _a1 domain.Provider, _a2 []*domain.Grant, ...)) *DormancyChecker_CorrelateGrantActivities_Call
- func (_c *DormancyChecker_CorrelateGrantActivities_Call) RunAndReturn(...) *DormancyChecker_CorrelateGrantActivities_Call
- type DormancyChecker_Expecter
- func (_e *DormancyChecker_Expecter) CorrelateGrantActivities(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}) *DormancyChecker_CorrelateGrantActivities_Call
- func (_e *DormancyChecker_Expecter) ListActivities(_a0 interface{}, _a1 interface{}, _a2 interface{}) *DormancyChecker_ListActivities_Call
- type DormancyChecker_ListActivities_Call
- func (_c *DormancyChecker_ListActivities_Call) Return(_a0 []*domain.Activity, _a1 error) *DormancyChecker_ListActivities_Call
- func (_c *DormancyChecker_ListActivities_Call) Run(...) *DormancyChecker_ListActivities_Call
- func (_c *DormancyChecker_ListActivities_Call) RunAndReturn(...) *DormancyChecker_ListActivities_Call
- type ProviderActivityService
- type ProviderActivityService_BulkInsert_Call
- type ProviderActivityService_Expecter
- type Repository
- func (_m *Repository) Create(_a0 context.Context, _a1 *domain.Provider) error
- func (_m *Repository) Delete(ctx context.Context, id string) error
- func (_m *Repository) EXPECT() *Repository_Expecter
- func (_m *Repository) Find(_a0 context.Context) ([]*domain.Provider, error)
- func (_m *Repository) GetByID(ctx context.Context, id string) (*domain.Provider, error)
- func (_m *Repository) GetOne(ctx context.Context, pType string, urn string) (*domain.Provider, error)
- func (_m *Repository) GetTypes(_a0 context.Context) ([]domain.ProviderType, error)
- func (_m *Repository) Update(_a0 context.Context, _a1 *domain.Provider) error
- type Repository_Create_Call
- func (_c *Repository_Create_Call) Return(_a0 error) *Repository_Create_Call
- func (_c *Repository_Create_Call) Run(run func(_a0 context.Context, _a1 *domain.Provider)) *Repository_Create_Call
- func (_c *Repository_Create_Call) RunAndReturn(run func(context.Context, *domain.Provider) error) *Repository_Create_Call
- type Repository_Delete_Call
- type Repository_Expecter
- func (_e *Repository_Expecter) Create(_a0 interface{}, _a1 interface{}) *Repository_Create_Call
- func (_e *Repository_Expecter) Delete(ctx interface{}, id interface{}) *Repository_Delete_Call
- func (_e *Repository_Expecter) Find(_a0 interface{}) *Repository_Find_Call
- func (_e *Repository_Expecter) GetByID(ctx interface{}, id interface{}) *Repository_GetByID_Call
- func (_e *Repository_Expecter) GetOne(ctx interface{}, pType interface{}, urn interface{}) *Repository_GetOne_Call
- func (_e *Repository_Expecter) GetTypes(_a0 interface{}) *Repository_GetTypes_Call
- func (_e *Repository_Expecter) Update(_a0 interface{}, _a1 interface{}) *Repository_Update_Call
- type Repository_Find_Call
- func (_c *Repository_Find_Call) Return(_a0 []*domain.Provider, _a1 error) *Repository_Find_Call
- func (_c *Repository_Find_Call) Run(run func(_a0 context.Context)) *Repository_Find_Call
- func (_c *Repository_Find_Call) RunAndReturn(run func(context.Context) ([]*domain.Provider, error)) *Repository_Find_Call
- type Repository_GetByID_Call
- func (_c *Repository_GetByID_Call) Return(_a0 *domain.Provider, _a1 error) *Repository_GetByID_Call
- func (_c *Repository_GetByID_Call) Run(run func(ctx context.Context, id string)) *Repository_GetByID_Call
- func (_c *Repository_GetByID_Call) RunAndReturn(run func(context.Context, string) (*domain.Provider, error)) *Repository_GetByID_Call
- type Repository_GetOne_Call
- func (_c *Repository_GetOne_Call) Return(_a0 *domain.Provider, _a1 error) *Repository_GetOne_Call
- func (_c *Repository_GetOne_Call) Run(run func(ctx context.Context, pType string, urn string)) *Repository_GetOne_Call
- func (_c *Repository_GetOne_Call) RunAndReturn(run func(context.Context, string, string) (*domain.Provider, error)) *Repository_GetOne_Call
- type Repository_GetTypes_Call
- func (_c *Repository_GetTypes_Call) Return(_a0 []domain.ProviderType, _a1 error) *Repository_GetTypes_Call
- func (_c *Repository_GetTypes_Call) Run(run func(_a0 context.Context)) *Repository_GetTypes_Call
- func (_c *Repository_GetTypes_Call) RunAndReturn(run func(context.Context) ([]domain.ProviderType, error)) *Repository_GetTypes_Call
- type Repository_Update_Call
- func (_c *Repository_Update_Call) Return(_a0 error) *Repository_Update_Call
- func (_c *Repository_Update_Call) Run(run func(_a0 context.Context, _a1 *domain.Provider)) *Repository_Update_Call
- func (_c *Repository_Update_Call) RunAndReturn(run func(context.Context, *domain.Provider) error) *Repository_Update_Call
- type ResourceService
- func (_m *ResourceService) BatchDelete(_a0 context.Context, _a1 []string) error
- func (_m *ResourceService) BulkUpsert(_a0 context.Context, _a1 []*domain.Resource) error
- func (_m *ResourceService) EXPECT() *ResourceService_Expecter
- func (_m *ResourceService) Find(_a0 context.Context, _a1 domain.ListResourcesFilter) ([]*domain.Resource, error)
- type ResourceService_BatchDelete_Call
- func (_c *ResourceService_BatchDelete_Call) Return(_a0 error) *ResourceService_BatchDelete_Call
- func (_c *ResourceService_BatchDelete_Call) Run(run func(_a0 context.Context, _a1 []string)) *ResourceService_BatchDelete_Call
- func (_c *ResourceService_BatchDelete_Call) RunAndReturn(run func(context.Context, []string) error) *ResourceService_BatchDelete_Call
- type ResourceService_BulkUpsert_Call
- func (_c *ResourceService_BulkUpsert_Call) Return(_a0 error) *ResourceService_BulkUpsert_Call
- func (_c *ResourceService_BulkUpsert_Call) Run(run func(_a0 context.Context, _a1 []*domain.Resource)) *ResourceService_BulkUpsert_Call
- func (_c *ResourceService_BulkUpsert_Call) RunAndReturn(run func(context.Context, []*domain.Resource) error) *ResourceService_BulkUpsert_Call
- type ResourceService_Expecter
- func (_e *ResourceService_Expecter) BatchDelete(_a0 interface{}, _a1 interface{}) *ResourceService_BatchDelete_Call
- func (_e *ResourceService_Expecter) BulkUpsert(_a0 interface{}, _a1 interface{}) *ResourceService_BulkUpsert_Call
- func (_e *ResourceService_Expecter) Find(_a0 interface{}, _a1 interface{}) *ResourceService_Find_Call
- type ResourceService_Find_Call
- func (_c *ResourceService_Find_Call) Return(_a0 []*domain.Resource, _a1 error) *ResourceService_Find_Call
- func (_c *ResourceService_Find_Call) Run(run func(_a0 context.Context, _a1 domain.ListResourcesFilter)) *ResourceService_Find_Call
- func (_c *ResourceService_Find_Call) RunAndReturn(...) *ResourceService_Find_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityManager ¶
ActivityManager is an autogenerated mock type for the activityManager type
func NewActivityManager ¶ added in v0.9.0
func NewActivityManager(t interface { mock.TestingT Cleanup(func()) }) *ActivityManager
NewActivityManager creates a new instance of ActivityManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ActivityManager) EXPECT ¶
func (_m *ActivityManager) EXPECT() *ActivityManager_Expecter
func (*ActivityManager) GetActivities ¶
func (_m *ActivityManager) GetActivities(_a0 context.Context, _a1 domain.Provider, _a2 domain.ListActivitiesFilter) ([]*domain.Activity, error)
GetActivities provides a mock function with given fields: _a0, _a1, _a2
type ActivityManager_Expecter ¶
type ActivityManager_Expecter struct {
// contains filtered or unexported fields
}
func (*ActivityManager_Expecter) GetActivities ¶
func (_e *ActivityManager_Expecter) GetActivities(_a0 interface{}, _a1 interface{}, _a2 interface{}) *ActivityManager_GetActivities_Call
GetActivities is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.Provider
- _a2 domain.ListActivitiesFilter
type ActivityManager_GetActivities_Call ¶
ActivityManager_GetActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetActivities'
func (*ActivityManager_GetActivities_Call) Return ¶
func (_c *ActivityManager_GetActivities_Call) Return(_a0 []*domain.Activity, _a1 error) *ActivityManager_GetActivities_Call
func (*ActivityManager_GetActivities_Call) Run ¶
func (_c *ActivityManager_GetActivities_Call) Run(run func(_a0 context.Context, _a1 domain.Provider, _a2 domain.ListActivitiesFilter)) *ActivityManager_GetActivities_Call
func (*ActivityManager_GetActivities_Call) RunAndReturn ¶ added in v0.9.0
func (_c *ActivityManager_GetActivities_Call) RunAndReturn(run func(context.Context, domain.Provider, domain.ListActivitiesFilter) ([]*domain.Activity, error)) *ActivityManager_GetActivities_Call
type AssignmentTyper ¶ added in v0.9.0
AssignmentTyper is an autogenerated mock type for the assignmentTyper type
func NewAssignmentTyper ¶ added in v0.9.0
func NewAssignmentTyper(t interface { mock.TestingT Cleanup(func()) }) *AssignmentTyper
NewAssignmentTyper creates a new instance of AssignmentTyper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AssignmentTyper) EXPECT ¶ added in v0.9.0
func (_m *AssignmentTyper) EXPECT() *AssignmentTyper_Expecter
func (*AssignmentTyper) IsExclusiveRoleAssignment ¶ added in v0.9.0
func (_m *AssignmentTyper) IsExclusiveRoleAssignment(_a0 context.Context) bool
IsExclusiveRoleAssignment provides a mock function with given fields: _a0
type AssignmentTyper_Expecter ¶ added in v0.9.0
type AssignmentTyper_Expecter struct {
// contains filtered or unexported fields
}
func (*AssignmentTyper_Expecter) IsExclusiveRoleAssignment ¶ added in v0.9.0
func (_e *AssignmentTyper_Expecter) IsExclusiveRoleAssignment(_a0 interface{}) *AssignmentTyper_IsExclusiveRoleAssignment_Call
IsExclusiveRoleAssignment is a helper method to define mock.On call
- _a0 context.Context
type AssignmentTyper_IsExclusiveRoleAssignment_Call ¶ added in v0.9.0
AssignmentTyper_IsExclusiveRoleAssignment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsExclusiveRoleAssignment'
func (*AssignmentTyper_IsExclusiveRoleAssignment_Call) Return ¶ added in v0.9.0
func (_c *AssignmentTyper_IsExclusiveRoleAssignment_Call) Return(_a0 bool) *AssignmentTyper_IsExclusiveRoleAssignment_Call
func (*AssignmentTyper_IsExclusiveRoleAssignment_Call) Run ¶ added in v0.9.0
func (_c *AssignmentTyper_IsExclusiveRoleAssignment_Call) Run(run func(_a0 context.Context)) *AssignmentTyper_IsExclusiveRoleAssignment_Call
func (*AssignmentTyper_IsExclusiveRoleAssignment_Call) RunAndReturn ¶ added in v0.9.0
func (_c *AssignmentTyper_IsExclusiveRoleAssignment_Call) RunAndReturn(run func(context.Context) bool) *AssignmentTyper_IsExclusiveRoleAssignment_Call
type AuditLogger ¶
AuditLogger is an autogenerated mock type for the auditLogger type
func NewAuditLogger ¶ added in v0.9.0
func NewAuditLogger(t interface { mock.TestingT Cleanup(func()) }) *AuditLogger
NewAuditLogger creates a new instance of AuditLogger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AuditLogger) EXPECT ¶
func (_m *AuditLogger) EXPECT() *AuditLogger_Expecter
type AuditLogger_Expecter ¶
type AuditLogger_Expecter struct {
// contains filtered or unexported fields
}
func (*AuditLogger_Expecter) Log ¶
func (_e *AuditLogger_Expecter) Log(ctx interface{}, action interface{}, data interface{}) *AuditLogger_Log_Call
Log is a helper method to define mock.On call
- ctx context.Context
- action string
- data interface{}
type AuditLogger_Log_Call ¶
AuditLogger_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*AuditLogger_Log_Call) Return ¶
func (_c *AuditLogger_Log_Call) Return(_a0 error) *AuditLogger_Log_Call
func (*AuditLogger_Log_Call) Run ¶
func (_c *AuditLogger_Log_Call) Run(run func(ctx context.Context, action string, data interface{})) *AuditLogger_Log_Call
func (*AuditLogger_Log_Call) RunAndReturn ¶ added in v0.9.0
func (_c *AuditLogger_Log_Call) RunAndReturn(run func(context.Context, string, interface{}) error) *AuditLogger_Log_Call
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶ added in v0.8.0
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) CreateConfig ¶
func (_m *Client) CreateConfig(_a0 *domain.ProviderConfig) error
CreateConfig provides a mock function with given fields: _a0
func (*Client) EXPECT ¶
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) GetAccountTypes ¶
GetAccountTypes provides a mock function with given fields:
func (*Client) GetPermissions ¶
func (_m *Client) GetPermissions(p *domain.ProviderConfig, resourceType string, role string) ([]interface{}, error)
GetPermissions provides a mock function with given fields: p, resourceType, role
func (*Client) GetResources ¶
func (_m *Client) GetResources(ctx context.Context, pc *domain.ProviderConfig) ([]*domain.Resource, error)
GetResources provides a mock function with given fields: ctx, pc
func (*Client) GrantAccess ¶
func (_m *Client) GrantAccess(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant) error
GrantAccess provides a mock function with given fields: _a0, _a1, _a2
func (*Client) ListAccess ¶
func (_m *Client) ListAccess(_a0 context.Context, _a1 domain.ProviderConfig, _a2 []*domain.Resource) (domain.MapResourceAccess, error)
ListAccess provides a mock function with given fields: _a0, _a1, _a2
func (*Client) RevokeAccess ¶
func (_m *Client) RevokeAccess(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant) error
RevokeAccess provides a mock function with given fields: _a0, _a1, _a2
type Client_CreateConfig_Call ¶
Client_CreateConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateConfig'
func (*Client_CreateConfig_Call) Return ¶
func (_c *Client_CreateConfig_Call) Return(_a0 error) *Client_CreateConfig_Call
func (*Client_CreateConfig_Call) Run ¶
func (_c *Client_CreateConfig_Call) Run(run func(_a0 *domain.ProviderConfig)) *Client_CreateConfig_Call
func (*Client_CreateConfig_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_CreateConfig_Call) RunAndReturn(run func(*domain.ProviderConfig) error) *Client_CreateConfig_Call
type Client_Expecter ¶
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) CreateConfig ¶
func (_e *Client_Expecter) CreateConfig(_a0 interface{}) *Client_CreateConfig_Call
CreateConfig is a helper method to define mock.On call
- _a0 *domain.ProviderConfig
func (*Client_Expecter) GetAccountTypes ¶
func (_e *Client_Expecter) GetAccountTypes() *Client_GetAccountTypes_Call
GetAccountTypes is a helper method to define mock.On call
func (*Client_Expecter) GetPermissions ¶
func (_e *Client_Expecter) GetPermissions(p interface{}, resourceType interface{}, role interface{}) *Client_GetPermissions_Call
GetPermissions is a helper method to define mock.On call
- p *domain.ProviderConfig
- resourceType string
- role string
func (*Client_Expecter) GetResources ¶
func (_e *Client_Expecter) GetResources(ctx interface{}, pc interface{}) *Client_GetResources_Call
GetResources is a helper method to define mock.On call
- ctx context.Context
- pc *domain.ProviderConfig
func (*Client_Expecter) GetRoles ¶
func (_e *Client_Expecter) GetRoles(pc interface{}, resourceType interface{}) *Client_GetRoles_Call
GetRoles is a helper method to define mock.On call
- pc *domain.ProviderConfig
- resourceType string
func (*Client_Expecter) GetType ¶
func (_e *Client_Expecter) GetType() *Client_GetType_Call
GetType is a helper method to define mock.On call
func (*Client_Expecter) GrantAccess ¶
func (_e *Client_Expecter) GrantAccess(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_GrantAccess_Call
GrantAccess is a helper method to define mock.On call
- _a0 context.Context
- _a1 *domain.ProviderConfig
- _a2 domain.Grant
func (*Client_Expecter) ListAccess ¶
func (_e *Client_Expecter) ListAccess(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_ListAccess_Call
ListAccess is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.ProviderConfig
- _a2 []*domain.Resource
func (*Client_Expecter) RevokeAccess ¶
func (_e *Client_Expecter) RevokeAccess(_a0 interface{}, _a1 interface{}, _a2 interface{}) *Client_RevokeAccess_Call
RevokeAccess is a helper method to define mock.On call
- _a0 context.Context
- _a1 *domain.ProviderConfig
- _a2 domain.Grant
type Client_GetAccountTypes_Call ¶
Client_GetAccountTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccountTypes'
func (*Client_GetAccountTypes_Call) Return ¶
func (_c *Client_GetAccountTypes_Call) Return(_a0 []string) *Client_GetAccountTypes_Call
func (*Client_GetAccountTypes_Call) Run ¶
func (_c *Client_GetAccountTypes_Call) Run(run func()) *Client_GetAccountTypes_Call
func (*Client_GetAccountTypes_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_GetAccountTypes_Call) RunAndReturn(run func() []string) *Client_GetAccountTypes_Call
type Client_GetPermissions_Call ¶
Client_GetPermissions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPermissions'
func (*Client_GetPermissions_Call) Return ¶
func (_c *Client_GetPermissions_Call) Return(_a0 []interface{}, _a1 error) *Client_GetPermissions_Call
func (*Client_GetPermissions_Call) Run ¶
func (_c *Client_GetPermissions_Call) Run(run func(p *domain.ProviderConfig, resourceType string, role string)) *Client_GetPermissions_Call
func (*Client_GetPermissions_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_GetPermissions_Call) RunAndReturn(run func(*domain.ProviderConfig, string, string) ([]interface{}, error)) *Client_GetPermissions_Call
type Client_GetResources_Call ¶
Client_GetResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResources'
func (*Client_GetResources_Call) Return ¶
func (_c *Client_GetResources_Call) Return(_a0 []*domain.Resource, _a1 error) *Client_GetResources_Call
func (*Client_GetResources_Call) Run ¶
func (_c *Client_GetResources_Call) Run(run func(ctx context.Context, pc *domain.ProviderConfig)) *Client_GetResources_Call
func (*Client_GetResources_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_GetResources_Call) RunAndReturn(run func(context.Context, *domain.ProviderConfig) ([]*domain.Resource, error)) *Client_GetResources_Call
type Client_GetRoles_Call ¶
Client_GetRoles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRoles'
func (*Client_GetRoles_Call) Return ¶
func (_c *Client_GetRoles_Call) Return(_a0 []*domain.Role, _a1 error) *Client_GetRoles_Call
func (*Client_GetRoles_Call) Run ¶
func (_c *Client_GetRoles_Call) Run(run func(pc *domain.ProviderConfig, resourceType string)) *Client_GetRoles_Call
func (*Client_GetRoles_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_GetRoles_Call) RunAndReturn(run func(*domain.ProviderConfig, string) ([]*domain.Role, error)) *Client_GetRoles_Call
type Client_GetType_Call ¶
Client_GetType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetType'
func (*Client_GetType_Call) Return ¶
func (_c *Client_GetType_Call) Return(_a0 string) *Client_GetType_Call
func (*Client_GetType_Call) Run ¶
func (_c *Client_GetType_Call) Run(run func()) *Client_GetType_Call
func (*Client_GetType_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_GetType_Call) RunAndReturn(run func() string) *Client_GetType_Call
type Client_GrantAccess_Call ¶
Client_GrantAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrantAccess'
func (*Client_GrantAccess_Call) Return ¶
func (_c *Client_GrantAccess_Call) Return(_a0 error) *Client_GrantAccess_Call
func (*Client_GrantAccess_Call) Run ¶
func (_c *Client_GrantAccess_Call) Run(run func(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant)) *Client_GrantAccess_Call
func (*Client_GrantAccess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_GrantAccess_Call) RunAndReturn(run func(context.Context, *domain.ProviderConfig, domain.Grant) error) *Client_GrantAccess_Call
type Client_ListAccess_Call ¶
Client_ListAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAccess'
func (*Client_ListAccess_Call) Return ¶
func (_c *Client_ListAccess_Call) Return(_a0 domain.MapResourceAccess, _a1 error) *Client_ListAccess_Call
func (*Client_ListAccess_Call) Run ¶
func (_c *Client_ListAccess_Call) Run(run func(_a0 context.Context, _a1 domain.ProviderConfig, _a2 []*domain.Resource)) *Client_ListAccess_Call
func (*Client_ListAccess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_ListAccess_Call) RunAndReturn(run func(context.Context, domain.ProviderConfig, []*domain.Resource) (domain.MapResourceAccess, error)) *Client_ListAccess_Call
type Client_RevokeAccess_Call ¶
Client_RevokeAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeAccess'
func (*Client_RevokeAccess_Call) Return ¶
func (_c *Client_RevokeAccess_Call) Return(_a0 error) *Client_RevokeAccess_Call
func (*Client_RevokeAccess_Call) Run ¶
func (_c *Client_RevokeAccess_Call) Run(run func(_a0 context.Context, _a1 *domain.ProviderConfig, _a2 domain.Grant)) *Client_RevokeAccess_Call
func (*Client_RevokeAccess_Call) RunAndReturn ¶ added in v0.8.0
func (_c *Client_RevokeAccess_Call) RunAndReturn(run func(context.Context, *domain.ProviderConfig, domain.Grant) error) *Client_RevokeAccess_Call
type DormancyChecker ¶ added in v0.7.5
DormancyChecker is an autogenerated mock type for the dormancyChecker type
func NewDormancyChecker ¶ added in v0.7.5
func NewDormancyChecker(t interface { mock.TestingT Cleanup(func()) }) *DormancyChecker
NewDormancyChecker creates a new instance of DormancyChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DormancyChecker) CorrelateGrantActivities ¶ added in v0.7.5
func (_m *DormancyChecker) CorrelateGrantActivities(_a0 context.Context, _a1 domain.Provider, _a2 []*domain.Grant, _a3 []*domain.Activity) error
CorrelateGrantActivities provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*DormancyChecker) EXPECT ¶ added in v0.7.5
func (_m *DormancyChecker) EXPECT() *DormancyChecker_Expecter
func (*DormancyChecker) ListActivities ¶ added in v0.7.5
func (_m *DormancyChecker) ListActivities(_a0 context.Context, _a1 domain.Provider, _a2 domain.ListActivitiesFilter) ([]*domain.Activity, error)
ListActivities provides a mock function with given fields: _a0, _a1, _a2
type DormancyChecker_CorrelateGrantActivities_Call ¶ added in v0.7.5
DormancyChecker_CorrelateGrantActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CorrelateGrantActivities'
func (*DormancyChecker_CorrelateGrantActivities_Call) Return ¶ added in v0.7.5
func (_c *DormancyChecker_CorrelateGrantActivities_Call) Return(_a0 error) *DormancyChecker_CorrelateGrantActivities_Call
func (*DormancyChecker_CorrelateGrantActivities_Call) Run ¶ added in v0.7.5
func (_c *DormancyChecker_CorrelateGrantActivities_Call) Run(run func(_a0 context.Context, _a1 domain.Provider, _a2 []*domain.Grant, _a3 []*domain.Activity)) *DormancyChecker_CorrelateGrantActivities_Call
func (*DormancyChecker_CorrelateGrantActivities_Call) RunAndReturn ¶ added in v0.7.5
type DormancyChecker_Expecter ¶ added in v0.7.5
type DormancyChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*DormancyChecker_Expecter) CorrelateGrantActivities ¶ added in v0.7.5
func (_e *DormancyChecker_Expecter) CorrelateGrantActivities(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}) *DormancyChecker_CorrelateGrantActivities_Call
CorrelateGrantActivities is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.Provider
- _a2 []*domain.Grant
- _a3 []*domain.Activity
func (*DormancyChecker_Expecter) ListActivities ¶ added in v0.7.5
func (_e *DormancyChecker_Expecter) ListActivities(_a0 interface{}, _a1 interface{}, _a2 interface{}) *DormancyChecker_ListActivities_Call
ListActivities is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.Provider
- _a2 domain.ListActivitiesFilter
type DormancyChecker_ListActivities_Call ¶ added in v0.7.5
DormancyChecker_ListActivities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListActivities'
func (*DormancyChecker_ListActivities_Call) Return ¶ added in v0.7.5
func (_c *DormancyChecker_ListActivities_Call) Return(_a0 []*domain.Activity, _a1 error) *DormancyChecker_ListActivities_Call
func (*DormancyChecker_ListActivities_Call) Run ¶ added in v0.7.5
func (_c *DormancyChecker_ListActivities_Call) Run(run func(_a0 context.Context, _a1 domain.Provider, _a2 domain.ListActivitiesFilter)) *DormancyChecker_ListActivities_Call
func (*DormancyChecker_ListActivities_Call) RunAndReturn ¶ added in v0.7.5
func (_c *DormancyChecker_ListActivities_Call) RunAndReturn(run func(context.Context, domain.Provider, domain.ListActivitiesFilter) ([]*domain.Activity, error)) *DormancyChecker_ListActivities_Call
type ProviderActivityService ¶
ProviderActivityService is an autogenerated mock type for the providerActivityService type
func (*ProviderActivityService) BulkInsert ¶
BulkInsert provides a mock function with given fields: _a0, _a1
func (*ProviderActivityService) EXPECT ¶
func (_m *ProviderActivityService) EXPECT() *ProviderActivityService_Expecter
type ProviderActivityService_BulkInsert_Call ¶
ProviderActivityService_BulkInsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkInsert'
func (*ProviderActivityService_BulkInsert_Call) Return ¶
func (_c *ProviderActivityService_BulkInsert_Call) Return(_a0 error) *ProviderActivityService_BulkInsert_Call
func (*ProviderActivityService_BulkInsert_Call) Run ¶
func (_c *ProviderActivityService_BulkInsert_Call) Run(run func(_a0 context.Context, _a1 []*domain.Activity)) *ProviderActivityService_BulkInsert_Call
type ProviderActivityService_Expecter ¶
type ProviderActivityService_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderActivityService_Expecter) BulkInsert ¶
func (_e *ProviderActivityService_Expecter) BulkInsert(_a0 interface{}, _a1 interface{}) *ProviderActivityService_BulkInsert_Call
BulkInsert is a helper method to define mock.On call
- _a0 context.Context
- _a1 []*domain.ProviderActivity
type Repository ¶
Repository is an autogenerated mock type for the repository type
func NewRepository ¶ added in v0.9.0
func NewRepository(t interface { mock.TestingT Cleanup(func()) }) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Repository) Delete ¶
func (_m *Repository) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*Repository) EXPECT ¶
func (_m *Repository) EXPECT() *Repository_Expecter
func (*Repository) GetOne ¶
func (_m *Repository) GetOne(ctx context.Context, pType string, urn string) (*domain.Provider, error)
GetOne provides a mock function with given fields: ctx, pType, urn
func (*Repository) GetTypes ¶
func (_m *Repository) GetTypes(_a0 context.Context) ([]domain.ProviderType, error)
GetTypes provides a mock function with given fields: _a0
type Repository_Create_Call ¶
Repository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Repository_Create_Call) Return ¶
func (_c *Repository_Create_Call) Return(_a0 error) *Repository_Create_Call
func (*Repository_Create_Call) Run ¶
func (_c *Repository_Create_Call) Run(run func(_a0 context.Context, _a1 *domain.Provider)) *Repository_Create_Call
func (*Repository_Create_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_Create_Call) RunAndReturn(run func(context.Context, *domain.Provider) error) *Repository_Create_Call
type Repository_Delete_Call ¶
Repository_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Repository_Delete_Call) Return ¶
func (_c *Repository_Delete_Call) Return(_a0 error) *Repository_Delete_Call
func (*Repository_Delete_Call) Run ¶
func (_c *Repository_Delete_Call) Run(run func(ctx context.Context, id string)) *Repository_Delete_Call
func (*Repository_Delete_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_Delete_Call) RunAndReturn(run func(context.Context, string) error) *Repository_Delete_Call
type Repository_Expecter ¶
type Repository_Expecter struct {
// contains filtered or unexported fields
}
func (*Repository_Expecter) Create ¶
func (_e *Repository_Expecter) Create(_a0 interface{}, _a1 interface{}) *Repository_Create_Call
Create is a helper method to define mock.On call
- _a0 context.Context
- _a1 *domain.Provider
func (*Repository_Expecter) Delete ¶
func (_e *Repository_Expecter) Delete(ctx interface{}, id interface{}) *Repository_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Repository_Expecter) Find ¶
func (_e *Repository_Expecter) Find(_a0 interface{}) *Repository_Find_Call
Find is a helper method to define mock.On call
- _a0 context.Context
func (*Repository_Expecter) GetByID ¶
func (_e *Repository_Expecter) GetByID(ctx interface{}, id interface{}) *Repository_GetByID_Call
GetByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*Repository_Expecter) GetOne ¶
func (_e *Repository_Expecter) GetOne(ctx interface{}, pType interface{}, urn interface{}) *Repository_GetOne_Call
GetOne is a helper method to define mock.On call
- ctx context.Context
- pType string
- urn string
func (*Repository_Expecter) GetTypes ¶
func (_e *Repository_Expecter) GetTypes(_a0 interface{}) *Repository_GetTypes_Call
GetTypes is a helper method to define mock.On call
- _a0 context.Context
func (*Repository_Expecter) Update ¶
func (_e *Repository_Expecter) Update(_a0 interface{}, _a1 interface{}) *Repository_Update_Call
Update is a helper method to define mock.On call
- _a0 context.Context
- _a1 *domain.Provider
type Repository_Find_Call ¶
Repository_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*Repository_Find_Call) Return ¶
func (_c *Repository_Find_Call) Return(_a0 []*domain.Provider, _a1 error) *Repository_Find_Call
func (*Repository_Find_Call) Run ¶
func (_c *Repository_Find_Call) Run(run func(_a0 context.Context)) *Repository_Find_Call
func (*Repository_Find_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_Find_Call) RunAndReturn(run func(context.Context) ([]*domain.Provider, error)) *Repository_Find_Call
type Repository_GetByID_Call ¶
Repository_GetByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByID'
func (*Repository_GetByID_Call) Return ¶
func (_c *Repository_GetByID_Call) Return(_a0 *domain.Provider, _a1 error) *Repository_GetByID_Call
func (*Repository_GetByID_Call) Run ¶
func (_c *Repository_GetByID_Call) Run(run func(ctx context.Context, id string)) *Repository_GetByID_Call
func (*Repository_GetByID_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_GetByID_Call) RunAndReturn(run func(context.Context, string) (*domain.Provider, error)) *Repository_GetByID_Call
type Repository_GetOne_Call ¶
Repository_GetOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOne'
func (*Repository_GetOne_Call) Return ¶
func (_c *Repository_GetOne_Call) Return(_a0 *domain.Provider, _a1 error) *Repository_GetOne_Call
func (*Repository_GetOne_Call) Run ¶
func (_c *Repository_GetOne_Call) Run(run func(ctx context.Context, pType string, urn string)) *Repository_GetOne_Call
func (*Repository_GetOne_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_GetOne_Call) RunAndReturn(run func(context.Context, string, string) (*domain.Provider, error)) *Repository_GetOne_Call
type Repository_GetTypes_Call ¶
Repository_GetTypes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTypes'
func (*Repository_GetTypes_Call) Return ¶
func (_c *Repository_GetTypes_Call) Return(_a0 []domain.ProviderType, _a1 error) *Repository_GetTypes_Call
func (*Repository_GetTypes_Call) Run ¶
func (_c *Repository_GetTypes_Call) Run(run func(_a0 context.Context)) *Repository_GetTypes_Call
func (*Repository_GetTypes_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_GetTypes_Call) RunAndReturn(run func(context.Context) ([]domain.ProviderType, error)) *Repository_GetTypes_Call
type Repository_Update_Call ¶
Repository_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Repository_Update_Call) Return ¶
func (_c *Repository_Update_Call) Return(_a0 error) *Repository_Update_Call
func (*Repository_Update_Call) Run ¶
func (_c *Repository_Update_Call) Run(run func(_a0 context.Context, _a1 *domain.Provider)) *Repository_Update_Call
func (*Repository_Update_Call) RunAndReturn ¶ added in v0.9.0
func (_c *Repository_Update_Call) RunAndReturn(run func(context.Context, *domain.Provider) error) *Repository_Update_Call
type ResourceService ¶
ResourceService is an autogenerated mock type for the resourceService type
func NewResourceService ¶ added in v0.9.0
func NewResourceService(t interface { mock.TestingT Cleanup(func()) }) *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. The first argument is typically a *testing.T value.
func (*ResourceService) BatchDelete ¶
func (_m *ResourceService) BatchDelete(_a0 context.Context, _a1 []string) error
BatchDelete provides a mock function with given fields: _a0, _a1
func (*ResourceService) BulkUpsert ¶
BulkUpsert provides a mock function with given fields: _a0, _a1
func (*ResourceService) EXPECT ¶
func (_m *ResourceService) EXPECT() *ResourceService_Expecter
func (*ResourceService) Find ¶
func (_m *ResourceService) Find(_a0 context.Context, _a1 domain.ListResourcesFilter) ([]*domain.Resource, error)
Find provides a mock function with given fields: _a0, _a1
type ResourceService_BatchDelete_Call ¶
ResourceService_BatchDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchDelete'
func (*ResourceService_BatchDelete_Call) Return ¶
func (_c *ResourceService_BatchDelete_Call) Return(_a0 error) *ResourceService_BatchDelete_Call
func (*ResourceService_BatchDelete_Call) Run ¶
func (_c *ResourceService_BatchDelete_Call) Run(run func(_a0 context.Context, _a1 []string)) *ResourceService_BatchDelete_Call
func (*ResourceService_BatchDelete_Call) RunAndReturn ¶ added in v0.9.0
func (_c *ResourceService_BatchDelete_Call) RunAndReturn(run func(context.Context, []string) error) *ResourceService_BatchDelete_Call
type ResourceService_BulkUpsert_Call ¶
ResourceService_BulkUpsert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BulkUpsert'
func (*ResourceService_BulkUpsert_Call) Return ¶
func (_c *ResourceService_BulkUpsert_Call) Return(_a0 error) *ResourceService_BulkUpsert_Call
func (*ResourceService_BulkUpsert_Call) Run ¶
func (_c *ResourceService_BulkUpsert_Call) Run(run func(_a0 context.Context, _a1 []*domain.Resource)) *ResourceService_BulkUpsert_Call
func (*ResourceService_BulkUpsert_Call) RunAndReturn ¶ added in v0.9.0
func (_c *ResourceService_BulkUpsert_Call) RunAndReturn(run func(context.Context, []*domain.Resource) error) *ResourceService_BulkUpsert_Call
type ResourceService_Expecter ¶
type ResourceService_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceService_Expecter) BatchDelete ¶
func (_e *ResourceService_Expecter) BatchDelete(_a0 interface{}, _a1 interface{}) *ResourceService_BatchDelete_Call
BatchDelete is a helper method to define mock.On call
- _a0 context.Context
- _a1 []string
func (*ResourceService_Expecter) BulkUpsert ¶
func (_e *ResourceService_Expecter) BulkUpsert(_a0 interface{}, _a1 interface{}) *ResourceService_BulkUpsert_Call
BulkUpsert is a helper method to define mock.On call
- _a0 context.Context
- _a1 []*domain.Resource
func (*ResourceService_Expecter) Find ¶
func (_e *ResourceService_Expecter) Find(_a0 interface{}, _a1 interface{}) *ResourceService_Find_Call
Find is a helper method to define mock.On call
- _a0 context.Context
- _a1 domain.ListResourcesFilter
type ResourceService_Find_Call ¶
ResourceService_Find_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Find'
func (*ResourceService_Find_Call) Return ¶
func (_c *ResourceService_Find_Call) Return(_a0 []*domain.Resource, _a1 error) *ResourceService_Find_Call
func (*ResourceService_Find_Call) Run ¶
func (_c *ResourceService_Find_Call) Run(run func(_a0 context.Context, _a1 domain.ListResourcesFilter)) *ResourceService_Find_Call
func (*ResourceService_Find_Call) RunAndReturn ¶ added in v0.9.0
func (_c *ResourceService_Find_Call) RunAndReturn(run func(context.Context, domain.ListResourcesFilter) ([]*domain.Resource, error)) *ResourceService_Find_Call