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
↓ 4 callers
Method
WithAPIVersion
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 callers
Method
WithNamespace
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 callers
Function
WithScope
(scope bicepDeploymentScope)
test/util/framework/deployment_helper.go:120
↓ 4 callers
Method
WithSpec
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 callers
Function
WithTable
(table string)
tooling/hcpctl/pkg/kusto/query.go:147
↓ 4 callers
Function
WithTimeout
(timeout time.Duration)
test/util/framework/deployment_helper.go:138
↓ 4 callers
Method
addResource
addResource adds a single resource to the mockResourcesDBClient.
internal/databasetesting/mock_init.go:52
↓ 4 callers
Function
assertSyncResult
assertSyncResult is a helper function that validates the result of SyncOnce
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1471
↓ 4 callers
Method
cachedBinaryPath
(spec BinarySpec)
tooling/hcpctl/pkg/binresolver/resolver.go:471
↓ 4 callers
Function
cloneResourceSKUSlice
(skus []*armcompute.ResourceSKU)
test/util/framework/vm_sku_selection.go:204
↓ 4 callers
Function
collectFromIterator
collectFromIterator drains a database.DBClientIterator into a slice and propagates any iterator-level error.
internal/database/listertesting/db_listers.go:30
↓ 4 callers
Function
collectMetrics
(c *Collector)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:77
↓ 4 callers
Function
compareActions
()
sessiongate/pkg/controller/sessioncontroller_test.go:1112
↓ 4 callers
Function
compareRevisions
(a, b string)
tooling/templatize/pkg/istio/decide.go:137
↓ 4 callers
Function
conditionFalse
(condType string)
fleet/pkg/controllers/lifecycle/controller_test.go:77
↓ 4 callers
Function
configPath
(dir, cloud, environment, region string)
tooling/templatize/cmd/configuration/validate/options.go:641
↓ 4 callers
Function
configString
(val any)
tooling/templatize/pkg/pipeline/istio.go:30
↓ 4 callers
Function
convertNodePoolStatus
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 callers
Method
convertRows
(ctx context.Context, rowChannel <-chan kusto.TaggedRow, outPutChannel chan<- *NormalizedLogLine)
tooling/hcpctl/pkg/mustgather/gather.go:627
↓ 4 callers
Function
cosmosDataFor
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 callers
Function
createArbitraryResource
(ctx context.Context, dynamicClient dynamic.Interface, namespace string, resourceBytes []byte)
test/util/verifiers/helper.go:30
↓ 4 callers
Function
createTestMetric
(fqdn string)
tooling/aro-hcp-exporter/pkg/cache/cache_test.go:25
↓ 4 callers
Function
credentialSecretNameForSession
(session *sessiongatev1alpha1.Session)
sessiongate/pkg/controller/credssecret.go:42
↓ 4 callers
Function
downloadObject
(ctx context.Context, gcsClient *storage.Client, path string)
tooling/hcpctl/pkg/snapshot/prow.go:645
↓ 4 callers
Function
execCommandWithKubeconfig
execCommandWithKubeconfig executes a command with a specific kubeconfig
tooling/hcpctl/internal/e2e/e2e.go:102
↓ 4 callers
Function
extractRawField
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 callers
Function
extractStringField
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 callers
Function
fakeDeploymentOp
(provOp, duration string, resourceID *string)
tooling/templatize/pkg/pipeline/arm_operations_test.go:82
↓ 4 callers
Function
fakeDynamic
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 callers
Function
fakeOCMNotFoundError
()
backend/pkg/controllers/nodepoolcreationcontrollers/node_pool_cluster_service_create_controller_test.go:286
↓ 4 callers
Function
fakeOperationsResponse
(t *testing.T, ops ...armresources.DeploymentOperation)
tooling/templatize/pkg/pipeline/arm_operations_test.go:73
↓ 4 callers
Function
fastTestsOnly
(query string)
test/cmd/aro-hcp-tests/main.go:46
↓ 4 callers
Function
fetchOperationsFor
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 callers
Function
findClusterDesireInAnyClient
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 callers
Method
findManagedResourceGroups
(ctx context.Context, ResourceGroupName string)
test/util/framework/per_test_framework.go:448
↓ 4 callers
Function
formatValue
formatValue formats a value for display in commit message
tooling/hcpctl/cmd/datadump-to-git/cmd.go:713
↓ 4 callers
Function
frontendAddress
frontendAddress returns the value of FRONTEND_ADDRESS environment variable
test/util/framework/per_invocation_framework.go:382
↓ 4 callers
Function
get
(ctx context.Context, containerClient *azcosmos.ContainerClient, partitionKeyString string, completeResourceID
internal/database/crud_helpers.go:82
↓ 4 callers
Function
getAroHCPProvisionShardClient
(id InternalID, transport http.RoundTripper)
internal/ocm/internalid.go:115
↓ 4 callers
Function
getInputValues
(serviceGroup string, configuredVariables []types.Variable, cfg configtypes.Configuration, inputs Outputs)
tooling/templatize/pkg/pipeline/run.go:873
↓ 4 callers
Method
getLeasedIdentityPoolState
()
test/util/framework/per_invocation_framework.go:291
↓ 4 callers
Function
getMetricHash
(metric prometheus.Metric)
tooling/aro-hcp-exporter/pkg/cache/cache.go:46
↓ 4 callers
Method
handleRequest
MiddlewareAudit writes audit messages upon receiving a request.
frontend/pkg/frontend/middleware_audit.go:44
↓ 4 callers
Method
handleTransientError
transient errors can be retried by requeuing with rate limiting.
sessiongate/pkg/controller/sessioncontroller.go:385
↓ 4 callers
Function
hasClusterIdentityToSet
(src *arm.ManagedServiceIdentity)
internal/conversion/readonly_cluster.go:72
↓ 4 callers
Function
hostedClusterToHCPInfo
hostedClusterToHCPInfo converts a HostedCluster typed object to HCPInfo
tooling/hcpctl/pkg/hcp/discovery.go:168
↓ 4 callers
Function
injectETag
injectETag injects a new etag into the document JSON
internal/databasetesting/mock_resources_crud.go:127
↓ 4 callers
Function
injectNamespaceFilter
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 callers
Function
intPtr
(v int)
test/cmd/aro-hcp-tests/slot-manager/slots/generate_boskos_test.go:151
↓ 4 callers
Function
isIgnorableResourceGroupCleanupError
(err error)
test/util/framework/per_test_framework.go:308
↓ 4 callers
Function
isResponseError
(err error, statusCode int)
internal/database/database.go:44
↓ 4 callers
Function
keyFor
keyFor returns the typed key the controller uses for a given ReadDesire.
kube-applier/pkg/controllers/read_desire_manager/controller_test.go:72
↓ 4 callers
Function
leafTypeName
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 callers
Function
list
(ctx context.Context, containerClient *azcosmos.ContainerClient, partitionKeyString string, resourceType *azco
internal/database/crud_helpers.go:91
↓ 4 callers
Method
listWithPrefix
(ctx context.Context, prefix string)
backend/pkg/listertesting/db_listers.go:281
↓ 4 callers
Function
loadCatalogFromYAML
(t *testing.T, catalogYAML string)
test/cmd/aro-hcp-tests/slot-manager/slots/catalog_test.go:53
↓ 4 callers
Function
loadCosmosResource
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 callers
Function
loadDesires
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 callers
Function
loadIdentityPools
(ctx context.Context, catalogPath, environment string, resolveSubscriptionID subscriptionIDResolverFunc)
test/cmd/aro-hcp-tests/slot-manager/identity-pool/pools.go:38
↓ 4 callers
Function
logPodEvent
logPodEvent logs a pod event with structured key-value pairs including the full pod object.
mgmt-agent/pkg/controller/podwatcher.go:158
↓ 4 callers
Function
lookupTag
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 callers
Function
migrateDesireDocuments
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 callers
Function
mustNewInternalID
(t *testing.T, path string)
admin/server/handlers/stamp/managementcluster_test.go:47
↓ 4 callers
Function
mustParseResourceID
(sub, rg, name string)
test/cmd/aro-hcp-tests/gather-observability/workspace_test.go:24
↓ 4 callers
Function
mustParseResourceID
(t *testing.T, rawID string)
internal/database/crud_fleet_test.go:69
↓ 4 callers
Function
needToPatchOperation
(oldOperation *api.Operation, newOperationStatus arm.ProvisioningState, newOperationError *arm.CloudErrorBody)
backend/pkg/controllers/operationcontrollers/utils.go:282
↓ 4 callers
Function
nestedResourceType
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 callers
Function
newApplyDesire
--- ApplyDesire fixtures ------------------------------------------------
internal/database/unionlisters/kubeapplier/union_listers_test.go:61
↓ 4 callers
Function
newApplyDesire
(t *testing.T, idStr string, mgmt *azcorearm.ResourceID)
internal/database/listertesting/slice_listers_test.go:128
↓ 4 callers
Function
newBaselineInternalNodePool
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 callers
Function
newBaselineInternalNodePool
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 callers
Function
newCadenceController
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 callers
Function
newClusterApplyDesire
(t *testing.T)
internal/databasetesting/mock_kube_applier_client_test.go:57
↓ 4 callers
Function
newConfigMap
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 callers
Function
newExpiringWatcher
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 callers
Function
newExternalAuthTestFixture
()
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:274
↓ 4 callers
Function
newMiddlewareValidatedAPIVersion
(apiRegistry api.APIRegistry)
frontend/pkg/frontend/middleware_validateapi.go:32
↓ 4 callers
Function
newNodePoolTestFixture
()
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:144
↓ 4 callers
Function
newReadDesire
(t *testing.T, target kubeapplier.ResourceReference)
kube-applier/pkg/controllers/read_desire_manager/controller_test.go:55
↓ 4 callers
Function
newSubscriptionKeyWrapper
(delegate controllerutils.Controller)
test-integration/backend/controllers/mismatches/delete_orphaned_cosmos_test.go:167
↓ 4 callers
Function
newTestController
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 callers
Function
newTestExternalAuthWithOldDeletionApproach
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 callers
Function
newTestNodePoolController
(t *testing.T, name string)
backend/pkg/controllers/nodepooldeletion/node_pool_child_resources_cleanup_controller_test.go:54
↓ 4 callers
Function
newTestNodePoolWithOldDeletionApproach
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 callers
Function
nodeReady
nodeReady returns true if the node has NodeReady condition status True.
test/util/verifiers/nodes.go:316
↓ 4 callers
Function
parameterizeImageComponents
parameterizeImageComponents applies the appropriate parameterization based on config with optional suffix
tooling/olm-bundle-repkg/internal/customize/utils.go:170
↓ 4 callers
Function
parseEnvConfig
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 callers
Function
populateDateTimeRFC3339
(m map[string]any, k string, t *time.Time)
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/time_rfc3339.go:88
↓ 4 callers
Function
prettyJSON
(v any)
test-integration/kube-applier/framework/step_desire_eventually.go:158
↓ 4 callers
Method
refresh
(ctx context.Context)
frontend/pkg/metrics/metrics.go:120
↓ 4 callers
Function
resolveClusterLinks
resolveClusterLinks replaces link objects with full objects that are necessary to fully construct an HCPOpenShiftCluster model.
internal/ocm/client.go:184
↓ 4 callers
Function
resolveInput
(serviceGroup string, input types.Input, outputs Outputs)
tooling/templatize/pkg/pipeline/run.go:895
↓ 4 callers
Function
resolveNodePoolLinks
resolveNodePoolLinks replaces link objects with full objects that are necessary to fully construct an HCPOpenShiftClusterNodePool model.
internal/ocm/client.go:208
↓ 4 callers
Function
resourceIDToPath
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 callers
Function
resourceIDToString
(id *azcorearm.ResourceID)
internal/serverutils/dump_data.go:176
↓ 4 callers
Function
retryOnTransientError
(ctx context.Context, f func() (T, error))
test/util/framework/version_helper.go:53
↓ 4 callers
Function
rollbackAndReturn
(ctx context.Context, logger logr.Logger, kubeClient kubernetes.Interface, opts UpgradeOptions, previousRevisi
tooling/templatize/pkg/istio/upgrade.go:262
↓ 4 callers
Method
run
(ctx context.Context)
tooling/hcpctl/cmd/snapshot/analyze_cmd.go:257
↓ 4 callers
Function
runShellStep
(id graph.Identifier, s *types.ShellStep, ctx context.Context, azureConfigDir, kubeconfigFile string, options
tooling/templatize/pkg/pipeline/shell.go:57
↓ 4 callers
Function
saNameOrDefault
(saName string)
tooling/olm-bundle-repkg/internal/rukpak/convert/registryv1.go:181
← previous
next →
901–1,000 of 10,266, ranked by callers