MCPcopy Create free account

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

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

FunctionTestClusterEnsureDefaults
(t *testing.T)
internal/database/convert_cluster_test.go:23
FunctionTestClusterIdByNameQuery
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:214
FunctionTestClusterIdQuery
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:188
FunctionTestClusterMetricsHandler_DeleteCleansUpAllGauges
(t *testing.T)
backend/pkg/controllers/metricscontrollers/resource_metrics_controller_test.go:121
FunctionTestClusterMetricsHandler_NilCreatedAt
(t *testing.T)
backend/pkg/controllers/metricscontrollers/resource_metrics_controller_test.go:104
FunctionTestClusterMetricsHandler_PhaseTransitionDeletesOldSeries
(t *testing.T)
backend/pkg/controllers/metricscontrollers/resource_metrics_controller_test.go:84
FunctionTestClusterMetricsHandler_SetsProvisionStateAndCreatedTime
(t *testing.T)
backend/pkg/controllers/metricscontrollers/resource_metrics_controller_test.go:60
FunctionTestClusterMismatchController
(t *testing.T)
test-integration/backend/controllers/mismatches/cluster_mismatch_test.go:41
FunctionTestClusterNamesQuery
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:201
FunctionTestClusterPropertiesSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/clusterpropertiescontroller/cluster_properties_sync_test.go:33
FunctionTestClusterRequired
(t *testing.T)
internal/validation/hcpopenshiftcluster_test.go:38
FunctionTestClusterServiceError
(t *testing.T)
admin/server/handlers/hcp/helpers_test.go:28
FunctionTestClusterValidate
(t *testing.T)
internal/validation/hcpopenshiftcluster_test.go:265
FunctionTestClusterVersionMetricsController_DeletesMetricsWhenResourceRemoved
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:298
FunctionTestClusterVersionMetricsController_SyncResource
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:268
FunctionTestClusterVersionMetricsHandler_CapsReportedActiveVersions
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:181
FunctionTestClusterVersionMetricsHandler_DeleteCleansUpMetrics
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:252
FunctionTestClusterVersionMetricsHandler_EmitsDesiredWhenNotYetActive
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:143
FunctionTestClusterVersionMetricsHandler_ReplacesDesiredWhenVersionBecomesActive
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:207
FunctionTestClusterVersionMetricsHandler_SetsDesiredAndActiveVersions
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:122
FunctionTestClusterVersionMetricsHandler_SkipsDuplicateActiveVersionsAfterRollback
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:160
FunctionTestClusterVersionMetricsHandler_VersionStateTransitionDeletesOldSeries
(t *testing.T)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:226
FunctionTestClusterWatchingControllerSyncHasLoggerContextValues
(t *testing.T)
backend/pkg/controllers/controllerutils/cluster_watching_controller_test.go:50
FunctionTestClusterZeroValueRoundTripThroughJSON
TestClusterZeroValueRoundTripThroughJSON verifies the same GET-then-PUT round-trip safety for cluster-level fields. All tests pass after the PtrOrNil
internal/api/v20260630preview/zero_value_roundtrip_test.go:118
FunctionTestClusterZeroValueRoundTripThroughJSON
TestClusterZeroValueRoundTripThroughJSON verifies the same GET-then-PUT round-trip safety for cluster-level fields. All tests pass after the PtrOrNil
internal/api/v20251223preview/zero_value_roundtrip_test.go:118
FunctionTestCollectAll
(t *testing.T)
tooling/tenant-quota/pkg/subscriptionquota/collector_test.go:143
FunctionTestCollectAll_ListError
(t *testing.T)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:258
FunctionTestCollectAll_NoRGs
(t *testing.T)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:276
FunctionTestCollectAll_SkipsTenantWithoutSubscriptions
(t *testing.T)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:294
FunctionTestCollectDegradedConditions
(t *testing.T)
backend/pkg/controllers/statuscontrollers/helpers_test.go:50
FunctionTestCollectDegradedConditions_FirstObservedBadIsSticky
TestCollectDegradedConditions_FirstObservedBadIsSticky verifies that a controller stuck in "missing Degraded" across multiple reconcile passes keeps i
backend/pkg/controllers/statuscontrollers/helpers_test.go:175
FunctionTestCollectDegradedConditions_RealConditionForgetsCache
TestCollectDegradedConditions_RealConditionForgetsCache verifies that once a controller starts reporting a real (non-missing) Degraded condition, the
backend/pkg/controllers/statuscontrollers/helpers_test.go:198
FunctionTestCollectSubscription_PerRGTimestamps
(t *testing.T)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:120
FunctionTestCollectUnknownFlags
(t *testing.T)
tooling/helmtest/testrunner/node_rollout_config_test.go:23
FunctionTestCommentWithDate
(t *testing.T)
tooling/image-updater/internal/yaml/test_date_comment.go:22
FunctionTestCompactMetricLabel
(t *testing.T)
test/cmd/aro-hcp-tests/gather-observability/chart_test.go:220
FunctionTestCompareOperationState
(t *testing.T)
backend/pkg/controllers/operationcontrollers/operation_state_test.go:25
FunctionTestCompareRevisions
(t *testing.T)
tooling/templatize/pkg/istio/decide_test.go:219
FunctionTestCompleteFailsWithInvalidStartTimeFallback
(t *testing.T)
test/cmd/aro-hcp-tests/custom-link-tools/cmd_test.go:221
FunctionTestComplete_AuthenticationRequirements
(t *testing.T)
tooling/image-updater/internal/options/options_test.go:468
FunctionTestComputeGroupDuration
(t *testing.T)
test/cmd/aro-hcp-tests/gather-observability/junit_test.go:152
FunctionTestComputeResourceGroupTags
(t *testing.T)
tooling/templatize/pkg/pipeline/arm_test.go:25
FunctionTestComputeTimeWindow
(t *testing.T)
test/util/timing/timewindow_test.go:381
FunctionTestComputeTimeWindowErrorsWithNoTimingData
(t *testing.T)
test/cmd/aro-hcp-tests/custom-link-tools/cmd_test.go:184
FunctionTestComputeTimeWindow_TestTimingNotUsedWhenStepsProvide
(t *testing.T)
test/util/timing/timewindow_test.go:507
FunctionTestConfigHasSubscriptions
(t *testing.T)
tooling/tenant-quota/pkg/config/config_test.go:358
FunctionTestConfigLoad
(t *testing.T)
tooling/image-updater/internal/config/config_test.go:553
FunctionTestConfigLoad_WithKeyVault
(t *testing.T)
tooling/image-updater/internal/config/config_test.go:853
FunctionTestConfigLoad_WithUseAuth
(t *testing.T)
tooling/image-updater/internal/config/config_test.go:759
FunctionTestConfigValidate
(t *testing.T)
tooling/tenant-quota/pkg/config/config_test.go:60
FunctionTestConstructAzureResourceID
(t *testing.T)
tooling/hcpctl/pkg/hcp/discovery_test.go:99
FunctionTestContainerStateChanged
(t *testing.T)
mgmt-agent/pkg/controller/podwatcher_test.go:26
FunctionTestControlPlaneActiveVersionSyncer_NoReplaceWhenVersionsUnchanged
TestControlPlaneActiveVersionSyncer_NoReplaceWhenVersionsUnchanged is a regression test for unnecessary writes against ServiceProviderClusters/default
backend/pkg/controllers/upgradecontrollers/control_plane_active_version_controller_test.go:320
FunctionTestControlPlaneActiveVersionSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/control_plane_active_version_controller_test.go:45
FunctionTestControlPlaneDesiredVersionSyncer_ShouldDetermineDesiredVersion
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1339
FunctionTestControlPlaneDesiredVersionSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1087
FunctionTestControlPlaneDesiredVersionSyncer_SyncOnceSkipsWhenGated
TestControlPlaneDesiredVersionSyncer_SyncOnceSkipsWhenGated verifies the end-to-end skip behaviour: when shouldDetermineDesiredVersion returns false S
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1479
FunctionTestControllerNotifications
(t *testing.T)
test-integration/backend/launch/notification_test.go:46
FunctionTestController_AddRegistersSubInformer
============================================================================= Tests ==================================================================
internal/database/unioninformers/kubeapplier/controller_test.go:227
FunctionTestController_ContextCancelStopsAllSubs
1. Build controller with two MCs in lister + factory. 2. Emit Adds for both; wait for both subs to be visible (factory.runs == 2). 3. Cancel ctx and j
internal/database/unioninformers/kubeapplier/controller_test.go:403
FunctionTestController_DuplicateAddIsIdempotent
1. Build controller; seed lister + factory for mgmt-a. 2. Emit Add for mgmt-a; wait for sub to register. 3. Emit Add for mgmt-a several times (duplica
internal/database/unioninformers/kubeapplier/controller_test.go:446
FunctionTestController_FactoryNilSkipsRegistrationAndRetries
1. Build controller with no factory entries registered for mgmt-a (so factory returns nil even though the lister knows about mgmt-a). 2. Run the contr
internal/database/unioninformers/kubeapplier/controller_test.go:351
FunctionTestController_RemoveDropsSubInformer
1. Build controller with two MCs registered with the factory; each MC has a single distinguishable ApplyDesire. Seed the lister with both. 2. Emit Add
internal/database/unioninformers/kubeapplier/controller_test.go:275
FunctionTestController_SyncOnceDirect
SyncOnce can also be called directly without an informer event, which is the unit-of-work the worker uses. Verify it works against a known MC and agai
internal/database/unioninformers/kubeapplier/controller_test.go:483
FunctionTestConvertCSManagementClusterToInternal
(t *testing.T)
internal/ocm/convert_test.go:1287
FunctionTestConvertClusterStatus
(t *testing.T)
backend/pkg/controllers/operationcontrollers/utils_test.go:32
FunctionTestConvertRows
(t *testing.T)
tooling/hcpctl/pkg/mustgather/gather_test.go:414
FunctionTestConvertRows_ContextCancellation
(t *testing.T)
tooling/hcpctl/pkg/mustgather/gather_test.go:663
FunctionTestConvertRows_MultipleRows
(t *testing.T)
tooling/hcpctl/pkg/mustgather/gather_test.go:623
FunctionTestConvertToResults
TestConvertToResults tests the conversion and deduplication logic
tooling/image-updater/internal/output/format_test.go:353
FunctionTestCreateBillingDoc_ExistingBillingDocButMissingClusterRef
(t *testing.T)
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:278
FunctionTestCreateBillingDoc_Idempotent
(t *testing.T)
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:231
FunctionTestCreateBillingDoc_SyncOnce
(t *testing.T)
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:119
FunctionTestCreateCommand
(t *testing.T)
tooling/templatize/pkg/pipeline/shell_test.go:33
FunctionTestCreateHostedClusterValidation
(t *testing.T)
tooling/hcpctl/pkg/hcp/discovery_test.go:373
FunctionTestCreateRevisionConfigMap
(t *testing.T)
tooling/templatize/pkg/istio/workloads_test.go:390
FunctionTestCreateRevisionConfigMap_UpdatePreservesExistingLabels
(t *testing.T)
tooling/templatize/pkg/istio/workloads_test.go:405
FunctionTestCredentialCacheKey
(t *testing.T)
tooling/tenant-quota/pkg/credentials/provider_test.go:133
FunctionTestCredentialRetrieverLoadsInitialCertificate
(t *testing.T)
internal/fpa/token_credential_retriever_test.go:30
FunctionTestCrossVersionRoundTrip
TestCrossVersionRoundTrip verifies that GET-then-PUT and PATCH operations across API versions preserve all fields, including those unknown to the requ
test-integration/frontend/cross_version_roundtrip_test.go:46
FunctionTestCsObjectToMap
(t *testing.T)
backend/pkg/controllers/datadumpcontrollers/cs_state_dump_test.go:253
FunctionTestDBActiveOperationLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:147
FunctionTestDBActiveOperationListerWithDeletes
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:717
FunctionTestDBActiveOperationListerWithUpdates
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:765
FunctionTestDBActiveOperationListerWithUpdates_ListActiveOperationsForExternalAuth
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:859
FunctionTestDBActiveOperationListerWithUpdates_ListActiveOperationsForNodePool
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:812
FunctionTestDBApplyDesireLister_RoundTripViaMock
(t *testing.T)
internal/database/listertesting/db_listers_test.go:61
FunctionTestDBClusterLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:30
FunctionTestDBClusterListerWithDeletes
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:455
FunctionTestDBClusterListerWithEmptyDB
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:430
FunctionTestDBClusterListerWithUpdates
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:514
FunctionTestDBControllerLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:293
FunctionTestDBExternalAuthLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:207
FunctionTestDBManagementClusterContentLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:375
FunctionTestDBNodePoolLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:68
FunctionTestDBNodePoolListerWithDeletes
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:553
FunctionTestDBNodePoolListerWithUpdates
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:605
FunctionTestDBServiceProviderClusterLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:253
FunctionTestDBSubscriptionLister
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:114
FunctionTestDBSubscriptionListerWithDeletes
(t *testing.T)
backend/pkg/listertesting/db_listers_test.go:643
← previousnext →8,201–8,300 of 10,266, ranked by callers