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
↓ 3 callers
Function
newTestClusterController
(t *testing.T, name string)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:356
↓ 3 callers
Function
newTestClusterKey
()
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:111
↓ 3 callers
Function
newTestHostedClusterReadDesire
(t *testing.T, opts ...func(*hsv1beta1.HostedCluster))
backend/pkg/controllers/clusterpropertiescontroller/cluster_properties_test_helpers_test.go:119
↓ 3 callers
Function
newTestManagementCluster
(name, shardID string)
internal/database/listertesting/slice_listers_test.go:35
↓ 3 callers
Function
newTestMetric
(name string)
tooling/tenant-quota/pkg/subscriptionquota/cache_test.go:25
↓ 3 callers
Function
newTestNodePoolController
(t *testing.T, name string)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:378
↓ 3 callers
Function
newTestSubscription
()
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:69
↓ 3 callers
Function
newTestSubscription
()
backend/pkg/controllers/validationcontrollers/nodepool_validation_controller_test.go:103
↓ 3 callers
Function
nodePoolResourceID
(clusterName, nodePoolName string)
test-integration/frontend/cross_version_roundtrip_test.go:554
↓ 3 callers
Function
nodePoolResourceIDFromResourceID
(resourceID *azcorearm.ResourceID)
backend/pkg/informers/informers.go:739
↓ 3 callers
Function
normalizeOSDiskProfile
(fldPath *field.Path, p *generated.OsDiskProfile, out *api.OSDiskProfile)
internal/api/v20260630preview/nodepools_methods.go:217
↓ 3 callers
Function
normalizeOSDiskProfile
(fldPath *field.Path, p *generated.OsDiskProfile, out *api.OSDiskProfile)
internal/api/v20251223preview/nodepools_methods.go:217
↓ 3 callers
Function
operationFor
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 callers
Function
parseAuthOutput
parseAuthOutput parses kubectl auth whoami YAML output
tooling/hcpctl/internal/e2e/e2e.go:121
↓ 3 callers
Function
parseDuration
(raw string, defaultVal time.Duration, dst *time.Duration, name string)
tooling/tenant-quota/pkg/config/config.go:126
↓ 3 callers
Function
parseKnownIssues
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 callers
Function
parseToAzureDurationString
(d *monitoringv1.Duration)
tooling/prometheus-rules/internal/generator.go:740
↓ 3 callers
Function
parseTokenClaims
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 callers
Function
patchOperation
patchOperation patches the status and error fields of an OperationDocument.
backend/pkg/controllers/operationcontrollers/utils.go:294
↓ 3 callers
Function
phaseMetricLabel
(status arm.ProvisioningState)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:236
↓ 3 callers
Method
processNext
(ctx context.Context)
fleet/pkg/controllers/base/stamp_watching_controller.go:230
↓ 3 callers
Function
quoteLiteral
quoteLiteral quotes a SQL string literal (single quotes, doubling embedded quotes).
dev-infrastructure/scripts/postgres-access/main.go:385
↓ 3 callers
Function
readFileOrEmpty
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 callers
Function
renderTemplate
(queryTemplate QueryTemplate, templateData interface{})
test/cmd/aro-hcp-tests/custom-link-tools/options.go:387
↓ 3 callers
Function
resourceIDStoreKey
(obj arm.CosmosPersistable)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:207
↓ 3 callers
Function
responseItemToInternalObj
(ctx context.Context, cosmosID string, responseItem azcosmos.ItemResponse)
internal/database/crud_helpers.go:50
↓ 3 callers
Function
restrictedGenericResourceIDCheck
(ctx context.Context, op operation.Operation, fldPath *field.Path, resourceID, _ *azcorearm.ResourceID, resour
internal/validation/validators.go:712
↓ 3 callers
Function
revisionConfigMapName
(revision string)
tooling/templatize/pkg/istio/configmap.go:44
↓ 3 callers
Function
revisionTagWebhookName
(tagName string)
tooling/templatize/pkg/istio/webhooks.go:31
↓ 3 callers
Function
roleDefinitionsForSetName
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 callers
Method
runPool
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 callers
Method
runs
()
internal/database/unioninformers/kubeapplier/controller_test.go:164
↓ 3 callers
Function
secretPath
(secretName string)
tooling/tenant-quota/pkg/credentials/provider.go:188
↓ 3 callers
Function
seedClusterCreateOperation
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 callers
Function
selfOrDirectParentResourceID
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 callers
Function
serviceLogs
(f *kusto.QueryFactory, tableDefinition string, options kusto.QueryOptions, clusterIds []string)
tooling/hcpctl/pkg/mustgather/queries.go:43
↓ 3 callers
Function
setFakeAzureIdentityFields
(key string, uncastManagedIdentity any)
test-integration/utils/integrationutils/cluster_service_mock.go:450
↓ 3 callers
Function
setupTestFiles
(tmpDir string, defaultEvaluationInterval string)
tooling/prometheus-rules/main_test.go:28
↓ 3 callers
Function
severityRank
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 callers
Function
skuCapabilityString
(sku *armcompute.ResourceSKU, name string)
test/util/framework/vm_sku_selection.go:382
↓ 3 callers
Method
snapshotHandlers
()
internal/database/unioninformers/kubeapplier/controller_test.go:80
↓ 3 callers
Function
startAndSync
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 callers
Function
stateMapEqual
stateMapEqual returns true if two state maps have the same keys and values.
mgmt-agent/pkg/controller/podwatcher.go:119
↓ 3 callers
Method
stopByKey
(key keys.ReadDesireKey)
kube-applier/pkg/controllers/read_desire_manager/controller.go:373
↓ 3 callers
Function
subscription
(t *testing.T)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:225
↓ 3 callers
Function
summarizeKustoError
summarizeKustoError extracts a concise error message from a Kusto SDK error.
tooling/hcpctl/pkg/agent/tools_kusto.go:302
↓ 3 callers
Function
testCosmosNodePool
(clusterResourceId *azcorearm.ResourceID, name, nodePoolVersionId string, deleting bool)
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:630
↓ 3 callers
Function
toAlert
(raw *armalertsmanagement.Alert)
test/cmd/aro-hcp-tests/gather-observability/alerts.go:111
↓ 3 callers
Function
topLevelResourceName
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 callers
Function
truncateDigest
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 callers
Method
updateMeshProfile
(ctx context.Context, resourceGroup, clusterName, operation string, modify func(resp *armcontainerservice.Mana
tooling/templatize/pkg/istio/aks.go:145
↓ 3 callers
Function
validStamp
(t *testing.T)
internal/validation/validate_stamp_test.go:28
↓ 3 callers
Method
validate
()
internal/api/types_internalid.go:57
↓ 3 callers
Function
validateStampIdentifier
(stampIdentifier string)
admin/server/handlers/stamp/stamp.go:34
↓ 3 callers
Function
validateVersion
(version string)
tooling/hcpctl/pkg/binresolver/resolver.go:388
↓ 3 callers
Function
verifyControlPlaneAndTag
(ctx context.Context, kubeClient kubernetes.Interface, tag, target string)
tooling/templatize/pkg/istio/upgrade.go:440
↓ 3 callers
Function
writeExtractedBinary
(src io.Reader, binaryName, destPath string)
tooling/hcpctl/pkg/binresolver/resolver.go:244
↓ 3 callers
Function
writeYAML
writeYAML writes content to a temp file and returns the path.
tooling/tenant-quota/pkg/config/config_test.go:42
↓ 2 callers
Function
AFECsToValidationOptions
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 callers
Function
ActionsFromRoleDefinition
ActionsFromRoleDefinition returns allowed actions from a role definition's permissions.
backend/pkg/azure/azurehelpers/role_definitions.go:28
↓ 2 callers
Method
AddEventHandler
(_ cache.ResourceEventHandler)
internal/database/unioninformers/kubeapplier/union_informers_test.go:543
↓ 2 callers
Method
AddHCPClusterName
AddHCPClusterName adds the "hcp_cluster_name" key with the lowercased value.
internal/utils/context.go:157
↓ 2 callers
Function
AddLocationHeader
AddLocationHeader adds a "Location" header to the ResponseWriter with a URL of the operation result endpoint.
frontend/pkg/frontend/operations.go:57
↓ 2 callers
Method
AddMethod
AddMethod adds the "method" key with the lowercased value.
internal/utils/context.go:167
↓ 2 callers
Method
AddPassword
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 callers
Method
AddPath
AddPath adds the "path" key with the lowercased value.
internal/utils/context.go:182
↓ 2 callers
Method
AddResourceGroup
AddResourceGroup adds the "resource_group" key with the lowercased value.
internal/utils/context.go:187
↓ 2 callers
Method
AddResourceID
AddResourceID adds the "resource_id" key with the lowercased value.
internal/utils/context.go:192
↓ 2 callers
Method
AddResourceType
(value string)
internal/utils/context.go:201
↓ 2 callers
Method
AddStep
AddStep adds a transaction function to the list to perform
internal/database/transaction.go:25
↓ 2 callers
Method
ApplyStatus
Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
sessiongate/pkg/generated/clientset/versioned/typed/sessiongate/v1alpha1/session.go:51
↓ 2 callers
Function
ApplyUpgrades
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 callers
Method
BeforeEach
BeforeEach gives a chance for initialization (none yet) and registers the cleanup
test/util/framework/per_test_framework.go:188
↓ 2 callers
Method
BillingGlobalListers
()
internal/database/billing_db_client.go:26
↓ 2 callers
Function
BindBaseGatherOptions
BindBaseGatherOptions configures cobra command flags for the shared gather options.
tooling/hcpctl/cmd/must-gather/query_base_options.go:54
↓ 2 callers
Function
BindBreakglassHCPOptions
BindBreakglassHCPOptions configures cobra command flags for HCP-specific options.
tooling/hcpctl/cmd/hcp/options.go:168
↓ 2 callers
Function
BindReleaseRepoOptions
(opts *RawReleaseRepoOptions, cmd *cobra.Command)
test/cmd/aro-hcp-tests/slot-manager/release_repo.go:28
↓ 2 callers
Function
BoskosYAMLPath
(releaseRepo string)
test/cmd/aro-hcp-tests/slot-manager/slots/generate_boskos.go:49
↓ 2 callers
Function
BuildHCPClusterFromParams20240610
( parameters ClusterParams20240610, location string, )
test/util/framework/hcp_helper.go:952
↓ 2 callers
Function
BuildSubject
BuildSubject creates the certificate subject for SRE breakglass
tooling/hcpctl/pkg/breakglass/certs/generator.go:76
↓ 2 callers
Function
CSRCommonName
(user string)
sessiongate/pkg/controller/csr.go:99
↓ 2 callers
Function
CSRSignerName
CSRSignerName returns the signer name for break-glass CSRs in the given HCP namespace.
sessiongate/pkg/controller/csr.go:108
↓ 2 callers
Method
CanSync
(ctx context.Context, key any)
fleet/pkg/controllers/base/registration_cooldown.go:67
↓ 2 callers
Method
CheckAccessV2Endpoint
(region string)
backend/pkg/azure/config/azure_cloud_environment.go:149
↓ 2 callers
Method
CheckAccessV2Scope
()
backend/pkg/azure/config/azure_cloud_environment.go:145
↓ 2 callers
Method
Cleanup
(ctx context.Context)
test-integration/utils/integrationutils/cluster_service_mock.go:457
↓ 2 callers
Method
CleanupResourceGroups
(ctx context.Context, opts CleanupResourceGroupsOptions)
test/util/framework/per_test_framework.go:347
↓ 2 callers
Method
Close
()
tooling/hcpctl/pkg/mustgather/queryclient.go:86
↓ 2 callers
Method
ClusterID
ClusterID returns the path element following "clusters", if present.
internal/api/types_internalid.go:155
↓ 2 callers
Method
Clusters
()
internal/database/global_lister.go:40
↓ 2 callers
Function
CompareWithFixture
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 callers
Method
Complete
(_ context.Context)
test/cmd/aro-hcp-tests/slot-manager/release_repo.go:68
↓ 2 callers
Method
Complete
()
tooling/templatize/cmd/configuration/validate/options.go:133
↓ 2 callers
Method
Complete
(ctx context.Context)
tooling/templatize/cmd/entrypoint/run/options.go:111
↓ 2 callers
Method
Complete
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 callers
Method
Complete
(ctx context.Context)
tooling/hcpctl/cmd/must-gather/clean_options.go:121
↓ 2 callers
Method
CompleteCanaryUpgrade
(ctx context.Context, resourceGroup, clusterName, keepRevision string)
tooling/templatize/pkg/istio/aks.go:76
↓ 2 callers
Method
CompleteWithFilter
CompleteWithFilter performs discovery client initialization to create fully usable list options.
tooling/hcpctl/cmd/base/aks_options.go:94
↓ 2 callers
Function
ComputeTimeWindow
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 callers
Function
ContextWithOriginalPath
(ctx context.Context, originalPath string)
frontend/pkg/frontend/context.go:75
← previous
next →
1,301–1,400 of 10,266, ranked by callers