MCPcopy Create free account

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

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

↓ 3 callersFunctionnewTestClusterController
(t *testing.T, name string)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:356
↓ 3 callersFunctionnewTestClusterKey
()
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:111
↓ 3 callersFunctionnewTestHostedClusterReadDesire
(t *testing.T, opts ...func(*hsv1beta1.HostedCluster))
backend/pkg/controllers/clusterpropertiescontroller/cluster_properties_test_helpers_test.go:119
↓ 3 callersFunctionnewTestManagementCluster
(name, shardID string)
internal/database/listertesting/slice_listers_test.go:35
↓ 3 callersFunctionnewTestMetric
(name string)
tooling/tenant-quota/pkg/subscriptionquota/cache_test.go:25
↓ 3 callersFunctionnewTestNodePoolController
(t *testing.T, name string)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:378
↓ 3 callersFunctionnewTestSubscription
()
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:69
↓ 3 callersFunctionnewTestSubscription
()
backend/pkg/controllers/validationcontrollers/nodepool_validation_controller_test.go:103
↓ 3 callersFunctionnodePoolResourceID
(clusterName, nodePoolName string)
test-integration/frontend/cross_version_roundtrip_test.go:554
↓ 3 callersFunctionnodePoolResourceIDFromResourceID
(resourceID *azcorearm.ResourceID)
backend/pkg/informers/informers.go:739
↓ 3 callersFunctionnormalizeOSDiskProfile
(fldPath *field.Path, p *generated.OsDiskProfile, out *api.OSDiskProfile)
internal/api/v20260630preview/nodepools_methods.go:217
↓ 3 callersFunctionnormalizeOSDiskProfile
(fldPath *field.Path, p *generated.OsDiskProfile, out *api.OSDiskProfile)
internal/api/v20251223preview/nodepools_methods.go:217
↓ 3 callersFunctionoperationFor
operationFor converts an ARM DeploymentOperation into our internal Operation type. Extracts subscription ID from the resource's ARM ID to enable cross
tooling/templatize/pkg/pipeline/arm_operations.go:178
↓ 3 callersFunctionparseAuthOutput
parseAuthOutput parses kubectl auth whoami YAML output
tooling/hcpctl/internal/e2e/e2e.go:121
↓ 3 callersFunctionparseDuration
(raw string, defaultVal time.Duration, dst *time.Duration, name string)
tooling/tenant-quota/pkg/config/config.go:126
↓ 3 callersFunctionparseKnownIssues
parseKnownIssues parses known issues YAML data, validates required fields, and compiles all name and label regex patterns. Each pattern is wrapped in
test/cmd/aro-hcp-tests/gather-observability/known_issues.go:39
↓ 3 callersFunctionparseToAzureDurationString
(d *monitoringv1.Duration)
tooling/prometheus-rules/internal/generator.go:740
↓ 3 callersFunctionparseTokenClaims
parseTokenClaims decodes the claim set of a JWT without verifying it (the token was just minted by azidentity for this process). Returns an empty map
dev-infrastructure/scripts/postgres-access/main.go:392
↓ 3 callersFunctionpatchOperation
patchOperation patches the status and error fields of an OperationDocument.
backend/pkg/controllers/operationcontrollers/utils.go:294
↓ 3 callersFunctionphaseMetricLabel
(status arm.ProvisioningState)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:236
↓ 3 callersMethodprocessNext
(ctx context.Context)
fleet/pkg/controllers/base/stamp_watching_controller.go:230
↓ 3 callersFunctionquoteLiteral
quoteLiteral quotes a SQL string literal (single quotes, doubling embedded quotes).
dev-infrastructure/scripts/postgres-access/main.go:385
↓ 3 callersFunctionreadFileOrEmpty
readFileOrEmpty reads a file and returns its contents as a string, or an empty string if the file does not exist or cannot be read.
tooling/hcpctl/cmd/snapshot/analyze_cmd.go:460
↓ 3 callersFunctionrenderTemplate
(queryTemplate QueryTemplate, templateData interface{})
test/cmd/aro-hcp-tests/custom-link-tools/options.go:387
↓ 3 callersFunctionresourceIDStoreKey
(obj arm.CosmosPersistable)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:207
↓ 3 callersFunctionresponseItemToInternalObj
(ctx context.Context, cosmosID string, responseItem azcosmos.ItemResponse)
internal/database/crud_helpers.go:50
↓ 3 callersFunctionrestrictedGenericResourceIDCheck
(ctx context.Context, op operation.Operation, fldPath *field.Path, resourceID, _ *azcorearm.ResourceID, resour
internal/validation/validators.go:712
↓ 3 callersFunctionrevisionConfigMapName
(revision string)
tooling/templatize/pkg/istio/configmap.go:44
↓ 3 callersFunctionrevisionTagWebhookName
(tagName string)
tooling/templatize/pkg/istio/webhooks.go:31
↓ 3 callersFunctionroleDefinitionsForSetName
roleDefinitionsForSetName returns the role definitions for the given role definition config taking as the input the role definition config sets. An er
internal/azure/cluster_scoped_identities_config.go:399
↓ 3 callersMethodrunPool
runPool executes all work items with bounded concurrency. It returns after all items that can make progress have completed. Items whose ready() predic
tooling/hcpctl/pkg/snapshot/pool.go:69
↓ 3 callersMethodruns
()
internal/database/unioninformers/kubeapplier/controller_test.go:164
↓ 3 callersFunctionsecretPath
(secretName string)
tooling/tenant-quota/pkg/credentials/provider.go:188
↓ 3 callersFunctionseedClusterCreateOperation
seedClusterCreateOperation seeds an active Create operation rooted at the given ExternalID into the mock DB so the DB-backed active operation lister c
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1318
↓ 3 callersFunctionselfOrDirectParentResourceID
selfOrDirectParentResourceID returns the lowercased resource ID string of either resourceID itself (when its type matches) or its direct Parent (when
backend/pkg/informers/informers.go:627
↓ 3 callersFunctionserviceLogs
(f *kusto.QueryFactory, tableDefinition string, options kusto.QueryOptions, clusterIds []string)
tooling/hcpctl/pkg/mustgather/queries.go:43
↓ 3 callersFunctionsetFakeAzureIdentityFields
(key string, uncastManagedIdentity any)
test-integration/utils/integrationutils/cluster_service_mock.go:450
↓ 3 callersFunctionsetupTestFiles
(tmpDir string, defaultEvaluationInterval string)
tooling/prometheus-rules/main_test.go:28
↓ 3 callersFunctionseverityRank
severityRank returns the numeric rank for a severity value (Sev0=0 .. Sev4=4). Returns -1 for unknown severities.
test/cmd/aro-hcp-tests/gather-observability/severity.go:48
↓ 3 callersFunctionskuCapabilityString
(sku *armcompute.ResourceSKU, name string)
test/util/framework/vm_sku_selection.go:382
↓ 3 callersMethodsnapshotHandlers
()
internal/database/unioninformers/kubeapplier/controller_test.go:80
↓ 3 callersFunctionstartAndSync
waitForSync runs the informers and blocks until each one's HasSynced is true. We use the shorter relist duration for tests (250ms) to keep them fast.
internal/database/informers/informers_test.go:79
↓ 3 callersFunctionstateMapEqual
stateMapEqual returns true if two state maps have the same keys and values.
mgmt-agent/pkg/controller/podwatcher.go:119
↓ 3 callersMethodstopByKey
(key keys.ReadDesireKey)
kube-applier/pkg/controllers/read_desire_manager/controller.go:373
↓ 3 callersFunctionsubscription
(t *testing.T)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:225
↓ 3 callersFunctionsummarizeKustoError
summarizeKustoError extracts a concise error message from a Kusto SDK error.
tooling/hcpctl/pkg/agent/tools_kusto.go:302
↓ 3 callersFunctiontestCosmosNodePool
(clusterResourceId *azcorearm.ResourceID, name, nodePoolVersionId string, deleting bool)
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:630
↓ 3 callersFunctiontoAlert
(raw *armalertsmanagement.Alert)
test/cmd/aro-hcp-tests/gather-observability/alerts.go:111
↓ 3 callersFunctiontopLevelResourceName
topLevelResourceName walks a resource ID to its root ancestor and returns its lowercased name. Returns "" if rid is nil or carries no name.
internal/database/crud_nested_resource.go:152
↓ 3 callersFunctiontruncateDigest
truncateDigest truncates a digest to the specified length for display. Strips the "sha256:" prefix if present, then truncates to length and adds ellip
tooling/image-updater/internal/output/output.go:252
↓ 3 callersMethodupdateMeshProfile
(ctx context.Context, resourceGroup, clusterName, operation string, modify func(resp *armcontainerservice.Mana
tooling/templatize/pkg/istio/aks.go:145
↓ 3 callersFunctionvalidStamp
(t *testing.T)
internal/validation/validate_stamp_test.go:28
↓ 3 callersMethodvalidate
()
internal/api/types_internalid.go:57
↓ 3 callersFunctionvalidateStampIdentifier
(stampIdentifier string)
admin/server/handlers/stamp/stamp.go:34
↓ 3 callersFunctionvalidateVersion
(version string)
tooling/hcpctl/pkg/binresolver/resolver.go:388
↓ 3 callersFunctionverifyControlPlaneAndTag
(ctx context.Context, kubeClient kubernetes.Interface, tag, target string)
tooling/templatize/pkg/istio/upgrade.go:440
↓ 3 callersFunctionwriteExtractedBinary
(src io.Reader, binaryName, destPath string)
tooling/hcpctl/pkg/binresolver/resolver.go:244
↓ 3 callersFunctionwriteYAML
writeYAML writes content to a temp file and returns the path.
tooling/tenant-quota/pkg/config/config_test.go:42
↓ 2 callersFunctionAFECsToValidationOptions
AFECsToValidationOptions converts the API logic into validation compatible options. Feature names are normalized to lowercase for case-insensitive com
internal/validation/validate_common.go:35
↓ 2 callersFunctionActionsFromRoleDefinition
ActionsFromRoleDefinition returns allowed actions from a role definition's permissions.
backend/pkg/azure/azurehelpers/role_definitions.go:28
↓ 2 callersMethodAddEventHandler
(_ cache.ResourceEventHandler)
internal/database/unioninformers/kubeapplier/union_informers_test.go:543
↓ 2 callersMethodAddHCPClusterName
AddHCPClusterName adds the "hcp_cluster_name" key with the lowercased value.
internal/utils/context.go:157
↓ 2 callersFunctionAddLocationHeader
AddLocationHeader adds a "Location" header to the ResponseWriter with a URL of the operation result endpoint.
frontend/pkg/frontend/operations.go:57
↓ 2 callersMethodAddMethod
AddMethod adds the "method" key with the lowercased value.
internal/utils/context.go:167
↓ 2 callersMethodAddPassword
AddPassword adds a password credential to an application. Eventual consistency of MSGraph means sometimes you have to wait until the application is fu
internal/graph/util/applications.go:86
↓ 2 callersMethodAddPath
AddPath adds the "path" key with the lowercased value.
internal/utils/context.go:182
↓ 2 callersMethodAddResourceGroup
AddResourceGroup adds the "resource_group" key with the lowercased value.
internal/utils/context.go:187
↓ 2 callersMethodAddResourceID
AddResourceID adds the "resource_id" key with the lowercased value.
internal/utils/context.go:192
↓ 2 callersMethodAddResourceType
(value string)
internal/utils/context.go:201
↓ 2 callersMethodAddStep
AddStep adds a transaction function to the list to perform
internal/database/transaction.go:25
↓ 2 callersMethodApplyStatus
Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
sessiongate/pkg/generated/clientset/versioned/typed/sessiongate/v1alpha1/session.go:51
↓ 2 callersFunctionApplyUpgrades
ApplyUpgrades updates repository references in both the image-updater config and the target config files for components with available upgrades. Targe
tooling/image-updater/internal/upgrade/upgrade.go:405
↓ 2 callersMethodBeforeEach
BeforeEach gives a chance for initialization (none yet) and registers the cleanup
test/util/framework/per_test_framework.go:188
↓ 2 callersMethodBillingGlobalListers
()
internal/database/billing_db_client.go:26
↓ 2 callersFunctionBindBaseGatherOptions
BindBaseGatherOptions configures cobra command flags for the shared gather options.
tooling/hcpctl/cmd/must-gather/query_base_options.go:54
↓ 2 callersFunctionBindBreakglassHCPOptions
BindBreakglassHCPOptions configures cobra command flags for HCP-specific options.
tooling/hcpctl/cmd/hcp/options.go:168
↓ 2 callersFunctionBindReleaseRepoOptions
(opts *RawReleaseRepoOptions, cmd *cobra.Command)
test/cmd/aro-hcp-tests/slot-manager/release_repo.go:28
↓ 2 callersFunctionBoskosYAMLPath
(releaseRepo string)
test/cmd/aro-hcp-tests/slot-manager/slots/generate_boskos.go:49
↓ 2 callersFunctionBuildHCPClusterFromParams20240610
( parameters ClusterParams20240610, location string, )
test/util/framework/hcp_helper.go:952
↓ 2 callersFunctionBuildSubject
BuildSubject creates the certificate subject for SRE breakglass
tooling/hcpctl/pkg/breakglass/certs/generator.go:76
↓ 2 callersFunctionCSRCommonName
(user string)
sessiongate/pkg/controller/csr.go:99
↓ 2 callersFunctionCSRSignerName
CSRSignerName returns the signer name for break-glass CSRs in the given HCP namespace.
sessiongate/pkg/controller/csr.go:108
↓ 2 callersMethodCanSync
(ctx context.Context, key any)
fleet/pkg/controllers/base/registration_cooldown.go:67
↓ 2 callersMethodCheckAccessV2Endpoint
(region string)
backend/pkg/azure/config/azure_cloud_environment.go:149
↓ 2 callersMethodCheckAccessV2Scope
()
backend/pkg/azure/config/azure_cloud_environment.go:145
↓ 2 callersMethodCleanup
(ctx context.Context)
test-integration/utils/integrationutils/cluster_service_mock.go:457
↓ 2 callersMethodCleanupResourceGroups
(ctx context.Context, opts CleanupResourceGroupsOptions)
test/util/framework/per_test_framework.go:347
↓ 2 callersMethodClose
()
tooling/hcpctl/pkg/mustgather/queryclient.go:86
↓ 2 callersMethodClusterID
ClusterID returns the path element following "clusters", if present.
internal/api/types_internalid.go:155
↓ 2 callersMethodClusters
()
internal/database/global_lister.go:40
↓ 2 callersFunctionCompareWithFixture
CompareWithFixture compares output with a golden fixture. When WithGoldenDir is used, fixtures are stored in that directory. Otherwise delegates to te
tooling/helmtest/testrunner/golden.go:66
↓ 2 callersMethodComplete
(_ context.Context)
test/cmd/aro-hcp-tests/slot-manager/release_repo.go:68
↓ 2 callersMethodComplete
()
tooling/templatize/cmd/configuration/validate/options.go:133
↓ 2 callersMethodComplete
(ctx context.Context)
tooling/templatize/cmd/entrypoint/run/options.go:111
↓ 2 callersMethodComplete
Complete creates all necessary clients and resources for execution and returns a ready-to-execute Updater
tooling/image-updater/internal/options/options.go:178
↓ 2 callersMethodComplete
(ctx context.Context)
tooling/hcpctl/cmd/must-gather/clean_options.go:121
↓ 2 callersMethodCompleteCanaryUpgrade
(ctx context.Context, resourceGroup, clusterName, keepRevision string)
tooling/templatize/pkg/istio/aks.go:76
↓ 2 callersMethodCompleteWithFilter
CompleteWithFilter performs discovery client initialization to create fully usable list options.
tooling/hcpctl/cmd/base/aks_options.go:94
↓ 2 callersFunctionComputeTimeWindow
ComputeTimeWindow derives a start/end time range from steps, test timing info, and an optional CLI-provided fallback. Priority for the start time is:
test/util/timing/timewindow.go:236
↓ 2 callersFunctionContextWithOriginalPath
(ctx context.Context, originalPath string)
frontend/pkg/frontend/context.go:75
← previousnext →1,301–1,400 of 10,266, ranked by callers