MCPcopy Index your code

hub / github.com/actions/actions-runner-controller / functions

Functions1,286 in github.com/actions/actions-runner-controller

↓ 435 callersMethodInfo
(_ int, msg string, kvs ...interface{})
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:553
↓ 306 callersMethodGet
(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption)
controllers/actions.summerwind.net/multi_githubclient.go:51
↓ 302 callersMethodErrorf
(f string, args ...interface{})
testing/runtime/runtime.go:29
↓ 147 callersMethodError
()
controllers/actions.github.com/error.go:5
↓ 118 callersMethodDeepCopy
()
controllers/actions.github.com/clientutil.go:11
↓ 107 callersMethodRun
(run func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption))
controllers/actions.github.com/mocks_test.go:1525
↓ 104 callersFunctionintPtr
(v int)
controllers/actions.summerwind.net/runnerreplicaset_controller_test.go:104
↓ 76 callersMethodError
(err error, msg string, kvs ...interface{})
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:568
↓ 76 callersMethodPatch
(ctx context.Context, obj kclient.Object, patch kclient.Patch, opts ...kclient.PatchOption)
controllers/actions.github.com/clientutil.go:15
↓ 71 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:379
↓ 60 callersMethodRun
(ctx context.Context)
pkg/hookdeliveryforwarder/forwarder.go:41
↓ 58 callersMethodReturn
(err error)
controllers/actions.github.com/mocks_test.go:1555
↓ 53 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
apis/actions.github.com/v1alpha1/zz_generated.deepcopy.go:788
↓ 49 callersFunctionrun
(ctx context.Context, config *config.Config)
cmd/ghalistener/main.go:42
↓ 46 callersMethodRun
(run func(min int, max int))
cmd/ghalistener/metrics/mocks_test.go:179
↓ 43 callersMethodAdd
Add the scale target to the bounded queue, returning the result as a bool value. It returns true on successful enqueue, and returns false otherwise. W
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_worker.go:44
↓ 42 callersMethodString
()
controllers/actions.summerwind.net/schedule.go:20
↓ 40 callersMethodUpdate
(hookID int64, pos *State)
pkg/hookdeliveryforwarder/checkpointer.go:7
↓ 36 callersMethodsetDesiredWorkerState
calculateDesiredState calculates the desired state of the worker based on the desired count and the the number of jobs completed.
cmd/ghalistener/scaler/scaler.go:228
↓ 35 callersFunctionlistEphemeralRunnersAndRemoveFinalizers
helper function to remove ephemeral runners since in the test, ephemeral runner reconciler is not started
controllers/actions.github.com/ephemeralrunnerset_controller_test.go:1497
↓ 34 callersMethodError
()
github/github.go:456
↓ 30 callersMethodDone
()
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_worker.go:53
↓ 29 callersMethodAdd
(runner *github.Runner)
github/fake/runners.go:25
↓ 29 callersMethodWithValues
(kvs ...interface{})
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:581
↓ 26 callersMethodCombinedOutput
(cmd *exec.Cmd)
testing/runtime/runtime.go:13
↓ 26 callersFunctionGetenv
(t *testing.T, name string, opts ...string)
testing/getenv.go:8
↓ 25 callersFunctionNew
(k8sClient client.Client, scalesetMultiClient multiclient.MultiClient, opts ...Option)
controllers/actions.github.com/secretresolver/secret_resolver.go:38
↓ 25 callersFunctionrun
()
test/e2e/cmd/main.go:20
↓ 24 callersMethodSet
(value string)
main.go:74
↓ 23 callersMethodWithName
(name string)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:573
↓ 23 callersFunctionpatch
(ctx context.Context, client patcher, obj T, update func(obj T))
controllers/actions.github.com/clientutil.go:18
↓ 21 callersMethodLogf
(format string, args ...interface{})
pkg/hookdeliveryforwarder/logger.go:11
↓ 20 callersMethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
controllers/actions.github.com/ephemeralrunner_controller.go:852
↓ 20 callersFunctioncreateNamespace
(t ginkgo.GinkgoTInterface, client client.Client)
controllers/actions.github.com/helpers_test.go:40
↓ 20 callersFunctionstartManagers
(t ginkgo.GinkgoTInterface, first manager.Manager, others ...manager.Manager)
controllers/actions.github.com/helpers_test.go:21
↓ 19 callersMethodNewClient
NewClient creates a Github Client
github/github.go:60
↓ 18 callersMethodWithTimeout
(o time.Duration)
testing/kubectl.go:26
↓ 18 callersFunctioncreateDefaultSecret
(t ginkgo.GinkgoTInterface, client client.Client, namespace string)
controllers/actions.github.com/helpers_test.go:68
↓ 16 callersMethodGetName
GetName provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:549
↓ 16 callersMethodWrite
(p []byte)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:532
↓ 16 callersFunctionscaleSetListenerName
(autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet)
controllers/actions.github.com/resourcebuilder.go:772
↓ 14 callersMethodErrorf
(format string, args ...interface{})
pkg/hookdeliveryforwarder/logger.go:15
↓ 14 callersMethodValidate
Validate checks the configuration for errors.
cmd/ghalistener/config/config.go:104
↓ 13 callersMethodString
()
main.go:70
↓ 13 callersMethodfilterAndMergeLabels
(base, overwrite map[string]string)
controllers/actions.github.com/resourcebuilder.go:840
↓ 13 callersFunctionproxyListenerSecretName
(autoscalingListener *v1alpha1.AutoscalingListener)
controllers/actions.github.com/resourcebuilder.go:784
↓ 12 callersMethodGetCreationTimestamp
GetCreationTimestamp provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:187
↓ 11 callersMethodError
()
pkg/hookdeliveryforwarder/forwarder.go:37
↓ 11 callersFunctionImg
(repo, tag string)
testing/testing.go:29
↓ 11 callersMethodReturn
()
cmd/ghalistener/metrics/mocks_test.go:197
↓ 11 callersMethodStart
(ctx context.Context, k8sMinorVer string)
testing/testing.go:327
↓ 11 callersMethodkubectlCmd
(ctx context.Context, c string, args []string, cfg KubectlConfig)
testing/kubectl.go:145
↓ 10 callersFunctionCloneAndAddLabel
Clones the given map and returns a new map with the given key and value added. Returns the given map, if labelKey is empty. Proudly copied from k8s.i
controllers/actions.summerwind.net/runnerdeployment_controller.go:379
↓ 10 callersFunctiondelete
(cmName string)
test/e2e/cmd/main.go:55
↓ 10 callersFunctiongetAnnotation
(obj client.Object, key string)
controllers/actions.summerwind.net/runner_graceful_stop.go:322
↓ 10 callersFunctionscaleSetListenerConfigName
(autoscalingListener *v1alpha1.AutoscalingListener)
controllers/actions.github.com/resourcebuilder.go:760
↓ 9 callersMethodExpectRegisteredNumberCountEventuallyEquals
(want int, optionalDescriptions ...interface{})
controllers/actions.summerwind.net/integration_test.go:483
↓ 9 callersFunctionExpectRunnerSetsManagedReplicasCountEventuallyEquals
(ctx context.Context, ns string, count int, optionalDescription ...interface{})
controllers/actions.summerwind.net/integration_test.go:614
↓ 9 callersMethodGetActionsService
(ctx context.Context, obj object.ActionsGitHubObject)
controllers/actions.github.com/resourcebuilder.go:80
↓ 8 callersMethodGetUID
GetUID provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:817
↓ 8 callersFunctionNewRunnerGroupFromProperties
(enterprise, organization, group string)
simulator/runnergroups.go:64
↓ 8 callersMethodRemoveRunner
(ctx context.Context, runnerID int64)
controllers/actions.github.com/multiclient/multi_client.go:50
↓ 8 callersMethodnewScaleSetListenerPod
(autoscalingListener *v1alpha1.AutoscalingListener, podConfig *corev1.Secret, serviceAccount *corev1.ServiceAc
controllers/actions.github.com/resourcebuilder.go:251
↓ 8 callersFunctionproxyEphemeralRunnerSetSecretName
(ephemeralRunnerSet *v1alpha1.EphemeralRunnerSet)
controllers/actions.github.com/resourcebuilder.go:788
↓ 8 callersMethodsetGauge
(name string, allLabels prometheus.Labels, val float64)
cmd/ghalistener/metrics/metrics.go:438
↓ 7 callersFunctionComputeTemplateHash
ComputeHash returns a hash value calculated from template and a collisionCount to avoid hash collision. The hash will be safe encoded to avoid bad wor
hash/hash.go:37
↓ 7 callersMethodListRunners
ListRunners returns a list of runners of specified owner/repository name.
github/github.go:226
↓ 7 callersMethodListenAndServe
(ctx context.Context)
cmd/ghalistener/metrics/metrics.go:112
↓ 7 callersFunctionNewScaleset
()
controllers/actions.github.com/multiclient/multi_client.go:34
↓ 7 callersMethodStop
(ctx context.Context)
testing/testing.go:448
↓ 7 callersFunctionmetricLabels
(extras ...string)
pkg/actionsmetrics/metrics.go:72
↓ 7 callersFunctionpatchSubResource
(ctx context.Context, client subResourcePatcher, obj T, update func(obj T))
controllers/actions.github.com/clientutil.go:28
↓ 7 callersFunctiontestServerWithInitObjs
(t *testing.T, eventType string, event interface{}, wantCode int, wantBody string, initObjs []runtime.Object)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:440
↓ 6 callersMethodAdd
Add adds a runner group into VisibleRunnerGroups at a certain position in the list so that Traverse can return runner groups in order of higher preced
simulator/runnergroups.go:144
↓ 6 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeployment.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:495
↓ 6 callersMethodErr
()
controllers/actions.github.com/autoscalingrunnerset_controller.go:797
↓ 6 callersMethodErrorf
(format string, args ...interface{})
pkg/githubwebhookdeliveryforwarder/githubwebhookdelivery.go:200
↓ 6 callersFunctionExpectCreate
(ctx context.Context, rd client.Object, s string)
controllers/actions.summerwind.net/integration_test.go:534
↓ 6 callersFunctionExpectRunnerSetsCountEventuallyEquals
(ctx context.Context, ns string, count int, optionalDescription ...interface{})
controllers/actions.summerwind.net/integration_test.go:560
↓ 6 callersMethodGetNamespace
GetNamespace provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:593
↓ 6 callersMethodSetupWithManager
(mgr ctrl.Manager)
controllers/actions.summerwind.net/runner_controller.go:1321
↓ 6 callersFunctionannotatePodOnce
annotatePodOnce annotates the pod if it wasn't. Returns the provided pod as-is if it was already annotated. Returns the updated pod if the pod was mis
controllers/actions.summerwind.net/runner_graceful_stop.go:50
↓ 6 callersMethodnewAutoScalingListener
(autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet, ephemeralRunnerSet *v1alpha1.EphemeralRunnerSet, namespa
controllers/actions.github.com/resourcebuilder.go:88
↓ 6 callersMethodnewEphemeralRunnerSet
(autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet)
controllers/actions.github.com/resourcebuilder.go:555
↓ 6 callersFunctionnewExampleRunner
(name, namespace, configSecretName string)
controllers/actions.github.com/ephemeralrunner_controller_test.go:37
↓ 5 callersMethodHandle
(w http.ResponseWriter, r *http.Request)
pkg/actionsmetrics/webhookserver.go:55
↓ 5 callersFunctionParseGitHubConfigFromURL
(in string)
github/actions/actions.go:32
↓ 5 callersMethodSendWorkflowJobEvent
(org, repo, statusAndAction string, labels []string, runID int64, ID int64)
controllers/actions.summerwind.net/integration_test.go:497
↓ 5 callersMethodToSecretData
(secretFetcher func(string) (*corev1.Secret, error))
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go:234
↓ 5 callersFunctiongetIntOrDefault
(p *int, d int)
controllers/actions.summerwind.net/runnerdeployment_controller.go:339
↓ 5 callersFunctioninstallMetrics
(config v1alpha1.MetricsConfig, reg *prometheus.Registry, logger *slog.Logger)
cmd/ghalistener/metrics/metrics.go:325
↓ 5 callersMethodlabels
()
controllers/actions.github.com/metrics/metrics.go:26
↓ 5 callersMethodmergeAnnotations
(base, overwrite map[string]string)
controllers/actions.github.com/resourcebuilder.go:869
↓ 5 callersFunctionnewTestClient
()
github/github_test.go:16
↓ 5 callersFunctionrunnerPodOrContainerIsStopped
(pod *corev1.Pod)
controllers/actions.summerwind.net/runner_controller.go:208
↓ 5 callersFunctionworkVolumeMountPresent
(items []corev1.VolumeMount)
controllers/actions.summerwind.net/runner_controller.go:1384
↓ 4 callersMethodActionsClient
(logger *slog.Logger, clientOptions ...scaleset.HTTPOption)
cmd/ghalistener/config/config.go:143
↓ 4 callersFunctionCloneSelectorAndAddLabel
Clones the given selector and returns a new selector with the given key and value added. Returns the given selector, if labelKey is empty. Proudly co
controllers/actions.summerwind.net/runnerdeployment_controller.go:397
↓ 4 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSet.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:995
↓ 4 callersMethodGetSecret
(ctx context.Context, name string)
vault/vault.go:12
next →1–100 of 1,286, ranked by callers