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
↓ 8 callers
Method
queryAndWriteToFile
(ctx context.Context, queries []kusto.Query)
tooling/hcpctl/pkg/mustgather/gather.go:597
↓ 8 callers
Function
stringPtr
(s string)
backend/pkg/controllers/clusterpropertiescontroller/identity_migration_test.go:308
↓ 8 callers
Function
testCosmosClusterWithWorkersNodePoolAtVersion
testCosmosClusterWithWorkersNodePoolAtVersion returns a cluster and workers node pool for the subscription, resource group, and cluster name shared by
backend/pkg/controllers/upgradecontrollers/control_plane_desired_version_controller_test.go:601
↓ 8 callers
Function
testManagementCluster
(stampIdentifier string, conditions ...metav1.Condition)
fleet/pkg/controllers/lifecycle/controller_test.go:33
↓ 8 callers
Function
testStamp
(identifier string, approved bool)
fleet/pkg/controllers/clustersserviceregistration/controller_test.go:42
↓ 8 callers
Function
waitUntil
(t *testing.T, ctx context.Context, what string, cond func() bool)
internal/database/unioninformers/kubeapplier/controller_test.go:581
↓ 8 callers
Function
writeYAML
(t *testing.T, path string, v any)
test/util/timing/timewindow_test.go:40
↓ 7 callers
Function
Acquire
(ctx context.Context, opts *RawAcquireOptions)
test/cmd/aro-hcp-tests/slot-manager/acquire.go:160
↓ 7 callers
Method
ActiveOperations
()
backend/pkg/informers/types.go:32
↓ 7 callers
Method
Apply
(ctx context.Context, session *applyconfigurationsessiongatev1alpha1.SessionApplyConfiguration, opts v1.ApplyO
sessiongate/pkg/generated/clientset/versioned/typed/sessiongate/v1alpha1/session.go:49
↓ 7 callers
Method
BillingDocs
(subscriptionID string)
internal/databasetesting/mock_billing_db_client.go:81
↓ 7 callers
Method
CandidatePools
(environment string, allowedSubscriptions, allowedLocations sets.Set[string], selectedLocation string)
test/cmd/aro-hcp-tests/slot-manager/slots/catalog.go:268
↓ 7 callers
Function
CreateRevisionConfigMap
(ctx context.Context, client kubernetes.Interface, revision string)
tooling/templatize/pkg/istio/configmap.go:52
↓ 7 callers
Function
DefaultOpenshiftChannelGroup
()
test/util/framework/deployment_params.go:185
↓ 7 callers
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
backend/pkg/maestro/mock_maestro_client.go:157
↓ 7 callers
Method
EffectiveRegionMode
()
test/cmd/aro-hcp-tests/slot-manager/slots/catalog.go:382
↓ 7 callers
Method
ForResource
ForResource gives generic access to a shared informer of the matching type.
sessiongate/pkg/generated/informers/externalversions/factory.go:250
↓ 7 callers
Method
Gather
Gather runs the full diagnostic data gathering pipeline for a resource group and writes structured output to outputDir. It runs discovery queries once
tooling/hcpctl/pkg/snapshot/gatherer.go:208
↓ 7 callers
Method
Get
(ctx context.Context, subscriptionID, name string)
backend/pkg/listertesting/db_listers.go:141
↓ 7 callers
Function
GetNodePoolClient
GetNodePoolClient returns a arohcpv1alpha1 NodePoolClient from the InternalID. The transport is most likely to be a Connection object from the SDK.
internal/ocm/internalid.go:160
↓ 7 callers
Method
GetRegion
()
tooling/templatize/pkg/pipeline/executiontarget.go:90
↓ 7 callers
Method
GetRegisteredFeatures
GetRegisteredFeatures safely returns the RegisteredFeatures from the subscription, returning an empty slice if Properties or RegisteredFeatures is nil
internal/api/arm/subscription.go:73
↓ 7 callers
Method
GetStampIdentifier
()
fleet/pkg/controllers/base/stamp_watching_controller.go:47
↓ 7 callers
Method
GetToken
(_ context.Context, _ policy.TokenRequestOptions)
tooling/templatize/pkg/pipeline/arm_operations_test.go:62
↓ 7 callers
Function
HealthCheck
(ctx context.Context, client kubernetes.Interface)
tooling/templatize/pkg/istio/health.go:48
↓ 7 callers
Method
Kind
Kind returns the kind of resource described by InternalID, currently limited to "Cluster" and "NodePool".
internal/api/types_internalid.go:171
↓ 7 callers
Method
List
(ctx context.Context)
backend/pkg/listertesting/db_listers.go:34
↓ 7 callers
Method
List
(ctx context.Context)
backend/pkg/listertesting/db_listers.go:133
↓ 7 callers
Method
ListControlPlaneUpgradePolicies
ListControlPlaneUpgradePolicies prepares a GET request to list control plane upgrade policies for a cluster. Call Items() on the returned iterator in
internal/ocm/client.go:140
↓ 7 callers
Method
ListNodePoolUpgradePolicies
ListNodePoolUpgradePolicies prepares a GET request to list node pool upgrade policies for a node pool. Call Items() on the returned iterator in a for/
internal/ocm/client.go:165
↓ 7 callers
Function
Must
Must is a generic function that takes a value of type T and an error. If the error is not nil, it panics with the error. Otherwise, it returns the val
test/util/framework/per_invocation_framework.go:417
↓ 7 callers
Method
Name
Name returns the name of the validation.
backend/pkg/controllers/validationcontrollers/validations/cluster_validation.go:27
↓ 7 callers
Function
NewEditor
NewEditor creates a new YAML editor for the specified file
tooling/image-updater/internal/yaml/editor.go:54
↓ 7 callers
Function
NewFrontend
( logger logr.Logger, listener net.Listener, metricsListener net.Listener, registerer prometheus.Registere
frontend/pkg/frontend/frontend.go:84
↓ 7 callers
Method
NewListByParentPager
NewListByParentPager - List NodePool resources by HcpOpenShiftCluster Generated from API version 2024-06-10-preview - resourceGroupName - The name of
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/nodepools_client.go:286
↓ 7 callers
Function
NormalizeArchitecture
NormalizeArchitecture converts x86_64 to amd64 for consistent comparison
tooling/image-updater/internal/clients/common.go:58
↓ 7 callers
Method
QueueForInformersWithMaxDepth
QueueForInformersWithMaxDepth adds event handlers to the notifiers for the controller with a given max depth. maxDepth is the maximum number of parent
backend/pkg/controllers/controllerutils/generic_watching_controller.go:159
↓ 7 callers
Method
ReadCertificate
ReadCertificate returns the cached certificate.
internal/certificate/watching_azure_identity_file_reader.go:71
↓ 7 callers
Method
ReadDesiresForCluster
ReadDesiresForCluster returns a CRUD scoped to a cluster parent.
internal/database/kube_applier_client.go:81
↓ 7 callers
Method
Register
(version Version)
internal/api/registry.go:141
↓ 7 callers
Method
Replace
(ctx context.Context, desired *T)
kube-applier/pkg/controllers/desirestatuswriter/desirestatuswriter.go:57
↓ 7 callers
Method
Run
Run starts watching the certificate file for changes. When changes are detected, the reload callback is invoked. Watching continues until the context
internal/certificate/watching_azure_identity_file_reader.go:61
↓ 7 callers
Method
SetClock
SetClock substitutes the time source used to evaluate the cooldown. Intended for tests; production code should use the real clock from the constructor
internal/controllerutils/cooldown.go:74
↓ 7 callers
Method
UpdateProvisionShard
(ctx context.Context, internalID api.InternalID, builder *arohcpv1alpha1.ProvisionShardBuilder)
fleet/pkg/controllers/clustersserviceregistration/controller.go:44
↓ 7 callers
Function
VerifyUpgrade
(ctx context.Context, client kubernetes.Interface, targetRevision, tag string)
tooling/templatize/pkg/istio/health.go:96
↓ 7 callers
Function
WithDeploymentName
(name string)
test/util/framework/deployment_helper.go:114
↓ 7 callers
Function
WithParameters
(parameters map[string]interface{})
test/util/framework/deployment_helper.go:132
↓ 7 callers
Function
buildContainerStateMap
buildContainerStateMap builds a map of container name to state type string ("waiting", "running", "terminated", or "unknown") from a slice of Containe
mgmt-agent/pkg/controller/podwatcher.go:134
↓ 7 callers
Function
checkOperationResult
checkOperationResult ensures the result model returned by a runtime.Poller matches the resource model returned from a GET request.
test/util/framework/hcp_helper.go:62
↓ 7 callers
Function
conditionStatusPtr
(s metav1.ConditionStatus)
fleet/pkg/controllers/lifecycle/controller_test.go:260
↓ 7 callers
Function
conditionTrue
(condType string)
fleet/pkg/controllers/lifecycle/controller_test.go:69
↓ 7 callers
Function
createMinimalExternalAuth
()
internal/validation/validate_externalauth_comprehensive_test.go:818
↓ 7 callers
Function
dataPointTimestamp
(d opts.LineData)
test/cmd/aro-hcp-tests/gather-observability/chart.go:377
↓ 7 callers
Method
deleteOrphanedManagedResourceGroup
deleteOrphanedManagedResourceGroup attempts to delete an orphaned managed resource group. It first checks the current state and only initiates deletio
backend/pkg/controllers/clean_orphaned_cluster_managed_resource_group_controller.go:150
↓ 7 callers
Function
expectedBackendClusterVersionInfoMetricHeader
()
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:47
↓ 7 callers
Function
extractTarGz
(archivePath, binaryName, destPath string)
tooling/hcpctl/pkg/binresolver/resolver.go:264
↓ 7 callers
Method
getAdded
()
test-integration/frontend/informer_test.go:83
↓ 7 callers
Method
getDeleted
()
backend/pkg/informers/informers_test.go:98
↓ 7 callers
Function
labelTemplateToken
(label string)
tooling/prometheus-rules/internal/generator.go:44
↓ 7 callers
Function
listFromIndex
listFromIndex retrieves items from an indexer by index name and key, casting each to *T.
internal/database/listers/types.go:103
↓ 7 callers
Function
minimalValidConfig
minimalValidConfig returns a Config with all required fields and no optional ones.
tooling/tenant-quota/pkg/config/config_test.go:35
↓ 7 callers
Function
newApplyDesire
(t *testing.T, idStr string, mgmt *azcorearm.ResourceID)
internal/database/informers/informers_test.go:62
↓ 7 callers
Function
newGenericWatchingController
NewClusterWatchingController periodically looks up all clusters and queues them cooldownDuration is how long to wait before allowing a new notificatio
backend/pkg/controllers/controllerutils/generic_watching_controller.go:64
↓ 7 callers
Function
newMiddlewareValidateSubscriptionState
(resourcesDBClient database.ResourcesDBClient)
frontend/pkg/frontend/middleware_validatesubscription.go:38
↓ 7 callers
Function
newNoopAuditClient
The definitions in this file are meant for unit tests.
frontend/pkg/frontend/testhelpers.go:31
↓ 7 callers
Method
register
register associates a mock per-MC client with the given resourceID.
internal/database/unioninformers/kubeapplier/controller_test.go:139
↓ 7 callers
Function
registerInformer
(informer cache.SharedIndexInformer, keyFunc func(obj interface{}) (T, error), workQueue workqueue.TypedRateLi
sessiongate/pkg/controller/helpers.go:31
↓ 7 callers
Function
resolveValue
(v types.Value, cfg configtypes.Configuration, outputs Outputs, serviceGroup string)
tooling/templatize/pkg/pipeline/run.go:915
↓ 7 callers
Function
staticNow
(at time.Time)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1192
↓ 7 callers
Function
strPtr
(value string)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:427
↓ 7 callers
Function
testContext
(t *testing.T)
fleet/cmd/register/cmd_test.go:39
↓ 7 callers
Function
testMgmtClusterResourceID
()
backend/pkg/controllers/managementclustercontrollers/management_cluster_placement_sync_test.go:60
↓ 7 callers
Function
testQueryOptions
(subID, rg, infraCluster string)
tooling/hcpctl/pkg/mustgather/gather_test.go:93
↓ 7 callers
Function
unavailableAcquireReply
(resourceType string)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1077
↓ 7 callers
Function
validManagementCluster
(t *testing.T)
internal/validation/validate_management_cluster_test.go:31
↓ 6 callers
Function
AcquireLease
(ctx context.Context, leaseProxyServerURL, resourceType string, timeout time.Duration)
test/cmd/aro-hcp-tests/slot-manager/slots/leaseproxy.go:87
↓ 6 callers
Method
AddMetric
AddMetric adds a metric to the cache
tooling/aro-hcp-exporter/pkg/cache/cache.go:63
↓ 6 callers
Function
AnnotatedLocation
AnnotatedLocation can be used to provide more informative source code locations by passing the result as additional parameter to a BeforeEach/AfterEac
test/util/framework/per_invocation_framework.go:451
↓ 6 callers
Method
Applications
Applications provides operations to manage the collection of application entities. returns a *ApplicationsRequestBuilder when successful
internal/graph/graphsdk/graph_base_service_client.go:27
↓ 6 callers
Method
BeginRequestAdminCredential
BeginRequestAdminCredential - Request a temporary admin kubeconfig for the cluster If the operation fails it returns an *azcore.ResponseError type. G
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/hcpopenshiftclusters_client.go:389
↓ 6 callers
Method
BillingDocs
()
backend/pkg/informers/types.go:43
↓ 6 callers
Method
BindOptions
(cmd *cobra.Command)
admin/server/cmd/server/options.go:96
↓ 6 callers
Method
BuildMerged
BuildMerged constructs a single Query from a QueryDefinition by rendering all templates and joining them with newlines. This is useful for generating
tooling/hcpctl/pkg/kusto/query.go:322
↓ 6 callers
Method
ChartDirFromRoot
(topologyDir string)
tooling/helmtest/internal/type.go:52
↓ 6 callers
Method
Complete
()
tooling/templatize/cmd/options.go:76
↓ 6 callers
Method
CreateClusterCustomerResources20251223
(ctx context.Context, resourceGroup *armresources.ResourceGroup, clusterParams ClusterParams20251223, infra
test/util/framework/deployment_params.go:841
↓ 6 callers
Function
DefaultAcquireOptions
()
test/cmd/aro-hcp-tests/slot-manager/acquire.go:38
↓ 6 callers
Function
DegradedControllerPanicHandler
(ctx context.Context, controllerCRUD database.ResourceCRUD[api.Controller, *api.Controller], controllerName st
backend/pkg/controllers/controllerutils/util.go:214
↓ 6 callers
Method
Delete
Delete permanently removes all session data.
tooling/hcpctl/pkg/agent/provider.go:62
↓ 6 callers
Method
Enabled
Enabled checks if logging is enabled for any sink
tooling/templatize/pkg/pipeline/run.go:959
↓ 6 callers
Method
EnvironmentNames
()
test/cmd/aro-hcp-tests/slot-manager/slots/catalog.go:213
↓ 6 callers
Function
ExecuteRestartAllNamespaces
(ctx context.Context, client kubernetes.Interface, targetRevision string)
tooling/templatize/pkg/istio/workloads.go:233
↓ 6 callers
Method
Get
(ctx context.Context, subscriptionID, resourceGroupName, clusterName, nodePoolName string)
backend/pkg/listertesting/db_listers.go:69
↓ 6 callers
Method
Get
(ctx context.Context, subscriptionID string)
backend/pkg/listertesting/db_listers.go:354
↓ 6 callers
Method
GetARMComputeClientFactory
(ctx context.Context)
test/util/framework/per_test_framework.go:924
↓ 6 callers
Method
GetARMResourcesClientFactory
(ctx context.Context)
test/util/framework/per_test_framework.go:910
↓ 6 callers
Method
GetARMResourcesClientFactoryOrDie
(ctx context.Context)
test/util/framework/per_test_framework.go:828
↓ 6 callers
Method
GetBackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
internal/graph/graphsdk/models/implicit_grant_settings.go:31
↓ 6 callers
Method
GetBackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
internal/graph/graphsdk/models/redirect_uri_settings.go:31
↓ 6 callers
Method
GetBackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
internal/graph/graphsdk/models/odataerrors/error_details.go:31
← previous
next →
501–600 of 10,266, ranked by callers