Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/litmuschaos/litmus
/ functions
Functions
4,264 in github.com/litmuschaos/litmus
⨍
Functions
4,264
◇
Types & classes
1,511
↓ 1,337 callers
Function
getString
(key: StringKeys, vars: Record<string, any> = {})
chaoscenter/web/src/strings/String.tsx:16
↓ 258 callers
Function
useStrings
()
chaoscenter/web/src/strings/String.tsx:11
↓ 206 callers
Method
Return
(_a0 *model.ChaosExperimentRequest, _a1 *chaos_experiment.ChaosExperimentType, _a2 error)
chaoscenter/graphql/server/pkg/chaos_experiment/model/mocks/service.go:94
↓ 169 callers
Method
marshalNString2string
(ctx context.Context, sel ast.SelectionSet, v string)
chaoscenter/graphql/server/graph/generated/generated.go:45678
↓ 132 callers
Method
Get
(ctx context.Context, collectionType int, query bson.D)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:15
↓ 119 callers
Method
unmarshalNString2string
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:45673
↓ 105 callers
Method
String
()
chaoscenter/graphql/server/protos/authentication.pb.go:223
↓ 91 callers
Method
unmarshalOString2ᚖstring
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:47020
↓ 81 callers
Method
unmarshalNID2string
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:44834
↓ 80 callers
Method
Run
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 callers
Method
processDeferredGroup
(dg graphql.DeferredGroup)
chaoscenter/graphql/server/graph/generated/generated.go:4545
↓ 71 callers
Method
marshalOString2ᚖstring
(ctx context.Context, sel ast.SelectionSet, v *string)
chaoscenter/graphql/server/graph/generated/generated.go:47028
↓ 67 callers
Method
String
()
chaoscenter/graphql/server/graph/model/models_gen.go:2639
↓ 65 callers
Function
getScope
()
chaoscenter/web/src/utils/getScope.ts:4
↓ 44 callers
Function
useRouteWithBaseUrl
(scope?: RouteScope)
chaoscenter/web/src/hooks/useRouteWithBaseUrl.ts:17
↓ 41 callers
Method
fireEvent
(event: any)
chaoscenter/web/src/components/PipelineDiagram/DiagramFactory.tsx:124
↓ 41 callers
Function
useSearchParams
()
chaoscenter/web/src/hooks/useSearchParams.ts:4
↓ 40 callers
Method
Query
()
chaoscenter/graphql/server/graph/generated/generated.go:43
↓ 35 callers
Method
Mutation
()
chaoscenter/graphql/server/graph/generated/generated.go:42
↓ 33 callers
Method
Replace
(ctx context.Context, collectionType int, query bson.D, replacement interface{})
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:21
↓ 31 callers
Method
Return
(_a0 error)
chaoscenter/graphql/server/pkg/chaos_experiment_run/model/mocks/service.go:185
↓ 31 callers
Function
fetcher
( options: FetcherOptions<TQueryParams, TBody> )
chaoscenter/web/src/services/fetcher.ts:14
↓ 30 callers
Method
GetName
()
chaoscenter/graphql/server/graph/model/models_gen.go:42
↓ 28 callers
Method
marshalNBoolean2bool
(ctx context.Context, sel ast.SelectionSet, v bool)
chaoscenter/graphql/server/graph/generated/generated.go:44154
↓ 27 callers
Function
checkAndReturn
(value: { toString: () => string } | null | undefined)
chaoscenter/web/src/views/ChaosProbeConfiguration/ProbeProperties/ProbeProperties.tsx:19
↓ 24 callers
Method
Unlock
Unlock releases the lock on particular project or repo
chaoscenter/graphql/server/pkg/gitops/git-lock.go:33
↓ 24 callers
Function
getUpdatedExpression
({ expression, id, value }: { expression: string; id: string; value: string; })
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:328
↓ 24 callers
Method
marshalNInt2int
(ctx context.Context, sel ast.SelectionSet, v int)
chaoscenter/graphql/server/graph/generated/generated.go:44987
↓ 23 callers
Method
Lock
Lock acquires a lock on particular project or repo for access
chaoscenter/graphql/server/pkg/gitops/git-lock.go:18
↓ 23 callers
Method
getTemplatesAndSteps
( manifest: KubernetesExperimentManifest | undefined )
chaoscenter/web/src/services/experiment/KubernetesYamlService.ts:544
↓ 22 callers
Method
Create
(ctx context.Context, collectionType int, document interface{})
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:13
↓ 22 callers
Method
getInfrastructureTypeHandler
( infrastructureType: InfrastructureType | undefined )
chaoscenter/web/src/services/experiment/ExperimentFactory.ts:18
↓ 21 callers
Method
GetUsername
()
chaoscenter/graphql/server/protos/authentication.pb.go:495
↓ 20 callers
Method
List
(ctx context.Context, collectionType int, query bson.D, opts ...*options.FindOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:16
↓ 20 callers
Method
fieldContext_UserDetails_email
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:33589
↓ 20 callers
Method
fieldContext_UserDetails_userID
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:33501
↓ 20 callers
Method
fieldContext_UserDetails_username
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:33545
↓ 20 callers
Function
getScaledValue
(value: number, scalingFactor: number)
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraphUtils.ts:7
↓ 20 callers
Method
handleIDBFailure
()
chaoscenter/web/src/db/chaosIDB.ts:37
↓ 20 callers
Method
marshalNID2string
(ctx context.Context, sel ast.SelectionSet, v string)
chaoscenter/graphql/server/graph/generated/generated.go:44839
↓ 19 callers
Method
marshalOUserDetails2ᚖ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 callers
Method
unmarshalOBoolean2ᚖbool
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:46090
↓ 18 callers
Method
Update
(ctx context.Context, collectionType int, query, update bson.D, opts ...*options.UpdateOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:17
↓ 18 callers
Function
useUpdateSearchParams
()
chaoscenter/web/src/hooks/useUpdateSearchParams.ts:6
↓ 17 callers
Function
GetTestGinContext
(w *httptest.ResponseRecorder)
chaoscenter/authentication/api/handlers/rest/user_handlers_test.go:37
↓ 17 callers
Method
marshalOInt2ᚖint
(ctx context.Context, sel ast.SelectionSet, v *int)
chaoscenter/graphql/server/graph/generated/generated.go:46589
↓ 16 callers
Function
isEqual
* Custom version of isEqual to handle function comparison
chaoscenter/web/src/hooks/useDeepCompareEffect.ts:7
↓ 15 callers
Function
NewMockServices
()
chaoscenter/graphql/server/pkg/chaos_infrastructure/fuzz/fuzz_test.go:38
↓ 15 callers
Function
getIcon
(type: ProbeType)
chaoscenter/web/src/utils/probes.ts:128
↓ 15 callers
Function
getUserDetails
()
chaoscenter/web/src/utils/userDetails.ts:17
↓ 14 callers
Method
GetExperiment
(ctx context.Context, projectID string, experimentID string)
chaoscenter/graphql/server/graph/generated/generated.go:766
↓ 14 callers
Function
getDetailedTime
(time: number)
chaoscenter/web/src/utils/dates.ts:24
↓ 13 callers
Method
MarshalGQL
(w io.Writer)
chaoscenter/graphql/server/graph/model/models_gen.go:2656
↓ 13 callers
Function
StrConvTime
StrConvTime converts unix timestamp to string
chaoscenter/subscriber/pkg/events/util.go:120
↓ 13 callers
Function
getSlashValue
({ selectedScheduleTab, id, value, startMonth }: { selectedScheduleTab: string; id: string; valu
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:208
↓ 13 callers
Method
unmarshalOInt2ᚖint
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:46581
↓ 12 callers
Function
CheckInitialLogin
(applicationService services.ApplicationService, userID string)
chaoscenter/authentication/api/handlers/rest/validations.go:7
↓ 12 callers
Method
RbacValidator
(userID, resourceID string, rules []string, invitationStatus string)
chaoscenter/authentication/api/mocks/rest_mocks.go:215
↓ 12 callers
Method
marshalOBoolean2ᚖbool
(ctx context.Context, sel ast.SelectionSet, v *bool)
chaoscenter/graphql/server/graph/generated/generated.go:46098
↓ 12 callers
Method
registerNode
(type: string | string[], Component: React.FC<BaseReactComponentProps>, isDefault = false)
chaoscenter/web/src/components/PipelineDiagram/DiagramFactory.tsx:40
↓ 12 callers
Function
useAppStore
()
chaoscenter/web/src/hooks/useAppStore.ts:4
↓ 11 callers
Method
String
()
chaoscenter/authentication/api/presenter/protos/authentication.pb.go:223
↓ 11 callers
Method
UpdateChaosExperiment
(ctx context.Context, request model.ChaosExperimentRequest, projectID string)
chaoscenter/graphql/server/graph/generated/generated.go:731
↓ 11 callers
Method
UpdateMany
(ctx context.Context, collectionType int, query, update bson.D, opts ...*options.UpdateOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:19
↓ 11 callers
Method
fieldContext___Type_description
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35037
↓ 11 callers
Method
fieldContext___Type_enumValues
(ctx context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35270
↓ 11 callers
Method
fieldContext___Type_fields
(ctx context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35078
↓ 11 callers
Method
fieldContext___Type_inputFields
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35332
↓ 11 callers
Method
fieldContext___Type_kind
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:34955
↓ 11 callers
Method
fieldContext___Type_name
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:34996
↓ 11 callers
Method
fieldContext___Type_specifiedByURL
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35446
↓ 11 callers
Function
handleTimestampAmbiguity
(timestamp: string)
chaoscenter/web/src/utils/dates.ts:91
↓ 11 callers
Method
marshalOString2ᚕstringᚄ
(ctx context.Context, sel ast.SelectionSet, v []string)
chaoscenter/graphql/server/graph/generated/generated.go:46970
↓ 11 callers
Function
yamlStringify
( // eslint-disable-next-line @typescript-eslint/no-explicit-any obj: any, options: DocumentOptions & Sc
chaoscenter/web/src/utils/yamlUtils.ts:5
↓ 10 callers
Method
Aggregate
(ctx context.Context, collectionType int, pipeline interface{}, opts ...*options.AggregateOptions)
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:24
↓ 10 callers
Method
GetCollection
GetCollection fetches the correct collection based on the collection type
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:187
↓ 10 callers
Method
GetInfra
(ctx context.Context, projectID string, infraID string)
chaoscenter/graphql/server/pkg/chaos_infrastructure/service.go:49
↓ 10 callers
Function
NewMockServices
()
chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler_test.go:41
↓ 10 callers
Function
String
(props: StringProps)
chaoscenter/web/src/strings/String.tsx:40
↓ 10 callers
Function
assertExpectations
(mockServices *MockServices, t *testing.T)
chaoscenter/graphql/server/pkg/chaos_experiment/handler/handler_test.go:65
↓ 10 callers
Method
fieldContext___Type_interfaces
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35144
↓ 10 callers
Method
fieldContext___Type_ofType
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35383
↓ 10 callers
Method
fieldContext___Type_possibleTypes
(_ context.Context, field graphql.CollectedField)
chaoscenter/graphql/server/graph/generated/generated.go:35207
↓ 10 callers
Method
unmarshalOString2ᚕstringᚄ
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:46950
↓ 9 callers
Method
CreateMany
(ctx context.Context, collectionType int, documents []interface{})
chaoscenter/graphql/server/pkg/database/mongodb/operations.go:14
↓ 9 callers
Method
GetKubeConfig
()
chaoscenter/subscriber/pkg/k8s/defination.go:33
↓ 9 callers
Method
GetUser
(uid string)
chaoscenter/authentication/pkg/user/repository.go:21
↓ 9 callers
Method
UnmarshalGQL
(v interface{})
chaoscenter/graphql/server/graph/model/models_gen.go:2643
↓ 9 callers
Function
filteredExperiments
(tag: string)
chaoscenter/web/src/views/ChaosHub/PredefinedExperiments/PredefinedExperiments.tsx:57
↓ 9 callers
Function
filteredFaults
(tag: string)
chaoscenter/web/src/views/ChaosHub/ChaosFaults/ChaosFaults.tsx:78
↓ 9 callers
Function
getDayOfWeekStr
(days?: string[])
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:230
↓ 9 callers
Function
getFinalSVGArrowPath
(id1 = '', id2 = '', options?: DrawSVGPathOptions)
chaoscenter/web/src/components/PipelineDiagram/PipelineGraph/PipelineGraphUtils.ts:35
↓ 9 callers
Function
getMilitaryHours
({ hours, amPm }: { hours: string; amPm: string })
chaoscenter/web/src/components/SchedulePanel/SubComponents/utils.tsx:349
↓ 9 callers
Method
unmarshalNBoolean2bool
(ctx context.Context, v interface{})
chaoscenter/graphql/server/graph/generated/generated.go:44149
↓ 9 callers
Function
useDocumentTitle
(title: Title)
chaoscenter/web/src/hooks/useDocumentTitle.ts:12
↓ 8 callers
Method
GetExperimentRun
(ctx context.Context, projectID string, experimentRunID *string, notifyID *string)
chaoscenter/graphql/server/graph/generated/generated.go:769
↓ 8 callers
Method
GitClone
GitClone clones the repo
chaoscenter/graphql/server/pkg/gitops/gitops.go:155
↓ 8 callers
Method
getRepositoryWorktreeReference
getRepositoryWorktreeReference returns the git.Repository and git.Worktree instances for the repo
chaoscenter/graphql/server/pkg/gitops/gitops.go:245
↓ 8 callers
Function
setAddVisibility
(visibility: boolean)
chaoscenter/web/src/components/PipelineDiagram/Nodes/DefaultNode/PipelineStageNode/PipelineStageNode.tsx:57
↓ 8 callers
Method
toExperiments
()
chaoscenter/web/src/routes/RouteDefinitions.ts:9
next →
1–100 of 4,264, ranked by callers