MCPcopy Create free account

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

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

↓ 4 callersFunctionNewExporter
(config ExporterConfig)
cmd/ghalistener/metrics/metrics.go:296
↓ 4 callersFunctionNewServer
NewServer creates a fake server for running unit tests
github/fake/fake.go:81
↓ 4 callersFunctionNewVisibleRunnerGroups
()
simulator/runnergroups.go:115
↓ 4 callersMethodProxyFunc
(secretFetcher func(string) (*corev1.Secret, error))
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go:248
↓ 4 callersMethodTraverse
Traverse traverses all the runner groups visible to a repository in order of higher precedence to lower precedence.
simulator/runnergroups.go:181
↓ 4 callersMethodValidate
()
apis/actions.github.com/v1alpha1/appconfig/appconfig.go:34
↓ 4 callersFunctionbuilderWithOptions
builderWithOptions applies the given options to the provided builder, if any. This is a helper function to avoid the need to import the controller-run
controllers/actions.github.com/options.go:66
↓ 4 callersMethoddeleteEphemeralRunnerOrPod
(ctx context.Context, ephemeralRunner *v1alpha1.EphemeralRunner, pod *corev1.Pod, log logr.Logger)
controllers/actions.github.com/ephemeralrunner_controller.go:394
↓ 4 callersMethoddeploy
(t *testing.T, kind DeployKind, testID string, env ...string)
test/e2e/e2e_test.go:820
↓ 4 callersMethodderefClient
(ns, secretName string, dependent *runnerOwnerRef)
controllers/actions.summerwind.net/multi_githubclient.go:249
↓ 4 callersMethodempty
()
controllers/actions.github.com/autoscalingrunnerset_controller.go:1139
↓ 4 callersFunctionextraLabel
(key string, value string, labels prometheus.Labels)
pkg/actionsmetrics/event_reader.go:208
↓ 4 callersFunctiongetRunnerEnv
(pod *corev1.Pod, key string)
controllers/actions.summerwind.net/runner_graceful_stop.go:368
↓ 4 callersMethodinitClientWithSecretName
(ctx context.Context, ns, secretName string, runRef *runnerOwnerRef)
controllers/actions.summerwind.net/multi_githubclient.go:219
↓ 4 callersMethodinsert
(rg RunnerGroup, i int)
simulator/runnergroups.go:169
↓ 4 callersFunctionnewGroupVersionOwnerKindIndexer
(ownerKind string, otherOwnerKinds ...string)
controllers/actions.github.com/indexer.go:54
↓ 4 callersMethodnewRunnerReplicaSet
(rd v1alpha1.RunnerDeployment)
controllers/actions.summerwind.net/runnerdeployment_controller.go:434
↓ 4 callersMethodpublishRunningListener
(autoscalingListener *v1alpha1.AutoscalingListener, isUp bool)
controllers/actions.github.com/autoscalinglistener_controller.go:730
↓ 4 callersFunctionrulesForListenerRole
(resourceNames []string)
controllers/actions.github.com/resourcebuilder.go:796
↓ 4 callersFunctionworkVolumePresent
(items []corev1.Volume)
controllers/actions.summerwind.net/runner_controller.go:1375
↓ 3 callersFunctionComputeHash
ComputeHash returns a hash value calculated from pod template and a collisionCount to avoid hash collision. The hash will be safe encoded to avoid bad
controllers/actions.summerwind.net/runnerdeployment_controller.go:359
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Runner.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:388
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerReplicaSet.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:846
↓ 3 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoscalingRunnerSet.
apis/actions.github.com/v1alpha1/zz_generated.deepcopy.go:178
↓ 3 callersFunctionFromJSONString
(v string)
apis/actions.github.com/v1alpha1/appconfig/appconfig.go:78
↓ 3 callersFunctionFromSecret
(secret *corev1.Secret)
apis/actions.github.com/v1alpha1/appconfig/appconfig.go:54
↓ 3 callersMethodGetAnnotations
GetAnnotations provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:141
↓ 3 callersMethodGetRegistrationToken
GetRegistrationToken returns a registration token tied with the name of repository and runner.
github/github.go:156
↓ 3 callersMethodHandleList
()
github/fake/runners.go:42
↓ 3 callersMethodIncludes
(ref RunnerGroup)
simulator/runnergroups.go:132
↓ 3 callersMethodKubectlWaitUntilDeployAvailable
(t *testing.T, name string, cfg KubectlConfig)
testing/testing.go:155
↓ 3 callersFunctionMatchSchedule
(now time.Time, startTime, endTime time.Time, recurrenceRule RecurrenceRule)
controllers/actions.summerwind.net/schedule.go:28
↓ 3 callersFunctionNewLogger
(logLevel string, logFormat string)
logging/logger.go:36
↓ 3 callersMethodRunScript
(ctx context.Context, path string, cfg ScriptConfig)
testing/bash.go:22
↓ 3 callersMethodSetupWebhookWithManager
(mgr ctrl.Manager)
apis/actions.summerwind.net/v1alpha1/runner_webhook.go:32
↓ 3 callersMethodSetupWithManager
(mgr ctrl.Manager)
controllers/actions.summerwind.net/runnerreplicaset_controller.go:192
↓ 3 callersMethodSetupWithManager
(mgr ctrl.Manager)
controllers/actions.summerwind.net/runnerdeployment_controller.go:486
↓ 3 callersMethodSync
(ctx context.Context)
testing/git.go:24
↓ 3 callersMethodToHTTPProxyConfig
(secretFetcher func(string) (*corev1.Secret, error))
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go:176
↓ 3 callersMethodValidate
()
vault/azurekeyvault/config.go:27
↓ 3 callersMethodVaultConfig
()
controllers/actions.github.com/object/object.go:14
↓ 3 callersFunctionaddFinalizer
(finalizers []string, finalizerName string)
controllers/actions.summerwind.net/runner_controller.go:1336
↓ 3 callersFunctionapplyGitHubURLLabels
(url string, labels map[string]string)
controllers/actions.github.com/resourcebuilder.go:812
↓ 3 callersMethodcomputeReplicasWithCache
(ghc *arcgithub.Client, log logr.Logger, now time.Time, st scaleTarget, hra v1alpha1.HorizontalRunnerAutoscale
controllers/actions.summerwind.net/horizontalrunnerautoscaler_controller.go:477
↓ 3 callersMethodcreateObject
(ctx context.Context, obj client.Object, meta metav1.ObjectMeta, runner *v1alpha1.Runner, log logr.Logger)
controllers/actions.summerwind.net/runner_controller.go:424
↓ 3 callersMethoddeleteListenerPod
(ctx context.Context, autoscalingListener *v1alpha1.AutoscalingListener, listenerPod *corev1.Pod, log logr.Log
controllers/actions.github.com/autoscalinglistener_controller.go:309
↓ 3 callersMethoddeleteRunnerFromService
(ctx context.Context, ephemeralRunner *v1alpha1.EphemeralRunner, log logr.Logger)
controllers/actions.github.com/ephemeralrunner_controller.go:835
↓ 3 callersFunctionenterpriseKey
(name string)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook.go:732
↓ 3 callersFunctionenterpriseRunnerGroupKey
(enterprise, group string)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook.go:740
↓ 3 callersFunctiongetEnterpriseOrganizationAndRepo
Validates enterprise, organization and repo arguments. Both are optional, but at least one should be specified
github/github.go:401
↓ 3 callersFunctiongetEnv
(container *corev1.Container, key string)
controllers/actions.summerwind.net/pod_runner_token_injector.go:97
↓ 3 callersMethodgetMinReplicas
(log logr.Logger, now time.Time, hra v1alpha1.HorizontalRunnerAutoscaler)
controllers/actions.summerwind.net/horizontalrunnerautoscaler_controller.go:461
↓ 3 callersFunctiongetRunner
(ctx context.Context, client *github.Client, enterprise, org, repo, name string)
controllers/actions.summerwind.net/runner_graceful_stop.go:460
↓ 3 callersFunctiongetRunnerTemplateHash
(r client.Object)
controllers/actions.summerwind.net/runner_pod_owner.go:226
↓ 3 callersMethodjobLabels
(jobBase *scaleset.JobMessageBase)
cmd/ghalistener/metrics/metrics.go:78
↓ 3 callersMethodnewEphemeralRunner
(ephemeralRunnerSet *v1alpha1.EphemeralRunnerSet)
controllers/actions.github.com/resourcebuilder.go:622
↓ 3 callersMethodnewEphemeralRunnerPod
(runner *v1alpha1.EphemeralRunner, secret *corev1.Secret, envs ...corev1.EnvVar)
controllers/actions.github.com/resourcebuilder.go:661
↓ 3 callersFunctionnewGithubClient
(server *httptest.Server)
controllers/actions.summerwind.net/autoscaling_test.go:19
↓ 3 callersFunctionnewRunnerPodWithContainerMode
(containerMode string, template corev1.Pod, runnerSpec v1alpha1.RunnerConfig, githubBaseURL string, d RunnerPo
controllers/actions.summerwind.net/runner_controller.go:807
↓ 3 callersFunctionnewWorker
(ctx context.Context, queueLimit int, work func(*ScaleTarget))
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_worker.go:14
↓ 3 callersFunctionorganizationalRunnerGroupKey
(owner, group string)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook.go:736
↓ 3 callersFunctionparseInt
(v string)
apis/actions.github.com/v1alpha1/version.go:57
↓ 3 callersFunctionpodConditionTransitionTimeAfter
(pod *corev1.Pod, tpe corev1.PodConditionType, d time.Duration)
controllers/actions.summerwind.net/runner_graceful_stop.go:350
↓ 3 callersFunctionpollForClusterState
(clientset *kubernetes.Clientset, expectedPodsCount podCountsByType, maxTime int)
test_e2e_arc/arc_jobs_test.go:54
↓ 3 callersFunctionrandStringRunes
(n int)
controllers/actions.summerwind.net/runnerreplicaset_controller_test.go:96
↓ 3 callersFunctionremoveFinalizer
(finalizers []string, finalizerName string)
controllers/actions.summerwind.net/runner_controller.go:1351
↓ 3 callersMethodscaleTargetFromRD
(ctx context.Context, rd v1alpha1.RunnerDeployment)
controllers/actions.summerwind.net/horizontalrunnerautoscaler_controller.go:248
↓ 3 callersFunctionsetAnnotation
(meta *metav1.ObjectMeta, key, value string)
controllers/actions.summerwind.net/runner_graceful_stop.go:332
↓ 3 callersFunctionsetEnv
(c *corev1.Container, name, value string)
controllers/actions.summerwind.net/new_runner_pod_test.go:22
↓ 3 callersMethodtidy
()
apis/actions.github.com/v1alpha1/appconfig/appconfig.go:20
↓ 3 callersFunctiontrimLabelValue
(val string)
controllers/actions.github.com/resourcebuilder.go:833
↓ 3 callersMethodupdateStatus
Update the status of autoscaling runner set if necessary
controllers/actions.github.com/autoscalingrunnerset_controller.go:369
↓ 3 callersFunctionvolumeMountPresent
(name string, items []corev1.VolumeMount)
controllers/actions.summerwind.net/runner_controller.go:1388
↓ 2 callersMethodAdd
Add the scale target to the unbounded queue, blocking until the target is successfully added to the queue. All the targets in the queue are dequeued e
controllers/actions.summerwind.net/horizontal_runner_autoscaler_batch_scale.go:49
↓ 2 callersMethodBuild
(ctx context.Context, builds []DockerBuild)
testing/docker.go:30
↓ 2 callersFunctionDefaultListRunnersHandler
()
github/fake/fake.go:221
↓ 2 callersMethodDeleteTestID
(t *testing.T)
testing/testing.go:96
↓ 2 callersMethodEnabled
(level int)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:564
↓ 2 callersFunctionFNVHashString
(name string)
hash/fnv.go:20
↓ 2 callersFunctionFNVHashStringObjects
(objs ...interface{})
hash/fnv.go:10
↓ 2 callersFunctionFilterLabels
(labels map[string]string, filter string)
controllers/actions.github.com/utils.go:7
↓ 2 callersMethodGetCMLiterals
(ctx context.Context, name string, cfg KubectlConfig)
testing/kubectl.go:57
↓ 2 callersMethodGetDeletionTimestamp
GetDeletionTimestamp provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:277
↓ 2 callersMethodGetLabels
GetLabels provides a mock function for the type mockkubernetesObject
controllers/actions.github.com/mocks_test.go:457
↓ 2 callersMethodGetOrGenerateTestID
(t *testing.T)
testing/testing.go:66
↓ 2 callersMethodGetRunnerGroupByName
(ctx context.Context, runnerGroup string)
controllers/actions.github.com/multiclient/multi_client.go:52
↓ 2 callersMethodGitHubConfigSecret
()
controllers/actions.github.com/object/object.go:11
↓ 2 callersMethodHasJob
()
apis/actions.github.com/v1alpha1/ephemeralrunner_types.go:54
↓ 2 callersMethodInitFlags
(fs *flag.FlagSet)
pkg/hookdeliveryforwarder/configmap/config.go:21
↓ 2 callersMethodInitForRunner
Init sets up and return the *github.Client for the object. In case the object (like RunnerDeployment) does not request a custom client, it returns the
controllers/actions.summerwind.net/multi_githubclient.go:89
↓ 2 callersMethodInitForRunnerPod
Init sets up and return the *github.Client for the object. In case the object (like RunnerDeployment) does not request a custom client, it returns the
controllers/actions.summerwind.net/multi_githubclient.go:78
↓ 2 callersMethodIsDone
()
apis/actions.github.com/v1alpha1/ephemeralrunner_types.go:50
↓ 2 callersFunctionIsVersionAllowed
(resourceVersion, buildVersion string)
apis/actions.github.com/v1alpha1/version.go:5
↓ 2 callersMethodKubectlApply
(t *testing.T, path string, cfg KubectlConfig)
testing/testing.go:138
↓ 2 callersMethodListRepositoryWorkflowRuns
(ctx context.Context, user string, repoName string)
github/github.go:354
↓ 2 callersMethodListenerSpecHash
()
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go:357
↓ 2 callersMethodLoadImages
(ctx context.Context, images []ContainerImage)
testing/testing.go:378
↓ 2 callersMethodLogf
(format string, args ...interface{})
pkg/githubwebhookdeliveryforwarder/githubwebhookdelivery.go:196
↓ 2 callersFunctionNew
(cfg Config)
vault/azurekeyvault/azurekeyvault.go:15
↓ 2 callersFunctionNew
New creates new slog.Logger based on the format
logger/logger.go:11
← previousnext →101–200 of 1,286, ranked by callers