MCPcopy Create free account

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

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

↓ 2 callersFunctionNewClient
NewClient creates a new fake Client with the given options
controllers/actions.github.com/multiclient/fake/client.go:166
↓ 2 callersFunctionNewMultiGitHubClient
(client resourceReader, githubClient *github.Client)
controllers/actions.summerwind.net/multi_githubclient.go:68
↓ 2 callersFunctionNewRunnersList
()
github/fake/runners.go:19
↓ 2 callersFunctionParseWorkflowRef
ParseWorkflowRef parses a job_workflow_ref string to extract workflow name and target Format: {owner}/{repo}/.github/workflows/{workflow_file}@{ref} E
cmd/ghalistener/metrics/workflow_ref_parser.go:29
↓ 2 callersMethodRunnerSetSpecHash
()
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go:390
↓ 2 callersMethodSetupWithManager
(mgr ctrl.Manager)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook.go:694
↓ 2 callersMethodSetupWithManager
(mgr ctrl.Manager)
controllers/actions.summerwind.net/horizontalrunnerautoscaler_controller.go:385
↓ 2 callersMethodUpdateRunnerScaleSet
(ctx context.Context, runnerScaleSetID int, runnerScaleSet *scaleset.RunnerScaleSet)
controllers/actions.github.com/multiclient/multi_client.go:58
↓ 2 callersMethodV1Volume
()
apis/actions.summerwind.net/v1alpha1/runner_types.go:338
↓ 2 callersMethodV1VolumeMount
(mountPath string)
apis/actions.summerwind.net/v1alpha1/runner_types.go:355
↓ 2 callersMethodValidate
Validate validates resource spec.
apis/actions.summerwind.net/v1alpha1/runnerdeployment_webhook.go:75
↓ 2 callersMethodValidate
Validate validates resource spec.
apis/actions.summerwind.net/v1alpha1/runner_webhook.go:74
↓ 2 callersMethodValidate
Validate validates resource spec.
apis/actions.summerwind.net/v1alpha1/runnerreplicaset_webhook.go:75
↓ 2 callersFunctionWithFixedResponses
(responses *FixedResponses)
github/fake/options.go:44
↓ 2 callersFunctionWithListRepositoryWorkflowRunsResponse
(status int, body, queued, in_progress string)
github/fake/options.go:13
↓ 2 callersFunctionWithListRunnersResponse
(status int, body string)
github/fake/options.go:35
↓ 2 callersFunctionWithListWorkflowJobsResponse
(status int, bodies map[int]string)
github/fake/options.go:26
↓ 2 callersMethodall
()
controllers/actions.github.com/autoscalingrunnerset_controller.go:1131
↓ 2 callersMethodappConfig
(ctx context.Context, key string)
controllers/actions.github.com/secretresolver/secret_resolver.go:208
↓ 2 callersFunctionapplyWorkVolumeClaimTemplateToPod
(pod *corev1.Pod, workVolumeClaimTemplate *v1alpha1.WorkVolumeClaimTemplate, workDir string)
controllers/actions.summerwind.net/runner_controller.go:1397
↓ 2 callersMethodcertificate
(ctx context.Context, autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet, autoscalingListener *v1alpha1.Autos
controllers/actions.github.com/autoscalinglistener_controller.go:597
↓ 2 callersMethodcheckGitHubToken
(t *testing.T, tok string)
test/e2e/e2e_test.go:643
↓ 2 callersMethodcleanUpResources
(ctx context.Context, autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet, latestRunnerSet *v1alpha1.Ephemeral
controllers/actions.github.com/autoscalingrunnerset_controller.go:334
↓ 2 callersMethodcleanup
cleanup removes expired registration tokens.
github/github.go:310
↓ 2 callersMethodcleanupResources
(ctx context.Context, ephemeralRunner *v1alpha1.EphemeralRunner, log logr.Logger)
controllers/actions.github.com/ephemeralrunner_controller.go:442
↓ 2 callersMethodcreateControllerNamespaceAndServiceAccount
(t *testing.T)
test/e2e/e2e_test.go:971
↓ 2 callersMethodcreateEphemeralRunnerSet
(ctx context.Context, autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet, log logr.Logger)
controllers/actions.github.com/autoscalingrunnerset_controller.go:709
↓ 2 callersMethodcreateRunnerScaleSet
(ctx context.Context, autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet, logger logr.Logger)
controllers/actions.github.com/autoscalingrunnerset_controller.go:475
↓ 2 callersMethoddefaults
()
cmd/ghalistener/metrics/metrics.go:283
↓ 2 callersMethoddeleteEphemeralRunnerSets
(ctx context.Context, oldRunnerSets []v1alpha1.EphemeralRunnerSet, logger logr.Logger)
controllers/actions.github.com/autoscalingrunnerset_controller.go:440
↓ 2 callersMethoddeleteEphemeralRunnerWithActionsClient
(ctx context.Context, ephemeralRunner *v1alpha1.EphemeralRunner, actionsClient multiclient.Client, log logr.Lo
controllers/actions.github.com/ephemeralrunnerset_controller.go:505
↓ 2 callersMethoddo
(t *testing.T, op string, kind DeployKind, testID string, env ...string)
test/e2e/e2e_test.go:872
↓ 2 callersMethoddoArgoTunnel
(t *testing.T, op string)
test/e2e/e2e_test.go:953
↓ 2 callersMethoddrainingJobs
Prevents overprovisioning of runners. We reach this code path when runner scale set has been patched with a new runner spec but there are still runnin
controllers/actions.github.com/autoscalingrunnerset_controller.go:394
↓ 2 callersMethodfetchAndParseWorkflowJobLogs
(ctx context.Context, e *gogithub.WorkflowJobEvent)
pkg/actionsmetrics/event_reader.go:226
↓ 2 callersFunctionfilterLabels
(labels map[string]string, filter string)
controllers/actions.summerwind.net/utils.go:3
↓ 2 callersFunctionforceRunnerPodRestartPolicyNever
Force the runner pod managed by either RunnerDeployment and RunnerSet to have restartPolicy=Never. See https://github.com/actions/actions-runner-contr
controllers/actions.summerwind.net/runner_pod.go:18
↓ 2 callersMethodgetKubectlConfig
()
test/e2e/e2e_test.go:1002
↓ 2 callersFunctiongetSelector
(rd *v1alpha1.RunnerDeployment)
controllers/actions.summerwind.net/runnerdeployment_controller.go:438
↓ 2 callersFunctiongetTemplateHash
(rs *v1alpha1.RunnerReplicaSet)
controllers/actions.summerwind.net/runnerdeployment_controller.go:347
↓ 2 callersFunctiongetValidCapacityReservations
(autoscaler *v1alpha1.HorizontalRunnerAutoscaler)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook.go:680
↓ 2 callersMethodhandleRemove
()
github/fake/runners.go:57
↓ 2 callersMethodincCounter
(name string, allLabels prometheus.Labels)
cmd/ghalistener/metrics/metrics.go:450
↓ 2 callersMethodinstallActionsRunnerController
(t *testing.T, repo, tag, testID, chart, chartVer string, opts ...InstallARCOption)
test/e2e/e2e_test.go:755
↓ 2 callersMethodinstallActionsWorkflow
(t *testing.T, kind DeployKind, testID string)
test/e2e/e2e_test.go:978
↓ 2 callersMethodinstallArgoTunnel
(t *testing.T)
test/e2e/e2e_test.go:945
↓ 2 callersFunctionisHostedGitHubURL
(u *url.URL)
github/actions/actions.go:99
↓ 2 callersMethodlistEphemeralRunnerSets
(ctx context.Context, autoscalingRunnerSet *v1alpha1.AutoscalingRunnerSet)
controllers/actions.github.com/autoscalingrunnerset_controller.go:755
↓ 2 callersMethodlistRepositoryWorkflowRuns
(ctx context.Context, user string, repoName, status string)
github/github.go:373
↓ 2 callersMethodmarkAsFailed
(ctx context.Context, ephemeralRunner *v1alpha1.EphemeralRunner, errMessage string, reason string, log logr.Lo
controllers/actions.github.com/ephemeralrunner_controller.go:569
↓ 2 callersMethodmarkAsOutdated
(ctx context.Context, ephemeralRunner *v1alpha1.EphemeralRunner, log logr.Logger)
controllers/actions.github.com/ephemeralrunner_controller.go:588
↓ 2 callersFunctionmutatePod
(pod *corev1.Pod, token string)
controllers/actions.summerwind.net/runner_controller.go:755
↓ 2 callersFunctionnewEmptyResponse
()
controllers/actions.summerwind.net/pod_runner_token_injector.go:112
↓ 2 callersMethodnewEphemeralRunnerJitSecret
(ephemeralRunner *v1alpha1.EphemeralRunner, jitConfig *scaleset.RunnerScaleSetJitRunnerConfig)
controllers/actions.github.com/resourcebuilder.go:733
↓ 2 callersFunctionnewEphemeralRunnersByStates
(ephemeralRunnerList *v1alpha1.EphemeralRunnerList)
controllers/actions.github.com/ephemeralrunnerset_controller.go:590
↓ 2 callersMethodnewPod
(runner v1alpha1.Runner)
controllers/actions.summerwind.net/runner_controller.go:516
↓ 2 callersFunctionnewRunnerGroup
newRunnerGroup creates a new RunnerGroup instance from the provided arguments. There's a convention that an empty name implies a default runner group.
simulator/runnergroups.go:78
↓ 2 callersMethodnewScaleSetListenerConfig
(autoscalingListener *v1alpha1.AutoscalingListener, appConfig *appconfig.AppConfig, metricsConfig *listenerMet
controllers/actions.github.com/resourcebuilder.go:179
↓ 2 callersMethodnewScaleSetListenerRole
(autoscalingListener *v1alpha1.AutoscalingListener)
controllers/actions.github.com/resourcebuilder.go:478
↓ 2 callersMethodnewScaleSetListenerRoleBinding
(autoscalingListener *v1alpha1.AutoscalingListener, listenerRole *rbacv1.Role, serviceAccount *corev1.ServiceA
controllers/actions.github.com/resourcebuilder.go:509
↓ 2 callersMethodnewScaleSetListenerServiceAccount
(autoscalingListener *v1alpha1.AutoscalingListener)
controllers/actions.github.com/resourcebuilder.go:458
↓ 2 callersFunctionnewWorkGenericEphemeralVolume
(t *testing.T, storageReq string)
controllers/actions.summerwind.net/new_runner_pod_test.go:33
↓ 2 callersMethodobserveHistogram
(name string, allLabels prometheus.Labels, val float64)
cmd/ghalistener/metrics/metrics.go:462
↓ 2 callersFunctionparseSemver
(v string)
apis/actions.github.com/v1alpha1/version.go:26
↓ 2 callersMethodplanBatchScale
(ctx context.Context, batch batchScaleOperation, hra *v1alpha1.HorizontalRunnerAutoscaler, now time.Time)
controllers/actions.summerwind.net/horizontal_runner_autoscaler_batch_scale.go:159
↓ 2 callersFunctionpodConditionTransitionTime
(pod *corev1.Pod, tpe corev1.PodConditionType, v corev1.ConditionStatus)
controllers/actions.summerwind.net/runner_graceful_stop.go:340
↓ 2 callersFunctionpodIsPending
(pod *corev1.Pod)
controllers/actions.summerwind.net/runner_graceful_stop.go:359
↓ 2 callersMethodprocessRunnerDeletion
(runner v1alpha1.Runner, ctx context.Context, log logr.Logger, pod *corev1.Pod)
controllers/actions.summerwind.net/runner_controller.go:274
↓ 2 callersMethodproxyCredentials
(ctx context.Context, key string)
controllers/actions.github.com/secretresolver/secret_resolver.go:209
↓ 2 callersMethodreconcile
(ctx context.Context, req ctrl.Request, log logr.Logger, hra v1alpha1.HorizontalRunnerAutoscaler, st scaleTarg
controllers/actions.summerwind.net/horizontalrunnerautoscaler_controller.go:304
↓ 2 callersFunctionrefFromHorizontalRunnerAutoscaler
(hra *v1alpha1.HorizontalRunnerAutoscaler)
controllers/actions.summerwind.net/multi_githubclient.go:332
↓ 2 callersFunctionrefFromRunner
(r *v1alpha1.Runner)
controllers/actions.summerwind.net/multi_githubclient.go:309
↓ 2 callersFunctionrefFromRunnerPod
(po *corev1.Pod)
controllers/actions.summerwind.net/multi_githubclient.go:317
↓ 2 callersFunctionrefFromRunnerSet
(rs *v1alpha1.RunnerSet)
controllers/actions.summerwind.net/multi_githubclient.go:324
↓ 2 callersMethodresolverForObject
(ctx context.Context, obj object.ActionsGitHubObject)
controllers/actions.github.com/secretresolver/secret_resolver.go:161
↓ 2 callersMethodrunnerLabel
(testID string)
test/e2e/e2e_test.go:967
↓ 2 callersMethodscaleTotal
()
controllers/actions.github.com/ephemeralrunnerset_controller.go:628
↓ 2 callersFunctionsendWebhook
(server *httptest.Server, eventType string, event interface{})
controllers/actions.summerwind.net/horizontal_runner_autoscaler_webhook_test.go:497
↓ 2 callersFunctionsetRunnerEnv
(pod *corev1.Pod, key, value string)
controllers/actions.summerwind.net/runner_graceful_stop.go:381
↓ 2 callersMethodsort
()
controllers/actions.github.com/autoscalingrunnerset_controller.go:1143
↓ 2 callersMethodsuggestReplicasByQueuedAndInProgressWorkflowRuns
(ghc *arcgithub.Client, st scaleTarget, hra v1alpha1.HorizontalRunnerAutoscaler, metrics *v1alpha1.MetricSpec)
controllers/actions.summerwind.net/autoscaling.go:91
↓ 2 callersFunctionsyncRunnerPodsOwners
Why `create` must be a function rather than a client.Object? That's becase we use it to create one or more objects on scale up. We use client.Create
controllers/actions.summerwind.net/runner_pod_owner.go:252
↓ 2 callersMethodtestJobs
(testID string)
test/e2e/e2e_test.go:984
↓ 2 callersFunctiontickRunnerGracefulStop
tickRunnerGracefulStop reconciles the runner and the runner pod in a way so that we can delete the runner pod without disrupting a workflow job. This
controllers/actions.summerwind.net/runner_graceful_stop.go:29
↓ 2 callersMethodundeploy
(t *testing.T, kind DeployKind, testID string)
test/e2e/e2e_test.go:825
↓ 2 callersMethoduninstallArgoTunnel
(t *testing.T)
test/e2e/e2e_test.go:949
↓ 2 callersMethodunregistrationRetryDelay
()
controllers/actions.summerwind.net/runner_pod_controller.go:267
↓ 2 callersMethodverifyActionsWorkflowRun
(t *testing.T, ctx context.Context, testID string)
test/e2e/e2e_test.go:988
↓ 2 callersMethodwithAnnotation
(k, v string)
controllers/actions.summerwind.net/runner_pod_owner.go:40
↓ 1 callersFunctionAddRunningListener
(commonLabels CommonLabels)
controllers/actions.github.com/metrics/metrics.go:86
↓ 1 callersMethodApply
(ctx context.Context, path string, cfg KubectlConfig)
testing/kubectl.go:100
↓ 1 callersMethodClient
Client creates a new Azure Key Vault client using the provided configuration.
vault/azurekeyvault/config.go:56
↓ 1 callersMethodCreateCMLiterals
(ctx context.Context, name string, literals map[string]string, cfg KubectlConfig)
testing/kubectl.go:76
↓ 1 callersMethodCreateClusterRoleBindingServiceAccount
(ctx context.Context, name string, clusterrole string, sa string, cfg KubectlConfig)
testing/kubectl.go:49
↓ 1 callersMethodCreateRunnerScaleSet
(ctx context.Context, runnerScaleSet *scaleset.RunnerScaleSet)
controllers/actions.github.com/multiclient/multi_client.go:57
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalRunnerAutoscaler.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:153
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalRunnerAutoscalerList.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:185
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentList.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:542
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerList.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:659
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerReplicaSetList.
apis/actions.summerwind.net/v1alpha1/zz_generated.deepcopy.go:893
← previousnext →201–300 of 1,286, ranked by callers