MCPcopy Create free account

hub / github.com/Azure/ARO-HCP / functions

Functions10,266 in github.com/Azure/ARO-HCP

↓ 3 callersMethodWithOwnerReferences
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can b
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:192
↓ 3 callersMethodWithUID
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "Wit
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:108
↓ 3 callersFunctionWriteJSONResponse
WriteJSONResponse writes a JSON response body to the http.ResponseWriter in the proper sequence: first setting Content-Type to "application/json", the
internal/api/arm/response.go:51
↓ 3 callersMethodaddHandler
(h *handlerEntry)
internal/database/unioninformers/kubeapplier/desire_informer.go:208
↓ 3 callersFunctionadminAPIGet
(ctx context.Context, httpClient *http.Client, endpoint string)
test/util/framework/admin_api_helpers.go:495
↓ 3 callersMethodapplyDesired
applyDesired performs the kubeContent decode and SSA call. The GVR comes straight from spec.targetItem; we don't consult a RESTMapper or guess. The dy
kube-applier/pkg/controllers/apply_desire/controller.go:364
↓ 3 callersFunctionartifactDir
artifactDir returns the value of ARTIFACT_DIR environment variable, which is spot to save info in CI
test/util/framework/per_invocation_framework.go:324
↓ 3 callersFunctionasDesire
asDesire performs the runtime type assertion to the metadata-accessor interface and produces a useful error when an unexpected type is indexed.
internal/database/informers/index_funcs.go:38
↓ 3 callersFunctionbicepName
(name *string)
tooling/prometheus-rules/internal/generator.go:719
↓ 3 callersFunctionboolPtr
(b bool)
tooling/image-updater/internal/config/config_test.go:849
↓ 3 callersFunctionbuildCSClusterWithIdentity
buildCSClusterWithIdentity creates a mock Cluster Service cluster with managed identity information.
backend/pkg/controllers/clusterpropertiescontroller/identity_migration_test.go:285
↓ 3 callersFunctionbuildDomainContent
buildDomainContent reads the embedded system prompt, reference documents, and exemplar analyses, returning them as a single string. This content is sh
tooling/hcpctl/pkg/agent/prompt.go:50
↓ 3 callersFunctioncacheKey
(source, subscriptionID, region, quotaName, metricType string)
tooling/tenant-quota/pkg/subscriptionquota/collector.go:202
↓ 3 callersFunctioncanonicalizeVersion
canonicalizeVersion ensures tag has 'v' prefix for semver library
tooling/image-updater/internal/clients/common.go:78
↓ 3 callersFunctionclassifyAlerts
classifyAlerts returns a copy of the alerts with Metadata.KnownIssue and Metadata.KnownIssueReason set based on the given known issue patterns. The fi
test/cmd/aro-hcp-tests/gather-observability/known_issues.go:82
↓ 3 callersFunctionclusterResourceIDFromResourceID
(resourceID *azcorearm.ResourceID)
backend/pkg/informers/informers.go:654
↓ 3 callersFunctionclusterVersionSkewVersusNodePool
(nodePoolName string, nodePoolVer, parsedClusterVersion semver.Version)
internal/admission/utils.go:69
↓ 3 callersMethodcollect
()
frontend/pkg/frontend/middleware_tracing_test.go:159
↓ 3 callersMethodcollectAll
(ctx context.Context)
tooling/tenant-quota/pkg/subscriptionquota/collector.go:120
↓ 3 callersFunctioncompleteClusterIdentity
completeClusterIdentity fills in any missing cluster.Identity.UserAssignedIdentities and removes any extra cluster.Identity.UserAssignedIdentities key
frontend/pkg/frontend/cluster.go:949
↓ 3 callersFunctioncomputeResourceGroupTags
computeResourceGroupTags determines the final tags for a resource group based on existing tags and persist settings. Persist tag rules: 1. If persist
tooling/templatize/pkg/pipeline/arm.go:310
↓ 3 callersFunctioncontains
contains checks whether s contains substr.
tooling/hcpctl/pkg/agent/claude_provider_test.go:326
↓ 3 callersFunctioncreateBasicHostedCluster
Helper function for creating HostedCluster objects with only basic fields for specific tests
tooling/hcpctl/pkg/hcp/discovery_test.go:68
↓ 3 callersFunctioncreateClusterScopedUnstructuredCR
(apiVersion, kind, name string, labels map[string]string)
tooling/hcpctl/pkg/crdump/lister_test.go:63
↓ 3 callersFunctioncreateParameterizeDeployment
(config *BundleConfig)
tooling/olm-bundle-repkg/internal/customize/customize.go:189
↓ 3 callersFunctioncredentialCacheKey
(tenant config.TenantConfig)
tooling/tenant-quota/pkg/credentials/provider.go:196
↓ 3 callersFunctioncsObjectToMap
csObjectToMap serializes a cluster-service object to JSON and then decodes it into a map[string]any for structured logging. This approach handles the
backend/pkg/controllers/datadumpcontrollers/cs_state_dump.go:170
↓ 3 callersFunctiondbListOptionsFromRequest
(request *http.Request)
frontend/pkg/frontend/frontend.go:236
↓ 3 callersFunctiondeepCopyFuzzerFor
deepCopyFuzzerFor creates a randfill.Filler suitable for filling API types that contain azcorearm.ResourceID and other types with private fields.
internal/api/types_runtime_test.go:38
↓ 3 callersFunctiondoDeepCopyTest
doDeepCopyTest verifies that DeepCopyObject produces an independent copy. It encodes the original to JSON, then re-fuzzes the copy. If the copy and or
internal/api/types_runtime_test.go:135
↓ 3 callersMethoddownloadURL
(version, asset string)
tooling/hcpctl/pkg/binresolver/github.go:132
↓ 3 callersMethodenqueue
(d *kubeapplier.ReadDesire)
kube-applier/pkg/controllers/read_desire_manager/controller.go:281
↓ 3 callersMethodenqueueCosmosUpdateWithMaxDepth
(oldObj, newObj any, maxDepth int)
backend/pkg/controllers/controllerutils/generic_watching_controller.go:243
↓ 3 callersMethodenqueueForOwner
(obj interface{})
mgmt-agent/pkg/controller/ksmhcp/controller.go:156
↓ 3 callersFunctionequalDurations
(got, want []time.Duration)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1171
↓ 3 callersMethodexecute
(ctx context.Context)
tooling/templatize/cmd/entrypoint/cleanup/resourcedeleter.go:38
↓ 3 callersMethodexecuteKQL
executeKQL runs a KQL query string against the given database and returns the result rows with column names and string values.
tooling/hcpctl/pkg/snapshot/gatherer.go:973
↓ 3 callersFunctionexternalAuthResourceID
(clusterName, authName string)
test-integration/frontend/cross_version_roundtrip_test.go:615
↓ 3 callersFunctionexternalAuthResourceIDFromResourceID
(resourceID *azcorearm.ResourceID)
backend/pkg/informers/informers.go:669
↓ 3 callersFunctionextractTimestampFromMultiArchManifest
extractTimestampFromMultiArchManifest attempts to get a meaningful timestamp for a multi-arch manifest It tries three approaches in order: 1. Use the
tooling/image-updater/internal/clients/generic.go:258
↓ 3 callersFunctionextractVersionLabel
extractVersionLabel extracts a version string from container image labels. This function makes a network call to fetch the image config, so it should
tooling/image-updater/internal/clients/utils.go:51
↓ 3 callersFunctionfakeOCMNotFoundError
()
backend/pkg/controllers/clusterdeletion/cluster_cluster_service_delete_dispatch_controller_test.go:60
↓ 3 callersFunctionfakeOCMNotFoundError
()
backend/pkg/controllers/externalauthdeletion/external_auth_cluster_service_delete_dispatch_controller_test.go:461
↓ 3 callersFunctionfakeOCMNotFoundError
()
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:410
↓ 3 callersFunctionfilterAlertsBySeverity
filterAlertsBySeverity returns only the alerts whose severity rank is at or below the given threshold. A threshold of -1 means no filtering.
test/cmd/aro-hcp-tests/gather-observability/severity.go:80
↓ 3 callersMethodfindAnyCached
(spec BinarySpec)
tooling/hcpctl/pkg/binresolver/resolver.go:531
↓ 3 callersFunctionfsMightContainFiles
(dir fs.FS)
test-integration/utils/controllertesthelpers/basic_controller.go:150
↓ 3 callersFunctiongetByItemID
TODO this will eventually be the standard GET, but until we rewrite all records with new `id` values, it must remain separate and specifically called.
internal/database/crud_helpers.go:66
↓ 3 callersFunctiongetCSRNameForSession
(session *sessiongatev1alpha1.Session)
sessiongate/pkg/controller/csr.go:103
↓ 3 callersFunctiongetCastResult
(r *cosmosDBTransactionResult, cosmosUID string)
internal/database/transaction.go:178
↓ 3 callersMethodgetClient
()
tooling/image-updater/internal/clients/acr.go:133
↓ 3 callersMethodgetClient
(group string)
test-integration/utils/integrationutils/kube_mock.go:170
↓ 3 callersMethodgetHCPClientFactoryOptions
()
test/util/framework/per_invocation_framework.go:178
↓ 3 callersMethodgetLeasedIdentities
getLeasedIdentities returns the leased identities and container resource group by using one of the leases assigned to the calling test spec.
test/util/framework/identities_helper.go:303
↓ 3 callersFunctiongetServiceLogLinks
(tw timing.TimeWindow, svcClusterName, mgmtClusterName string, kustoInfo KustoInfo)
test/cmd/aro-hcp-tests/custom-link-tools/options.go:449
↓ 3 callersMethodgetSession
(ctx context.Context, sessionName string)
admin/server/handlers/hcp/breakglass/kubeconfig.go:85
↓ 3 callersFunctiongvrFromGVK
(gvk schema.GroupVersionKind)
test-integration/utils/integrationutils/kube_mock.go:213
↓ 3 callersFunctionhasGroup
hasGroup checks if the user has any of the specified groups
tooling/hcpctl/internal/e2e/e2e.go:190
↓ 3 callersFunctionhasSkippedResourceTypePrefix
hasSkippedResourceTypePrefix returns true if the resource's type path starts with any of the skip entries. Each entry is a lowercased ResourceType.Typ
backend/pkg/controllers/clusterdeletion/cluster_child_resources_cleanup_controller.go:214
↓ 3 callersFunctionhostedControlPlaneLogs
(f *kusto.QueryFactory, options kusto.QueryOptions, clusterIds []string)
tooling/hcpctl/pkg/mustgather/queries.go:59
↓ 3 callersMethodimageRef
()
test/util/verifiers/image_pull.go:126
↓ 3 callersFunctioninitSpanRecorder
initSpanRecorder returns a child context containing a new root span and a span recorder to introspect the final span and children.
frontend/pkg/frontend/middleware_tracing_test.go:146
↓ 3 callersFunctionisClientError
isClientError returns true if the response status code is a 4xx client error.
tooling/hcpctl/pkg/snapshot/queries.go:204
↓ 3 callersFunctionisClusterType
isClusterType returns true if the resource type is the top-level HCP cluster.
tooling/hcpctl/pkg/snapshot/queries.go:174
↓ 3 callersFunctionisIpAddress
isIpAddress checks if the host is a valid IP address (IPv4 or IPv6)
internal/validation/validators.go:495
↓ 3 callersFunctionistiodServiceName
(revision string)
tooling/templatize/pkg/istio/configmap.go:48
↓ 3 callersFunctionjoinStatuses
joinStatuses returns a deduplicated, space-separated string of status tokens.
test/cmd/aro-hcp-tests/gather-snapshot/html.go:124
↓ 3 callersMethodlistByPrefix
(ctx context.Context, prefix string)
backend/pkg/listertesting/db_listers.go:162
↓ 3 callersMethodlistByPrefix
(prefix string)
backend/pkg/listertesting/slice_listers.go:162
↓ 3 callersFunctionlistControllersUnderPrefix
listControllersUnderPrefix returns the controllers whose ResourceID is a direct child of parentResourceID — exactly one path segment-pair (type + name
backend/pkg/listertesting/slice_listers.go:476
↓ 3 callersFunctionlistRunningPodsWithSidecar
(ctx context.Context, client kubernetes.Interface, namespace string)
tooling/templatize/pkg/istio/workloads.go:428
↓ 3 callersFunctionlogDataset
(logger logr.Logger, dataset v1.Dataset)
tooling/kustoctl/cmd/validate/kql.go:193
↓ 3 callersFunctionlogQuery
(logger logr.Logger, db, cmd string)
tooling/kustoctl/cmd/validate/kql.go:189
↓ 3 callersFunctionlogResourceEvent
logResourceEvent logs a resource event with the object as a structured field.
mgmt-agent/pkg/controller/resourcewatcher.go:240
↓ 3 callersFunctionlogVerifierTiming
logVerifierTiming records actual wall-clock duration when a verifier finishes polling. Logs to GinkgoLogr (structured) and GinkgoWriter (visible in de
test/util/verifiers/poll.go:39
↓ 3 callersFunctionlookupTag
(tags map[string]*string, key string)
tooling/cleanup-sweeper/pkg/policy/discovery.go:244
↓ 3 callersFunctionmanagementClusterKeyFromEvent
managementClusterKeyFromEvent computes the workqueue key for a management-cluster informer event. The key carries both the stamp identifier (the paren
internal/database/unioninformers/kubeapplier/controller.go:390
↓ 3 callersFunctionmanagementClusterResourceID
managementClusterResourceID returns the canonical resourceID for the management cluster, preferring the top-level ResourceID and falling back to the c
internal/database/unioninformers/kubeapplier/controller.go:376
↓ 3 callersFunctionmanagementClusterResourceIDs
managementClusterResourceIDs queries the provided lister and projects each management cluster to its resourceID. Used by the per-Type *Desire listers
internal/database/listertesting/db_listers.go:44
↓ 3 callersFunctionmapStepVariables
(serviceGroup string, vars []types.Variable, cfg configtypes.Configuration, inputs Outputs)
tooling/templatize/pkg/pipeline/shell.go:279
↓ 3 callersFunctionmatchesGroupSuffix
matchesGroupSuffix returns true if the group equals or is a subdomain of one of the watched suffixes.
mgmt-agent/pkg/controller/resourcewatcher.go:183
↓ 3 callersFunctionmiddlewarePanicRecover
middlewarePanicRecover runs the next http.HandlerFunc. Additionally, when recoverPanics is true it recovers panics, increments the frontend_http_reque
frontend/pkg/frontend/middleware_panic.go:54
↓ 3 callersFunctionmigrateControllers
migrateControllers lists and migrates all controller documents under a given scope.
backend/pkg/controllers/cosmos_migration.go:520
↓ 3 callersFunctionmigrateWorkloads
(ctx context.Context, kubeClient kubernetes.Interface, opts UpgradeOptions, toRevision string)
tooling/templatize/pkg/istio/workloads.go:201
↓ 3 callersFunctionmust
(v T, err error)
test/util/verifiers/serving_app.go:349
↓ 3 callersFunctionmustParse
(t *testing.T, s string)
internal/databasetesting/mock_kube_applier_client_test.go:48
↓ 3 callersFunctionmustParseID
(t *testing.T, s string)
internal/database/unionlisters/kubeapplier/union_listers_test.go:50
↓ 3 callersFunctionmustParseResourceIDForKubeApplierTest
(t *testing.T, s string)
internal/database/kube_applier_clients_test.go:110
↓ 3 callersFunctionnewApplyDesire
============================================================================ UnionKubeApplierInformers (aggregator) — end-to-end via real informers ==
internal/database/unioninformers/kubeapplier/union_informers_test.go:361
↓ 3 callersFunctionnewApplyDesire
(t *testing.T, resourceIDString string, managementClusterResourceID *azcorearm.ResourceID)
test-integration/backend/unionkubeapplierinformers/integration_test.go:269
↓ 3 callersMethodnewClusterAdmissionContext
newClusterAdmissionContext creates an admission context for cluster operations. The subscription is always required. originalCluster is the inbound cl
frontend/pkg/frontend/cluster.go:256
↓ 3 callersFunctionnewFakeClock
(start time.Time)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1188
↓ 3 callersFunctionnewMiddlewareLockSubscription
(locksDBClient database.LocksDBClient)
frontend/pkg/frontend/middleware_locksubscription.go:31
↓ 3 callersFunctionnewMockFleetResourceCRUD
newMockFleetResourceCRUD creates a mockResourceCRUD with path construction that mirrors fleetResourceCRUD. Fleet resources live outside the subscripti
internal/databasetesting/mock_fleet_client.go:158
↓ 3 callersFunctionnewReadDesire
--- ReadDesire fixtures -------------------------------------------------
internal/database/unionlisters/kubeapplier/union_listers_test.go:95
↓ 3 callersFunctionnewResourceStatus
(from []metav1.Condition)
internal/api/v20260630preview/hcpopenshiftclusters_methods.go:271
↓ 3 callersFunctionnewStampWithConditions
(stampIdentifier string, conditions ...metav1.Condition)
admin/server/handlers/stamp/stamp_approval_test.go:48
↓ 3 callersFunctionnewSystemData
(from *arm.SystemData)
internal/api/v20240610preview/hcpopenshiftclusters_methods.go:273
↓ 3 callersFunctionnewSystemData
(from *arm.SystemData)
internal/api/v20260630preview/hcpopenshiftclusters_methods.go:320
↓ 3 callersFunctionnewSystemData
(from *arm.SystemData)
internal/api/v20251223preview/hcpopenshiftclusters_methods.go:292
← previousnext →1,201–1,300 of 10,266, ranked by callers