MCPcopy Create free account

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

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

↓ 5 callersMethodGetVersion
GetVersion sends a GET request to fetch cluster version
internal/ocm/client.go:130
↓ 5 callersMethodHandler
Handler returns an http.Handler that invokes the list of middleware functions before invoking the given HTTP handler. Pass the returned http.Handler t
frontend/pkg/frontend/middleware.go:62
↓ 5 callersMethodHasSynced
()
internal/database/unioninformers/kubeapplier/union_informers_test.go:541
↓ 5 callersMethodList
(ctx context.Context)
backend/pkg/listertesting/db_listers.go:61
↓ 5 callersMethodListActiveOperations
ListActiveOperations returns an iterator that searches for asynchronous operation documents with a non-terminal status in the "Resources" container un
internal/database/crud_hcpcluster.go:45
↓ 5 callersFunctionLoadTestTimingInfo
LoadTestTimingInfo reads all timing-metadata-*.yaml(.gz) files from a directory and returns parsed timing info keyed by test identifier.
test/util/timing/timewindow.go:114
↓ 5 callersFunctionMaximum
Minimum verifies that the specified value is less than or equal to max.
internal/validation/validators.go:324
↓ 5 callersMethodName
Name returns the name of the collector
tooling/aro-hcp-exporter/internal/metrics/collector.go:21
↓ 5 callersFunctionNewCollector
(collectorCfg CollectorConfig, cfg *config.Config, logger *slog.Logger, credProvider *credentials.Provider, li
tooling/tenant-quota/pkg/resourcegroups/collector.go:48
↓ 5 callersFunctionNewCustomResourceLister
(k8sclient client.Client)
tooling/hcpctl/pkg/crdump/lister.go:58
↓ 5 callersFunctionNewDeletionStep
NewDeletionStep builds a generic ARM resource deletion step.
tooling/cleanup-sweeper/pkg/engine/steps/arm/deletion_step.go:66
↓ 5 callersFunctionNewInstrumentedMaestroClient
(client Client, metrics *MaestroMetrics)
backend/pkg/maestro/maestro_client_metrics.go:83
↓ 5 callersFunctionNewMockKubeApplierDBClient
NewMockKubeApplierDBClient creates an empty MockKubeApplierDBClient.
internal/databasetesting/mock_kube_applier_client.go:49
↓ 5 callersFunctionNewReplacementWriter
(w io.Writer, replacements []Replacements, regexReplacements []RegexReplacements)
tooling/prometheus-rules/internal/writer.go:38
↓ 5 callersFunctionNotReadyCondition
(generation int64, now time.Time)
sessiongate/pkg/controller/status.go:231
↓ 5 callersMethodPostControlPlaneUpgradePolicy
PostControlPlaneUpgradePolicy sends a POST request to create a control plane upgrade policy in Cluster Service.
internal/ocm/client.go:143
↓ 5 callersMethodPostNodePoolUpgradePolicy
PostNodePoolUpgradePolicy sends a POST request to create a node pool upgrade policy in Cluster Service.
internal/ocm/client.go:168
↓ 5 callersMethodQueueForInformers
QueueForInformers registers notifiers whose objects feed into the workqueue. Objects must implement both stampScoped (for key extraction) and arm.Cosm
fleet/pkg/controllers/base/stamp_watching_controller.go:158
↓ 5 callersMethodQueueForInformers
QueueForInformers is equivalent to calling QueueForInformersWithMaxDepth with maxDepth of -1. See QueueForInformersWithMaxDepth for more details.
backend/pkg/controllers/controllerutils/generic_watching_controller.go:149
↓ 5 callersMethodReadCertificate
ReadCertificate reads and parses the certificate and private key.
internal/certificate/reader.go:26
↓ 5 callersFunctionReportSyncError
(syncErr error)
backend/pkg/controllers/controllerutils/util.go:189
↓ 5 callersFunctionResolve
Resolve returns the path to the binary. It checks in order: 1. An explicit path provided by the user (verified to exist). 2. The locally cached binary
tooling/hcpctl/pkg/binresolver/resolver.go:64
↓ 5 callersMethodResolve
(ctx context.Context, cloud, environment string)
tooling/templatize/pkg/settings/settings.go:74
↓ 5 callersMethodRetrieveCredential
()
backend/pkg/azure/client/insecure_arm_permissions_manager_token_credential_retriever.go:38
↓ 5 callersMethodRun
(ctx context.Context)
kube-applier/pkg/controllers/read_desire_manager/controller.go:87
↓ 5 callersMethodRunWithContext
(ctx context.Context)
internal/database/informers/fleet_types.go:37
↓ 5 callersFunctionSanitizeUsername
SanitizeUsername converts a username to a format suitable for Kubernetes resource names. It follows DNS-1123 label requirements.
tooling/hcpctl/pkg/utils/username.go:26
↓ 5 callersFunctionSanityCheck
(objects []unstructured.Unstructured, config *BundleConfig)
tooling/olm-bundle-repkg/internal/customize/validation.go:26
↓ 5 callersMethodSendAndWait
SendAndWait sends a user prompt and blocks until the model finishes responding, including any tool-use rounds. Returns the final assistant text conten
tooling/hcpctl/pkg/agent/provider.go:47
↓ 5 callersMethodSessions
Sessions returns a SessionInformer.
sessiongate/pkg/generated/informers/externalversions/sessiongate/v1alpha1/interface.go:25
↓ 5 callersMethodStart
Start begins watching the file for content changes. The initial file hash is computed before starting the background watcher to ensure the file exist
internal/utils/fswatcher.go:71
↓ 5 callersMethodString
()
fleet/pkg/controllers/base/stamp_watching_controller.go:61
↓ 5 callersMethodString
String returns the api-version parameter value for this API.
internal/api/v20240610preview/register.go:32
↓ 5 callersMethodString
String returns the api-version parameter value for this API.
internal/api/v20260630preview/register.go:32
↓ 5 callersMethodString
String returns the api-version parameter value for this API.
internal/api/v20251223preview/register.go:32
↓ 5 callersFunctionURL
(_ context.Context, _ operation.Operation, fldPath *field.Path, value, _ *string)
internal/validation/validators.go:481
↓ 5 callersFunctionUnionCondition
UnionCondition collapses many per-controller conditions into a single metav1.Condition for the aggregated parent. It is a metav1 port of openshift/lib
backend/pkg/controllers/statuscontrollers/union_condition.go:54
↓ 5 callersMethodUpdateCluster
UpdateCluster sends a PATCH request to update a cluster in Cluster Service.
internal/ocm/client.go:65
↓ 5 callersMethodValidate
Validate validates the raw options and returns validated options
tooling/image-updater/internal/options/options.go:83
↓ 5 callersFunctionValidateCluster
(ctx context.Context, op operation.Operation, newCluster, oldCluster *api.HCPOpenShiftCluster, validationPathM
internal/validation/validate_cluster.go:66
↓ 5 callersFunctionValidateExternalAuthCreate
(ctx context.Context, newObj *api.HCPOpenShiftClusterExternalAuth)
internal/validation/validate_externalauth.go:31
↓ 5 callersFunctionWaitForRollout
(ctx context.Context, client kubernetes.Interface, namespace string, timeout, pollInterval time.Duration)
tooling/templatize/pkg/istio/workloads.go:469
↓ 5 callersFunctionWaitForRolloutAllNamespaces
(ctx context.Context, client kubernetes.Interface, timeout, pollInterval time.Duration)
tooling/templatize/pkg/istio/workloads.go:449
↓ 5 callersMethodWithLabels
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:163
↓ 5 callersFunctionWriteCloudError
WriteCloudError writes a CloudError to the given ResponseWriter
internal/api/arm/error.go:196
↓ 5 callersFunctionWriteController
WriteController will read the existing value, call the mutations in order, then write the result. It only tries *once*. If it fails, then the an erro
backend/pkg/controllers/controllerutils/util.go:322
↓ 5 callersFunctionassertVersionResult
assertVersionResult is a helper function that validates the result of desiredControlPlaneZVersion
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:1035
↓ 5 callersFunctionatomicUpdateFile
atomicUpdateFile simulates a configmap/secret/secretproviderclass rotation using the AtomicWriter pattern. Kubernetes CSI SecretProviderClass and Secr
internal/utils/fswatcher_test.go:36
↓ 5 callersFunctionboolPtr
(b bool)
fleet/pkg/controllers/base/registration_cooldown_test.go:54
↓ 5 callersFunctioncompleteAcquireForTest
(t *testing.T, raw *RawAcquireOptions)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1057
↓ 5 callersFunctionconvertClusterStatus
convertClusterStatus attempts to translate a ClusterStatus object from Cluster Service into an ARM provisioning state and, if necessary, a structured
backend/pkg/controllers/operationcontrollers/utils.go:434
↓ 5 callersMethodcount
()
test-integration/backend/unionkubeapplierinformers/integration_test.go:263
↓ 5 callersFunctioncreateAdminAPIHTTPClient
(identityDetails *AzureIdentityDetails)
test/util/framework/admin_api_helpers.go:272
↓ 5 callersFunctioncreateTempKubeconfig
createTempKubeconfig creates a temporary kubeconfig file path
tooling/hcpctl/internal/e2e/e2e.go:203
↓ 5 callersFunctiondescribePool
(pool slots.Pool)
test/cmd/aro-hcp-tests/slot-manager/acquire.go:422
↓ 5 callersFunctiondescribePool
(pool Pool)
test/cmd/aro-hcp-tests/slot-manager/slots/catalog.go:427
↓ 5 callersFunctionensureIngress
(ctx context.Context, kubeClient kubernetes.Interface, opts UpgradeOptions)
tooling/templatize/pkg/istio/upgrade.go:378
↓ 5 callersFunctionexternalAuthResource
(opts ...func(*api.HCPOpenShiftClusterExternalAuth))
internal/ocm/convert_test.go:436
↓ 5 callersFunctionextractTextFromResponse
extractTextFromResponse concatenates all text content blocks from an Anthropic response into a single string.
tooling/hcpctl/pkg/agent/claude_provider.go:371
↓ 5 callersFunctionextractVersionFromConfigLabels
extractVersionFromConfigLabels extracts a version string from image config labels. This is an inline helper for use when the config labels are already
tooling/image-updater/internal/clients/utils.go:115
↓ 5 callersFunctionfindCond
findCond locates a condition by type in a slice, or returns nil.
kube-applier/pkg/controllers/apply_desire/controller_test.go:540
↓ 5 callersFunctiongetAKSFormatter
getAKSFormatter returns a formatter configured for AKS clusters
tooling/hcpctl/pkg/aks/format.go:24
↓ 5 callersFunctiongetBaseCSExternalAuthBuilder
Because we don't distinguish between unset and empty values in our JSON parsing we will get the resulting CS object from an empty HCPOpenShiftClusterE
internal/ocm/convert_test.go:447
↓ 5 callersFunctiongetClusterClient
getClusterClient returns a v1 ClusterClient from the InternalID. This works for both cluster and node pool resources. The transport is most likely to
internal/ocm/internalid.go:82
↓ 5 callersMethodgetDeleted
()
test-integration/frontend/informer_test.go:99
↓ 5 callersMethodgetInternalClusterFromStorage
(ctx context.Context, resourceID *azcorearm.ResourceID)
frontend/pkg/frontend/cluster.go:872
↓ 5 callersMethodhandleRetryableError
retryable errors can be resolved by requeuing with rate limiting. we update the condition first if necessary, which cases a sync via the informer.
sessiongate/pkg/controller/sessioncontroller.go:407
↓ 5 callersFunctionint32Ptr
(v int32)
tooling/tenant-quota/pkg/subscriptionquota/usage_validation_test.go:26
↓ 5 callersMethodlock
()
test/util/framework/identities_helper.go:1103
↓ 5 callersFunctionmustParseTime
mustParseTime parses a time string in RFC3339 format and panics on error. Use for test constants to make date values more readable.
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:34
↓ 5 callersFunctionnewDeleteDesire
--------------------------------------------------------------------------- Delete path helpers and tests (ported from delete_desire/controller_test.g
kube-applier/pkg/controllers/apply_desire/controller_test.go:507
↓ 5 callersFunctionnewRGSelectionRuleReason
(ruleIndex int, rule RGDiscoveryRule, ruleResult string)
tooling/cleanup-sweeper/pkg/policy/discovery.go:83
↓ 5 callersFunctionnewTestClusterWithOldDeletionApproach
(t *testing.T, opts func(*api.HCPOpenShiftCluster))
backend/pkg/controllers/clusterdeletion/cluster_cluster_service_delete_dispatch_controller_test.go:96
↓ 5 callersFunctionnewTestExternalAuthOperation
(subscriptionID, operationName, targetSubscription, targetResourceGroup, targetCluster, externalAuthName strin
backend/pkg/listertesting/slice_listers_test.go:421
↓ 5 callersFunctionnewTestNodePool
(name, clusterServiceIDStr string)
backend/pkg/controllers/datadumpcontrollers/cs_state_dump_test.go:215
↓ 5 callersFunctionnewTestScheme
()
tooling/hcpctl/pkg/crdump/lister_test.go:35
↓ 5 callersFunctionnewTestServiceProviderCluster
(subscriptionID, resourceGroupName, clusterName string)
backend/pkg/listertesting/slice_listers_test.go:455
↓ 5 callersFunctionnormalizeID
(raw string)
tooling/cleanup-sweeper/pkg/engine/steps/roleassignments/delete.go:423
↓ 5 callersMethodobserve
observe records metrics for a completed operation.
backend/pkg/maestro/maestro_client_metrics.go:109
↓ 5 callersMethodparseResourceGraphResults
parseResourceGraphResults parses the Resource Graph response into AKSCluster structs
tooling/hcpctl/pkg/aks/discovery.go:165
↓ 5 callersFunctionpickWorstOperationState
pickWorstOperationState expects states pre-sorted and returns the worst state with merged messages.
backend/pkg/controllers/operationcontrollers/operation_state.go:72
↓ 5 callersFunctionpopAllQueue
(c *genericWatchingController[string])
backend/pkg/controllers/controllerutils/generic_watching_controller_test.go:77
↓ 5 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/time_rfc3339.go:88
↓ 5 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/time_rfc3339.go:88
↓ 5 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/time_rfc3339.go:88
↓ 5 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
internal/api/v20240610preview/generated/time_rfc3339.go:88
↓ 5 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
internal/api/v20260630preview/generated/time_rfc3339.go:88
↓ 5 callersFunctionpopulateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
internal/api/v20251223preview/generated/time_rfc3339.go:88
↓ 5 callersMethodprocessSession
(ctx context.Context, session *sessiongatev1alpha1.Session, mc ManagementClusterQuerier)
sessiongate/pkg/controller/sessioncontroller.go:354
↓ 5 callersFunctionqueryToDeepLink
queryToDeepLink compresses the input query with gzip and then encodes it to base64. Necessary to compress long queries to fit in the default browser U
tooling/hcpctl/pkg/agent/hydration.go:67
↓ 5 callersFunctionreadRulesFile
(filename string)
tooling/prometheus-rules/internal/generator.go:98
↓ 5 callersMethodreadUnlocked
()
test/util/framework/identities_helper.go:1006
↓ 5 callersFunctionrenderQuery
renderQuery reads and renders an embedded KQL template with the given data. Shared partial templates from queries/_partials/ are automatically availab
tooling/hcpctl/pkg/snapshot/queries.go:760
↓ 5 callersFunctionsanitizePath
sanitizePath replaces characters that are problematic in file paths.
tooling/hcpctl/pkg/snapshot/gatherer.go:1124
↓ 5 callersMethodsnapshot
snapshot returns the currently-registered sublisters under RLock. Callers iterate the snapshot without holding the lock so writers aren't blocked for
internal/database/unionlisters/kubeapplier/union_desire_lister.go:103
↓ 5 callersFunctionspecID
()
test/util/framework/identities_helper.go:1099
↓ 5 callersFunctiontestCRUDSuite
(ctx context.Context, t *testing.T, crudSuiteDir fs.FS, withMock bool)
test-integration/frontend/database_crud_test.go:110
↓ 5 callersFunctiontestLogger
()
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:46
↓ 5 callersFunctiontestLogger
testLogger creates a logger for tests
tooling/image-updater/internal/updater/updater_test.go:34
↓ 5 callersFunctiontestManagementCluster
(stampIdentifier string)
fleet/pkg/controllers/maestroregistration/controller_test.go:52
← previousnext →701–800 of 10,266, ranked by callers