MCPcopy Index your code

hub / github.com/litmuschaos/litmus / functions

Functions4,264 in github.com/litmuschaos/litmus

↓ 1,337 callersFunctiongetString
(key: StringKeys, vars: Record<string, any> = {})
chaoscenter/web/src/strings/String.tsx:16
↓ 258 callersFunctionuseStrings
()
chaoscenter/web/src/strings/String.tsx:11
↓ 206 callersMethodReturn
(_a0 *model.ChaosExperimentRequest, _a1 *chaos_experiment.ChaosExperimentType, _a2 error)
chaoscenter/graphql/server/pkg/chaos_experiment/model/mocks/service.go:94
↓ 169 callersMethodmarshalNString2string
(ctx context.Context, sel ast.SelectionSet, v string)
chaoscenter/graphql/server/graph/generated/generated.go:45678
↓ 132 callersMethodGet
(ctx context.Context, collectionType int, query bson.D)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:15
↓ 119 callersMethodunmarshalNString2string
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:45673
↓ 105 callersMethodString
()
chaoscenter/graphql/server/protos/authentication.pb.go:223
↓ 91 callersMethodunmarshalOString2ᚖstring
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:47020
↓ 81 callersMethodunmarshalNID2string
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:44834
↓ 80 callersMethodRun
Run executes all the steps required for the Version Manger to upgrade from the previous version to `this` version
chaoscenter/upgrade-agents/control-plane/versions/version-manger.go:10
↓ 76 callersMethodprocessDeferredGroup
(dg graphql.DeferredGroup)
chaoscenter/graphql/server/graph/generated/generated.go:4545
↓ 71 callersMethodmarshalOString2ᚖstring
(ctx context.Context, sel ast.SelectionSet, v *string)
chaoscenter/graphql/server/graph/generated/generated.go:47028
↓ 67 callersMethodString
()
chaoscenter/graphql/server/graph/model/models_gen.go:2639
↓ 65 callersFunctiongetScope
()
chaoscenter/web/src/utils/getScope.ts:4
↓ 44 callersFunctionuseRouteWithBaseUrl
(scope?: RouteScope)
chaoscenter/web/src/hooks/useRouteWithBaseUrl.ts:17
↓ 41 callersMethodfireEvent
(event: any)
chaoscenter/web/src/components/PipelineDiagram/DiagramFactory.tsx:124
↓ 41 callersFunctionuseSearchParams
()
chaoscenter/web/src/hooks/useSearchParams.ts:4
↓ 40 callersMethodQuery
()
chaoscenter/graphql/server/graph/generated/generated.go:43
↓ 35 callersMethodMutation
()
chaoscenter/graphql/server/graph/generated/generated.go:42
↓ 33 callersMethodReplace
(ctx context.Context, collectionType int, query bson.D, replacement interface{})
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:21
↓ 31 callersMethodReturn
(_a0 error)
chaoscenter/graphql/server/pkg/chaos_experiment_run/model/mocks/service.go:185
↓ 31 callersFunctionfetcher
( options: FetcherOptions<TQueryParams, TBody> )
chaoscenter/web/src/services/fetcher.ts:14
↓ 30 callersMethodGetName
()
chaoscenter/graphql/server/graph/model/models_gen.go:42
↓ 28 callersMethodmarshalNBoolean2bool
(ctx context.Context, sel ast.SelectionSet, v bool)
chaoscenter/graphql/server/graph/generated/generated.go:44154
↓ 27 callersFunctioncheckAndReturn
(value: { toString: () => string } | null | undefined)
chaoscenter/web/src/views/ChaosProbeConfiguration/ProbeProperties/ProbeProperties.tsx:19
↓ 24 callersMethodUnlock
Unlock releases the lock on particular project or repo
chaoscenter/graphql/server/pkg/gitops/git-lock.go:33
↓ 24 callersFunctiongetUpdatedExpression
({ expression, id, value }: { expression: string; id: string; value: string; })
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:328
↓ 24 callersMethodmarshalNInt2int
(ctx context.Context, sel ast.SelectionSet, v int)
chaoscenter/graphql/server/graph/generated/generated.go:44987
↓ 23 callersMethodLock
Lock acquires a lock on particular project or repo for access
chaoscenter/graphql/server/pkg/gitops/git-lock.go:18
↓ 23 callersMethodgetTemplatesAndSteps
( manifest: KubernetesExperimentManifest | undefined )
chaoscenter/web/src/services/experiment/KubernetesYamlService.ts:544
↓ 22 callersMethodCreate
(ctx context.Context, collectionType int, document interface{})
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:13
↓ 22 callersMethodgetInfrastructureTypeHandler
( infrastructureType: InfrastructureType | undefined )
chaoscenter/web/src/services/experiment/ExperimentFactory.ts:18
↓ 21 callersMethodGetUsername
()
chaoscenter/graphql/server/protos/authentication.pb.go:495
↓ 20 callersMethodList
(ctx context.Context, collectionType int, query bson.D, opts ...*options.FindOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:16
↓ 20 callersMethodfieldContext_UserDetails_email
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:33589
↓ 20 callersMethodfieldContext_UserDetails_userID
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:33501
↓ 20 callersMethodfieldContext_UserDetails_username
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:33545
↓ 20 callersFunctiongetScaledValue
(value: number, scalingFactor: number)
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraphUtils.ts:7
↓ 20 callersMethodhandleIDBFailure
()
chaoscenter/web/src/db/chaosIDB.ts:37
↓ 20 callersMethodmarshalNID2string
(ctx context.Context, sel ast.SelectionSet, v string)
chaoscenter/graphql/server/graph/generated/generated.go:44839
↓ 19 callersMethodmarshalOUserDetails2ᚖgithubᚗcomᚋlitmuschaosᚋlitmusᚋchaoscenterᚋgraphqlᚋserverᚋgraphᚋmodelᚐUserDetails
(ctx context.Context, sel ast.SelectionSet, v *model.UserDetails)
chaoscenter/graphql/server/graph/generated/generated.go:47072
↓ 19 callersMethodunmarshalOBoolean2ᚖbool
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:46090
↓ 18 callersMethodUpdate
(ctx context.Context, collectionType int, query, update bson.D, opts ...*options.UpdateOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:17
↓ 18 callersFunctionuseUpdateSearchParams
()
chaoscenter/web/src/hooks/useUpdateSearchParams.ts:6
↓ 17 callersFunctionGetTestGinContext
(w *httptest.ResponseRecorder)
chaoscenter/authentication/api/handlers/rest/user_handlers_test.go:37
↓ 17 callersMethodmarshalOInt2ᚖint
(ctx context.Context, sel ast.SelectionSet, v *int)
chaoscenter/graphql/server/graph/generated/generated.go:46589
↓ 16 callersFunctionisEqual
* Custom version of isEqual to handle function comparison
chaoscenter/web/src/hooks/useDeepCompareEffect.ts:7
↓ 15 callersFunctionNewMockServices
()
chaoscenter/graphql/server/pkg/chaos_infrastructure/fuzz/fuzz_test.go:38
↓ 15 callersFunctiongetIcon
(type: ProbeType)
chaoscenter/web/src/utils/probes.ts:128
↓ 15 callersFunctiongetUserDetails
()
chaoscenter/web/src/utils/userDetails.ts:17
↓ 14 callersMethodGetExperiment
(ctx context.Context, projectID string, experimentID string)
chaoscenter/graphql/server/graph/generated/generated.go:766
↓ 14 callersFunctiongetDetailedTime
(time: number)
chaoscenter/web/src/utils/dates.ts:24
↓ 13 callersMethodMarshalGQL
(w io.Writer)
chaoscenter/graphql/server/graph/model/models_gen.go:2656
↓ 13 callersFunctionStrConvTime
StrConvTime converts unix timestamp to string
chaoscenter/subscriber/pkg/events/util.go:120
↓ 13 callersFunctiongetSlashValue
({ selectedScheduleTab, id, value, startMonth }: { selectedScheduleTab: string; id: string; valu
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:208
↓ 13 callersMethodunmarshalOInt2ᚖint
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:46581
↓ 12 callersFunctionCheckInitialLogin
(applicationService services.ApplicationService, userID string)
chaoscenter/authentication/api/handlers/rest/validations.go:7
↓ 12 callersMethodRbacValidator
(userID, resourceID string, rules []string, invitationStatus string)
chaoscenter/authentication/api/mocks/rest_mocks.go:215
↓ 12 callersMethodmarshalOBoolean2ᚖbool
(ctx context.Context, sel ast.SelectionSet, v *bool)
chaoscenter/graphql/server/graph/generated/generated.go:46098
↓ 12 callersMethodregisterNode
(type: string | string[], Component: React.FC<BaseReactComponentProps>, isDefault = false)
chaoscenter/web/src/components/PipelineDiagram/DiagramFactory.tsx:40
↓ 12 callersFunctionuseAppStore
()
chaoscenter/web/src/hooks/useAppStore.ts:4
↓ 11 callersMethodString
()
chaoscenter/authentication/api/presenter/protos/authentication.pb.go:223
↓ 11 callersMethodUpdateChaosExperiment
(ctx context.Context, request model.ChaosExperimentRequest, projectID string)
chaoscenter/graphql/server/graph/generated/generated.go:731
↓ 11 callersMethodUpdateMany
(ctx context.Context, collectionType int, query, update bson.D, opts ...*options.UpdateOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:19
↓ 11 callersMethodfieldContext___Type_description
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35037
↓ 11 callersMethodfieldContext___Type_enumValues
(ctx context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35270
↓ 11 callersMethodfieldContext___Type_fields
(ctx context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35078
↓ 11 callersMethodfieldContext___Type_inputFields
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35332
↓ 11 callersMethodfieldContext___Type_kind
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:34955
↓ 11 callersMethodfieldContext___Type_name
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:34996
↓ 11 callersMethodfieldContext___Type_specifiedByURL
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35446
↓ 11 callersFunctionhandleTimestampAmbiguity
(timestamp: string)
chaoscenter/web/src/utils/dates.ts:91
↓ 11 callersMethodmarshalOString2ᚕstringᚄ
(ctx context.Context, sel ast.SelectionSet, v []string)
chaoscenter/graphql/server/graph/generated/generated.go:46970
↓ 11 callersFunctionyamlStringify
( // eslint-disable-next-line @typescript-eslint/no-explicit-any obj: any, options: DocumentOptions & Sc
chaoscenter/web/src/utils/yamlUtils.ts:5
↓ 10 callersMethodAggregate
(ctx context.Context, collectionType int, pipeline interface{}, opts ...*options.AggregateOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:24
↓ 10 callersMethodGetCollection
GetCollection fetches the correct collection based on the collection type
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:187
↓ 10 callersMethodGetInfra
(ctx context.Context, projectID string, infraID string)
chaoscenter/graphql/server/pkg/chaos_infrastructure/service.go:49
↓ 10 callersFunctionNewMockServices
()
chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler_test.go:41
↓ 10 callersFunctionString
(props: StringProps)
chaoscenter/web/src/strings/String.tsx:40
↓ 10 callersFunctionassertExpectations
(mockServices *MockServices, t *testing.T)
chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler_test.go:65
↓ 10 callersMethodfieldContext___Type_interfaces
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35144
↓ 10 callersMethodfieldContext___Type_ofType
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35383
↓ 10 callersMethodfieldContext___Type_possibleTypes
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35207
↓ 10 callersMethodunmarshalOString2ᚕstringᚄ
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:46950
↓ 9 callersMethodCreateMany
(ctx context.Context, collectionType int, documents []interface{})
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:14
↓ 9 callersMethodGetKubeConfig
()
chaoscenter/subscriber/pkg/k8s/defination.go:33
↓ 9 callersMethodGetUser
(uid string)
chaoscenter/authentication/pkg/user/repository.go:21
↓ 9 callersMethodUnmarshalGQL
(v interface{})
chaoscenter/graphql/server/graph/model/models_gen.go:2643
↓ 9 callersFunctionfilteredExperiments
(tag: string)
chaoscenter/web/src/views/ChaosHub/PredefinedExperiments/PredefinedExperiments.tsx:57
↓ 9 callersFunctionfilteredFaults
(tag: string)
chaoscenter/web/src/views/ChaosHub/ChaosFaults/ChaosFaults.tsx:78
↓ 9 callersFunctiongetDayOfWeekStr
(days?: string[])
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:230
↓ 9 callersFunctiongetFinalSVGArrowPath
(id1 = '', id2 = '', options?: DrawSVGPathOptions)
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraphUtils.ts:35
↓ 9 callersFunctiongetMilitaryHours
({ hours, amPm }: { hours: string; amPm: string })
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:349
↓ 9 callersMethodunmarshalNBoolean2bool
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:44149
↓ 9 callersFunctionuseDocumentTitle
(title: Title)
chaoscenter/web/src/hooks/useDocumentTitle.ts:12
↓ 8 callersMethodGetExperimentRun
(ctx context.Context, projectID string, experimentRunID *string, notifyID *string)
chaoscenter/graphql/server/graph/generated/generated.go:769
↓ 8 callersMethodGitClone
GitClone clones the repo
chaoscenter/graphql/server/pkg/gitops/gitops.go:155
↓ 8 callersMethodgetRepositoryWorktreeReference
getRepositoryWorktreeReference returns the git.Repository and git.Worktree instances for the repo
chaoscenter/graphql/server/pkg/gitops/gitops.go:245
↓ 8 callersFunctionsetAddVisibility
(visibility: boolean)
chaoscenter/web/src/components/PipelineDiagram/Nodes/DefaultNode/PipelineStageNode/PipelineStageNode.tsx:57
↓ 8 callersMethodtoExperiments
()
chaoscenter/web/src/routes/RouteDefinitions.ts:9
next →1–100 of 4,264, ranked by callers