Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure/ARO-HCP
/ functions
Functions
10,266 in github.com/Azure/ARO-HCP
⨍
Functions
10,266
◇
Types & classes
2,908
↓ 2 callers
Function
appendResultRows
appendResultRows appends formatted result rows to the table writer. Centralizes the common logic for formatting and adding rows.
tooling/image-updater/internal/output/output.go:215
↓ 2 callers
Method
applyAutoApprove
(stamp *fleet.Stamp)
fleet/cmd/register/cmd.go:111
↓ 2 callers
Method
applyConfiguration
(session *sessiongatev1alpha1.Session, privateKey, certificate []byte)
sessiongate/pkg/controller/credssecret.go:97
↓ 2 callers
Function
applyReplacements
applyReplacements performs string replacements in a file, preserving all formatting. It uses a temp-file + rename approach for atomic writes and prese
tooling/image-updater/internal/upgrade/upgrade.go:457
↓ 2 callers
Method
applyToManagementCluster
(managementCluster *fleet.ManagementCluster)
fleet/cmd/register/cmd.go:171
↓ 2 callers
Function
armOutputFromOutputs
(outputs any)
tooling/templatize/pkg/pipeline/arm.go:135
↓ 2 callers
Function
assertAllServiceLinkQueriesContainTimeWindow
(t *testing.T, links []LinkDetails, expectedStart, expectedEnd string)
test/cmd/aro-hcp-tests/custom-link-tools/cmd_test.go:72
↓ 2 callers
Function
assertHTTPMetrics
assertHTTPMetrics ensures that HTTP metrics have been recorded.
frontend/pkg/frontend/frontend_test.go:909
↓ 2 callers
Function
assertMetrics
(t *testing.T, r prometheus.Gatherer, metrics int, expectedOutput string)
frontend/pkg/metrics/metrics_test.go:103
↓ 2 callers
Function
assignmentWithinSubscriptionScope
( roleAssignment *armauthorization.RoleAssignment, subscriptionScopePrefix string, )
tooling/cleanup-sweeper/pkg/engine/steps/roleassignments/delete.go:455
↓ 2 callers
Function
atomicUpdateFile
atomicUpdateFile simulates the AtomicWriter rotation pattern used by the CSI driver: write into a new versioned directory and atomically swap the ..da
tooling/tenant-quota/pkg/credentials/provider_test.go:224
↓ 2 callers
Function
availableZones
availableZones returns the availability zones for the SKU in the location minus any zones removed by Zone-type restrictions.
test/util/framework/vm_sku_selection.go:331
↓ 2 callers
Method
backoff
(attempt int)
test/util/framework/azure_client_policies.go:263
↓ 2 callers
Method
backoff
(attempt int)
test/util/framework/azure_client_policies.go:392
↓ 2 callers
Function
binaryFileName
(spec BinarySpec)
tooling/hcpctl/pkg/binresolver/resolver.go:434
↓ 2 callers
Function
boolPtr
(b bool)
mgmt-agent/pkg/controller/controller_test.go:29
↓ 2 callers
Function
boolPtr
boolPtr is a helper to get a pointer to a bool literal.
tooling/tenant-quota/pkg/config/config_test.go:58
↓ 2 callers
Function
buildBareCSCluster
buildBareCSCluster constructs a minimal CS cluster with the supplied properties bag for use as the "existing" cluster in update-path tests.
backend/pkg/controllers/clusterpropertiescontroller/desired_control_plane_size_sync_test.go:334
↓ 2 callers
Function
buildBashScript
(command string)
tooling/templatize/pkg/pipeline/shell.go:53
↓ 2 callers
Function
buildComputeQuotaResult
(subscriptionID, region string, usage *armcompute.Usage)
tooling/tenant-quota/pkg/subscriptionquota/usage_validation.go:28
↓ 2 callers
Function
buildDeployment
(namespace, ksmImage, kubeconfigSecretName, kubeconfigKey string, ownerRef metav1.OwnerReference)
mgmt-agent/pkg/controller/ksmhcp/resources.go:32
↓ 2 callers
Function
buildKQLQuery
buildKQLQuery builds a KQL query for Azure Resource Graph
tooling/hcpctl/pkg/aks/discovery.go:129
↓ 2 callers
Function
buildNetworkQuotaResult
(subscriptionID, region string, usage *armnetwork.Usage)
tooling/tenant-quota/pkg/subscriptionquota/usage_validation.go:40
↓ 2 callers
Function
buildNextRepo
buildNextRepo constructs the next version repository path. It replaces the version suffix in the current repo with the new version.
tooling/image-updater/internal/upgrade/upgrade.go:308
↓ 2 callers
Function
buildPerMCInformers
buildPerMCInformers constructs a started informers.KubeApplierInformers against a mock DB containing the supplied seed ApplyDesires for the given mana
internal/database/unioninformers/kubeapplier/union_informers_test.go:377
↓ 2 callers
Function
buildProvisionShardForCreate
(managementCluster *fleet.ManagementCluster, region string)
fleet/pkg/controllers/clustersserviceregistration/provision_shard.go:40
↓ 2 callers
Method
buildQuery
(name, database, templateName string, queryType QueryType, data TemplateData, unlimited bool)
tooling/hcpctl/pkg/kusto/query.go:246
↓ 2 callers
Function
buildReadDesire
buildReadDesire produces the desired-state ReadDesire for writeReadDesire. The status section is intentionally zero — the kube-applier owns status.
backend/pkg/controllers/create_cluster_scoped_read_desires_controller.go:210
↓ 2 callers
Function
buildRegionalQuotaResult
buildRegionalQuotaResult validates the required Azure usage fields before converting them into a QuotaResult. Azure marks these fields as required, bu
tooling/tenant-quota/pkg/subscriptionquota/usage_validation.go:55
↓ 2 callers
Function
buildRestartPatch
()
tooling/templatize/pkg/istio/workloads.go:269
↓ 2 callers
Function
buildService
(namespace string, ownerRef metav1.OwnerReference)
mgmt-agent/pkg/controller/ksmhcp/resources.go:114
↓ 2 callers
Function
buildServiceMonitor
buildServiceMonitor returns an unstructured ServiceMonitor because monitoring.coreos.com is a CRD without typed apply configurations.
mgmt-agent/pkg/controller/ksmhcp/resources.go:140
↓ 2 callers
Function
buildTestName
(workspace, ruleName string)
test/cmd/aro-hcp-tests/gather-observability/junit.go:37
↓ 2 callers
Function
buildToolHandlerMap
buildToolHandlerMap creates a name→handler lookup map from tool definitions.
tooling/hcpctl/pkg/agent/claude_provider.go:361
↓ 2 callers
Function
check
(path string)
hack/verify-schema-additional-properties/main.go:105
↓ 2 callers
Function
checkCSRApprovalStatus
checkCSRApprovalStatus checks the CSR conditions and returns approval status
tooling/hcpctl/pkg/breakglass/minting/minting.go:40
↓ 2 callers
Function
checkPodImagePullErrors
checkPodImagePullErrors checks if a pod has image pull errors in any container
test/util/verifiers/operator.go:58
↓ 2 callers
Method
cleanup
(ctx context.Context, adminRESTConfig *rest.Config)
test/util/verifiers/serving_app.go:306
↓ 2 callers
Method
cleanupRoleAssignments
cleanupRoleAssignments deletes only the role assignments created by THIS test. Role definitions are not cleaned up - they are reusable across e2e test
test/util/framework/identities_helper.go:509
↓ 2 callers
Function
cloudErrorBodyFromFieldError
(fieldError *field.Error)
internal/api/arm/error.go:98
↓ 2 callers
Function
cluster
(t *testing.T, name string)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:235
↓ 2 callers
Function
clusterHrefFromClusterServiceSubResource
(fileContent []byte)
test-integration/utils/integrationutils/cluster_service_mock.go:393
↓ 2 callers
Function
clusterIndexKey
clusterIndexKey returns the canonical (lower-cased) ByCluster index key for an HCPOpenShiftCluster identified by subscription, resource group, and nam
internal/database/listers/types.go:92
↓ 2 callers
Function
clusterInformerIntegrationTestCase
---- Cluster informer integration test case ----
test-integration/frontend/informer_test.go:352
↓ 2 callers
Function
clusterInformerTestCase
---- Cluster informer test case ----
backend/pkg/informers/informers_test.go:335
↓ 2 callers
Method
collectAll
(ctx context.Context)
tooling/tenant-quota/pkg/tenantquota/collector.go:91
↓ 2 callers
Function
collectResourceConditionErrors
collectResourceConditionErrors returns all error conditions from an unstructured resource's status.conditions. Unlike checkResourceConditions (which
test/util/verifiers/operator.go:281
↓ 2 callers
Function
collectUnknownFlags
(script string)
tooling/helmtest/testrunner/node_rollout_config.go:249
↓ 2 callers
Function
compactMetricLabel
compactMetricLabel builds a short label showing only the label keys that differ across series. If only one differentiating key exists, shows just the
test/cmd/aro-hcp-tests/gather-observability/chart.go:288
↓ 2 callers
Function
completeBaseGatherOptions
completeBaseGatherOptions creates the kusto client.
tooling/hcpctl/cmd/must-gather/query_base_options.go:103
↓ 2 callers
Function
composeOutput
composeOutput builds a single markdown document combining the README content, the rendered KQL query, and the results table.
tooling/hcpctl/pkg/snapshot/gatherer.go:850
↓ 2 callers
Function
computeGroupDuration
(firings []alert, tw timing.TimeWindow)
test/cmd/aro-hcp-tests/gather-observability/junit.go:170
↓ 2 callers
Function
configMapTarget
(name string)
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:98
↓ 2 callers
Function
constructAzureResourceID
(subscriptionID, resourceGroup, clusterName string)
tooling/hcpctl/pkg/hcp/discovery.go:204
↓ 2 callers
Function
containSpanAttributes
containSpanAttributes ensures that all the key/value pairs of the map are found in the span's attributes. Compared to equalSpanAttributes(), it won't
frontend/pkg/frontend/middleware_tracing_test.go:125
↓ 2 callers
Function
containerStateChanged
containerStateChanged returns true if any container's state type changed between the old and new pod (e.g. Waiting->Running). It checks ContainerStatu
mgmt-agent/pkg/controller/podwatcher.go:100
↓ 2 callers
Function
contains
(s, substr string)
kube-applier/pkg/controllers/conditions/conditions_test.go:125
↓ 2 callers
Function
controllerInformerTestCase
---- Controller informer test case ----
backend/pkg/informers/informers_test.go:678
↓ 2 callers
Function
controllingOwner
(refs []metav1.OwnerReference)
tooling/templatize/pkg/istio/workloads.go:276
↓ 2 callers
Function
convertToResults
convertToResults converts yaml.Update map to UpdateResult slice. Deduplicates updates by image name (taking the first occurrence). Determines status b
tooling/image-updater/internal/output/output.go:144
↓ 2 callers
Function
copyFile
(fileToCopy, targetDir string)
tooling/prometheus-rules/main_test.go:45
↓ 2 callers
Function
copyReadOnlyManagedServiceIdentityValues
(dest, src *arm.ManagedServiceIdentity)
internal/conversion/readonly_cluster.go:51
↓ 2 callers
Function
createAnnotationCleaner
(config *BundleConfig)
tooling/olm-bundle-repkg/internal/customize/customize.go:234
↓ 2 callers
Function
createCSRRequestBody
(session *sessiongatev1alpha1.Session, privateKey *rsa.PrivateKey)
sessiongate/pkg/controller/csr.go:47
↓ 2 callers
Function
createChart
createChart creates a Helm chart with the given parameters
tooling/olm-bundle-repkg/main.go:212
↓ 2 callers
Function
createCommand
(ctx context.Context, scriptCommand, pipelineWorkingDir string, envVars map[string]string)
tooling/templatize/pkg/pipeline/shell.go:46
↓ 2 callers
Function
createExternalAuthAndComplete
createExternalAuthAndComplete creates an external auth on an existing cluster.
test-integration/frontend/cross_version_roundtrip_test.go:620
↓ 2 callers
Function
createLogger
(verbosity int)
fleet/main.go:85
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/grafanactl/main.go:103
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/templatize/main.go:88
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/aro-hcp-exporter/main.go:75
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/yamlwrap/main.go:79
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/pipeline-documentation/main.go:76
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/image-updater/main.go:70
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/secret-sync/main.go:56
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/hcpctl/main.go:131
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/kustoctl/main.go:75
↓ 2 callers
Function
createLogger
(verbosity int)
tooling/cleanup-sweeper/main.go:58
↓ 2 callers
Function
createLogger
(verbosity int)
admin/client/main.go:76
↓ 2 callers
Function
createNodePoolAndComplete
createNodePoolAndComplete creates a nodepool on an existing cluster.
test-integration/frontend/cross_version_roundtrip_test.go:559
↓ 2 callers
Function
createOutputDirectories
createOutputDirectories creates the output directory structure.
tooling/hcpctl/cmd/must-gather/query_base_options.go:112
↓ 2 callers
Function
createParameterizeOperandsImageRegistries
(config *BundleConfig)
tooling/olm-bundle-repkg/internal/customize/customize.go:105
↓ 2 callers
Function
createServiceProviderClusterWithActiveAndDesiredVersion
(t *testing.T, ctx context.Context, mockResourcesDBClient *databasetesting.MockResourcesDBClient, activeVersio
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1276
↓ 2 callers
Function
createServiceProviderNodePoolWithActiveAndDesiredVersion
createServiceProviderNodePoolWithActiveAndDesiredVersion seeds a ServiceProviderNodePool with the given desired version and zero or more active versio
backend/pkg/controllers/upgradecontrollers/trigger_node_pool_upgrade_controller_test.go:296
↓ 2 callers
Function
createTestHCPClusterWithCustomerVersion
(t *testing.T, ctx context.Context, mockResourcesDBClient *databasetesting.MockResourcesDBClient, customerVers
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1051
↓ 2 callers
Function
createTestSubscription
createTestSubscription creates a subscription in the mock database.
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:75
↓ 2 callers
Function
createTestZip
(t *testing.T, binaryName string, content []byte)
tooling/hcpctl/pkg/binresolver/resolver_test.go:1083
↓ 2 callers
Method
createUpgradePolicyIfNeeded
createUpgradePolicyIfNeeded ensures a node pool upgrade policy exists for the desired version. It creates a new policy only if the most recently creat
backend/pkg/controllers/upgradecontrollers/trigger_node_pool_upgrade_controller.go:135
↓ 2 callers
Method
createUpgradePolicyIfNeeded
createUpgradePolicyIfNeeded ensures a control plane upgrade policy exists for the desired version. It creates a new policy only if the most recently c
backend/pkg/controllers/upgradecontrollers/trigger_control_plane_upgrade_controller.go:157
↓ 2 callers
Function
csIDBaseName
csIDBaseName returns the last path segment of a cluster-service ID, e.g. "/api/aro_hcp/v1alpha1/clusters/<id>" -> "<id>", or "/api/aro_hcp/v1alpha1/cl
tooling/hcpctl/cmd/datadump-to-git/cmd.go:804
↓ 2 callers
Function
deletePreconditionAllExternalAuthsDeleted
(ctx context.Context, dbClient database.ResourcesDBClient, key controllerutils.HCPClusterKey)
backend/pkg/controllers/clusterdeletion/cluster_child_resources_cleanup_controller.go:388
↓ 2 callers
Function
deletePreconditionAllNodePoolsDeleted
(ctx context.Context, dbClient database.ResourcesDBClient, key controllerutils.HCPClusterKey)
backend/pkg/controllers/clusterdeletion/cluster_child_resources_cleanup_controller.go:374
↓ 2 callers
Function
deleteResource
(ctx context.Context, containerClient *azcosmos.ContainerClient, partitionKeyString string, resourceID *azcore
internal/database/crud_helpers.go:344
↓ 2 callers
Function
deriveSetupTestBoundary
deriveSetupTestBoundary inspects the steps in the timing metadata and returns: - setupFinishTime: the latest FinishedAt among steps whose name contain
test/util/timing/timewindow.go:209
↓ 2 callers
Function
desireIndexers
desireIndexers is the standard set registered on every *Desire informer.
internal/database/informers/informers.go:41
↓ 2 callers
Method
determineOperationStatus
(ctx context.Context, operation *api.Operation)
backend/pkg/controllers/operationcontrollers/operation_cluster_create.go:173
↓ 2 callers
Function
discoverCandidates
(ctx context.Context, opts RunOptions)
tooling/cleanup-sweeper/cmd/workflow/resourcegroup/discovery.go:29
↓ 2 callers
Method
discoverGVRs
discoverGVRs uses the discovery API to find all GVRs whose group matches one of the watched suffixes and that support both list and watch verbs.
mgmt-agent/pkg/controller/resourcewatcher.go:143
↓ 2 callers
Function
doLeaseProxyRequestWithRetry
doLeaseProxyRequestWithRetry executes an HTTP request with exponential backoff until it succeeds, returns a fatal response classification, the parent
test/cmd/aro-hcp-tests/slot-manager/slots/leaseproxy.go:184
↓ 2 callers
Method
doRequestWithRetry
doRequestWithRetry performs an HTTP request with exponential backoff retry logic It retries on temporary network errors and 5xx server errors The oper
tooling/image-updater/internal/clients/quay.go:167
← previous
next →
1,701–1,800 of 10,266, ranked by callers