Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure/ARO-HCP
/ functions
Functions
10,266 in github.com/Azure/ARO-HCP
⨍
Functions
10,266
◇
Types & classes
2,908
↓ 2 callers
Function
dsn
dsn builds a lib/pq keyword/value connection string, escaping each value.
dev-infrastructure/scripts/postgres-access/main.go:351
↓ 2 callers
Function
dynamicForTestdata
dynamicForTestdata builds a dynamic.Interface backed by library-go's manifestclient over the named testdata directory. The manifestclient uses its emb
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:108
↓ 2 callers
Method
enqueue
enqueue extracts the StampKey and adds it to the workqueue. When changed is true, the key is enqueued immediately. Otherwise, the cooldown gate decide
fleet/pkg/controllers/base/stamp_watching_controller.go:193
↓ 2 callers
Method
enqueueCosmosAddWithMaxDepth
(newObj any, maxDepth int)
backend/pkg/controllers/controllerutils/generic_watching_controller.go:233
↓ 2 callers
Method
ensureConsumer
ensureConsumer creates the Maestro consumer if it does not already exist.
fleet/pkg/controllers/maestroregistration/controller.go:110
↓ 2 callers
Function
ensureDefaults
ensureDefaults ensures that all required fields in the Record are set to default values if they are empty or invalid. It modifies the Record in place
internal/audit/otel-audit.go:193
↓ 2 callers
Function
ensureResourceGroupExists
(ctx context.Context, resourceGroupClient *armresources.ResourceGroupsClient, region, rgName string, persist b
tooling/templatize/pkg/pipeline/arm.go:337
↓ 2 callers
Function
envOrDefault
(key, defaultValue string)
tooling/tenant-quota/main.go:155
↓ 2 callers
Function
envOrDefault
(key, defaultVal string)
tooling/secret-sync/decrypt_integration_test.go:98
↓ 2 callers
Function
equalSpanAttributes
equalSpanAttributes ensures that the span's attributes are strictly equal to the expected map.
frontend/pkg/frontend/middleware_tracing_test.go:115
↓ 2 callers
Function
escapeDSNValue
escapeDSNValue quotes a lib/pq connection-string value when needed.
dev-infrastructure/scripts/postgres-access/main.go:368
↓ 2 callers
Function
execStatements
execStatements opens a single connection to the given database and runs the statements in order, failing on the first error (equivalent to psql's ON_E
dev-infrastructure/scripts/postgres-access/main.go:332
↓ 2 callers
Method
executeQuery
executeQuery renders and executes a single query spec, writes a combined output file (<queryName>.md), and returns the result rows for dependency reso
tooling/hcpctl/pkg/snapshot/gatherer.go:877
↓ 2 callers
Function
executeRestart
(ctx context.Context, client kubernetes.Interface, namespace, targetRevision string)
tooling/templatize/pkg/istio/workloads.go:341
↓ 2 callers
Function
extendConfigWithPatterns
(config *schema.SchemaJson, allMatches map[string]string)
tooling/hcpctl/cmd/must-gather/clean_cmd.go:135
↓ 2 callers
Function
externalAuthMatchesCluster
externalAuthMatchesCluster checks if an external auth's resource ID belongs to the given cluster. External auths are child resources of clusters, so w
backend/pkg/listertesting/helpers.go:34
↓ 2 callers
Function
extractChartBody
extractChartBody strips the outer HTML/head/body tags from go-echarts output and returns just the inner content (chart div, script, style).
test/cmd/aro-hcp-tests/gather-observability/chart.go:254
↓ 2 callers
Function
extractEnvVarAffix
extractEnvVarSuffix extracts the suffix from an environment variable name by removing the matching prefix
tooling/olm-bundle-repkg/internal/customize/customize.go:167
↓ 2 callers
Function
extractResourceIDSegmentValue
(resourceID, key string)
tooling/cleanup-sweeper/pkg/engine/steps/dns/dns_step.go:358
↓ 2 callers
Function
extractVersion
extractVersion extracts the "major.minor" version string from a repository name. For example, given prefix "acm-operator-bundle-acm-" and repo ".../ac
tooling/image-updater/internal/upgrade/upgrade.go:262
↓ 2 callers
Function
extractZip
(archivePath, binaryName, destPath string)
tooling/hcpctl/pkg/binresolver/resolver.go:295
↓ 2 callers
Function
fakeResolver
(ids map[string]string)
test/cmd/aro-hcp-tests/slot-manager/identity-pool/pools_test.go:25
↓ 2 callers
Function
featuresMap
(features *[]arm.Feature)
frontend/pkg/frontend/frontend.go:1081
↓ 2 callers
Method
fetchQuotaFromAPI
(ctx context.Context, token string, tenant config.TenantConfig)
tooling/tenant-quota/pkg/tenantquota/quota.go:76
↓ 2 callers
Function
filterResourceGroupsByLocation
filterResourceGroupsByLocation filters a list of resource group names according to include/exclude location sets, and logs any skipped resource groups
test/util/cleanup/resourcegroups/run.go:123
↓ 2 callers
Function
findAncestorOfType
findAncestorOfType walks parent pointers up from id and returns the first ancestor whose ResourceType matches target (compared case-insensitively on b
internal/database/informers/index_funcs.go:100
↓ 2 callers
Function
findArtifactDir
findArtifactDir lists subdirectories under artifacts/ and returns the one whose name is a suffix of the job name. Longest match wins.
tooling/hcpctl/pkg/snapshot/prow.go:590
↓ 2 callers
Function
findBackendLogs
findBackendLogs finds all backend log files in a directory
tooling/hcpctl/cmd/datadump-to-git/options.go:182
↓ 2 callers
Function
findChanges
findChanges recursively finds differences between two JSON objects
tooling/hcpctl/cmd/datadump-to-git/cmd.go:603
↓ 2 callers
Function
findCommonLabels
findCommonLabels returns label keys whose values are identical across all series.
test/cmd/aro-hcp-tests/gather-observability/chart.go:265
↓ 2 callers
Function
findCond
(conds []metav1.Condition, t string)
kube-applier/pkg/controllers/read_desire_kubernetes/controller_test.go:260
↓ 2 callers
Function
findHCPInfoByPredicate
(ctx context.Context, items []hypershiftv1beta1.HostedCluster, predicate func(HCPInfo) bool)
tooling/hcpctl/pkg/hcp/discovery.go:138
↓ 2 callers
Function
firstN
(str string, n int)
internal/azsdk/clientoptions.go:69
↓ 2 callers
Function
fixtureApplyDesire
fixtureApplyDesire builds a populated ApplyDesire whose JSON form exercises every nontrivial field, so deep-copy and round-trip tests can compare byte
internal/api/kubeapplier/types_runtime_test.go:44
↓ 2 callers
Function
fixtureMgmtClusterID
fixtureMgmtClusterID is the parsed-once test management cluster resourceID (stamp "1", management cluster "mgmt-1"). The fixtures below use it for Spe
internal/api/kubeapplier/types_runtime_test.go:33
↓ 2 callers
Function
fixtureReadDesire
(t *testing.T)
internal/api/kubeapplier/types_runtime_test.go:71
↓ 2 callers
Function
generate
(ctx context.Context, opts *RawGenerationOptions)
tooling/templatize/cmd/generate/cmd.go:40
↓ 2 callers
Function
generateCSRWithRngSource
generateCSRWithReader generates a certificate signing request using the provided random reader
tooling/hcpctl/pkg/breakglass/certs/generator.go:47
↓ 2 callers
Method
generateLabels
generateLabels generates labels for the CSR and approval resources
tooling/hcpctl/pkg/breakglass/minting/minting.go:119
↓ 2 callers
Function
generateName
(base string, o interface{})
tooling/olm-bundle-repkg/internal/rukpak/convert/registryv1.go:346
↓ 2 callers
Function
getAPIServiceCondition
(conditions []apiregistrationv1.APIServiceCondition, name string)
test/util/verifiers/apiservice.go:128
↓ 2 callers
Method
getARMResourcesClientFactoryUnlocked
(ctx context.Context)
test/util/framework/per_test_framework.go:938
↓ 2 callers
Method
getARMSubscriptionsClientFactoryUnlocked
()
test/util/framework/per_test_framework.go:854
↓ 2 callers
Function
getArtifactDir
()
test-integration/utils/integrationutils/utils.go:88
↓ 2 callers
Method
getClusterID
(ctx context.Context, namespace string)
tooling/hcpctl/pkg/crdump/lister.go:179
↓ 2 callers
Function
getDeterministicSuffixForSession
(namespace, name string)
sessiongate/pkg/controller/helpers.go:130
↓ 2 callers
Function
getEnvDuration
(key string, defaultDuration time.Duration)
admin/server/cmd/server/options.go:116
↓ 2 callers
Function
getExistingReadDesire
getExistingReadDesire returns the named ReadDesire from cosmos, or nil when the document doesn't exist. Non-NotFound errors are propagated.
backend/pkg/controllers/create_cluster_scoped_read_desires_controller.go:226
↓ 2 callers
Function
getGitDiff
(ctx context.Context, path string, mergeBase string)
tooling/templatize/cmd/pipeline/validate/options.go:597
↓ 2 callers
Function
getGitRoot
(ctx context.Context, path string)
tooling/templatize/cmd/pipeline/validate/options.go:588
↓ 2 callers
Method
getInternalExternalAuthFromStorage
(ctx context.Context, resourceID *azcorearm.ResourceID)
frontend/pkg/frontend/external_auth.go:654
↓ 2 callers
Method
getInternalNodePoolFromStorage
(ctx context.Context, resourceID *azcorearm.ResourceID)
frontend/pkg/frontend/node_pool.go:807
↓ 2 callers
Method
getLeasedIdentityContainers
getLeasedIdentityContainers returns the list of resource groups that are currently leased to the caller.
test/util/framework/identities_helper.go:983
↓ 2 callers
Function
getOrCreateControllerDocument
getOrCreateControllerDocument returns the controller document from Cosmos, creating it with initialControllerFn if missing. On create conflict (HTTP 4
backend/pkg/controllers/controllerutils/util.go:253
↓ 2 callers
Method
getSessionsByManagementCluster
(mgmtClusterResourceID string)
sessiongate/pkg/controller/sessioncontroller.go:790
↓ 2 callers
Function
guid
guid generates a deterministic UUID for Azure resource names. This matches the pattern used in Bicep: guid(scope, principal, role). Uses UUID v5 (SHA-
test/util/framework/identities_helper.go:1405
↓ 2 callers
Method
handleAdd
handleAdd queues every observed Add unconditionally. A new ApplyDesire has never been reconciled, so the cooldown gate has nothing to compare against;
kube-applier/pkg/controllers/apply_desire/controller.go:218
↓ 2 callers
Function
hasAsyncOperations
hasAsyncOperations returns true if the resource type uses async operations. Action-style sub-resources like requestadmincredential, revokecredentials,
tooling/hcpctl/pkg/snapshot/queries.go:191
↓ 2 callers
Function
hasTemplateResources
(template any)
tooling/templatize/pkg/pipeline/bicep.go:93
↓ 2 callers
Method
hashFile
hashFile computes the SHA256 hash of a file's contents
internal/utils/fswatcher.go:92
↓ 2 callers
Function
hostedClusterNamespace
hostedClusterNamespace returns the management-cluster namespace that hosts a given HCP's HostedCluster / NodePool objects. Cluster Service names it "o
backend/pkg/controllers/cs_maestro_utils.go:23
↓ 2 callers
Function
hostedClusterReadDesireResourceID
hostedClusterReadDesireResourceID returns the resource ID for the readonly HostedCluster ReadDesire associated with the test cluster. The slice lister
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:164
↓ 2 callers
Function
hostedControlPlaneIndexKey
(mgmtClusterResourceID, hostedControlPlaneNamespace string)
sessiongate/pkg/controller/sessioncontroller.go:56
↓ 2 callers
Method
httpClient
()
tooling/hcpctl/pkg/binresolver/github.go:45
↓ 2 callers
Function
incrementMinorVersion
incrementMinorVersion takes a "major.minor" version string and returns the next minor version. For example, "2.16" returns "2.17".
tooling/image-updater/internal/upgrade/upgrade.go:287
↓ 2 callers
Method
init
(functions ...MiddlewareFunc)
frontend/pkg/frontend/middleware.go:39
↓ 2 callers
Method
init
(functions ...MiddlewareFunc)
admin/server/middleware/middleware.go:39
↓ 2 callers
Function
insertGapMarkers
insertGapMarkers inserts null data points where the time between consecutive points is much larger than the typical interval, causing ECharts to break
test/cmd/aro-hcp-tests/gather-observability/chart.go:349
↓ 2 callers
Function
inspectVars
(subscriptions map[string]string)
tooling/templatize/pkg/pipeline/inspect.go:73
↓ 2 callers
Function
installHandler
installHandler picks the right cache.SharedIndexInformer.AddEventHandler* overload based on what the entry carries: explicit options take precedence,
internal/database/unioninformers/kubeapplier/desire_informer.go:292
↓ 2 callers
Method
invalidateCredentials
(secretName string, cacheKeys []string)
tooling/tenant-quota/pkg/credentials/provider.go:156
↓ 2 callers
Function
invocationContext
InvocationContext requires the following env vars CUSTOMER_SUBSCRIPTION AZURE_TENANT_ID AZURE_CLIENT_ID AZURE_CLIENT_SECRET
test/util/framework/per_invocation_framework.go:99
↓ 2 callers
Method
isAlwaysRequiredForOpenshiftVersion
isAlwaysRequiredForOpenshiftVersion returns true if the operator identity is always required for the given OpenShift version. The meaning of always re
internal/azure/cluster_scoped_identities_config.go:291
↓ 2 callers
Function
isCSRApproved
(csr *certificatesv1.CertificateSigningRequest)
sessiongate/pkg/controller/csr.go:38
↓ 2 callers
Method
isClusterCreateOrUpdateRequest
isClusterCreateOrUpdateRequest checks if the request is cluster create/update request where {hcpOpenShiftClusterName} cannot contain slashes.
test-integration/utils/integrationutils/frontend_testinfo.go:122
↓ 2 callers
Function
isDeployment
(obj unstructured.Unstructured)
tooling/olm-bundle-repkg/internal/customize/utils.go:72
↓ 2 callers
Function
isExpectedError
isExpectedError returns true if the error is expected in normal operation and should not be counted as a failure in error rate metrics.
backend/pkg/maestro/maestro_client_metrics.go:92
↓ 2 callers
Function
isKubeAPIServerAvailable
(hcp *hypershiftv1beta1.HostedControlPlane)
mgmt-agent/pkg/controller/ksmhcp/controller.go:307
↓ 2 callers
Function
isNamespaceScoped
(crd *apiextensionsv1.CustomResourceDefinition)
tooling/hcpctl/pkg/crdump/lister.go:214
↓ 2 callers
Function
isOperandImageEnvVar
(envVarName string, config *BundleConfig)
tooling/olm-bundle-repkg/internal/customize/customize.go:151
↓ 2 callers
Function
isOperatorDeployment
(obj unstructured.Unstructured, config *BundleConfig)
tooling/olm-bundle-repkg/internal/customize/utils.go:76
↓ 2 callers
Function
isResourceNotFoundError
(err error)
test/util/framework/serviceassociationlink_helper.go:183
↓ 2 callers
Function
isRetryableBootDiagnosticsError
isRetryableBootDiagnosticsError checks if the error is a 409 OperationNotAllowed
test/util/framework/vm_helper.go:162
↓ 2 callers
Function
jsonRoundTrip
jsonRoundTrip marshals then unmarshals v through encoding/json so that the resulting tree is built out of map[string]any / []any / float64 / string /
test-integration/kube-applier/framework/step_desire_eventually.go:149
↓ 2 callers
Function
kqlDatetime
kqlDatetime converts a time.Time to a KQL datetime string.
tooling/hcpctl/pkg/kusto/query.go:121
↓ 2 callers
Function
kqlEscStrList
kqlEscStrList escapes each element of a string slice as a KQL string literal and joins them with commas, suitable for use in has_any() or similar oper
tooling/hcpctl/pkg/kusto/query.go:112
↓ 2 callers
Function
kubeloginifyKubeconfig
kubeloginifyKubeconfig updates the kubeconfig to use our binary with kubelogin subcommand
tooling/hcpctl/pkg/aks/kubeconfig.go:101
↓ 2 callers
Method
labelsFromTextInConfiguredOrder
(text string)
tooling/prometheus-rules/internal/generator.go:338
↓ 2 callers
Function
latestTransitionTime
(sources []SourcedCondition)
backend/pkg/controllers/statuscontrollers/union_condition.go:156
↓ 2 callers
Function
leaseProxyResponseMessage
(status string, responseBody []byte)
test/cmd/aro-hcp-tests/slot-manager/slots/leaseproxy.go:254
↓ 2 callers
Function
lintMetrics
(t *testing.T, r prometheus.Gatherer)
frontend/pkg/frontend/frontend_test.go:897
↓ 2 callers
Method
listCRsForCRD
(ctx context.Context, crd *apiextensionsv1.CustomResourceDefinition, namespace, clusterID string)
tooling/hcpctl/pkg/crdump/lister.go:117
↓ 2 callers
Method
listInternal
(ctx context.Context, opts *database.DBClientListResourceDocsOptions, nonRecursive bool)
internal/databasetesting/mock_resources_crud.go:710
↓ 2 callers
Method
listInternal
(ctx context.Context, nonRecursive bool)
internal/databasetesting/mock_kube_applier_client.go:237
↓ 2 callers
Method
listMCCWithPrefix
(ctx context.Context, prefix string)
backend/pkg/listertesting/db_listers.go:324
↓ 2 callers
Function
listObjects
(ctx context.Context, gcsClient *storage.Client, prefix string)
tooling/hcpctl/pkg/snapshot/prow.go:624
↓ 2 callers
Method
listVirtualMachineResourceSKUs
listVirtualMachineResourceSKUs returns the Resource SKUs of type "virtualMachines" advertised in the given location.
test/util/framework/vm_sku_selection.go:161
↓ 2 callers
Function
loadExpectedResponse
loadExpectedResponse reads the expected response fixture file for a given scenario directory, operation type (get/list), and API version.
test-integration/frontend/version_compliance_test.go:229
↓ 2 callers
Function
loadMustGatherCleanConfig
(ctx context.Context, opts *CleanOptions)
tooling/hcpctl/cmd/must-gather/clean_cmd.go:153
↓ 2 callers
Function
loadQueriesConfig
()
test/cmd/aro-hcp-tests/gather-observability/promql.go:86
← previous
next →
1,801–1,900 of 10,266, ranked by callers