MCPcopy Create free account

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

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

↓ 2 callersFunctionlooksLikeDataDump
looksLikeDataDump is a coarse substring filter to skip log lines that clearly aren't data-dump entries before we attempt JSON parsing. We match again
tooling/hcpctl/cmd/datadump-to-git/cmd.go:240
↓ 2 callersFunctionmakeTestRow
makeTestRow creates a kusto.TaggedRow wrapping a real azkquery.Row for testing convertRows.
tooling/hcpctl/pkg/mustgather/gather_test.go:79
↓ 2 callersFunctionmakeUniqueCIDRs
(n int)
internal/validation/validate_cluster_comprehensive_test.go:2403
↓ 2 callersFunctionmanagementClusterContentMatchesCluster
managementClusterContentMatchesCluster checks if a management cluster content's resource ID belongs to the given cluster. Management cluster contents
backend/pkg/listertesting/helpers.go:52
↓ 2 callersFunctionmarshalCSVersion
(resourceID *azcorearm.ResourceID, version *arohcpv1alpha1.Version, versionedInterface api.Version)
frontend/pkg/frontend/frontend.go:1093
↓ 2 callersFunctionmatchClusterPath
(clusterPath string)
internal/ocm/internalid.go:124
↓ 2 callersFunctionmatchSubset
matchSubset reports whether expected is a subset of actual, using the rules: - Maps: every key in expected must exist in actual, and the correspondin
test-integration/kube-applier/framework/subset.go:34
↓ 2 callersMethodmatches
(actualError arm.CloudErrorBody)
test-integration/utils/integrationutils/mutation_test_utils.go:220
↓ 2 callersFunctionmatchesSelector
(labels, selector map[string]string)
tooling/templatize/pkg/istio/health.go:189
↓ 2 callersFunctionmatchesType
(got, want azcorearm.ResourceType)
kube-applier/pkg/controllers/keys/keys.go:189
↓ 2 callersFunctionmergeClusterServiceClusterAndAutoscaler
(clusterHistory []any, autoscalerHistory []any)
test-integration/utils/integrationutils/cluster_service_mock.go:567
↓ 2 callersFunctionmergeClusterServiceReturn
(history []any)
test-integration/utils/integrationutils/cluster_service_mock.go:525
↓ 2 callersFunctionmergeDockerConfig
mergeDockerConfig merges a Docker config from KeyVault with the existing ~/.docker/config.json
tooling/image-updater/internal/clients/auth.go:112
↓ 2 callersFunctionmergeIntervals
(intervals []timeInterval)
test/cmd/aro-hcp-tests/gather-observability/junit.go:149
↓ 2 callersFunctionmergeResourceData
mergeResourceData copies resource-level discovered fields into a per-request queryData so that trace queries have access to data from resource discove
tooling/hcpctl/pkg/snapshot/gatherer.go:719
↓ 2 callersFunctionmetricLabel
metricLabel builds a display label from Prometheus metric labels.
test/cmd/aro-hcp-tests/gather-observability/chart.go:390
↓ 2 callersMethodmetricsRegisterer
()
kube-applier/pkg/app/kube_applier.go:195
↓ 2 callersFunctionmiDemandPriority
(spec *et.ExtensionTestSpec)
test/cmd/aro-hcp-tests/main.go:69
↓ 2 callersFunctionmiddlewareTracing
middlewareTracing allows to modify the default otelhttp handler for the tests.
frontend/pkg/frontend/middleware_tracing.go:42
↓ 2 callersFunctionmigrateManagementClusterContents
migrateManagementClusterContents lists and migrates all management cluster content documents under a given scope.
backend/pkg/controllers/cosmos_migration.go:544
↓ 2 callersMethodmigrateSubscription
migrateSubscription performs a depth-first read/write migration of every document type in the Resources container for the given subscription.
backend/pkg/controllers/cosmos_migration.go:133
↓ 2 callersFunctionmillisecondAxisFormatter
(base time.Time)
test/cmd/aro-hcp-tests/visualize/options.go:723
↓ 2 callersFunctionmustParse
mustParse parses a known issues YAML string and fails the test on error.
test/cmd/aro-hcp-tests/gather-observability/golden.go:126
↓ 2 callersFunctionmustParseID
(t *testing.T, s string)
internal/database/listertesting/slice_listers_test.go:119
↓ 2 callersFunctionmustParseID
(t *testing.T, s string)
internal/database/listertesting/db_listers_test.go:52
↓ 2 callersFunctionmustParseID
(t *testing.T, s string)
kube-applier/pkg/controllers/apply_desire/controller_test.go:50
↓ 2 callersFunctionmustParseResourceID
(s string)
fleet/pkg/controllers/clustersserviceregistration/provision_shard_test.go:46
↓ 2 callersFunctionmustParseResourceID
(t *testing.T, s string)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:220
↓ 2 callersFunctionmustReadArtifact
(name string)
test/cmd/aro-hcp-tests/gather-observability/render.go:32
↓ 2 callersFunctionmuxPatternRoute
muxPatternRoute returns the route pattern portion of a ServeMux pattern. A ServeMux pattern is a http.Request.Pattern, which consists of the HTTP meth
frontend/pkg/frontend/metrics.go:37
↓ 2 callersMethodneedsWork
(existingCluster *api.HCPOpenShiftCluster)
backend/pkg/controllers/clusterpropertiescontroller/cluster_base_domain_prefix_sync.go:78
↓ 2 callersMethodneedsWork
(nodePool *api.HCPOpenShiftClusterNodePool)
backend/pkg/controllers/nodepoolcreationcontrollers/node_pool_cluster_service_create_controller.go:76
↓ 2 callersMethodneedsWork
needsWork checks if the ServiceProviderCluster still needs its ManagementClusterResourceID resolved.
backend/pkg/controllers/managementclustercontrollers/management_cluster_placement_sync.go:87
↓ 2 callersFunctionneedsWorkForIdentityKey
needsWorkForIdentityKey returns true when the identity at key is missing or has empty client/principal IDs, signalling that the migration controller s
backend/pkg/controllers/clusterpropertiescontroller/identity_migration.go:142
↓ 2 callersFunctionnewApplyDesire
(t *testing.T, managementCluster *azcorearm.ResourceID, resourceIDString string)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:267
↓ 2 callersFunctionnewClusterInternalID
(t *testing.T)
frontend/pkg/frontend/frontend_test.go:56
↓ 2 callersFunctionnewClusterResourceID
(t *testing.T)
frontend/pkg/frontend/frontend_test.go:50
↓ 2 callersFunctionnewClusterServiceCompareStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_cluster_service_compare.go:34
↓ 2 callersFunctionnewCompleteOperationStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_completeoperation.go:32
↓ 2 callersFunctionnewConflictError
newConflictError returns an azcore.ResponseError that IsConflictError recognises.
backend/pkg/controllers/cosmos_migration_test.go:85
↓ 2 callersFunctionnewFakeClient
(scheme *runtime.Scheme, objs ...client.Object)
tooling/hcpctl/pkg/crdump/lister_test.go:42
↓ 2 callersFunctionnewFakeControllerCRUD
()
backend/pkg/controllers/controllerutils/util_test.go:39
↓ 2 callersFunctionnewHTTPCreateStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_httpcreate.go:37
↓ 2 callersFunctionnewHTTPDeleteStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_httpdelete.go:36
↓ 2 callersFunctionnewHTTPGetStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_httpget.go:37
↓ 2 callersFunctionnewHTTPListStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_httplist.go:34
↓ 2 callersFunctionnewHTTPPatchStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_httppatch.go:37
↓ 2 callersFunctionnewHTTPPostStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_httppost.go:37
↓ 2 callersFunctionnewListActiveOperationsStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_list_active_operations.go:37
↓ 2 callersFunctionnewManagedServiceIdentity
(from *arm.ManagedServiceIdentity)
internal/api/v20240610preview/hcpopenshiftclusters_methods.go:287
↓ 2 callersFunctionnewManagedServiceIdentity
(from *arm.ManagedServiceIdentity)
internal/api/v20260630preview/hcpopenshiftclusters_methods.go:334
↓ 2 callersFunctionnewManagedServiceIdentity
(from *arm.ManagedServiceIdentity)
internal/api/v20251223preview/hcpopenshiftclusters_methods.go:306
↓ 2 callersFunctionnewMatchingGVRsFromCRD
newMatchingGVRsFromCRD extracts GVRs from a CRD object and returns those that match the watched group suffixes but are not in the known set.
mgmt-agent/pkg/controller/resourcewatcher.go:209
↓ 2 callersFunctionnewMiddlewareAudit
(auditClient audit.Client)
frontend/pkg/frontend/middleware_audit.go:37
↓ 2 callersFunctionnewMigrateCosmosStep
(stepID StepID, _ fs.FS)
test-integration/utils/databasemutationhelpers/step_migrate_cosmos.go:35
↓ 2 callersFunctionnewMockManagementClusterContentCRUD
(client mockDocumentStore, parentResourceID *azcorearm.ResourceID, resourceType azcorearm.ResourceType)
internal/databasetesting/mock_resources_crud.go:658
↓ 2 callersFunctionnewMockUntypedCRUD
(client *MockResourcesDBClient, parentResourceID azcorearm.ResourceID)
internal/databasetesting/mock_resources_crud.go:673
↓ 2 callersMethodnewNodePoolAdmissionContext
newNodePoolAdmissionContext creates an admission context for node pool operations. The cluster parameter is always required. The spCluster and spNodeP
frontend/pkg/frontend/node_pool.go:229
↓ 2 callersFunctionnewOSDiskProfile
(from *api.OSDiskProfile)
internal/api/v20240610preview/nodepools_methods.go:281
↓ 2 callersFunctionnewOSDiskProfile
(from *api.OSDiskProfile)
internal/api/v20260630preview/nodepools_methods.go:271
↓ 2 callersFunctionnewOSDiskProfile
(from *api.OSDiskProfile)
internal/api/v20251223preview/nodepools_methods.go:271
↓ 2 callersFunctionnewQueryBillingIterator
newQueryBillingIterator is a failable push iterator for billing document queries.
internal/database/iterators.go:110
↓ 2 callersFunctionnewReadDesire
(t *testing.T, target kubeapplier.ResourceReference)
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:65
↓ 2 callersFunctionnewReleaseTestServer
(t *testing.T)
test/cmd/aro-hcp-tests/slot-manager/release_test.go:59
↓ 2 callersFunctionnewRestrictedResourceID
(resourceTypeRestriction string)
internal/validation/validators.go:748
↓ 2 callersFunctionnewResultsTable
(results []Result)
tooling/image-updater/internal/upgrade/upgrade.go:361
↓ 2 callersFunctionnewServiceAccount
(namespace, name string)
tooling/olm-bundle-repkg/internal/rukpak/convert/registryv1.go:358
↓ 2 callersFunctionnewTestCluster
(t *testing.T)
backend/pkg/controllers/validationcontrollers/nodepool_validation_controller_test.go:58
↓ 2 callersFunctionnewTestClusterController
(subscriptionID, resourceGroupName, clusterName, controllerName string)
backend/pkg/listertesting/slice_listers_test.go:470
↓ 2 callersFunctionnewTestClusterForAggregator
newTestClusterForAggregator builds a minimal HCPOpenShiftCluster suitable for the aggregator tests. Callers can layer in pre-existing Status.Condition
backend/pkg/controllers/statuscontrollers/cluster_degraded_aggregator_test.go:44
↓ 2 callersFunctionnewTestClusterResourceID
(t *testing.T)
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:59
↓ 2 callersFunctionnewTestClusterScopedManagementClusterContent
(subscriptionID, resourceGroupName, clusterName, mccName string)
backend/pkg/listertesting/slice_listers_test.go:530
↓ 2 callersFunctionnewTestExternalAuth
(t *testing.T)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:301
↓ 2 callersFunctionnewTestExternalAuthController
(t *testing.T, name string)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:397
↓ 2 callersFunctionnewTestNodePool
(t *testing.T)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:270
↓ 2 callersFunctionnewTestNodePool
(t *testing.T)
backend/pkg/controllers/validationcontrollers/nodepool_validation_controller_test.go:80
↓ 2 callersFunctionnewUntypedDeleteStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_untypeddelete.go:38
↓ 2 callersFunctionnewUntypedGetStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_untypedget.go:45
↓ 2 callersFunctionnewUntypedListRecursiveStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_untypedlistrecursive.go:49
↓ 2 callersFunctionnewUntypedListStep
(stepID StepID, stepDir fs.FS)
test-integration/utils/databasemutationhelpers/step_untypedlist.go:38
↓ 2 callersFunctionnodePool
(t *testing.T, clusterName, nodePoolName string)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:251
↓ 2 callersFunctionnodePoolIndexKey
nodePoolIndexKey returns the canonical (lower-cased) ByNodePool index key for a NodePool identified by its containing cluster plus its own name.
internal/database/listers/types.go:98
↓ 2 callersFunctionnodePoolInformerIntegrationTestCase
---- NodePool informer integration test case ----
test-integration/frontend/informer_test.go:459
↓ 2 callersFunctionnodePoolInformerTestCase
---- NodePool informer test case ----
backend/pkg/informers/informers_test.go:448
↓ 2 callersFunctionnodePoolMatchesCluster
nodePoolMatchesCluster checks if a node pool's resource ID belongs to the given cluster. Node pools are child resources of clusters, so we check the p
backend/pkg/listertesting/helpers.go:25
↓ 2 callersFunctionnodePoolReadDesireResourceID
nodePoolReadDesireResourceID returns the resource ID for the readonly NodePool ReadDesire associated with the test node pool. The slice lister matches
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_controller_test.go:47
↓ 2 callersFunctionnormalizeARMClientOptions
(opts *azcorearm.ClientOptions)
tooling/cleanup-sweeper/pkg/engine/client_options.go:42
↓ 2 callersFunctionnormalizeExpr
normalizeExpr parses a PromQL expression and re-serializes it through the AST's String() method, producing a canonical formatting. This ensures that f
tooling/prometheus-rules/internal/namespace_filter.go:28
↓ 2 callersFunctionnormalizeManagedIdentity
(identity *generated.ManagedServiceIdentity)
internal/api/v20240610preview/hcpopenshiftclusters_methods.go:455
↓ 2 callersFunctionnormalizeManagedIdentity
(identity *generated.ManagedServiceIdentity)
internal/api/v20260630preview/hcpopenshiftclusters_methods.go:529
↓ 2 callersFunctionnormalizeManagedIdentity
(identity *generated.ManagedServiceIdentity)
internal/api/v20251223preview/hcpopenshiftclusters_methods.go:497
↓ 2 callersFunctionnormalizeOSDiskProfile
(fldPath *field.Path, p *generated.OsDiskProfile, out *api.OSDiskProfile)
internal/api/v20240610preview/nodepools_methods.go:225
↓ 2 callersFunctionnormalizeResourceType
(resourceType string)
tooling/cleanup-sweeper/pkg/engine/steps/arm/api_version_cache.go:90
↓ 2 callersFunctionnormalizeTagMap
(values map[string]string, fieldPrefix string)
tooling/cleanup-sweeper/pkg/policy/validate.go:117
↓ 2 callersFunctionnotifyOperationOwner
notifyOperationOwner logs the operation result and, if applicable, sends an async notification to ARM and clears the notification URI. The notificati
backend/pkg/controllers/operationcontrollers/utils.go:329
↓ 2 callersFunctionoldRevisionFrom
(revisions []string, target string)
tooling/templatize/pkg/istio/upgrade.go:292
↓ 2 callersFunctionoperationTypeMetricLabel
(request api.OperationRequest)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller.go:167
↓ 2 callersFunctionpageAssignmentsAndDeleteInvalid
(ctx context.Context, pager *runtime.Pager[armkusto.DatabasePrincipalAssignmentsClientListResponse], client *a
test/util/cleanup/kusto-role-assignments/run.go:57
↓ 2 callersFunctionparameterizeNamespace
(obj unstructured.Unstructured)
tooling/olm-bundle-repkg/internal/customize/customize.go:61
↓ 2 callersFunctionparentForKubeApplierDesire
parentForKubeApplierDesire splits a *Desire's resource ID into the parent field names (subscriptionID, resourceGroupName, clusterName, nodePoolName).
internal/databasetesting/mock_kube_applier_client.go:359
← previousnext →1,901–2,000 of 10,266, ranked by callers