MCPcopy Create free account

hub / github.com/SwishHQ/spread / functions

Functions548 in github.com/SwishHQ/spread

MethodGetByLabelAndEnvironmentId
(ctx context.Context, label string, environmentId primitive.ObjectID)
src/repository/bundle_repository.go:107
MethodGetByName
(ctx context.Context, name string)
src/service/app_service_test.go:29
MethodGetByName
(ctx context.Context, name string)
src/repository/app_repository.go:36
MethodGetBySequenceIdEnvironmentIdAndVersionId
(ctx context.Context, sequenceId int64, environmentId primitive.ObjectID, versionId primitive.ObjectID)
src/service/bundle_service_test.go:181
MethodGetBySequenceIdEnvironmentIdAndVersionId
(ctx context.Context, sequenceId int64, environmentId primitive.ObjectID, versionId primitive.ObjectID)
src/repository/bundle_repository.go:117
MethodGetByUser
(ctx context.Context, username string)
src/service/auth_key_service_test.go:44
MethodGetByUsername
(ctx context.Context, username string)
src/service/user_service_test.go:33
MethodGetByUsername
(ctx context.Context, username string)
src/repository/user_repository.go:40
MethodGetByVersionId
(c *fiber.Ctx)
src/controller/version_controller.go:36
MethodGetByVersionId
(ctx context.Context, versionId primitive.ObjectID)
src/service/version_service.go:79
MethodGetByVersionId
(ctx context.Context, versionId primitive.ObjectID)
src/service/bundle_service_test.go:70
MethodGetEnvironmentByAppIdAndEnvironmentId
(ctx context.Context, appId primitive.ObjectID, id string)
src/service/environment_service.go:94
MethodGetEnvironmentByAppIdAndEnvironmentId
(ctx context.Context, appId primitive.ObjectID, environmentId string)
src/service/bundle_service_test.go:123
MethodGetEnvironmentByAppIdAndName
(ctx context.Context, appId primitive.ObjectID, environmentName string)
src/service/environment_service.go:33
MethodGetEnvironmentByAppIdAndName
(ctx context.Context, appId primitive.ObjectID, name string)
src/service/bundle_service_test.go:99
MethodGetEnvironmentByKey
(ctx context.Context, key string)
src/service/environment_service.go:75
MethodGetEnvironmentByKey
(ctx context.Context, key string)
src/service/bundle_service_test.go:107
MethodGetLatestVersionByEnvironmentId
(ctx context.Context, environmentId primitive.ObjectID)
src/service/version_service_test.go:53
MethodGetLatestVersionByEnvironmentId
(ctx context.Context, environmentId primitive.ObjectID)
src/service/version_service.go:59
MethodGetLatestVersionByEnvironmentId
(ctx context.Context, environmentId primitive.ObjectID)
src/service/bundle_service_test.go:54
MethodGetLatestVersionByEnvironmentId
(ctx context.Context, environmentId primitive.ObjectID)
src/repository/version_repository.go:19
MethodGetLatestVersionByEnvironmentId
(ctx context.Context, environmentId primitive.ObjectID)
src/repository/version_repository.go:75
MethodGetNextSeqByEnvironmentIdAndVersionId
(ctx context.Context, environmentId primitive.ObjectID, versionId primitive.ObjectID)
src/service/bundle_service_test.go:176
MethodGetNextSeqByEnvironmentIdAndVersionId
(ctx context.Context, environmentId primitive.ObjectID, versionId primitive.ObjectID)
src/repository/bundle_repository.go:72
MethodGetUser
(c *fiber.Ctx)
src/controller/user_controller.go:15
MethodGetUser
(ctx *fiber.Ctx)
src/controller/user_controller.go:45
MethodGetUser
(id string)
src/service/user_service.go:82
MethodGetVersionByEnvironmentIdAndAppVersion
(ctx context.Context, environmentId primitive.ObjectID, appVersion string)
src/service/version_service.go:32
MethodGetVersionByEnvironmentIdAndAppVersion
(ctx context.Context, environmentId primitive.ObjectID, appVersion string)
src/service/bundle_service_test.go:38
MethodGetVersionByEnvironmentIdAndVersionId
(ctx context.Context, versionId primitive.ObjectID, environmentId primitive.ObjectID)
src/service/version_service.go:90
MethodGetVersionByEnvironmentIdAndVersionId
(ctx context.Context, versionId primitive.ObjectID, environmentId primitive.ObjectID)
src/service/bundle_service_test.go:46
FunctionHeader
()
web/src/components/Header.tsx:9
MethodInitUser
(c *fiber.Ctx)
src/controller/user_controller.go:17
MethodInitUser
(ctx *fiber.Ctx)
src/controller/user_controller.go:85
MethodInsert
(ctx context.Context, app *model.App)
src/service/app_service_test.go:21
MethodInsert
(ctx context.Context, environment *model.Environment)
src/service/environment_service_test.go:59
MethodInsert
(ctx context.Context, user *model.User)
src/service/user_service_test.go:25
MethodInsert
(authKey *model.AuthKey)
src/service/auth_key_service_test.go:20
MethodInsert
(ctx context.Context, app *model.App)
src/repository/app_repository.go:27
MethodInsert
(ctx context.Context, environment *model.Environment)
src/repository/environment_repository.go:15
MethodInsert
(ctx context.Context, environment *model.Environment)
src/repository/environment_repository.go:30
MethodInsert
(authKey *model.AuthKey)
src/repository/auth_key.repository.go:14
MethodInsert
(authKey *model.AuthKey)
src/repository/auth_key.repository.go:27
MethodInsert
(ctx context.Context, user *model.User)
src/repository/user_repository.go:14
MethodInsert
(ctx context.Context, user *model.User)
src/repository/user_repository.go:28
FunctionInternalServerErrorException
()
exception/exception.go:27
MethodLogin
(user *types.LoginUserRequest)
src/service/user_service.go:58
MethodLoginUser
(c *fiber.Ctx)
src/controller/user_controller.go:14
MethodLoginUser
(ctx *fiber.Ctx)
src/controller/user_controller.go:56
FunctionLoginView
()
web/src/views/auth/LoginView.tsx:12
FunctionMD5
given a string, return the md5 hash example: "hello" -> "5d41402abc4b2a76b9719d911017c592"
utils/common.go:139
FunctionNavigationProvider
({ children }: { children: React.ReactNode })
web/src/App.tsx:23
FunctionNotFound
()
web/src/views/404.tsx:4
FunctionProtectedRoute
({ children })
web/src/components/auth/ProtectedRoute.tsx:14
FunctionRadio
({ checked, onChange }: RadioProps)
web/src/components/primitives/Radio.tsx:8
MethodReportStatusDeploy
(ctx *fiber.Ctx)
src/controller/client_controller.go:49
MethodReportStatusDeploy
we retrive bundle using the labelId, during checkupdate we send label as bundleId which the SDK sends back to report status. Use the label to fetch bu
src/service/client_service.go:108
MethodReportStatusDownload
(ctx *fiber.Ctx)
src/controller/client_controller.go:64
MethodReportStatusDownload
(reportStatusRequest *types.ReportStatusDownloadRequest)
src/service/client_service.go:176
FunctionResourceNotFoundException
(resourceName string, fieldName string, fieldValue string)
exception/exception.go:9
MethodRollback
(c *fiber.Ctx)
src/controller/bundle_controller.go:75
MethodRollback
Rollback is essentially changing the bundle of a version to the previous bundle if any exists
src/service/bundle_service.go:186
MethodRollback
(rollbackRequest *types.RollbackRequest)
src/service/client_service_test.go:26
MethodSetupStatus
(c *fiber.Ctx)
src/controller/user_controller.go:16
MethodSetupStatus
(ctx *fiber.Ctx)
src/controller/user_controller.go:73
FunctionSetupView
({ onUserCreated })
web/src/views/setup/SetupView.tsx:20
FunctionSetupWrapper
({ children })
web/src/components/setup/SetupWrapper.tsx:10
FunctionTestAppService_CreateApp_AlreadyExists
(t *testing.T)
src/service/app_service_test.go:95
FunctionTestAppService_CreateApp_GetByNameError
(t *testing.T)
src/service/app_service_test.go:142
FunctionTestAppService_CreateApp_InsertError
(t *testing.T)
src/service/app_service_test.go:164
FunctionTestAppService_CreateApp_InvalidOS
(t *testing.T)
src/service/app_service_test.go:123
FunctionTestAppService_CreateApp_Success
(t *testing.T)
src/service/app_service_test.go:61
FunctionTestAppService_GetAppById_Error
(t *testing.T)
src/service/app_service_test.go:307
FunctionTestAppService_GetAppById_InvalidID
(t *testing.T)
src/service/app_service_test.go:267
FunctionTestAppService_GetAppById_NotFound
(t *testing.T)
src/service/app_service_test.go:285
FunctionTestAppService_GetAppById_Success
(t *testing.T)
src/service/app_service_test.go:238
FunctionTestAppService_GetAppByName_Error
(t *testing.T)
src/service/app_service_test.go:217
FunctionTestAppService_GetAppByName_Success
(t *testing.T)
src/service/app_service_test.go:189
FunctionTestAppService_GetApps_Error
(t *testing.T)
src/service/app_service_test.go:364
FunctionTestAppService_GetApps_Success
(t *testing.T)
src/service/app_service_test.go:329
FunctionTestAuthKeyService_CreateAuthKey_GeneratesUniqueKeys
(t *testing.T)
src/service/auth_key_service_test.go:270
FunctionTestAuthKeyService_CreateAuthKey_InsertError
(t *testing.T)
src/service/auth_key_service_test.go:97
FunctionTestAuthKeyService_CreateAuthKey_Success
(t *testing.T)
src/service/auth_key_service_test.go:60
FunctionTestAuthKeyService_GetAllAuthKeys_EmptyList
(t *testing.T)
src/service/auth_key_service_test.go:230
FunctionTestAuthKeyService_GetAllAuthKeys_RepositoryError
(t *testing.T)
src/service/auth_key_service_test.go:250
FunctionTestAuthKeyService_GetAllAuthKeys_Success
(t *testing.T)
src/service/auth_key_service_test.go:188
FunctionTestAuthKeyService_GetByAuthKey_NotFound
(t *testing.T)
src/service/auth_key_service_test.go:149
FunctionTestAuthKeyService_GetByAuthKey_RepositoryError
(t *testing.T)
src/service/auth_key_service_test.go:168
FunctionTestAuthKeyService_GetByAuthKey_Success
(t *testing.T)
src/service/auth_key_service_test.go:118
FunctionTestBundleService_AddActive_Error
(t *testing.T)
src/service/bundle_service_test.go:567
FunctionTestBundleService_AddActive_Success
(t *testing.T)
src/service/bundle_service_test.go:548
FunctionTestBundleService_AddFailed_Success
(t *testing.T)
src/service/bundle_service_test.go:587
FunctionTestBundleService_AddInstalled_Success
(t *testing.T)
src/service/bundle_service_test.go:606
FunctionTestBundleService_CreateNewBundle_AppNotFound
(t *testing.T)
src/service/bundle_service_test.go:918
FunctionTestBundleService_CreateNewBundle_DuplicateHash
(t *testing.T)
src/service/bundle_service_test.go:994
FunctionTestBundleService_CreateNewBundle_EnvironmentNotFound
(t *testing.T)
src/service/bundle_service_test.go:951
FunctionTestBundleService_CreateNewBundle_ExistingVersion_Success
(t *testing.T)
src/service/bundle_service_test.go:819
FunctionTestBundleService_CreateNewBundle_NewVersion_Success
(t *testing.T)
src/service/bundle_service_test.go:725
FunctionTestBundleService_DecrementActive_Success
(t *testing.T)
src/service/bundle_service_test.go:625
FunctionTestBundleService_GetBundleByHashAndVersionId_Error
(t *testing.T)
src/service/bundle_service_test.go:700
← previousnext →301–400 of 548, ranked by callers