MCPcopy Create free account

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

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

FunctionTestStampProcessNextShutdownReturnsFalse
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:295
FunctionTestStampQueueForInformers
(t *testing.T)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:331
FunctionTestStepsWellFormed
(t *testing.T)
tooling/templatize/internal/well_formed_test.go:31
FunctionTestStreamCRs
(t *testing.T)
tooling/hcpctl/pkg/crdump/lister_test.go:555
FunctionTestSubscriptionCollector
(t *testing.T)
frontend/pkg/metrics/metrics_test.go:35
FunctionTestSubscriptionConfigGetRoleAssignmentLimit
(t *testing.T)
tooling/tenant-quota/pkg/config/config_test.go:482
FunctionTestSubscriptionIDMetricLabel
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:94
FunctionTestSubscriptionRegistrationDateValidation
Test registration date validation edge cases
internal/validation/validate_subscription_comprehensive_test.go:284
FunctionTestSubscriptionsGET
(t *testing.T)
frontend/pkg/frontend/frontend_test.go:167
FunctionTestSubscriptionsPUT
(t *testing.T)
frontend/pkg/frontend/frontend_test.go:223
FunctionTestSupportsListWatch
(t *testing.T)
mgmt-agent/pkg/controller/resourcewatcher_test.go:57
FunctionTestSyncOnce
(t *testing.T)
fleet/pkg/controllers/lifecycle/controller_test.go:85
FunctionTestSyncOnce
(t *testing.T)
fleet/pkg/controllers/maestroregistration/controller_test.go:208
FunctionTestSyncOnce
(t *testing.T)
fleet/pkg/controllers/clustersserviceregistration/controller_test.go:394
FunctionTestSyncOnceConcurrentSkip
(t *testing.T)
backend/pkg/controllers/cosmos_migration_test.go:275
FunctionTestSyncOnceMarksSubscriptionComplete
(t *testing.T)
backend/pkg/controllers/cosmos_migration_test.go:250
FunctionTestSyncOnceSkipsAlreadyCompletedSubscription
(t *testing.T)
backend/pkg/controllers/cosmos_migration_test.go:234
FunctionTestSyncOnce_AppliedKubeGenerationNilOnFailure
TestSyncOnce_AppliedKubeGenerationNilOnFailure verifies that after a failed SSA (PreCheckError for missing kubeContent), SyncOnce sets status.AppliedK
kube-applier/pkg/controllers/apply_desire/controller_test.go:464
FunctionTestSyncOnce_AppliedKubeGenerationSetOnSuccess
TestSyncOnce_AppliedKubeGenerationSetOnSuccess verifies that after a successful SSA, SyncOnce records the metadata.generation from the Kubernetes obje
kube-applier/pkg/controllers/apply_desire/controller_test.go:413
FunctionTestSyncOnce_TargetAbsent_ReportsSuccessful
(t *testing.T)
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:198
FunctionTestSyncOnce_TargetExists_PopulatesKubeContent
(t *testing.T)
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:166
FunctionTestSynchronizeSubscription_OrphanedDesires
TestSynchronizeSubscription_OrphanedDesires is table-driven over scenarios that vary the mix of resource-container docs (clusters/nodepools), per-MC d
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:61
FunctionTestTemplateDataOptions
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:264
FunctionTestTemplateDataOptions_NoTruncation
(t *testing.T)
tooling/hcpctl/pkg/kusto/query_test.go:283
FunctionTestTenantConfigGetDisplayName
(t *testing.T)
tooling/tenant-quota/pkg/config/config_test.go:418
FunctionTestTenantConfigGetScope
(t *testing.T)
tooling/tenant-quota/pkg/config/config_test.go:388
FunctionTestTenantConfigIsDirectoryQuotaEnabled
(t *testing.T)
tooling/tenant-quota/pkg/config/config_test.go:448
FunctionTestTimeBasedCooldownChecker_RepeatedFalseDoesNotPreventTrue
(t *testing.T)
internal/controllerutils/cooldown_test.go:25
FunctionTestToAlert
(t *testing.T)
test/cmd/aro-hcp-tests/gather-observability/alerts_test.go:25
FunctionTestToManagementClusterStatus
(t *testing.T)
admin/server/handlers/stamp/managementcluster_test.go:160
FunctionTestToResourceIDStringsAreCanonical
TestToResourceIDStringsAreCanonical asserts that every ToXxxResourceIDString helper produces an ARM resource ID that round-trips through the ARM parse
internal/api/types_cosmosdata_test.go:33
FunctionTestToRoleAssignmentRecord_ReturnsFalseWithoutID
(t *testing.T)
tooling/cleanup-sweeper/pkg/engine/steps/roleassignments/delete_test.go:173
FunctionTestTolerationsAndNodeSelectorForDeployment
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:218
FunctionTestToolDefinitionToAnthropicTool
(t *testing.T)
tooling/hcpctl/pkg/agent/claude_provider_test.go:27
FunctionTestTopLevelResourceName
(t *testing.T)
internal/database/crud_fleet_test.go:25
FunctionTestTriggerControlPlaneUpgradeSyncer_CreateUpgradePolicyIfNeeded
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/trigger_control_plane_upgrade_controller_test.go:45
FunctionTestTriggerControlPlaneUpgradeSyncer_ShouldTriggerUpgrade
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/trigger_control_plane_upgrade_controller_test.go:183
FunctionTestTriggerNodePoolUpgradeSyncer_CreateUpgradePolicyIfNeeded
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/trigger_node_pool_upgrade_controller_test.go:155
FunctionTestTriggerNodePoolUpgradeSyncer_SyncOnce
(t *testing.T)
backend/pkg/controllers/upgradecontrollers/trigger_node_pool_upgrade_controller_test.go:44
FunctionTestTrimStringSlice
(t *testing.T)
internal/api/utils_test.go:29
FunctionTestTruncateDigest
TestTruncateDigest tests digest truncation logic
tooling/image-updater/internal/output/format_test.go:265
FunctionTestTypeSpecDefaultsConsistency
TestTypeSpecDefaultsConsistency verifies that default values declared in the generated OpenAPI spec (from TypeSpec) match the canonical Go constants d
internal/api/defaults_test.go:30
FunctionTestURL
(t *testing.T)
internal/validation/validate_cluster_test.go:816
FunctionTestUnionActions
(t *testing.T)
backend/pkg/azure/azurehelpers/role_definitions_test.go:180
FunctionTestUnionApplyDesireLister_AddReplaces
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:289
FunctionTestUnionApplyDesireLister_AggregatesAcrossSublisters
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:153
FunctionTestUnionApplyDesireLister_ConcurrentAddRemoveVsRead
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:312
FunctionTestUnionApplyDesireLister_EmptyUnion
============================================================================ UnionApplyDesireLister ==================================================
internal/database/unionlisters/kubeapplier/union_listers_test.go:129
FunctionTestUnionApplyDesireLister_GetForCluster_FirstHitWins
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:212
FunctionTestUnionApplyDesireLister_GetForCluster_NonNotFoundShortCircuits
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:243
FunctionTestUnionApplyDesireLister_ListForManagementCluster_DelegatesToSingleSublister
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:169
FunctionTestUnionApplyDesireLister_RemoveDropsSublister
(t *testing.T)
internal/database/unionlisters/kubeapplier/union_listers_test.go:255
FunctionTestUnionCondition
(t *testing.T)
backend/pkg/controllers/statuscontrollers/union_condition_test.go:49
FunctionTestUnionCondition_LatestTransitionTime
TestUnionCondition_LatestTransitionTime confirms that the LastTransitionTime on the aggregated condition is taken from the source that drives the resu
backend/pkg/controllers/statuscontrollers/union_condition_test.go:314
FunctionTestUnionDataActions
(t *testing.T)
backend/pkg/azure/azurehelpers/role_definitions_test.go:256
FunctionTestUnionDesireInformer_AddPropagatesErrorAndRollsBack
1. create union and register a handler (so Add tries to install on the new sub) 2. create an informer that errors on AddEventHandler 3. attempt to Add
internal/database/unioninformers/kubeapplier/union_informers_test.go:273
FunctionTestUnionDesireInformer_AddReplaces
1. create union and informer A1; add A1 2. register handler on union 3. create informer A2; add A2 under the same rid (replace A1) 4. assert handler d
internal/database/unioninformers/kubeapplier/union_informers_test.go:239
FunctionTestUnionDesireInformer_ConcurrentAddRemoveVsRead
1. create union and two informers A, B 2. spawn goroutine 1: loop Add/Remove for A and B 3. spawn goroutine 2: loop HasSynced 4. main goroutine: loop
internal/database/unioninformers/kubeapplier/union_informers_test.go:315
FunctionTestUnionDesireInformer_EmptyHasSynced
============================================================================ UnionDesireInformer (primitive) =========================================
internal/database/unioninformers/kubeapplier/union_informers_test.go:85
FunctionTestUnionDesireInformer_EventHandlerPropagation
1. create union and informer A; add A 2. register handler on union 3. assert handler installed on A 4. create informer B; add B 5. assert handler inst
internal/database/unioninformers/kubeapplier/union_informers_test.go:136
FunctionTestUnionDesireInformer_HasSyncedReflectsAllSubs
1. create union and synced informer A 2. add A to the union 3. assert union HasSynced == true 4. create unsynced informer B 5. add B to the union 6. a
internal/database/unioninformers/kubeapplier/union_informers_test.go:100
FunctionTestUnionDesireInformer_NilGuards
1. create union 2. Add(nil rid, informer) — assert no error, no-op 3. Add(rid, nil sub) — assert no error, no-op 4. Remove(nil) — assert no panic 5. R
internal/database/unioninformers/kubeapplier/union_informers_test.go:297
FunctionTestUnionDesireInformer_RemoveDetachesHandlers
1. create union and informer A; add A 2. register handler on union 3. Remove A from the union 4. assert handler detached from A 5. create informer B;
internal/database/unioninformers/kubeapplier/union_informers_test.go:203
FunctionTestUnionKubeApplierInformersController_E2E
TestUnionKubeApplierInformersController_E2E exercises the dynamic- management-cluster reactor end to end: 1. Pre-load two ApplyDesires for management
test-integration/backend/unionkubeapplierinformers/integration_test.go:82
FunctionTestUnionKubeApplierInformers_EndToEnd
1. build per-MC KubeApplierInformers subA seeded with 2 ApplyDesires (mgmtA) 2. build per-MC KubeApplierInformers subB seeded with 1 ApplyDesire (mgmt
internal/database/unioninformers/kubeapplier/union_informers_test.go:408
FunctionTestUnionKubeApplierInformers_NilGuards
1. create empty aggregator 2. Add(nil, nil) — assert no error, no-op 3. Add(rid, nil sub) — assert no error, no-op 4. Remove(nil) — assert no panic
internal/database/unioninformers/kubeapplier/union_informers_test.go:493
FunctionTestUnionReadDesireLister
============================================================================ UnionReadDesireLister ===================================================
internal/database/unionlisters/kubeapplier/union_listers_test.go:361
FunctionTestUnixShellName
(t *testing.T)
tooling/hcpctl/pkg/shell/shell_test.go:206
FunctionTestUpdateKubeconfigExecCommand
Test the updateKubeconfigExecCommand function directly without needing to mock os.Executable
tooling/hcpctl/pkg/aks/kubeconfig_test.go:29
FunctionTestUpdateMeshNamespaceLabels
(t *testing.T)
tooling/templatize/pkg/istio/workloads_test.go:570
FunctionTestUpdater_FileUpdateIntegration
(t *testing.T)
tooling/image-updater/internal/updater/updater_test.go:685
FunctionTestUpdater_ProcessImageUpdates_GitHubReleaseRejectsDigestAndSHA
(t *testing.T)
tooling/image-updater/internal/updater/updater_test.go:447
FunctionTestUpdater_ProcessImageUpdates_SHAFieldHandling
(t *testing.T)
tooling/image-updater/internal/updater/updater_test.go:505
FunctionTestUpdater_UpdateImage_ErrorCases
(t *testing.T)
tooling/image-updater/internal/updater/updater_test.go:325
FunctionTestUpdater_UpdateImages
(t *testing.T)
tooling/image-updater/internal/updater/updater_test.go:69
FunctionTestUserPrincipalName
(t *testing.T)
dev-infrastructure/scripts/postgres-access/main_test.go:152
FunctionTestValidate
(t *testing.T)
fleet/cmd/controller/options_test.go:22
FunctionTestValidate
(t *testing.T)
fleet/cmd/register/options_test.go:42
FunctionTestValidate
(t *testing.T)
tooling/olm-bundle-repkg/internal/customize/config_test.go:78
FunctionTestValidateClusterCreate
Comprehensive tests for ValidateClusterCreate using a subscription without AllowNonStableChannel flags
internal/validation/validate_cluster_comprehensive_test.go:48
FunctionTestValidateClusterCreate_ManagedIdentitiesDataPlaneIdentityURLOptionalOperationOption
TestValidateClusterCreate_ManagedIdentitiesDataPlaneIdentityURLOptionalOperationOption tests that when ManagedIdentitiesDataPlaneIdentityURLOptionalOp
internal/validation/validate_cluster_comprehensive_test.go:1220
FunctionTestValidateClusterUpdate
Comprehensive tests for ValidateClusterUpdate
internal/validation/validate_cluster_comprehensive_test.go:1252
FunctionTestValidateConfig
(t *testing.T)
tooling/image-updater/internal/options/options_test.go:216
FunctionTestValidateExternalAuth
(t *testing.T)
internal/validation/validate_externalauth_comprehensive_test.go:32
FunctionTestValidateExternalAuthCustomValidation
(t *testing.T)
internal/validation/validate_externalauth_comprehensive_test.go:702
FunctionTestValidateExternalAuthDiscriminatedUnions
(t *testing.T)
internal/validation/validate_externalauth_comprehensive_test.go:496
FunctionTestValidateHCPOptions
TestValidateHCPOptions tests HCP options validation.
tooling/hcpctl/cmd/hcp/options_test.go:76
FunctionTestValidateManagementClusterCreate
(t *testing.T)
internal/validation/validate_management_cluster_test.go:57
FunctionTestValidateManagementClusterUpdate
(t *testing.T)
internal/validation/validate_management_cluster_test.go:269
FunctionTestValidateManagementClusterUpdate_ClusterServiceProvisionShardID
(t *testing.T)
internal/validation/validate_management_cluster_test.go:516
FunctionTestValidateManagementClusterUpdate_KubeApplierContainerMigration
TestValidateManagementClusterUpdate_KubeApplierContainerMigration covers the asymmetric immutability of Status.KubeApplierCosmosContainerName: the fie
internal/validation/validate_management_cluster_test.go:444
FunctionTestValidateNodePoolCreate
Comprehensive tests for ValidateNodePoolCreate
internal/validation/validate_nodepools_comprehensive_test.go:33
FunctionTestValidateNodePoolUpdate
Comprehensive tests for ValidateNodePool update
internal/validation/validate_nodepools_comprehensive_test.go:829
FunctionTestValidateNodePoolVersionWithFeatureFlags
TestValidateNodePoolVersionWithFeatureFlags tests version validation with feature flags
internal/validation/validate_nodepools_comprehensive_test.go:1452
FunctionTestValidateOutputFormat
(t *testing.T)
tooling/hcpctl/pkg/aks/format_test.go:119
FunctionTestValidateStampCreate
(t *testing.T)
internal/validation/validate_stamp_test.go:39
FunctionTestValidateStampUpdate
(t *testing.T)
internal/validation/validate_stamp_test.go:180
FunctionTestValidateStopAfter
(t *testing.T)
tooling/templatize/pkg/istio/upgrade_test.go:554
FunctionTestValidateSubscriptionCreate
Comprehensive tests for ValidateSubscriptionCreate
internal/validation/validate_subscription_comprehensive_test.go:32
FunctionTestValidateSystemData
(t *testing.T)
internal/validation/validate_common_test.go:29
← previousnext →9,101–9,200 of 10,266, ranked by callers