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
↓ 10 callers
Function
createServiceProviderClusterWithVersion
createServiceProviderClusterWithVersion creates a ServiceProviderCluster with the given control plane version.
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller_test.go:1482
↓ 10 callers
Function
execCommand
execCommand executes a command with timeout and returns output
tooling/hcpctl/internal/e2e/e2e.go:95
↓ 10 callers
Function
newApplyDesire
newApplyDesire builds an ApplyDesire with Type=ServerSideApply, a populated TargetItem and kubeContent JSON. Pass nil kubeContent to exercise the empt
kube-applier/pkg/controllers/apply_desire/controller_test.go:137
↓ 10 callers
Function
newClusterWithAPIURL
(url string)
backend/pkg/controllers/operationcontrollers/operation_cluster_create_test.go:229
↓ 10 callers
Function
newFirstObservedBadCache
newFirstObservedBadCache returns a cache bound to the given clock. The clock is the source of "now" for new observations.
backend/pkg/controllers/statuscontrollers/firstobservedbad.go:53
↓ 10 callers
Function
newHostedClusterReadDesireWithVersions
newHostedClusterReadDesireWithVersions builds a ReadDesire whose Status.KubeContent.Raw carries a marshaled HostedCluster with the given status.versio
backend/pkg/controllers/upgradecontrollers/control_plane_active_version_controller_test.go:390
↓ 10 callers
Function
newNodePoolReadDesireWithNodeVersions
newNodePoolReadDesireWithNodeVersions builds a ReadDesire whose Status.KubeContent.Raw carries a marshaled Hypershift NodePool whose Status.NodesInfo.
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_controller_test.go:60
↓ 10 callers
Function
newTestCluster
(t *testing.T, opts func(*api.HCPOpenShiftCluster))
backend/pkg/controllers/nodepoolcreationcontrollers/node_pool_cluster_service_create_controller_test.go:301
↓ 10 callers
Function
newTestExternalAuth
(subscriptionID, resourceGroupName, clusterName, externalAuthName string)
backend/pkg/listertesting/slice_listers_test.go:442
↓ 10 callers
Function
newTestSubscription
(subscriptionID string)
backend/pkg/listertesting/slice_listers_test.go:517
↓ 10 callers
Function
successAcquireReply
(resourceName string)
test/cmd/aro-hcp-tests/slot-manager/acquire_test.go:1084
↓ 10 callers
Method
syncResource
(ctx context.Context, key string)
backend/pkg/controllers/metricscontrollers/metrics_controller.go:133
↓ 10 callers
Function
testStamp
(stampID string, etag azcore.ETag)
fleet/pkg/controllers/base/stamp_watching_controller_test.go:125
↓ 9 callers
Method
DeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
internal/api/fleet/zz_generated.deepcopy.go:147
↓ 9 callers
Method
Delete
(ctx context.Context, resourceID string)
internal/database/crud_nested_resource.go:38
↓ 9 callers
Method
DeleteNodePool
DeleteNodePool sends a DELETE request to delete a node pool from Cluster Service.
internal/ocm/client.go:91
↓ 9 callers
Method
Error
()
internal/utils/context.go:32
↓ 9 callers
Method
Get
(ctx context.Context, subscriptionID, resourceGroupName, clusterName string)
backend/pkg/listertesting/db_listers.go:42
↓ 9 callers
Method
GetByID
GetByID gets a role definition by role definition resource ID. Use the format /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionID} fo
backend/pkg/azure/client/role_definitions_client.go:34
↓ 9 callers
Method
GetEtag
()
internal/api/arm/types_cosmosdata.go:129
↓ 9 callers
Method
GetId
()
internal/graph/graphsdk/models/entity.go:152
↓ 9 callers
Method
GetManagementCluster
()
internal/api/kubeapplier/partition.go:25
↓ 9 callers
Method
ListProvisionShards
()
fleet/pkg/controllers/clustersserviceregistration/controller.go:42
↓ 9 callers
Function
NewCosmosResourceCRUDWithStrategies
NewCosmosResourceCRUDWithStrategies constructs a CRUD with caller-chosen partition-key and resource-ID-path policies. Use this to back containers whos
internal/database/crud_nested_resource.go:295
↓ 9 callers
Method
NewHCPOpenShiftCluster
Resource Types Passing a nil pointer creates a resource with default values.
internal/api/registry.go:127
↓ 9 callers
Method
NewHCPOpenShiftClusterExternalAuth
(*HCPOpenShiftClusterExternalAuth)
internal/api/registry.go:129
↓ 9 callers
Method
NewHCPOpenShiftClusterNodePool
(*HCPOpenShiftClusterNodePool)
internal/api/registry.go:128
↓ 9 callers
Function
NewQueryOptions
()
tooling/hcpctl/pkg/kusto/query.go:57
↓ 9 callers
Method
Operations
Operations returns a CRUD interface for operation resources.
internal/databasetesting/mock_resources_db_client.go:84
↓ 9 callers
Method
PartitionKey
(parentResourceID *azcorearm.ResourceID, resourceName string)
internal/database/crud_nested_resource.go:71
↓ 9 callers
Method
Sessiongate
()
sessiongate/pkg/generated/informers/externalversions/factory.go:256
↓ 9 callers
Method
Stamps
--- FleetDBClient implementation ---
internal/databasetesting/mock_fleet_client.go:186
↓ 9 callers
Method
Union
Union returns the managed UnionKubeApplierInformers. Callers wire their event handlers and listers from this — it is updated dynamically as MCs come a
internal/database/unioninformers/kubeapplier/controller.go:147
↓ 9 callers
Method
UpdateStatus
(ctx context.Context, key K, mutate MutateFunc[T])
kube-applier/pkg/controllers/desirestatuswriter/desirestatuswriter.go:77
↓ 9 callers
Function
ValidateResourceGroupScopedResourceID
ValidateResourceGroupScopedResourceID validates that the Azure Resource ID `resourceID“ is a valid resource group scoped resource id of the Azure Reso
backend/pkg/azure/validation/resourceid.go:53
↓ 9 callers
Method
Write
(p []byte)
tooling/prometheus-rules/internal/writer.go:46
↓ 9 callers
Function
collectDegradedConditions
collectDegradedConditions flattens an api.Controller slice into the SourcedCondition form that UnionCondition consumes. Each entry's ControllerName is
backend/pkg/controllers/statuscontrollers/helpers.go:51
↓ 9 callers
Function
command
(ctx context.Context, dir string, command string, args ...string)
tooling/templatize/cmd/configuration/validate/options.go:631
↓ 9 callers
Function
ctxWithLogger
(t *testing.T)
test/util/timing/timewindow_test.go:35
↓ 9 callers
Function
getByKey
getByKey retrieves a single item from an indexer by key, casting it to *T.
backend/pkg/listers/types.go:62
↓ 9 callers
Function
isResourceGroupNotFoundError
isResourceGroupNotFoundError returns true if the error indicates the resource group does not exist (HTTP 404 or ResourceGroupNotFound/ResourceNotFound
test/util/framework/per_test_framework.go:292
↓ 9 callers
Function
loadSyntheticCatalog
(t *testing.T)
test/cmd/aro-hcp-tests/slot-manager/slots/catalog_test.go:69
↓ 9 callers
Function
minimalValidTenant
minimalValidTenant returns a TenantConfig with all required fields set.
tooling/tenant-quota/pkg/config/config_test.go:26
↓ 9 callers
Function
mustParseRID
(t *testing.T, s string)
internal/controllerutils/needs_update_test.go:36
↓ 9 callers
Function
nameResourceIDMismatch
(resourceID *azcorearm.ResourceID, name string)
frontend/pkg/frontend/helpers.go:165
↓ 9 callers
Function
newHostedClusterReadDesire
newHostedClusterReadDesire builds a ReadDesire whose Status.KubeContent.Raw is the serialized HostedCluster. The ReadDesire itself defaults to a Succe
backend/pkg/controllers/operationcontrollers/operation_cluster_create_test.go:202
↓ 9 callers
Function
newMockIterator
(ids []string, items []*T)
internal/databasetesting/mock_resources_db_client.go:399
↓ 9 callers
Method
newNodePool
()
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:191
↓ 9 callers
Function
newRetryVersionPolicyForTest
()
test/util/framework/azure_client_policies_test.go:692
↓ 9 callers
Function
newTestCluster
(t *testing.T, clusterUID string, provisioningState arm.ProvisioningState, createdAt *time.Time)
backend/pkg/controllers/billingcontrollers/create_billing_doc_test.go:85
↓ 9 callers
Function
newTestClusterForIdentityMigration
newTestClusterForIdentityMigration creates a test HCPOpenShiftCluster with default values for identity migration testing.
backend/pkg/controllers/clusterpropertiescontroller/identity_migration_test.go:278
↓ 9 callers
Function
newTestClusterVersionMetricsHandler
(t *testing.T, prometheusRegistry *prometheus.Registry, readDesireLister dblisters.ReadDesireLister)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:53
↓ 9 callers
Function
newTestHCPCluster
(opts ...func(*api.HCPOpenShiftCluster))
backend/pkg/controllers/managementclustercontrollers/management_cluster_placement_sync_test.go:64
↓ 9 callers
Function
newTestHostedClusterReadDesireLister
(t *testing.T, clusterUUID string)
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:61
↓ 9 callers
Function
newTestSPNP
(t *testing.T, bundles api.MaestroBundleReferenceList)
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller_test.go:461
↓ 9 callers
Function
newTestServiceProviderCluster
( t *testing.T, cluster *api.HCPOpenShiftCluster, desiredVersion string, activeVersions []api.HCPClusterAc
backend/pkg/controllers/metricscontrollers/cluster_version_metrics_handler_test.go:94
↓ 9 callers
Function
pollUntilReady
pollUntilReady polls check until it succeeds or timeout expires. Failure details are logged only when the error message changes between polls (delta-o
test/util/verifiers/poll.go:52
↓ 9 callers
Function
testStamp
(identifier string)
fleet/pkg/controllers/lifecycle/controller_test.go:61
↓ 8 callers
Method
AZCoreClientOptions
AZCoreClientOptions returns an azcore.ClientOptions instance from the current Azure Cloud environment. The method returns the same result as calling P
backend/pkg/azure/config/azure_cloud_environment.go:121
↓ 8 callers
Method
ClientConfig
ClientConfig returns the underlying REST configuration.
tooling/hcpctl/pkg/utils/kubeclient/client_getter.go:126
↓ 8 callers
Method
DeleteCluster
DeleteCluster sends a DELETE request to delete a cluster from Cluster Service.
internal/ocm/client.go:71
↓ 8 callers
Method
DeleteExternalAuth
DeleteExternalAuth sends a DELETE request to delete an external auth config from Cluster Service.
internal/ocm/client.go:108
↓ 8 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
backend/pkg/azure/client/mock_role_definitions_client.go:41
↓ 8 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
backend/pkg/azure/client/mock_resource_groups_client.go:41
↓ 8 callers
Function
EnsureRevisionTag
(ctx context.Context, client kubernetes.Interface, tagName, newRevision string)
tooling/templatize/pkg/istio/webhooks.go:35
↓ 8 callers
Method
ExternalAuths
()
backend/pkg/informers/types.go:36
↓ 8 callers
Method
Flush
Flush emits aggregate skip counts at info level.
tooling/cleanup-sweeper/pkg/engine/steps/common/discovery_skip_reporter.go:49
↓ 8 callers
Method
Get
(ctx context.Context, subscriptionID, resourceGroupName, clusterName string)
backend/pkg/listers/cluster_lister.go:28
↓ 8 callers
Method
GetAllMetrics
GetAllMetrics Iterates over all cached metrics and discards expired ones.
tooling/aro-hcp-exporter/pkg/cache/cache.go:78
↓ 8 callers
Method
GetBackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
internal/graph/graphsdk/models/api_application.go:45
↓ 8 callers
Method
GetBackingStore
GetBackingStore gets the BackingStore property value. Stores model information. returns a BackingStore when successful
internal/graph/graphsdk/models/odataerrors/inner_error.go:33
↓ 8 callers
Method
GetCredential
(tenant config.TenantConfig)
tooling/tenant-quota/pkg/credentials/provider.go:68
↓ 8 callers
Method
GetInterval
()
tooling/tenant-quota/pkg/config/config.go:142
↓ 8 callers
Function
GetMeshNamespaces
(ctx context.Context, client kubernetes.Interface)
tooling/templatize/pkg/istio/workloads.go:46
↓ 8 callers
Method
GetTimeout
()
tooling/tenant-quota/pkg/config/config.go:146
↓ 8 callers
Method
GetUpdate
GetUpdate retrieves the update(line + text) required at the specified path
tooling/image-updater/internal/yaml/editor.go:72
↓ 8 callers
Method
HasSynced
HasSynced returns true only when every currently-registered sub-informer reports HasSynced. An empty union is considered synced (vacuously true); call
internal/database/unioninformers/kubeapplier/desire_informer.go:264
↓ 8 callers
Function
NewCosmosCRUD
(t *testing.T, cosmosClient database.ResourcesDBClient, parentResourceID *azcorearm.ResourceID, resourceType a
test-integration/utils/databasemutationhelpers/per_resource_crud.go:28
↓ 8 callers
Function
NewMiddleware
NewMiddleware allocates and returns a new Middleware.
frontend/pkg/frontend/middleware.go:33
↓ 8 callers
Function
NewPartitionKey
NewPartitionKey creates a partition key from an Azure subscription ID.
internal/database/database.go:76
↓ 8 callers
Method
PostNodePool
PostNodePool sends a POST request to create a node pool in Cluster Service.
internal/ocm/client.go:85
↓ 8 callers
Function
ResourceName
(resource any)
test-integration/utils/databasemutationhelpers/per_resource_comparer.go:177
↓ 8 callers
Method
SessiongateV1alpha1
()
sessiongate/pkg/generated/clientset/versioned/clientset.go:31
↓ 8 callers
Method
SetPartitionKey
(string)
internal/api/arm/types_cosmosdata.go:132
↓ 8 callers
Method
Watch
(ctx context.Context, opts v1.ListOptions)
sessiongate/pkg/generated/clientset/versioned/typed/sessiongate/v1alpha1/session.go:47
↓ 8 callers
Method
WithStatus
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chainin
sessiongate/pkg/generated/applyconfiguration/sessiongate/v1alpha1/session.go:231
↓ 8 callers
Function
baseOptions
()
tooling/hcpctl/pkg/kusto/query_test.go:43
↓ 8 callers
Function
buildDeployment
(name, image string, envs []v1.EnvVar)
tooling/olm-bundle-repkg/internal/customize/customize_test.go:116
↓ 8 callers
Function
cliOutputFunc
(ctx context.Context, logLineChan chan *NormalizedLogLine, options RowOutputOptions)
tooling/hcpctl/pkg/mustgather/gather.go:266
↓ 8 callers
Method
emitAdd
(obj any)
internal/database/unioninformers/kubeapplier/controller_test.go:96
↓ 8 callers
Method
getAdded
()
backend/pkg/informers/informers_test.go:82
↓ 8 callers
Method
handlerCount
handlerCount returns how many handlers are currently installed on this fake.
internal/database/unioninformers/kubeapplier/union_informers_test.go:576
↓ 8 callers
Function
joinPath
(base, name string)
hack/verify-schema-additional-properties/main.go:98
↓ 8 callers
Function
kqlEscStr
kqlEscStr escapes a single string as a KQL string literal to avoid KQL injection
tooling/hcpctl/pkg/kusto/query.go:106
↓ 8 callers
Function
makeRG
(name, location string, tags map[string]*string)
tooling/tenant-quota/pkg/resourcegroups/collector_test.go:69
↓ 8 callers
Function
mustParseResourceID
(t *testing.T, id string)
admin/server/handlers/stamp/managementcluster_test.go:40
↓ 8 callers
Method
newExternalAuth
()
backend/pkg/controllers/operationcontrollers/test_helpers_test.go:321
↓ 8 callers
Function
newTestExternalAuthController
(t *testing.T, name string)
backend/pkg/controllers/externalauthdeletion/external_auth_child_resources_cleanup_controller_test.go:41
↓ 8 callers
Function
newTestManagementClusterContent
(t *testing.T, name string)
backend/pkg/controllers/nodepooldeletion/node_pool_child_resources_cleanup_controller_test.go:41
↓ 8 callers
Function
ocmCluster
(t *testing.T, builders ...*arohcpv1alpha1.ClusterBuilder)
internal/ocm/convert_test.go:194
← previous
next →
401–500 of 10,266, ranked by callers