MCPcopy Create free account

hub / github.com/Azure/ARO-HCP / functions

Functions10,266 in github.com/Azure/ARO-HCP

FunctionNewMaestroConsumerClient
(apiClient *maestroopenapi.APIClient)
fleet/pkg/controllers/maestroregistration/consumer_client.go:43
MethodNewMaestroConsumerClient
(maestroURL string)
fleet/pkg/controllers/maestroregistration/controller_test.go:87
MethodNewMaestroConsumerClient
(maestroURL string)
fleet/cmd/controller/options.go:238
FunctionNewMaestroRegistrationController
( managementClusterInformer cache.SharedIndexInformer, stampInformer cache.SharedIndexInformer, fleetDBClie
fleet/pkg/controllers/maestroregistration/controller.go:40
FunctionNewManagementClusterContentInformer
NewManagementClusterContentInformer creates an unstarted SharedIndexInformer for management cluster contents with cluster and node pool indexes using
backend/pkg/informers/informers.go:356
FunctionNewManagementClusterContentLister
NewManagementClusterContentLister creates a ManagementClusterContentLister from a SharedIndexInformer's indexer.
backend/pkg/listers/management_cluster_content_lister.go:39
FunctionNewManagementClusterDataDumpController
NewManagementClusterDataDumpController periodically dumps management cluster data.
backend/pkg/controllers/datadumpcontrollers/dump_management_cluster.go:38
FunctionNewManagementClusterInformer
NewManagementClusterInformer creates an unstarted SharedIndexInformer for management clusters with the default relist duration.
internal/database/informers/fleet_informers.go:84
FunctionNewManagementClusterLifecycleController
( managementClusterInformer cache.SharedIndexInformer, fleetDBClient database.FleetDBClient, cfg fleetcontr
fleet/pkg/controllers/lifecycle/controller.go:37
FunctionNewManagementClusterLister
NewManagementClusterLister creates a ManagementClusterLister from a SharedIndexInformer's indexer.
internal/database/listers/management_cluster_lister.go:40
FunctionNewManagementClusterPlacementSyncController
NewManagementClusterPlacementSyncController creates a new controller that syncs the management cluster placement from Cluster Service into the Service
backend/pkg/controllers/managementclustercontrollers/management_cluster_placement_sync.go:50
FunctionNewManagementClusterProviderFactory
(azureCredentials azcore.TokenCredential)
sessiongate/pkg/controller/hcpprovider.go:75
FunctionNewManagementClusterWatchingController
NewManagementClusterWatchingController periodically looks up all management clusters and queues them.
backend/pkg/controllers/controllerutils/management_cluster_watching_controller.go:78
FunctionNewMeRequestBuilder
NewMeRequestBuilder instantiates a new MeRequestBuilder and sets the default values.
internal/graph/graphsdk/me/me_request_builder.go:24
FunctionNewMgmtClusterFilter
(region string, name string)
tooling/hcpctl/pkg/aks/discovery.go:60
FunctionNewMiddleware
NewMiddleware allocates and returns a new Middleware.
admin/server/middleware/middleware.go:33
FunctionNewMiddlewareMux
NewMiddlewareMux allocates and returns a new MiddlewareMux.
admin/server/middleware/middleware.go:85
FunctionNewMockBillingDBClient
NewMockBillingDBClient returns a BillingDBClient with its own empty billing document store.
internal/databasetesting/mock_billing_db_client.go:67
FunctionNewMockClient
NewMockClient creates a new mock instance.
internal/cincinnati/mock_client.go:35
FunctionNewMockClientCache
NewMockClientCache creates a new mock instance.
internal/cincinnati/mock_cache.go:32
FunctionNewMockClusterServiceClientSpec
NewMockClusterServiceClientSpec creates a new mock instance.
internal/ocm/mock_client.go:34
FunctionNewMockFleetDBClientWithResources
NewMockFleetDBClientWithResources creates a MockFleetDBClient and populates it with the given resources. Supported types: - *fleet.Stamp - *fleet.Mana
internal/databasetesting/mock_fleet_client.go:56
FunctionNewMockKubeApplierDBClients
NewMockKubeApplierDBClients constructs an empty registry; use Register to add per-management-cluster clients.
internal/databasetesting/mock_kube_applier_client.go:396
FunctionNewMockLocksDBClient
NewMockLocksDBClient returns a LocksDBClient backed by an in-memory lock implementation.
internal/databasetesting/mock_locks_db_client.go:99
FunctionNewMockMaestroClientBuilder
NewMockMaestroClientBuilder creates a new mock instance.
backend/pkg/maestro/mock_maestro_client.go:258
FunctionNewMockResourceGroupsClient
NewMockResourceGroupsClient creates a new mock instance.
backend/pkg/azure/client/mock_resource_groups_client.go:34
FunctionNewMockRoleDefinitionsClient
NewMockRoleDefinitionsClient creates a new mock instance.
backend/pkg/azure/client/mock_role_definitions_client.go:34
FunctionNewNodePoolActiveVersionController
NewNodePoolActiveVersionController creates a new controller that updates Status.NodePoolVersion.ActiveVersions on the ServiceProviderNodePool from the
backend/pkg/controllers/upgradecontrollers/nodepool_active_version_controller.go:58
FunctionNewNodePoolChildResourcesCleanupController
( resourcesDBClient database.ResourcesDBClient, kubeApplierDBClients database.KubeApplierDBClients, activeO
backend/pkg/controllers/nodepooldeletion/node_pool_child_resources_cleanup_controller.go:51
FunctionNewNodePoolClusterServiceCreateController
( resourcesDBClient database.ResourcesDBClient, clustersServiceClient ocm.ClusterServiceClientSpec, activeO
backend/pkg/controllers/nodepoolcreationcontrollers/node_pool_cluster_service_create_controller.go:49
FunctionNewNodePoolClusterServiceDeleteDispatchController
( clock utilsclock.PassiveClock, resourcesDBClient database.ResourcesDBClient, clusterServiceClient ocm.Clu
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_delete_dispatch_controller.go:76
FunctionNewNodePoolClusterServiceIDClearerController
( resourcesDBClient database.ResourcesDBClient, clusterServiceClient ocm.ClusterServiceClientSpec, activeOp
backend/pkg/controllers/nodepooldeletion/node_pool_cluster_service_id_clearer.go:52
FunctionNewNodePoolDegradedAggregatorController
NewNodePoolDegradedAggregatorController creates a controller that aggregates the Degraded condition from every api.Controller under a given HCPOpenShi
backend/pkg/controllers/statuscontrollers/nodepool_degraded_aggregator.go:66
FunctionNewNodePoolDeletionController
( resourcesDBClient database.ResourcesDBClient, activeOperationLister listers.ActiveOperationLister, inform
backend/pkg/controllers/nodepooldeletion/node_pool_deletion_controller.go:47
FunctionNewNodePoolInformer
NewNodePoolInformer creates an unstarted SharedIndexInformer for node pools with resource group and cluster indexes using the default relist duration.
backend/pkg/informers/informers.go:210
FunctionNewNodePoolLister
NewNodePoolLister creates an NodePoolLister from a SharedIndexInformer's indexer.
backend/pkg/listers/node_pool_lister.go:39
FunctionNewNodePoolValidationController
NewNodePoolValidationController creates a new controller that executes the provided NodePool validation on each node pool.
backend/pkg/controllers/validationcontrollers/nodepool_validation_controller.go:50
FunctionNewNodePoolVersionController
NewNodePoolVersionController creates a new syncer that validates and persists the customer's desired NodePool version on the ServiceProviderNodePool.
backend/pkg/controllers/upgradecontrollers/nodepool_version_controller.go:70
FunctionNewNodePoolWatchingController
NewNodePoolWatchingController periodically looks up all NodePools and queues them cooldownDuration is how long to wait before allowing a new notificat
backend/pkg/controllers/controllerutils/nodepool_watching_controller.go:57
FunctionNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient with the specified values. - subscriptionID - The ID of the target subscription. The valu
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/nodepools_client.go:31
FunctionNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient with the specified values. - subscriptionID - The ID of the target subscription. The valu
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/nodepools_client.go:31
FunctionNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient with the specified values. - subscriptionID - The ID of the target subscription. The valu
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/nodepools_client.go:31
FunctionNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient with the specified values. - subscriptionID - The ID of the target subscription. The valu
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/nodepools_client.go:31
MethodNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient.
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:68
MethodNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient.
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:68
MethodNewNodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient.
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:68
FunctionNewOpenShiftVersionXY
NewOpenShiftVersionXY parses the given version, stripping off any OpenShift prefix ("openshift-"), and suffix ("-<channel_group>") and returns a new V
internal/ocm/client.go:777
FunctionNewOperation
( request OperationRequest, externalID *azcorearm.ResourceID, internalID ocm.InternalID, location, tenantI
internal/database/types_operation.go:42
FunctionNewOperationClusterCreateController
NewOperationClusterCreateController returns a new Controller instance that follows an asynchronous cluster creation operation to completion and update
backend/pkg/controllers/operationcontrollers/operation_cluster_create.go:74
FunctionNewOperationClusterDeleteController
NewOperationClusterDeleteController returns a new Controller instance that follows an asynchronous cluster deletion operation to completion and update
backend/pkg/controllers/operationcontrollers/operation_cluster_delete.go:69
FunctionNewOperationClusterUpdateController
NewOperationClusterUpdateController returns a new Controller instance that follows an asynchronous cluster update operation to completion and updates
backend/pkg/controllers/operationcontrollers/operation_cluster_update.go:64
FunctionNewOperationExternalAuthCreateController
NewOperationExternalAuthCreateController returns a new Controller instance that follows an asynchronous external auth creation operation to completion
backend/pkg/controllers/operationcontrollers/operation_external_auth_create.go:55
FunctionNewOperationExternalAuthDeleteController
NewOperationExternalAuthDeleteController returns a new Controller instance that follows an asynchronous external auth deletion operation to completion
backend/pkg/controllers/operationcontrollers/operation_external_auth_delete.go:68
FunctionNewOperationExternalAuthUpdateController
NewOperationExternalAuthUpdateController returns a new Controller instance that follows an asynchronous external auth update operation to completion a
backend/pkg/controllers/operationcontrollers/operation_external_auth_update.go:55
FunctionNewOperationInformer
NewOperationInformer creates an unstarted SharedIndexInformer for all operations (including terminal) using the default relist duration. This is used
backend/pkg/informers/informers.go:506
FunctionNewOperationNodePoolCreateController
NewOperationNodePoolCreateController returns a new Controller instance that follows an asynchronous node pool creation operation to completion and upd
backend/pkg/controllers/operationcontrollers/operation_node_pool_create.go:62
FunctionNewOperationNodePoolDeleteController
NewOperationNodePoolDeleteController returns a new Controller instance that follows an asynchronous node pool deletion operation to completion and upd
backend/pkg/controllers/operationcontrollers/operation_node_pool_delete.go:67
FunctionNewOperationNodePoolUpdateController
NewOperationNodePoolUpdateController returns a new Controller instance that follows an asynchronous node pool update operation to completion and updat
backend/pkg/controllers/operationcontrollers/operation_node_pool_update.go:65
FunctionNewOperationRequestCredentialController
NewOperationRequestCredentialController returns a new Controller instance that follows an asynchronous admin credential request operation to completio
backend/pkg/controllers/operationcontrollers/operation_request_credential.go:58
FunctionNewOperationRevokeCredentialsController
NewOperationRevokeCredentialsController returns a new Controller instance that follows an asynchronous credential revocation operation to completion a
backend/pkg/controllers/operationcontrollers/operation_revoke_credentials.go:57
FunctionNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values. - credential - used to authorize requests. Usually a credent
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/operations_client.go:26
FunctionNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values. - credential - used to authorize requests. Usually a credent
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/operations_client.go:26
FunctionNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values. - credential - used to authorize requests. Usually a credent
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/operations_client.go:26
FunctionNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values. - credential - used to authorize requests. Usually a credent
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/operations_client.go:26
MethodNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient.
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:76
MethodNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient.
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:76
MethodNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient.
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:76
MethodNewOperationsClient
NewOperationsClient creates a new instance of OperationsClient.
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/client_factory.go:76
FunctionNewOrphanedBillingCleanupController
NewOrphanedBillingCleanupController creates a controller that marks billing documents as deleted when their corresponding cluster no longer exists in
backend/pkg/controllers/billingcontrollers/orphaned_billing_cleanup.go:48
FunctionNewOwnedObjectsRequestBuilder
NewOwnedObjectsRequestBuilder instantiates a new OwnedObjectsRequestBuilder and sets the default values.
internal/graph/graphsdk/me/owned_objects_request_builder.go:24
FunctionNewPagedResponse
NewPagedResponse returns a new PagedResponse instance.
internal/api/arm/response.go:77
FunctionNewProxyResource
NewProxyResource returns a ProxyResource initialized from resourceID.
internal/api/arm/resource.go:69
FunctionNewQueryClientWithFileWriter
NewQueryClient creates a new QueryClient with default dependencies
tooling/hcpctl/pkg/mustgather/queryclient.go:53
FunctionNewRESTClientGetter
NewRESTClientGetter creates a new RESTClientGetter with the provided REST config and namespace.
tooling/hcpctl/pkg/utils/kubeclient/client_getter.go:40
FunctionNewReadDesireInformer
NewReadDesireInformer creates an unstarted SharedIndexInformer for ReadDesires using the default relist duration.
internal/database/informers/informers.go:101
FunctionNewReadDesireInformerManagingController
NewReadDesireInformerManagingController constructs a manager that uses the supplied dynamic client for every per-instance controller it spawns. crudB
kube-applier/pkg/controllers/read_desire_manager/controller.go:147
FunctionNewReadDesireLister
NewReadDesireLister creates a ReadDesireLister from a SharedIndexInformer's indexer.
internal/database/listers/read_desire_lister.go:43
FunctionNewRealFPAIdentityCheckAccessV2ClientBuilder
NewRealFPAIdentityCheckAccessV2ClientBuilder instantiates a CheckAccessV2ClientBuilder that will use a real FPA identity to build a CheckAccessV2Clien
backend/pkg/azure/client/check_access_v2_client_builder.go:43
FunctionNewRegisterCommand
()
fleet/cmd/register/cmd.go:34
FunctionNewResourceGraphClient
(credential azcore.TokenCredential, subscriptionIDs []*string)
tooling/aro-hcp-exporter/pkg/graphquery/public_ips.go:41
FunctionNewResourceMutationTest
(ctx context.Context, testName string, testDir fs.FS, withMock bool)
test-integration/utils/databasemutationhelpers/resource_crud_test_util.go:56
FunctionNewResourceWatcher
NewResourceWatcher creates a new ResourceWatcher.
mgmt-agent/pkg/controller/resourcewatcher.go:60
FunctionNewResourcesDBClient
NewResourcesDBClient instantiates a ResourcesDBClient from a Cosmos DatabaseClient instance targeting the Frontends async database (Resources containe
internal/database/database.go:152
FunctionNewResponseWriter
(w http.ResponseWriter)
internal/audit/otel-audit.go:154
FunctionNewRoleDefinitionsCachedReader
NewRoleDefinitionsCachedReader returns a RoleDefinitionsCachedReader that caches GetByID results from inner.
backend/pkg/azure/cachedreader/role_definitions.go:78
FunctionNewRolloutOptions
(config types.Configuration)
tooling/templatize/cmd/rolloutoptions.go:39
FunctionNewRootCmd
()
sessiongate/cmd/cmd.go:23
FunctionNewRootCmd
()
frontend/cmd/cmd.go:74
FunctionNewRootCmd
()
mgmt-agent/cmd/cmd.go:28
FunctionNewServeCommand
NewServeCommand creates the serve command
tooling/aro-hcp-exporter/internal/cmd/serve.go:56
FunctionNewServer
NewServer creates a new shared webserver instance bindAddress is the local bind address (e.g., "localhost:8080" or ":8080") ingressBaseURL is the exte
sessiongate/pkg/server/server.go:63
FunctionNewServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport insta
test/sdk/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:41
FunctionNewServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport insta
test/sdk/v20240610preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:41
FunctionNewServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport insta
test/sdk/v20260630preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:41
FunctionNewServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport insta
test/sdk/v20251223preview/resourcemanager/redhatopenshifthcp/armredhatopenshifthcp/fake/server_factory.go:41
FunctionNewServiceManagedIdentityClientBuilder
(fpaMIdataplaneClientBuilder FPAMIDataplaneClientBuilder, options *azcorearm.ClientOptions)
backend/pkg/azure/client/smi_client_builder.go:95
FunctionNewServiceManagedIdentityClientBuilder
(fpaMIdataplaneClientBuilder azureclient.FPAMIDataplaneClientBuilder, azureConfig *azureconfig.AzureConfig)
backend/pkg/app/fpa_wiring.go:69
FunctionNewServiceProviderClusterInformer
NewServiceProviderClusterInformer creates an unstarted SharedIndexInformer for service provider clusters with a cluster index using the default relist
backend/pkg/informers/informers.go:308
FunctionNewServiceProviderClusterLister
NewServiceProviderClusterLister creates a ServiceProviderClusterLister from a SharedIndexInformer's indexer.
backend/pkg/listers/service_provider_cluster_lister.go:38
FunctionNewServiceProviderNodePoolInformer
NewServiceProviderNodePoolInformer creates an unstarted SharedIndexInformer for service provider node pools with a node pool index using the default r
backend/pkg/informers/informers.go:405
← previousnext →7,201–7,300 of 10,266, ranked by callers