MCPcopy Create free account

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

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

↓ 4 callersMethodWithAPIVersion
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:73
↓ 4 callersMethodWithNamespace
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by c
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:99
↓ 4 callersFunctionWithScope
(scope bicepDeploymentScope)
test/util/framework/deployment_helper.go:120
↓ 4 callersMethodWithSpec
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "W
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:223
↓ 4 callersFunctionWithTable
(table string)
tooling/hcpctl/pkg/kusto/query.go:147
↓ 4 callersFunctionWithTimeout
(timeout time.Duration)
test/util/framework/deployment_helper.go:138
↓ 4 callersMethodaddResource
addResource adds a single resource to the mockResourcesDBClient.
internal/databasetesting/mock_init.go:52
↓ 4 callersFunctionassertSyncResult
assertSyncResult is a helper function that validates the result of SyncOnce
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1471
↓ 4 callersMethodcachedBinaryPath
(spec BinarySpec)
tooling/hcpctl/pkg/binresolver/resolver.go:471
↓ 4 callersFunctioncloneResourceSKUSlice
(skus []*armcompute.ResourceSKU)
test/util/framework/vm_sku_selection.go:204
↓ 4 callersFunctioncollectFromIterator
collectFromIterator drains a database.DBClientIterator into a slice and propagates any iterator-level error.
internal/database/listertesting/db_listers.go:30
↓ 4 callersFunctioncollectMetrics
(c *Collector)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:77
↓ 4 callersFunctioncompareActions
()
sessiongate/pkg/controller/sessioncontroller_test.go:1112
↓ 4 callersFunctioncompareRevisions
(a, b string)
tooling/templatize/pkg/istio/decide.go:137
↓ 4 callersFunctionconditionFalse
(condType string)
fleet/pkg/controllers/lifecycle/controller_test.go:77
↓ 4 callersFunctionconfigPath
(dir, cloud, environment, region string)
tooling/templatize/cmd/configuration/validate/options.go:641
↓ 4 callersFunctionconfigString
(val any)
tooling/templatize/pkg/pipeline/istio.go:30
↓ 4 callersFunctionconvertNodePoolStatus
convertNodePoolStatus attempts to translate a NodePoolStatus object from Cluster Service into an ARM provisioning state and, if necessary, a structure
backend/pkg/controllers/operationcontrollers/utils.go:493
↓ 4 callersMethodconvertRows
(ctx context.Context, rowChannel <-chan kusto.TaggedRow, outPutChannel chan<- *NormalizedLogLine)
tooling/hcpctl/pkg/mustgather/gather.go:627
↓ 4 callersFunctioncosmosDataFor
cosmosDataFor returns the embedded *arm.CosmosMetadata from a resource that implements arm.CosmosPersistable. Returns nil if the value doesn't satisfy
test-integration/utils/databasemutationhelpers/step_replace_with_etag.go:96
↓ 4 callersFunctioncreateArbitraryResource
(ctx context.Context, dynamicClient dynamic.Interface, namespace string, resourceBytes []byte)
test/util/verifiers/helper.go:30
↓ 4 callersFunctioncreateTestMetric
(fqdn string)
tooling/aro-hcp-exporter/pkg/cache/cache_test.go:25
↓ 4 callersFunctioncredentialSecretNameForSession
(session *sessiongatev1alpha1.Session)
sessiongate/pkg/controller/credssecret.go:42
↓ 4 callersFunctiondownloadObject
(ctx context.Context, gcsClient *storage.Client, path string)
tooling/hcpctl/pkg/snapshot/prow.go:645
↓ 4 callersFunctionexecCommandWithKubeconfig
execCommandWithKubeconfig executes a command with a specific kubeconfig
tooling/hcpctl/internal/e2e/e2e.go:102
↓ 4 callersFunctionextractRawField
extractRawField returns the raw JSON of a top-level field, or "" if the field is absent or the JSON does not parse.
tooling/hcpctl/cmd/datadump-to-git/cmd.go:378
↓ 4 callersFunctionextractStringField
extractStringField returns the value of a top-level string field, or "" if the field is absent, not a string, or the JSON does not parse.
tooling/hcpctl/cmd/datadump-to-git/cmd.go:391
↓ 4 callersFunctionfakeDeploymentOp
(provOp, duration string, resourceID *string)
tooling/templatize/pkg/pipeline/arm_operations_test.go:82
↓ 4 callersFunctionfakeDynamic
fakeDynamic returns a dynamic.Interface backed by an in-memory tracker that supports Apply (via Patch with ApplyPatchType under the covers).
kube-applier/pkg/controllers/apply_desire/controller_test.go:61
↓ 4 callersFunctionfakeOCMNotFoundError
()
backend/pkg/controllers/nodepoolcreationcontrollers/node_pool_cluster_service_create_controller_test.go:286
↓ 4 callersFunctionfakeOperationsResponse
(t *testing.T, ops ...armresources.DeploymentOperation)
tooling/templatize/pkg/pipeline/arm_operations_test.go:73
↓ 4 callersFunctionfastTestsOnly
(query string)
test/cmd/aro-hcp-tests/main.go:46
↓ 4 callersFunctionfetchOperationsFor
n.b. the Azure SDK for Go has unique types for the different types of pagers and no type constraint can be written to scope for pages of things contai
tooling/templatize/pkg/pipeline/arm_operations.go:112
↓ 4 callersFunctionfindClusterDesireInAnyClient
findClusterDesireInAnyClient tries Get on each configured per-MC client; first hit wins. Stops on the first non-NotFound error. crudFor lets the calle
internal/database/listertesting/db_listers.go:165
↓ 4 callersMethodfindManagedResourceGroups
(ctx context.Context, ResourceGroupName string)
test/util/framework/per_test_framework.go:448
↓ 4 callersFunctionformatValue
formatValue formats a value for display in commit message
tooling/hcpctl/cmd/datadump-to-git/cmd.go:713
↓ 4 callersFunctionfrontendAddress
frontendAddress returns the value of FRONTEND_ADDRESS environment variable
test/util/framework/per_invocation_framework.go:382
↓ 4 callersFunctionget
(ctx context.Context, containerClient *azcosmos.ContainerClient, partitionKeyString string, completeResourceID
internal/database/crud_helpers.go:82
↓ 4 callersFunctiongetAroHCPProvisionShardClient
(id InternalID, transport http.RoundTripper)
internal/ocm/internalid.go:115
↓ 4 callersFunctiongetInputValues
(serviceGroup string, configuredVariables []types.Variable, cfg configtypes.Configuration, inputs Outputs)
tooling/templatize/pkg/pipeline/run.go:873
↓ 4 callersMethodgetLeasedIdentityPoolState
()
test/util/framework/per_invocation_framework.go:291
↓ 4 callersFunctiongetMetricHash
(metric prometheus.Metric)
tooling/aro-hcp-exporter/pkg/cache/cache.go:46
↓ 4 callersMethodhandleRequest
MiddlewareAudit writes audit messages upon receiving a request.
frontend/pkg/frontend/middleware_audit.go:44
↓ 4 callersMethodhandleTransientError
transient errors can be retried by requeuing with rate limiting.
sessiongate/pkg/controller/sessioncontroller.go:385
↓ 4 callersFunctionhasClusterIdentityToSet
(src *arm.ManagedServiceIdentity)
internal/conversion/readonly_cluster.go:72
↓ 4 callersFunctionhostedClusterToHCPInfo
hostedClusterToHCPInfo converts a HostedCluster typed object to HCPInfo
tooling/hcpctl/pkg/hcp/discovery.go:168
↓ 4 callersFunctioninjectETag
injectETag injects a new etag into the document JSON
internal/databasetesting/mock_resources_crud.go:127
↓ 4 callersFunctioninjectNamespaceFilter
injectNamespaceFilter parses a PromQL expression, injects namespace=~"ns1|ns2|..." into every VectorSelector that does not already have a namespace ma
tooling/prometheus-rules/internal/namespace_filter.go:40
↓ 4 callersFunctionintPtr
(v int)
test/cmd/aro-hcp-tests/slot-manager/slots/generate_boskos_test.go:151
↓ 4 callersFunctionisIgnorableResourceGroupCleanupError
(err error)
test/util/framework/per_test_framework.go:308
↓ 4 callersFunctionisResponseError
(err error, statusCode int)
internal/database/database.go:44
↓ 4 callersFunctionkeyFor
keyFor returns the typed key the controller uses for a given ReadDesire.
kube-applier/pkg/controllers/read_desire_manager/controller_test.go:72
↓ 4 callersFunctionleafTypeName
leafTypeName returns the trailing segment of an ARM ResourceType (the part after the last slash). Using it in the per-level helpers prevents callers f
internal/api/types_cosmosdata.go:109
↓ 4 callersFunctionlist
(ctx context.Context, containerClient *azcosmos.ContainerClient, partitionKeyString string, resourceType *azco
internal/database/crud_helpers.go:91
↓ 4 callersMethodlistWithPrefix
(ctx context.Context, prefix string)
backend/pkg/listertesting/db_listers.go:281
↓ 4 callersFunctionloadCatalogFromYAML
(t *testing.T, catalogYAML string)
test/cmd/aro-hcp-tests/slot-manager/slots/catalog_test.go:53
↓ 4 callersFunctionloadCosmosResource
loadCosmosResource reads an embedded Cosmos JSON document (`{"properties": {...resource fields...}}`) and unmarshals the `properties` subtree into *T.
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_real_cosmos_test.go:61
↓ 4 callersFunctionloadDesires
loadDesires inserts the provided ReadDesires into the mock under the canonical (subscriptionID, resourceGroup, cluster) parent. The test desires all s
kube-applier/pkg/controllers/read_desire_manager/controller_test.go:135
↓ 4 callersFunctionloadIdentityPools
(ctx context.Context, catalogPath, environment string, resolveSubscriptionID subscriptionIDResolverFunc)
test/cmd/aro-hcp-tests/slot-manager/identity-pool/pools.go:38
↓ 4 callersFunctionlogPodEvent
logPodEvent logs a pod event with structured key-value pairs including the full pod object.
mgmt-agent/pkg/controller/podwatcher.go:158
↓ 4 callersFunctionlookupTag
lookupTag returns the value for the given tag key using case-insensitive comparison. Returns empty string if the tag is not found.
internal/admission/admit_cluster.go:197
↓ 4 callersFunctionmigrateDesireDocuments
migrateDesireDocuments lists and migrates all documents from a pre-constructed desire CRUD. The getName function extracts the document name used for t
backend/pkg/controllers/cosmos_migration.go:490
↓ 4 callersFunctionmustNewInternalID
(t *testing.T, path string)
admin/server/handlers/stamp/managementcluster_test.go:47
↓ 4 callersFunctionmustParseResourceID
(sub, rg, name string)
test/cmd/aro-hcp-tests/gather-observability/workspace_test.go:24
↓ 4 callersFunctionmustParseResourceID
(t *testing.T, rawID string)
internal/database/crud_fleet_test.go:69
↓ 4 callersFunctionneedToPatchOperation
(oldOperation *api.Operation, newOperationStatus arm.ProvisioningState, newOperationError *arm.CloudErrorBody)
backend/pkg/controllers/operationcontrollers/utils.go:282
↓ 4 callersFunctionnestedResourceType
nestedResourceType is a small wrapper over azcorearm.NewResourceType that joins the nested path segments under our provider namespace, keeping the var
internal/api/kubeapplier/registry.go:33
↓ 4 callersFunctionnewApplyDesire
--- ApplyDesire fixtures ------------------------------------------------
internal/database/unionlisters/kubeapplier/union_listers_test.go:61
↓ 4 callersFunctionnewApplyDesire
(t *testing.T, idStr string, mgmt *azcorearm.ResourceID)
internal/database/listertesting/slice_listers_test.go:128
↓ 4 callersFunctionnewBaselineInternalNodePool
newBaselineInternalNodePool creates a valid node pool with all potentially unsafe fields set to non-zero values. Test cases mutate specific fields to
internal/api/v20260630preview/zero_value_roundtrip_test.go:262
↓ 4 callersFunctionnewBaselineInternalNodePool
newBaselineInternalNodePool creates a valid node pool with all potentially unsafe fields set to non-zero values. Test cases mutate specific fields to
internal/api/v20251223preview/zero_value_roundtrip_test.go:262
↓ 4 callersFunctionnewCadenceController
newCadenceController builds a controller wired only with the fields the cadence tests touch: a real workqueue, the supplied cfg (defaults applied), an
kube-applier/pkg/controllers/apply_desire/controller_test.go:79
↓ 4 callersFunctionnewClusterApplyDesire
(t *testing.T)
internal/databasetesting/mock_kube_applier_client_test.go:57
↓ 4 callersFunctionnewConfigMap
newConfigMap builds an *unstructured.Unstructured ConfigMap. When withDeletionTS is true a deletionTimestamp is set (simulating a terminating object w
kube-applier/pkg/controllers/apply_desire/controller_test.go:526
↓ 4 callersFunctionnewExpiringWatcher
newExpiringWatcher creates a watcher that terminates after the given duration by sending an HTTP 410 Gone / StatusReasonExpired error.
internal/database/informers/list_watch.go:55
↓ 4 callersFunctionnewExternalAuthTestFixture
()
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:274
↓ 4 callersFunctionnewMiddlewareValidatedAPIVersion
(apiRegistry api.APIRegistry)
frontend/pkg/frontend/middleware_validateapi.go:32
↓ 4 callersFunctionnewNodePoolTestFixture
()
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:144
↓ 4 callersFunctionnewReadDesire
(t *testing.T, target kubeapplier.ResourceReference)
kube-applier/pkg/controllers/read_desire_manager/controller_test.go:55
↓ 4 callersFunctionnewSubscriptionKeyWrapper
(delegate controllerutils.Controller)
test-integration/backend/controllers/mismatches/delete_orphaned_cosmos_test.go:167
↓ 4 callersFunctionnewTestController
newTestController builds a manager that pulls desires from the supplied MockKubeApplierDBClient and uses a recording fake-factory, so lifecycle tests
kube-applier/pkg/controllers/read_desire_manager/controller_test.go:120
↓ 4 callersFunctionnewTestExternalAuthWithOldDeletionApproach
TODO remove this once the new deletion approach is fully rolled out in all ARO-HCP permanent environments, for all regions.
backend/pkg/controllers/externalauthdeletion/external_auth_cluster_service_delete_dispatch_controller_test.go:455
↓ 4 callersFunctionnewTestNodePoolController
(t *testing.T, name string)
backend/pkg/controllers/nodepooldeletion/node_pool_child_resources_cleanup_controller_test.go:54
↓ 4 callersFunctionnewTestNodePoolWithOldDeletionApproach
TODO remove this once the new deletion approach is fully rolled out in all ARO-HCP permanent environments, for all regions.
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:455
↓ 4 callersFunctionnodeReady
nodeReady returns true if the node has NodeReady condition status True.
test/util/verifiers/nodes.go:316
↓ 4 callersFunctionparameterizeImageComponents
parameterizeImageComponents applies the appropriate parameterization based on config with optional suffix
tooling/olm-bundle-repkg/internal/customize/utils.go:170
↓ 4 callersFunctionparseEnvConfig
parseEnvConfig builds a config from environment variables only. It does not call any external tools or APIs, which makes it safe to unit-test.
dev-infrastructure/scripts/postgres-access/main.go:111
↓ 4 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/time_rfc3339.go:88
↓ 4 callersFunctionprettyJSON
(v any)
test-integration/kube-applier/framework/step_desire_eventually.go:158
↓ 4 callersMethodrefresh
(ctx context.Context)
frontend/pkg/metrics/metrics.go:120
↓ 4 callersFunctionresolveClusterLinks
resolveClusterLinks replaces link objects with full objects that are necessary to fully construct an HCPOpenShiftCluster model.
internal/ocm/client.go:184
↓ 4 callersFunctionresolveInput
(serviceGroup string, input types.Input, outputs Outputs)
tooling/templatize/pkg/pipeline/run.go:895
↓ 4 callersFunctionresolveNodePoolLinks
resolveNodePoolLinks replaces link objects with full objects that are necessary to fully construct an HCPOpenShiftClusterNodePool model.
internal/ocm/client.go:208
↓ 4 callersFunctionresourceIDToPath
resourceIDToPath converts an Azure resource ID to a directory path structure Example: /subscriptions/abc-123/resourceGroups/my-rg/providers/Microsoft.
tooling/hcpctl/cmd/datadump-to-git/cmd.go:812
↓ 4 callersFunctionresourceIDToString
(id *azcorearm.ResourceID)
internal/serverutils/dump_data.go:176
↓ 4 callersFunctionretryOnTransientError
(ctx context.Context, f func() (T, error))
test/util/framework/version_helper.go:53
↓ 4 callersFunctionrollbackAndReturn
(ctx context.Context, logger logr.Logger, kubeClient kubernetes.Interface, opts UpgradeOptions, previousRevisi
tooling/templatize/pkg/istio/upgrade.go:262
↓ 4 callersMethodrun
(ctx context.Context)
tooling/hcpctl/cmd/snapshot/analyze_cmd.go:257
↓ 4 callersFunctionrunShellStep
(id graph.Identifier, s *types.ShellStep, ctx context.Context, azureConfigDir, kubeconfigFile string, options
tooling/templatize/pkg/pipeline/shell.go:57
↓ 4 callersFunctionsaNameOrDefault
(saName string)
tooling/olm-bundle-repkg/internal/rukpak/convert/registryv1.go:181
← previousnext →901–1,000 of 10,266, ranked by callers