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
↓ 20 callers
Function
createServiceProviderNodePoolWithVersion
createServiceProviderNodePoolWithVersion creates a ServiceProviderNodePool with the given active version.
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1510
↓ 20 callers
Function
ctlMC
(rid *azcorearm.ResourceID)
internal/database/unioninformers/kubeapplier/controller_test.go:207
↓ 20 callers
Function
subscriptionIDMetricLabel
(resourceID *azcorearm.ResourceID)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:222
↓ 19 callers
Method
Add
Add registers a sublister under the given management cluster's resourceID. Calling Add a second time with the same resourceID replaces the previous su
internal/database/unionlisters/kubeapplier/union_desire_lister.go:80
↓ 19 callers
Method
Delete
(key string)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:38
↓ 19 callers
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/cincinnati/mock_client.go:82
↓ 19 callers
Method
GetCosmosUID
()
internal/api/arm/types_cosmosdata.go:126
↓ 19 callers
Method
GetExternalAuth
GetExternalAuth sends a GET request to fetch an external auth config from Cluster Service.
internal/ocm/client.go:99
↓ 19 callers
Method
MarshalJSON
MarshalJSON serializes RGDiscoveryRule using duration strings.
tooling/cleanup-sweeper/pkg/policy/policy.go:89
↓ 19 callers
Method
Path
Path returns the full API path of the resource.
internal/api/types_internalid.go:150
↓ 19 callers
Method
getAzureCredentials
()
test/util/framework/per_invocation_framework.go:123
↓ 19 callers
Function
newTestCluster
(t *testing.T, name string, state arm.ProvisioningState, createdAt *time.Time)
backend/pkg/controllers/metricscontrollers/resource_metrics_controller_test.go:36
↓ 19 callers
Function
newTestCluster
(hcpClusterName string, opts ...func(*api.HCPOpenShiftCluster))
backend/pkg/controllers/clusterpropertiescontroller/cluster_properties_test_helpers_test.go:88
↓ 19 callers
Function
newTestOperation
(t *testing.T, opName string, request api.OperationRequest, status arm.ProvisioningState, externalID string, s
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:138
↓ 19 callers
Function
okResponse
()
test/util/framework/azure_client_policies_test.go:62
↓ 19 callers
Function
postAsyncNotificationFn
(notificationClient *http.Client)
backend/pkg/controllers/operationcontrollers/utils.go:399
↓ 18 callers
Method
ApplyDesires
()
internal/database/informers/types.go:36
↓ 18 callers
Method
CanSync
(ctx context.Context, key any)
internal/controllerutils/cooldown.go:44
↓ 18 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
internal/api/arm/zz_generated.deepcopy.go:253
↓ 18 callers
Method
GetCluster
GetCluster sends a GET request to fetch a cluster from Cluster Service.
internal/ocm/client.go:47
↓ 18 callers
Method
GetNodePool
GetNodePool sends a GET request to fetch a node pool from Cluster Service.
internal/ocm/client.go:79
↓ 18 callers
Method
GetSubscriptionID
()
tooling/templatize/pkg/pipeline/executiontarget.go:88
↓ 18 callers
Method
List
(ctx context.Context, options *DBClientListResourceDocsOptions)
internal/database/global_lister.go:33
↓ 18 callers
Method
List
(ctx context.Context)
internal/database/unionlisters/kubeapplier/union_desire_lister.go:46
↓ 18 callers
Method
ManagementClusters
(stampIdentifier string)
internal/database/fleet_client.go:44
↓ 18 callers
Function
Must
Must is a helper function that takes a value and error, returns the value if no error occurred, or panics if an error occurred. This is useful for tes
internal/api/testhelpers.go:159
↓ 18 callers
Method
Stamps
()
internal/database/fleet_client.go:36
↓ 18 callers
Method
Stop
Stop shuts down the provider and releases all resources.
tooling/hcpctl/pkg/agent/provider.go:36
↓ 18 callers
Method
WithName
WithName adds a name to all sinks
tooling/templatize/pkg/pipeline/run.go:999
↓ 18 callers
Method
add
(req *http.Request, item *T)
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:56
↓ 18 callers
Method
add
(req *http.Request, item *T)
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:56
↓ 18 callers
Method
add
(req *http.Request, item *T)
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:56
↓ 18 callers
Method
add
(req *http.Request, item *T)
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:56
↓ 18 callers
Function
createHostedCluster
Helper functions to create test HostedCluster objects
tooling/hcpctl/pkg/hcp/discovery_test.go:29
↓ 18 callers
Method
get
(req *http.Request)
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:47
↓ 18 callers
Method
get
(req *http.Request)
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:47
↓ 18 callers
Method
get
(req *http.Request)
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:47
↓ 18 callers
Method
get
(req *http.Request)
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:47
↓ 18 callers
Function
getBaseCSClusterBuilder
(updating bool)
internal/ocm/convert_test.go:624
↓ 18 callers
Function
mustParseResourceID
(t *testing.T, id string)
backend/pkg/informers/informers_test.go:37
↓ 18 callers
Function
newTestSPC
(opts ...func(*api.ServiceProviderCluster))
backend/pkg/controllers/managementclustercontrollers/management_cluster_placement_sync_test.go:86
↓ 18 callers
Function
newTracker
()
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:36
↓ 18 callers
Function
newTracker
()
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:36
↓ 18 callers
Function
newTracker
()
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:36
↓ 18 callers
Function
newTracker
()
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/internal.go:36
↓ 18 callers
Function
strPtr
(s string)
tooling/tenant-quota/pkg/subscriptionquota/usage_validation_test.go:25
↓ 18 callers
Function
timePtr
(value time.Time)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:435
↓ 17 callers
Method
AddLogValuesForResourceID
AddLogValuesForResourceID adds common logging key/value pairs from a resource ID. It adds: subscription_id, resource_group, resource_name, resource_id
internal/utils/context.go:233
↓ 17 callers
Method
Clusters
()
backend/pkg/informers/types.go:34
↓ 17 callers
Function
NewQueryFactory
NewQueryFactory creates a go templatized KQL query factory.
tooling/hcpctl/pkg/kusto/query.go:231
↓ 17 callers
Method
ProvisioningState
()
backend/pkg/controllers/metricscontrollers/resource_metrics_controller.go:31
↓ 17 callers
Method
Sessions
Sessions returns an object that can list and get Sessions.
sessiongate/pkg/generated/listers/sessiongate/v1alpha1/session.go:33
↓ 17 callers
Method
WithKind
WithKind sets the Kind 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:65
↓ 17 callers
Function
healthyKubeClient
()
tooling/templatize/pkg/istio/upgrade_test.go:113
↓ 17 callers
Function
int64Ptr
(v int64)
tooling/tenant-quota/pkg/subscriptionquota/usage_validation_test.go:27
↓ 17 callers
Function
listFromIndex
listFromIndex retrieves items from an indexer by index name and key, casting each to *T.
backend/pkg/listers/types.go:81
↓ 17 callers
Function
newResourceGroup
(name string, createdAt *time.Time, tags map[string]string, managed bool)
tooling/cleanup-sweeper/pkg/policy/discovery_test.go:401
↓ 16 callers
Method
AddEventHandler
(h cache.ResourceEventHandler)
internal/database/unioninformers/kubeapplier/controller_test.go:59
↓ 16 callers
Method
GetBackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
internal/graph/graphsdk/models/password_credential.go:34
↓ 16 callers
Method
GetError
()
internal/database/database.go:85
↓ 16 callers
Method
GetResourceGroup
()
tooling/templatize/pkg/pipeline/executiontarget.go:89
↓ 16 callers
Method
GetValue
(key string)
tooling/templatize/pkg/pipeline/run.go:97
↓ 16 callers
Function
MustNewInertia
MustNewInertia is like NewInertia but panics on configuration error. Use it at process startup where a misconfigured Inertia is a coding bug.
backend/pkg/controllers/statuscontrollers/inertia.go:70
↓ 16 callers
Method
Name
()
tooling/cleanup-sweeper/pkg/engine/runner/engine.go:47
↓ 16 callers
Function
NewTemplateDataFromOptions
(queryOptions QueryOptions, options ...TemplateDataOptions)
tooling/hcpctl/pkg/kusto/query.go:201
↓ 16 callers
Method
Open
(name string)
tooling/olm-bundle-repkg/internal/rukpak/util/fs.go:38
↓ 16 callers
Function
ResourceInstanceEquals
(t *testing.T, expected, actual any)
test-integration/utils/databasemutationhelpers/per_resource_comparer.go:36
↓ 16 callers
Function
RestrictedResourceIDWithResourceGroup
RestrictedResourceIDWithResourceGroup 1. has subscription 2. has name 3. has a particular resource type 4. has a resource group name
internal/validation/validators.go:684
↓ 16 callers
Method
SubscriptionID
(ctx context.Context)
test/util/framework/per_test_framework.go:1169
↓ 16 callers
Method
V1alpha1
V1alpha1 provides access to shared informers for resources in V1alpha1.
sessiongate/pkg/generated/informers/externalversions/sessiongate/interface.go:26
↓ 16 callers
Function
addAttributeIfPresent
(span trace.Span, key attribute.Key, getter func() (string, bool))
internal/tracing/attributes.go:209
↓ 16 callers
Method
cacheBaseDir
(spec BinarySpec)
tooling/hcpctl/pkg/binresolver/resolver.go:455
↓ 16 callers
Method
key
key returns the "component/queryName" identifier for this query.
tooling/hcpctl/pkg/snapshot/queries.go:108
↓ 16 callers
Function
newMockResourceCRUD
( client mockDocumentStore, parentResourceID *azcorearm.ResourceID, resourceType azcorearm.ResourceType)
internal/databasetesting/mock_resources_crud.go:63
↓ 16 callers
Function
newTestOperationHandler
(t *testing.T)
backend/pkg/controllers/metricscontrollers/operation_phase_metrics_controller_test.go:160
↓ 16 callers
Function
resourceIDStoreKeyForObject
(obj interface{})
backend/pkg/controllers/metricscontrollers/metrics_controller.go:156
↓ 15 callers
Method
AddCreateToTransaction
(ctx context.Context, transaction DBTransaction, newObj *InternalAPIType, opts *azcosmos.TransactionalBatchIte
internal/database/crud_nested_resource.go:40
↓ 15 callers
Method
List
(ctx context.Context)
backend/pkg/listers/cluster_lister.go:27
↓ 15 callers
Method
ListForManagementCluster
(ctx context.Context, managementClusterResourceID *azcorearm.ResourceID)
internal/database/unionlisters/kubeapplier/union_desire_lister.go:49
↓ 15 callers
Method
NewExternalAuthsClient
NewExternalAuthsClient creates a new instance of ExternalAuthsClient.
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:36
↓ 15 callers
Method
Send
(ctx context.Context, msg msgs.Msg, options ...base.SendOption)
internal/audit/otel-audit.go:43
↓ 15 callers
Function
certificatePolicy
certificatePolicy builds a Key Vault certificate policy matching the sdp-pipelines wire format.
tooling/templatize/pkg/pipeline/certificate.go:45
↓ 15 callers
Function
convertToUnstructured
(from interface{})
tooling/olm-bundle-repkg/internal/customize/utils.go:32
↓ 15 callers
Method
ensureObjectMetaApplyConfigurationExists
()
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:214
↓ 15 callers
Function
equalStrings
(got, want []string)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1159
↓ 15 callers
Function
makePoint
(tsMs int64, val float64)
test/cmd/aro-hcp-tests/gather-observability/chart_test.go:554
↓ 15 callers
Function
mustParseResourceID
(t *testing.T, id string)
test-integration/frontend/informer_test.go:39
↓ 14 callers
Method
AddControllerName
AddControllerName adds the "controller_name" key with the lowercased value.
internal/utils/context.go:142
↓ 14 callers
Function
CorrelationDataFromContext
(ctx context.Context)
frontend/pkg/frontend/context.go:127
↓ 14 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/cincinnati/mock_cache.go:39
↓ 14 callers
Method
GetDisplayName
()
internal/graph/graphsdk/models/application.go:286
↓ 14 callers
Method
GetOrCreateMockData
(dataName string)
test-integration/utils/integrationutils/cluster_service_mock.go:496
↓ 14 callers
Method
GetPartitionKey
GetPartitionKey returns the transaction's partition key.
internal/database/transaction.go:28
↓ 14 callers
Method
GetProvisionShard
(ctx context.Context, internalID api.InternalID)
fleet/pkg/controllers/clustersserviceregistration/controller.go:41
↓ 14 callers
Method
Listers
Listers lists every *Desire of each kind in this container — i.e. across the one management cluster's worth of data. Replaces the old GlobalListers /
internal/database/kube_applier_client.go:89
↓ 14 callers
Method
Name
Name returns the source identifier used as the "source" metric label.
tooling/tenant-quota/pkg/subscriptionquota/types.go:39
↓ 14 callers
Function
NewMockResourcesDBClient
NewMockResourcesDBClient creates a new mock ResourcesDBClient with empty storage.
internal/databasetesting/mock_resources_db_client.go:49
↓ 14 callers
Method
TenantID
()
test/util/framework/per_test_framework.go:1186
↓ 14 callers
Method
Update
(ctx context.Context, session *sessiongatev1alpha1.Session, opts v1.UpdateOptions)
sessiongate/pkg/generated/clientset/versioned/typed/sessiongate/v1alpha1/session.go:40
↓ 14 callers
Function
collectFromIterator
collectFromIterator collects all items from a database iterator into a slice.
backend/pkg/listertesting/db_listers.go:359
← previous
next →
201–300 of 10,266, ranked by callers