Versions in this module Expand all Collapse all v0 v0.97.0 Apr 12, 2026 Changes in this version + type CustomerService struct + func NewCustomerService(t interface{ ... }) *CustomerService + func (_m *CustomerService) Delete(ctx context.Context, id string) error + func (_m *CustomerService) EXPECT() *CustomerService_Expecter + func (_m *CustomerService) List(ctx context.Context, filter customer.Filter) ([]customer.Customer, error) + type CustomerService_Delete_Call struct + func (_c *CustomerService_Delete_Call) Return(_a0 error) *CustomerService_Delete_Call + func (_c *CustomerService_Delete_Call) Run(run func(ctx context.Context, id string)) *CustomerService_Delete_Call + func (_c *CustomerService_Delete_Call) RunAndReturn(run func(context.Context, string) error) *CustomerService_Delete_Call + type CustomerService_Expecter struct + func (_e *CustomerService_Expecter) Delete(ctx interface{}, id interface{}) *CustomerService_Delete_Call + func (_e *CustomerService_Expecter) List(ctx interface{}, filter interface{}) *CustomerService_List_Call + type CustomerService_List_Call struct + func (_c *CustomerService_List_Call) Return(_a0 []customer.Customer, _a1 error) *CustomerService_List_Call + func (_c *CustomerService_List_Call) Run(run func(ctx context.Context, filter customer.Filter)) *CustomerService_List_Call + func (_c *CustomerService_List_Call) RunAndReturn(run func(context.Context, customer.Filter) ([]customer.Customer, error)) *CustomerService_List_Call + type GroupService struct + func NewGroupService(t interface{ ... }) *GroupService + func (_m *GroupService) Delete(ctx context.Context, id string) error + func (_m *GroupService) EXPECT() *GroupService_Expecter + func (_m *GroupService) List(ctx context.Context, flt group.Filter) ([]group.Group, error) + func (_m *GroupService) RemoveUsers(ctx context.Context, groupID string, userIDs []string) error + type GroupService_Delete_Call struct + func (_c *GroupService_Delete_Call) Return(_a0 error) *GroupService_Delete_Call + func (_c *GroupService_Delete_Call) Run(run func(ctx context.Context, id string)) *GroupService_Delete_Call + func (_c *GroupService_Delete_Call) RunAndReturn(run func(context.Context, string) error) *GroupService_Delete_Call + type GroupService_Expecter struct + func (_e *GroupService_Expecter) Delete(ctx interface{}, id interface{}) *GroupService_Delete_Call + func (_e *GroupService_Expecter) List(ctx interface{}, flt interface{}) *GroupService_List_Call + func (_e *GroupService_Expecter) RemoveUsers(ctx interface{}, groupID interface{}, userIDs interface{}) *GroupService_RemoveUsers_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 GroupService_RemoveUsers_Call struct + func (_c *GroupService_RemoveUsers_Call) Return(_a0 error) *GroupService_RemoveUsers_Call + func (_c *GroupService_RemoveUsers_Call) Run(run func(ctx context.Context, groupID string, userIDs []string)) *GroupService_RemoveUsers_Call + func (_c *GroupService_RemoveUsers_Call) RunAndReturn(run func(context.Context, string, []string) error) *GroupService_RemoveUsers_Call + type InvitationService struct + func NewInvitationService(t interface{ ... }) *InvitationService + func (_m *InvitationService) Delete(ctx context.Context, id uuid.UUID) error + func (_m *InvitationService) EXPECT() *InvitationService_Expecter + func (_m *InvitationService) List(ctx context.Context, flt invitation.Filter) ([]invitation.Invitation, error) + type InvitationService_Delete_Call struct + func (_c *InvitationService_Delete_Call) Return(_a0 error) *InvitationService_Delete_Call + func (_c *InvitationService_Delete_Call) Run(run func(ctx context.Context, id uuid.UUID)) *InvitationService_Delete_Call + func (_c *InvitationService_Delete_Call) RunAndReturn(run func(context.Context, uuid.UUID) error) *InvitationService_Delete_Call + type InvitationService_Expecter struct + func (_e *InvitationService_Expecter) Delete(ctx interface{}, id interface{}) *InvitationService_Delete_Call + func (_e *InvitationService_Expecter) List(ctx interface{}, flt interface{}) *InvitationService_List_Call + type InvitationService_List_Call struct + func (_c *InvitationService_List_Call) Return(_a0 []invitation.Invitation, _a1 error) *InvitationService_List_Call + func (_c *InvitationService_List_Call) Run(run func(ctx context.Context, flt invitation.Filter)) *InvitationService_List_Call + func (_c *InvitationService_List_Call) RunAndReturn(run func(context.Context, invitation.Filter) ([]invitation.Invitation, error)) *InvitationService_List_Call + type InvoiceService struct + func NewInvoiceService(t interface{ ... }) *InvoiceService + func (_m *InvoiceService) DeleteByCustomer(ctx context.Context, customr customer.Customer) error + func (_m *InvoiceService) EXPECT() *InvoiceService_Expecter + func (_m *InvoiceService) List(ctx context.Context, flt invoice.Filter) ([]invoice.Invoice, error) + type InvoiceService_DeleteByCustomer_Call struct + func (_c *InvoiceService_DeleteByCustomer_Call) Return(_a0 error) *InvoiceService_DeleteByCustomer_Call + func (_c *InvoiceService_DeleteByCustomer_Call) Run(run func(ctx context.Context, customr customer.Customer)) *InvoiceService_DeleteByCustomer_Call + func (_c *InvoiceService_DeleteByCustomer_Call) RunAndReturn(run func(context.Context, customer.Customer) error) *InvoiceService_DeleteByCustomer_Call + type InvoiceService_Expecter struct + func (_e *InvoiceService_Expecter) DeleteByCustomer(ctx interface{}, customr interface{}) *InvoiceService_DeleteByCustomer_Call + func (_e *InvoiceService_Expecter) List(ctx interface{}, flt interface{}) *InvoiceService_List_Call + type InvoiceService_List_Call struct + func (_c *InvoiceService_List_Call) Return(_a0 []invoice.Invoice, _a1 error) *InvoiceService_List_Call + func (_c *InvoiceService_List_Call) Run(run func(ctx context.Context, flt invoice.Filter)) *InvoiceService_List_Call + func (_c *InvoiceService_List_Call) RunAndReturn(run func(context.Context, invoice.Filter) ([]invoice.Invoice, error)) *InvoiceService_List_Call + type OrganizationService struct + func NewOrganizationService(t interface{ ... }) *OrganizationService + func (_m *OrganizationService) DeleteModel(ctx context.Context, id string) error + func (_m *OrganizationService) EXPECT() *OrganizationService_Expecter + func (_m *OrganizationService) Get(ctx context.Context, id string) (organization.Organization, error) + func (_m *OrganizationService) ListByUser(ctx context.Context, principal authenticate.Principal, f organization.Filter) ([]organization.Organization, error) + func (_m *OrganizationService) RemoveUsers(ctx context.Context, orgID string, userIDs []string) error + type OrganizationService_DeleteModel_Call struct + func (_c *OrganizationService_DeleteModel_Call) Return(_a0 error) *OrganizationService_DeleteModel_Call + func (_c *OrganizationService_DeleteModel_Call) Run(run func(ctx context.Context, id string)) *OrganizationService_DeleteModel_Call + func (_c *OrganizationService_DeleteModel_Call) RunAndReturn(run func(context.Context, string) error) *OrganizationService_DeleteModel_Call + type OrganizationService_Expecter struct + func (_e *OrganizationService_Expecter) DeleteModel(ctx interface{}, id interface{}) *OrganizationService_DeleteModel_Call + func (_e *OrganizationService_Expecter) Get(ctx interface{}, id interface{}) *OrganizationService_Get_Call + func (_e *OrganizationService_Expecter) ListByUser(ctx interface{}, principal interface{}, f interface{}) *OrganizationService_ListByUser_Call + func (_e *OrganizationService_Expecter) RemoveUsers(ctx interface{}, orgID interface{}, userIDs interface{}) *OrganizationService_RemoveUsers_Call + type OrganizationService_Get_Call struct + func (_c *OrganizationService_Get_Call) Return(_a0 organization.Organization, _a1 error) *OrganizationService_Get_Call + func (_c *OrganizationService_Get_Call) Run(run func(ctx context.Context, id string)) *OrganizationService_Get_Call + func (_c *OrganizationService_Get_Call) RunAndReturn(run func(context.Context, string) (organization.Organization, error)) *OrganizationService_Get_Call + type OrganizationService_ListByUser_Call struct + func (_c *OrganizationService_ListByUser_Call) Return(_a0 []organization.Organization, _a1 error) *OrganizationService_ListByUser_Call + func (_c *OrganizationService_ListByUser_Call) Run(...) *OrganizationService_ListByUser_Call + func (_c *OrganizationService_ListByUser_Call) RunAndReturn(...) *OrganizationService_ListByUser_Call + type OrganizationService_RemoveUsers_Call struct + func (_c *OrganizationService_RemoveUsers_Call) Return(_a0 error) *OrganizationService_RemoveUsers_Call + func (_c *OrganizationService_RemoveUsers_Call) Run(run func(ctx context.Context, orgID string, userIDs []string)) *OrganizationService_RemoveUsers_Call + func (_c *OrganizationService_RemoveUsers_Call) RunAndReturn(run func(context.Context, string, []string) error) *OrganizationService_RemoveUsers_Call + type PolicyService struct + func NewPolicyService(t interface{ ... }) *PolicyService + 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_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) 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) DeleteModel(ctx context.Context, id string) error + func (_m *ProjectService) EXPECT() *ProjectService_Expecter + func (_m *ProjectService) List(ctx context.Context, flt project.Filter) ([]project.Project, error) + type ProjectService_DeleteModel_Call struct + func (_c *ProjectService_DeleteModel_Call) Return(_a0 error) *ProjectService_DeleteModel_Call + func (_c *ProjectService_DeleteModel_Call) Run(run func(ctx context.Context, id string)) *ProjectService_DeleteModel_Call + func (_c *ProjectService_DeleteModel_Call) RunAndReturn(run func(context.Context, string) error) *ProjectService_DeleteModel_Call + type ProjectService_Expecter struct + func (_e *ProjectService_Expecter) DeleteModel(ctx interface{}, id interface{}) *ProjectService_DeleteModel_Call + func (_e *ProjectService_Expecter) List(ctx interface{}, flt interface{}) *ProjectService_List_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 ResourceService struct + func NewResourceService(t interface{ ... }) *ResourceService + func (_m *ResourceService) Delete(ctx context.Context, namespaceID string, id string) error + func (_m *ResourceService) EXPECT() *ResourceService_Expecter + func (_m *ResourceService) Get(ctx context.Context, id string) (resource.Resource, error) + func (_m *ResourceService) List(ctx context.Context, flt resource.Filter) ([]resource.Resource, error) + type ResourceService_Delete_Call struct + func (_c *ResourceService_Delete_Call) Return(_a0 error) *ResourceService_Delete_Call + func (_c *ResourceService_Delete_Call) Run(run func(ctx context.Context, namespaceID string, id string)) *ResourceService_Delete_Call + func (_c *ResourceService_Delete_Call) RunAndReturn(run func(context.Context, string, string) error) *ResourceService_Delete_Call + type ResourceService_Expecter struct + func (_e *ResourceService_Expecter) Delete(ctx interface{}, namespaceID interface{}, id interface{}) *ResourceService_Delete_Call + func (_e *ResourceService_Expecter) Get(ctx interface{}, id interface{}) *ResourceService_Get_Call + func (_e *ResourceService_Expecter) List(ctx interface{}, flt interface{}) *ResourceService_List_Call + type ResourceService_Get_Call struct + func (_c *ResourceService_Get_Call) Return(_a0 resource.Resource, _a1 error) *ResourceService_Get_Call + func (_c *ResourceService_Get_Call) Run(run func(ctx context.Context, id string)) *ResourceService_Get_Call + func (_c *ResourceService_Get_Call) RunAndReturn(run func(context.Context, string) (resource.Resource, error)) *ResourceService_Get_Call + type ResourceService_List_Call struct + func (_c *ResourceService_List_Call) Return(_a0 []resource.Resource, _a1 error) *ResourceService_List_Call + func (_c *ResourceService_List_Call) Run(run func(ctx context.Context, flt resource.Filter)) *ResourceService_List_Call + func (_c *ResourceService_List_Call) RunAndReturn(run func(context.Context, resource.Filter) ([]resource.Resource, error)) *ResourceService_List_Call + type RoleService struct + func NewRoleService(t interface{ ... }) *RoleService + func (_m *RoleService) Delete(ctx context.Context, id string) error + func (_m *RoleService) EXPECT() *RoleService_Expecter + func (_m *RoleService) List(ctx context.Context, flt role.Filter) ([]role.Role, error) + type RoleService_Delete_Call struct + func (_c *RoleService_Delete_Call) Return(_a0 error) *RoleService_Delete_Call + func (_c *RoleService_Delete_Call) Run(run func(ctx context.Context, id string)) *RoleService_Delete_Call + func (_c *RoleService_Delete_Call) RunAndReturn(run func(context.Context, string) error) *RoleService_Delete_Call + type RoleService_Expecter struct + func (_e *RoleService_Expecter) Delete(ctx interface{}, id interface{}) *RoleService_Delete_Call + func (_e *RoleService_Expecter) List(ctx interface{}, flt interface{}) *RoleService_List_Call + type RoleService_List_Call struct + func (_c *RoleService_List_Call) Return(_a0 []role.Role, _a1 error) *RoleService_List_Call + func (_c *RoleService_List_Call) Run(run func(ctx context.Context, flt role.Filter)) *RoleService_List_Call + func (_c *RoleService_List_Call) RunAndReturn(run func(context.Context, role.Filter) ([]role.Role, error)) *RoleService_List_Call + type SubscriptionService struct + func NewSubscriptionService(t interface{ ... }) *SubscriptionService + func (_m *SubscriptionService) DeleteByCustomer(ctx context.Context, customr customer.Customer) error + func (_m *SubscriptionService) EXPECT() *SubscriptionService_Expecter + type SubscriptionService_DeleteByCustomer_Call struct + func (_c *SubscriptionService_DeleteByCustomer_Call) Return(_a0 error) *SubscriptionService_DeleteByCustomer_Call + func (_c *SubscriptionService_DeleteByCustomer_Call) Run(run func(ctx context.Context, customr customer.Customer)) *SubscriptionService_DeleteByCustomer_Call + func (_c *SubscriptionService_DeleteByCustomer_Call) RunAndReturn(run func(context.Context, customer.Customer) error) *SubscriptionService_DeleteByCustomer_Call + type SubscriptionService_Expecter struct + func (_e *SubscriptionService_Expecter) DeleteByCustomer(ctx interface{}, customr interface{}) *SubscriptionService_DeleteByCustomer_Call + type UserService struct + func NewUserService(t interface{ ... }) *UserService + func (_m *UserService) Delete(ctx context.Context, id string) error + func (_m *UserService) EXPECT() *UserService_Expecter + type UserService_Delete_Call struct + func (_c *UserService_Delete_Call) Return(_a0 error) *UserService_Delete_Call + func (_c *UserService_Delete_Call) Run(run func(ctx context.Context, id string)) *UserService_Delete_Call + func (_c *UserService_Delete_Call) RunAndReturn(run func(context.Context, string) error) *UserService_Delete_Call + type UserService_Expecter struct + func (_e *UserService_Expecter) Delete(ctx interface{}, id interface{}) *UserService_Delete_Call