Versions in this module Expand all Collapse all v0 v0.99.0 Apr 27, 2026 v0.98.0 Apr 23, 2026 Changes in this version + type AuditRecordRepository struct + func NewAuditRecordRepository(t interface{ ... }) *AuditRecordRepository + func (_m *AuditRecordRepository) Create(ctx context.Context, auditRecord models.AuditRecord) (models.AuditRecord, error) + func (_m *AuditRecordRepository) EXPECT() *AuditRecordRepository_Expecter + type AuditRecordRepository_Create_Call struct + func (_c *AuditRecordRepository_Create_Call) Return(_a0 models.AuditRecord, _a1 error) *AuditRecordRepository_Create_Call + func (_c *AuditRecordRepository_Create_Call) Run(run func(ctx context.Context, auditRecord models.AuditRecord)) *AuditRecordRepository_Create_Call + func (_c *AuditRecordRepository_Create_Call) RunAndReturn(run func(context.Context, models.AuditRecord) (models.AuditRecord, error)) *AuditRecordRepository_Create_Call + type AuditRecordRepository_Expecter struct + func (_e *AuditRecordRepository_Expecter) Create(ctx interface{}, auditRecord interface{}) *AuditRecordRepository_Create_Call + type GroupService struct + func NewGroupService(t interface{ ... }) *GroupService + func (_m *GroupService) EXPECT() *GroupService_Expecter + func (_m *GroupService) Get(ctx context.Context, idOrName string) (group.Group, error) + func (_m *GroupService) List(ctx context.Context, flt group.Filter) ([]group.Group, error) + type GroupService_Expecter struct + func (_e *GroupService_Expecter) Get(ctx interface{}, idOrName interface{}) *GroupService_Get_Call + func (_e *GroupService_Expecter) List(ctx interface{}, flt interface{}) *GroupService_List_Call + type GroupService_Get_Call struct + func (_c *GroupService_Get_Call) Return(_a0 group.Group, _a1 error) *GroupService_Get_Call + func (_c *GroupService_Get_Call) Run(run func(ctx context.Context, idOrName string)) *GroupService_Get_Call + func (_c *GroupService_Get_Call) RunAndReturn(run func(context.Context, string) (group.Group, error)) *GroupService_Get_Call + type GroupService_List_Call struct + func (_c *GroupService_List_Call) Return(_a0 []group.Group, _a1 error) *GroupService_List_Call + func (_c *GroupService_List_Call) Run(run func(ctx context.Context, flt group.Filter)) *GroupService_List_Call + func (_c *GroupService_List_Call) RunAndReturn(run func(context.Context, group.Filter) ([]group.Group, error)) *GroupService_List_Call + type OrgService struct + func NewOrgService(t interface{ ... }) *OrgService + func (_m *OrgService) EXPECT() *OrgService_Expecter + func (_m *OrgService) Get(ctx context.Context, idOrName string) (organization.Organization, error) + type OrgService_Expecter struct + func (_e *OrgService_Expecter) Get(ctx interface{}, idOrName interface{}) *OrgService_Get_Call + type OrgService_Get_Call struct + func (_c *OrgService_Get_Call) Return(_a0 organization.Organization, _a1 error) *OrgService_Get_Call + func (_c *OrgService_Get_Call) Run(run func(ctx context.Context, idOrName string)) *OrgService_Get_Call + func (_c *OrgService_Get_Call) RunAndReturn(run func(context.Context, string) (organization.Organization, error)) *OrgService_Get_Call + type PolicyService struct + func NewPolicyService(t interface{ ... }) *PolicyService + func (_m *PolicyService) Create(ctx context.Context, pol policy.Policy) (policy.Policy, error) + func (_m *PolicyService) Delete(ctx context.Context, id string) error + func (_m *PolicyService) EXPECT() *PolicyService_Expecter + func (_m *PolicyService) List(ctx context.Context, flt policy.Filter) ([]policy.Policy, error) + type PolicyService_Create_Call struct + func (_c *PolicyService_Create_Call) Return(_a0 policy.Policy, _a1 error) *PolicyService_Create_Call + func (_c *PolicyService_Create_Call) Run(run func(ctx context.Context, pol policy.Policy)) *PolicyService_Create_Call + func (_c *PolicyService_Create_Call) RunAndReturn(run func(context.Context, policy.Policy) (policy.Policy, error)) *PolicyService_Create_Call + type PolicyService_Delete_Call struct + func (_c *PolicyService_Delete_Call) Return(_a0 error) *PolicyService_Delete_Call + func (_c *PolicyService_Delete_Call) Run(run func(ctx context.Context, id string)) *PolicyService_Delete_Call + func (_c *PolicyService_Delete_Call) RunAndReturn(run func(context.Context, string) error) *PolicyService_Delete_Call + type PolicyService_Expecter struct + func (_e *PolicyService_Expecter) Create(ctx interface{}, pol interface{}) *PolicyService_Create_Call + func (_e *PolicyService_Expecter) Delete(ctx interface{}, id interface{}) *PolicyService_Delete_Call + func (_e *PolicyService_Expecter) List(ctx interface{}, flt interface{}) *PolicyService_List_Call + type PolicyService_List_Call struct + func (_c *PolicyService_List_Call) Return(_a0 []policy.Policy, _a1 error) *PolicyService_List_Call + func (_c *PolicyService_List_Call) Run(run func(ctx context.Context, flt policy.Filter)) *PolicyService_List_Call + func (_c *PolicyService_List_Call) RunAndReturn(run func(context.Context, policy.Filter) ([]policy.Policy, error)) *PolicyService_List_Call + type ProjectService struct + func NewProjectService(t interface{ ... }) *ProjectService + func (_m *ProjectService) EXPECT() *ProjectService_Expecter + func (_m *ProjectService) Get(ctx context.Context, idOrName string) (project.Project, error) + func (_m *ProjectService) List(ctx context.Context, flt project.Filter) ([]project.Project, error) + type ProjectService_Expecter struct + func (_e *ProjectService_Expecter) Get(ctx interface{}, idOrName interface{}) *ProjectService_Get_Call + func (_e *ProjectService_Expecter) List(ctx interface{}, flt interface{}) *ProjectService_List_Call + type ProjectService_Get_Call struct + func (_c *ProjectService_Get_Call) Return(_a0 project.Project, _a1 error) *ProjectService_Get_Call + func (_c *ProjectService_Get_Call) Run(run func(ctx context.Context, idOrName string)) *ProjectService_Get_Call + func (_c *ProjectService_Get_Call) RunAndReturn(run func(context.Context, string) (project.Project, error)) *ProjectService_Get_Call + type ProjectService_List_Call struct + func (_c *ProjectService_List_Call) Return(_a0 []project.Project, _a1 error) *ProjectService_List_Call + func (_c *ProjectService_List_Call) Run(run func(ctx context.Context, flt project.Filter)) *ProjectService_List_Call + func (_c *ProjectService_List_Call) RunAndReturn(run func(context.Context, project.Filter) ([]project.Project, error)) *ProjectService_List_Call + type RelationService struct + func NewRelationService(t interface{ ... }) *RelationService + func (_m *RelationService) Create(ctx context.Context, rel relation.Relation) (relation.Relation, error) + func (_m *RelationService) Delete(ctx context.Context, rel relation.Relation) error + func (_m *RelationService) EXPECT() *RelationService_Expecter + type RelationService_Create_Call struct + func (_c *RelationService_Create_Call) Return(_a0 relation.Relation, _a1 error) *RelationService_Create_Call + func (_c *RelationService_Create_Call) Run(run func(ctx context.Context, rel relation.Relation)) *RelationService_Create_Call + func (_c *RelationService_Create_Call) RunAndReturn(run func(context.Context, relation.Relation) (relation.Relation, error)) *RelationService_Create_Call + type RelationService_Delete_Call struct + func (_c *RelationService_Delete_Call) Return(_a0 error) *RelationService_Delete_Call + func (_c *RelationService_Delete_Call) Run(run func(ctx context.Context, rel relation.Relation)) *RelationService_Delete_Call + func (_c *RelationService_Delete_Call) RunAndReturn(run func(context.Context, relation.Relation) error) *RelationService_Delete_Call + type RelationService_Expecter struct + func (_e *RelationService_Expecter) Create(ctx interface{}, rel interface{}) *RelationService_Create_Call + func (_e *RelationService_Expecter) Delete(ctx interface{}, rel interface{}) *RelationService_Delete_Call + type RoleService struct + func NewRoleService(t interface{ ... }) *RoleService + func (_m *RoleService) EXPECT() *RoleService_Expecter + func (_m *RoleService) Get(ctx context.Context, idOrName string) (role.Role, error) + type RoleService_Expecter struct + func (_e *RoleService_Expecter) Get(ctx interface{}, idOrName interface{}) *RoleService_Get_Call + type RoleService_Get_Call struct + func (_c *RoleService_Get_Call) Return(_a0 role.Role, _a1 error) *RoleService_Get_Call + func (_c *RoleService_Get_Call) Run(run func(ctx context.Context, idOrName string)) *RoleService_Get_Call + func (_c *RoleService_Get_Call) RunAndReturn(run func(context.Context, string) (role.Role, error)) *RoleService_Get_Call + type ServiceuserService struct + func NewServiceuserService(t interface{ ... }) *ServiceuserService + func (_m *ServiceuserService) EXPECT() *ServiceuserService_Expecter + func (_m *ServiceuserService) Get(ctx context.Context, id string) (serviceuser.ServiceUser, error) + type ServiceuserService_Expecter struct + func (_e *ServiceuserService_Expecter) Get(ctx interface{}, id interface{}) *ServiceuserService_Get_Call + type ServiceuserService_Get_Call struct + func (_c *ServiceuserService_Get_Call) Return(_a0 serviceuser.ServiceUser, _a1 error) *ServiceuserService_Get_Call + func (_c *ServiceuserService_Get_Call) Run(run func(ctx context.Context, id string)) *ServiceuserService_Get_Call + func (_c *ServiceuserService_Get_Call) RunAndReturn(run func(context.Context, string) (serviceuser.ServiceUser, error)) *ServiceuserService_Get_Call + type UserService struct + func NewUserService(t interface{ ... }) *UserService + func (_m *UserService) EXPECT() *UserService_Expecter + func (_m *UserService) GetByID(ctx context.Context, id string) (user.User, error) + type UserService_Expecter struct + func (_e *UserService_Expecter) GetByID(ctx interface{}, id interface{}) *UserService_GetByID_Call + type UserService_GetByID_Call struct + func (_c *UserService_GetByID_Call) Return(_a0 user.User, _a1 error) *UserService_GetByID_Call + func (_c *UserService_GetByID_Call) Run(run func(ctx context.Context, id string)) *UserService_GetByID_Call + func (_c *UserService_GetByID_Call) RunAndReturn(run func(context.Context, string) (user.User, error)) *UserService_GetByID_Call