MCPcopy Create free account

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

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

↓ 6 callersMethodGetCacheTTL
()
tooling/tenant-quota/pkg/config/config.go:150
↓ 6 callersMethodGetItem
GetItem returns the internal API representation for the cosmosUID. That is consistent with other returns from our database layer. The Item is only ava
internal/database/transaction.go:43
↓ 6 callersFunctionGetOutputValue
(deploymentInfo *armresources.DeploymentExtended, outputName string)
test/util/framework/deployment_helper.go:53
↓ 6 callersFunctionGetRemoteOptions
GetRemoteOptions returns remote options with Docker credentials if useAuth is true It uses the default Docker config file (~/.docker/config.json) for
tooling/image-updater/internal/clients/auth.go:41
↓ 6 callersMethodGetResourceID
()
backend/pkg/controllers/controllerutils/util.go:117
↓ 6 callersMethodGetResourceID
()
backend/pkg/controllers/controllerutils/util.go:162
↓ 6 callersMethodHTTPTestAccessor
(key ResourceKey)
test-integration/utils/databasemutationhelpers/resource_crud_test_util.go:513
↓ 6 callersFunctionMaxItems
(_ context.Context, _ operation.Operation, fldPath *field.Path, value, _ []T, maxLen int)
internal/validation/validators.go:280
↓ 6 callersFunctionNeedsUpdate
NeedsUpdate reports whether `desired` differs from `existing` in any way that should cause us to write `desired` back to Cosmos. It is a strict-but-se
internal/controllerutils/needs_update.go:110
↓ 6 callersMethodNeedsWork
NeedsWork reports whether this controller has anything to do for the given NodePool. The work this controller does is persist the customer's desired v
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller.go:113
↓ 6 callersFunctionNewCloudError
NewCloudError returns a new CloudError
internal/api/arm/error.go:179
↓ 6 callersFunctionNewClusterMetricsHandler
NewClusterMetricsHandler creates a metrics handler for cluster metrics.
backend/pkg/controllers/metricscontrollers/resource_metrics_controller.go:129
↓ 6 callersMethodNodePools
(hcpClusterID string)
internal/database/crud_hcpcluster.go:115
↓ 6 callersMethodPost
(ctx context.Context, resourceIDString string, content []byte)
test-integration/utils/databasemutationhelpers/http_test_accessor.go:36
↓ 6 callersMethodRegister
Register stores a per-management-cluster client under the given resourceID. Replaces any previous registration for the same resourceID.
internal/databasetesting/mock_kube_applier_client.go:402
↓ 6 callersMethodRemove
Remove drops the sublister registered under the given management cluster's resourceID. A nil or unknown resourceID is a no-op.
internal/database/unionlisters/kubeapplier/union_desire_lister.go:91
↓ 6 callersMethodRemove
Remove deregisters every union-installed handler from the sub-informer registered under the given management cluster's resourceID and drops it from th
internal/database/unioninformers/kubeapplier/desire_informer.go:163
↓ 6 callersFunctionSetDeleteOperationAsCompleted
SetDeleteOperationAsCompleted updates Cosmos DB to reflect a completed resource deletion.
backend/pkg/controllers/operationcontrollers/utils.go:664
↓ 6 callersMethodStoreDocument
(cosmosID string, data json.RawMessage)
internal/databasetesting/mock_resources_crud.go:44
↓ 6 callersFunctionTableToMarkdown
TableToMarkdown renders a tabular.Table as a markdown table. If the table is nil or has no columns, the string "(no results)" is returned.
tooling/hcpctl/pkg/agent/tools_kusto.go:257
↓ 6 callersFunctionToClusterResourceIDString
(subscriptionName, resourceGroupName, clusterName string)
internal/api/types_cosmosdata.go:47
↓ 6 callersMethodValidate
Validate performs comprehensive validation of all query input parameters.
tooling/hcpctl/cmd/must-gather/query_options.go:84
↓ 6 callersFunctionWithClusterResourceGroup
(resourceGroupName string)
test/util/framework/deployment_helper.go:126
↓ 6 callersFunctionWithTemplateFromFS
(fs embed.FS, path string)
test/util/framework/deployment_helper.go:156
↓ 6 callersFunctionapplySublisters
applySublisters returns two SliceApplyDesireListers, one per MC, populated with disjoint fixtures so test assertions can tell them apart.
internal/database/unionlisters/kubeapplier/union_listers_test.go:71
↓ 6 callersMethodcachedVersionPath
(spec BinarySpec)
tooling/hcpctl/pkg/binresolver/resolver.go:479
↓ 6 callersFunctioncheckExpectedError
(errs *[]error, operation string, err error, expectedErrorKeywords string)
test/e2e/simple_negative_cases.go:243
↓ 6 callersFunctioncheckSentinel
(logger logr.Logger, data any, stepCacheDir string)
tooling/templatize/pkg/pipeline/shell.go:206
↓ 6 callersFunctionclassifyAsDegraded
classifyAsDegraded picks which sync errors should bubble to the Degraded condition. PreCheck failures are status-only signals, not controller-health p
kube-applier/pkg/controllers/apply_desire/controller.go:493
↓ 6 callersMethodcollectAll
(ctx context.Context)
tooling/tenant-quota/pkg/resourcegroups/collector.go:105
↓ 6 callersFunctioncosmosIDForDesire
(t *testing.T, d *kubeapplier.ApplyDesire)
backend/pkg/controllers/mismatchcontrollers/delete_orphaned_cosmos_test.go:215
↓ 6 callersFunctioncreateTempYAML
Helper function to create a temporary YAML file for testing
tooling/image-updater/internal/yaml/editor_test.go:441
↓ 6 callersFunctionctlNewApplyDesire
(t *testing.T, idStr string, mgmt *azcorearm.ResourceID)
internal/database/unioninformers/kubeapplier/controller_test.go:191
↓ 6 callersMethoddesiredControlPlaneZVersion
desiredControlPlaneZVersion determines the desired z-stream version for the control plane. The desired version selection logic is executed on each co
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller.go:258
↓ 6 callersFunctiondetectShell
detectShell detects the appropriate shell for the current operating system and returns a Shell implementation. On Windows, it tries PowerShell Core f
tooling/hcpctl/pkg/shell/detect.go:30
↓ 6 callersMethoddoRequest
(ctx context.Context, method, path string, body []byte)
test-integration/utils/databasemutationhelpers/http_test_accessor.go:128
↓ 6 callersMethodevaluateDelete
evaluateDelete runs the state machine for one ApplyDesire with Type=Delete and returns the status mutation function that records the outcome. State m
kube-applier/pkg/controllers/apply_desire/controller.go:408
↓ 6 callersFunctionevent
(reason, messageFmt string, args ...interface{})
sessiongate/pkg/controller/sessioncontroller.go:346
↓ 6 callersFunctionfindCondition
(conds []metav1.Condition, condType string)
kube-applier/pkg/controllers/conditions/conditions_test.go:28
↓ 6 callersFunctionfixtureDesires
fixtureDesires returns four ApplyDesires: - clusterA: mgmt-a, cluster-scoped, name=a1 - clusterA-np: mgmt-a, nodepool-scoped, name=a2 - clusterB: mgmt
internal/database/listertesting/slice_listers_test.go:141
↓ 6 callersFunctiongetBaseCSNodePoolBuilder
Base CS nodepool builder that reflects the defaults set in getHCPNodePoolResource.
internal/ocm/convert_test.go:295
↓ 6 callersFunctiongetByKey
getByKey retrieves a single item from an indexer by key, casting it to *T.
internal/database/listers/types.go:72
↓ 6 callersMethodgetClientFactoryOptions
()
test/util/framework/per_invocation_framework.go:160
↓ 6 callersFunctiongetHCPNodePoolResource
(opts ...func(*api.HCPOpenShiftClusterNodePool))
internal/ocm/convert_test.go:273
↓ 6 callersMethodgetUpdated
()
backend/pkg/informers/informers_test.go:90
↓ 6 callersMethodgetUpdated
()
test-integration/frontend/informer_test.go:91
↓ 6 callersMethodhandlePermanentError
permanent errors usually don't resolve themselves just by retrying, so we set the condition and don't actively requeue by returning the error. we will
sessiongate/pkg/controller/sessioncontroller.go:393
↓ 6 callersMethodhandleUpdate
handleUpdate queues immediately when the Cosmos etag differs (real content change) and consults the cooldown gate when it doesn't (informer resync or
kube-applier/pkg/controllers/apply_desire/controller.go:233
↓ 6 callersFunctioninitServer
(s *ServerFactoryTransport, dst **T, src func() *T)
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:110
↓ 6 callersFunctioninitServer
(s *ServerFactoryTransport, dst **T, src func() *T)
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:110
↓ 6 callersFunctioninitServer
(s *ServerFactoryTransport, dst **T, src func() *T)
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:110
↓ 6 callersFunctioninitServer
(s *ServerFactoryTransport, dst **T, src func() *T)
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:110
↓ 6 callersFunctionisTransientUpdateError
isTransientUpdateError detects errors worth retrying during cluster updates: - HTTP 500: e.g. Cosmos DB ETag conflict after cluster-service commit - H
test/util/framework/hcp_helper.go:395
↓ 6 callersMethodmakeResourceIDPath
(resourceName string)
internal/database/crud_nested_resource.go:307
↓ 6 callersFunctionmustKey
(t *testing.T, d *kubeapplier.ApplyDesire)
kube-applier/pkg/controllers/apply_desire/controller_test.go:124
↓ 6 callersFunctionnewBaselineInternalCluster
newBaselineInternalCluster creates a valid cluster with all potentially unsafe fields set to non-zero values. Test cases mutate specific fields to zer
internal/api/v20260630preview/zero_value_roundtrip_test.go:297
↓ 6 callersFunctionnewBaselineInternalCluster
newBaselineInternalCluster creates a valid cluster with all potentially unsafe fields set to non-zero values. Test cases mutate specific fields to zer
internal/api/v20251223preview/zero_value_roundtrip_test.go:297
↓ 6 callersFunctionnewFakeMCInformer
()
internal/database/unioninformers/kubeapplier/controller_test.go:55
↓ 6 callersFunctionnewHTTPServer
newHTTPServer returns a test HTTP server. The mock DB client will be bootstrapped with the provided subscription documents for the subscription collec
frontend/pkg/frontend/frontend_test.go:964
↓ 6 callersFunctionnewRGSelectionReason
(code string)
tooling/cleanup-sweeper/pkg/policy/discovery.go:79
↓ 6 callersFunctionnewStubFactory
(relist time.Duration)
internal/database/unioninformers/kubeapplier/controller_test.go:134
↓ 6 callersFunctionnewTestBillingDocument
(billingDocID, subscriptionID, resourceGroupName, clusterName string, deletedAt *time.Time)
backend/pkg/controllers/billingcontrollers/orphaned_billing_cleanup_test.go:40
↓ 6 callersFunctionnewTestManagementCluster
()
backend/pkg/controllers/managementclustercontrollers/management_cluster_placement_sync_test.go:104
↓ 6 callersFunctionnewTestNodePoolOperation
(subscriptionID, operationName, targetSubscription, targetResourceGroup, targetCluster, nodePoolName string)
backend/pkg/listertesting/slice_listers_test.go:400
↓ 6 callersFunctionnewTestSPC
(t *testing.T, bundles api.MaestroBundleReferenceList)
backend/pkg/controllers/clusterdeletion/cluster_deletion_controller_test.go:323
↓ 6 callersFunctionnewTestSubscription
newTestSubscription creates a properly-formed subscription with CosmosMetadata set
frontend/pkg/frontend/frontend_test.go:63
↓ 6 callersFunctionnewTestWatchingController
()
backend/pkg/controllers/controllerutils/generic_watching_controller_test.go:69
↓ 6 callersFunctionptrPolicy
(p azcertificates.CertificatePolicy)
tooling/templatize/pkg/pipeline/certificate_test.go:431
↓ 6 callersFunctionquoteIdent
quoteIdent quotes a SQL identifier (double quotes, doubling embedded quotes).
dev-infrastructure/scripts/postgres-access/main.go:380
↓ 6 callersFunctionreadRawBytesInDir
(dir fs.FS)
test-integration/utils/databasemutationhelpers/resource_crud_test_util.go:459
↓ 6 callersFunctionrecordVerification
recordVerification checks if a query requires results and records the appropriate case.
tooling/hcpctl/pkg/snapshot/gatherer.go:143
↓ 6 callersMethodset
(mcs ...*fleet.ManagementCluster)
internal/database/unioninformers/kubeapplier/controller_test.go:538
↓ 6 callersFunctionsetEnvironmentVariable
setEnvironmentVariable sets or overrides a specific environment variable in the given environment slice. If the variable already exists, it updates it
tooling/hcpctl/pkg/shell/shell.go:208
↓ 6 callersFunctionstartController
--- test helpers --------------------------------------------------------- startController launches ctl.Run on a goroutine and waits for the controlle
internal/database/unioninformers/kubeapplier/controller_test.go:568
↓ 6 callersFunctionstrPtr
(value string)
tooling/cleanup-sweeper/pkg/engine/steps/roleassignments/delete_test.go:198
↓ 6 callersFunctiontestManagementCluster
(stampIdentifier string, ready *bool)
fleet/pkg/controllers/base/registration_cooldown_test.go:56
↓ 6 callersFunctiontestNodePoolFeatureOptions
testNodePoolFeatureOptions creates validation options from feature names, matching production behavior by normalizing to lowercase.
internal/validation/validate_nodepools_comprehensive_test.go:1414
↓ 6 callersFunctiontestStamp
(identifier string, approved bool)
fleet/pkg/controllers/maestroregistration/controller_test.go:36
↓ 6 callersFunctionwaitChan
(t *testing.T, ch <-chan struct{}, what string)
internal/database/unioninformers/kubeapplier/controller_test.go:595
↓ 5 callersMethodAddCosmosResourceID
AddCosmosResourceID adds the "cosmos_resource_id" key with the lowercased value.
internal/utils/context.go:152
↓ 5 callersMethodAddEventHandler
AddEventHandler installs handler on every currently-registered sub-informer and remembers it so future Adds also receive it. The returned registration
internal/database/unioninformers/kubeapplier/desire_informer.go:184
↓ 5 callersMethodAddEventHandlerWithResyncPeriod
AddEventHandlerWithResyncPeriod is the resync-period variant; semantics are otherwise identical to AddEventHandler. The resync period is recorded so f
internal/database/unioninformers/kubeapplier/desire_informer.go:191
↓ 5 callersMethodAddValue
AddValue adds a JSON encoded value to a PagedResponse.
internal/api/arm/response.go:82
↓ 5 callersMethodAzureCredential
()
test/util/framework/per_test_framework.go:1182
↓ 5 callersMethodByApplicationId
ByApplicationId provides operations to manage the collection of application entities. returns a *ApplicationItemRequestBuilder when successful
internal/graph/graphsdk/applications/applications_request_builder.go:69
↓ 5 callersMethodComplete
(ctx context.Context)
test/cmd/aro-hcp-tests/custom-link-tools/options.go:135
↓ 5 callersMethodConcurrentQueries
(ctx context.Context, queries []kusto.Query, outputChannel chan<- kusto.TaggedRow)
tooling/hcpctl/pkg/mustgather/queryclient.go:62
↓ 5 callersFunctionDefaultHCPOptions
DefaultHCPOptions returns a new HCPOptions struct initialized with sensible defaults for the kubeconfig path.
tooling/hcpctl/cmd/hcp/options.go:46
↓ 5 callersMethodDeleteByCosmosID
(ctx context.Context, partitionKey, cosmosID string)
internal/database/crud_untyped_resource.go:39
↓ 5 callersMethodEnqueueResourceIDAddWithMaxDepth
enqueueResourceIDAddWithMaxDepth traverses resourceID and its parents according to maxDepth until it finds a resourceID that is of the resource type o
backend/pkg/controllers/controllerutils/generic_watching_controller.go:190
↓ 5 callersMethodGetAllDocuments
()
internal/databasetesting/mock_resources_crud.go:47
↓ 5 callersMethodGetClusterProvisionShard
GetClusterProvisionShard sends a GET request to fetch a cluster's provision shard from Cluster Service.
internal/ocm/client.go:53
↓ 5 callersMethodGetDocument
(cosmosID string)
internal/databasetesting/mock_resources_crud.go:43
↓ 5 callersMethodGetGraphClient
(ctx context.Context)
test/util/framework/per_test_framework.go:1070
↓ 5 callersMethodGetInstanceVersion
()
internal/api/arm/types_cosmosdata.go:133
↓ 5 callersMethodGetMessage
()
internal/graph/graphsdk/models/odataerrors/main_error.go:256
↓ 5 callersMethodGetQuery
()
tooling/hcpctl/pkg/kusto/query.go:68
↓ 5 callersMethodGetSerialConsoleLogs
(ctx context.Context, resourceID string, vmName string, identityDetails *AzureIdentityDetails)
test/util/framework/admin_api_helpers.go:401
↓ 5 callersMethodGetToken
(_ context.Context, _ policy.TokenRequestOptions)
internal/azsdk/clientoptions_test.go:36
↓ 5 callersMethodGetValue
()
internal/graph/graphsdk/models/application_collection_response.go:96
← previousnext →601–700 of 10,266, ranked by callers