MCPcopy Create free account

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

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

MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:581
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:620
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:659
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:697
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:735
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:773
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:811
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:849
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:887
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:925
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:963
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1002
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1041
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1080
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1119
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1158
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1197
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1236
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1275
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1314
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1353
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1392
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/ocm/mock_client.go:1431
MethodDoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/cincinnati/mock_cache.go:76
MethodDownload
(ctx context.Context, version, asset string, w io.Writer)
tooling/hcpctl/pkg/binresolver/resolver_test.go:53
FunctionDumpDataToLogger
DumpDataToLogger writes a structured-log entry for every document related to resourceID. It covers three storage layers: 1. The resources container:
internal/serverutils/dump_data.go:46
FunctionEQ
EQ matches validate.NEQ
internal/validation/validators.go:850
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
backend/pkg/maestro/mock_maestro_client.go:265
MethodEnableMesh
(_ context.Context, rg, cluster, revision string)
tooling/templatize/pkg/istio/upgrade_test.go:76
MethodEnableMesh
(ctx context.Context, resourceGroup, clusterName, revision string)
tooling/templatize/pkg/istio/aks.go:175
FunctionEncodePrivateKey
EncodePrivateKey encodes a private key to PEM format
tooling/hcpctl/pkg/breakglass/certs/generator.go:68
MethodEnqueueResourceIDAdd
enqueueResourceIDAdd is equivalent to calling EnqueueResourceIDAddWithMaxDepth with a maxDepth of -1. See EnqueueResourceIDAddWithMaxDepth for more de
backend/pkg/controllers/controllerutils/generic_watching_controller.go:178
FunctionEnsureClusterAdmin
(ctx context.Context, kubeconfigPath, subscriptionID, resourceGroupName, aksClusterName string, options *Clust
tooling/templatize/pkg/aks/admin.go:47
MethodEnsureIdentityRoleAssignments
EnsureIdentityRoleAssignments creates a custom role with ALL RequiredActions and assigns it to the managed identity at subscription scope. This ensure
test/util/framework/identities_helper.go:1176
FunctionEphemeralOSDiskWorkerVMSizeSelector
EphemeralOSDiskWorkerVMSizeSelector selects a general-purpose worker SKU that supports ephemeral OS disks (requires local/cache storage). Standard_D8s
test/util/framework/vm_sku_selection.go:459
MethodError
()
test/cmd/aro-hcp-tests/slot-manager/slots/leaseproxy.go:57
MethodError
Error the primary error message. returns a string when successful
internal/graph/graphsdk/models/odataerrors/o_data_error.go:35
MethodErrorEnabled
()
backend/pkg/maestro/logr_to_ocm_adapter.go:46
FunctionExecCommandString
ExecCommandString executes a command string directly with KUBECONFIG environment set. This is a convenience function that parses a command string and
tooling/hcpctl/pkg/shell/shell.go:82
FunctionExecute
Execute runs the breakglass workflow with the provided parameters
tooling/hcpctl/pkg/breakglass/execute.go:85
MethodExecute
(ctx context.Context, o *azcosmos.TransactionalBatchOptions)
internal/database/transaction.go:90
MethodExecute
(ctx context.Context, o *azcosmos.TransactionalBatchOptions)
internal/databasetesting/mock_resources_db_client.go:318
MethodExecutePreconfiguredQuery
(ctx context.Context, query kusto.Query, outputChannel chan<- kusto.TaggedRow)
tooling/hcpctl/pkg/mustgather/queryclient.go:90
MethodExecutePreconfiguredQuery
(ctx context.Context, query kusto.Query, outputChannel chan<- kusto.TaggedRow)
tooling/hcpctl/pkg/mustgather/queryclient_test.go:40
MethodExecutePreconfiguredQuery
(ctx context.Context, query kusto.Query, outputChannel chan<- kusto.TaggedRow)
tooling/hcpctl/pkg/mustgather/gather_test.go:49
MethodExecutePreconfiguredQuery
(ctx context.Context, query Query, outputChannel chan<- TaggedRow)
tooling/hcpctl/pkg/kusto/client.go:31
MethodExecutePreconfiguredQuery
ExecutePreconfiguredQuery executes a KQL query against the Azure Data Explorer cluster
tooling/hcpctl/pkg/kusto/client.go:103
FunctionExpectForbidden
ExpectForbidden returns a verifier that runs inner and succeeds only when inner.Verify returns a forbidden (403) error. Use it to assert that an ident
test/util/verifiers/basic.go:37
MethodExpectsResult
()
test-integration/utils/integrationutils/mutation_test_utils.go:107
MethodExportSpans
ExportSpans is part of trace.SpanExporter interface.
internal/tracing/otel_sdk.go:111
MethodExternalAuth
(hcpClusterName string)
internal/database/crud_hcpcluster.go:148
MethodExternalAuth
(hcpClusterName string)
internal/databasetesting/mock_resources_crud.go:404
FunctionExternalAuthTestCase
(t *testing.T, tweaks *HCPOpenShiftClusterExternalAuth)
internal/api/testhelpers.go:118
MethodExternalAuths
()
backend/pkg/informers/types.go:101
MethodExternalAuths
()
internal/database/global_lister.go:88
MethodExternalAuths
()
internal/databasetesting/mock_resources_global_lister.go:54
FunctionExtractOLMBundleImage
ExtractOLMBundleImage takes an OLM registry v1 bundle OCI, converts it into static manifests and returns a list all objects contained.
tooling/olm-bundle-repkg/internal/olm/extract.go:45
FunctionExtractOLMManifestsDirectory
ExtractOLMManifestsDirectory loads manifests directly from a directory containing pre-extracted OLM bundle manifests and returns the objects and regis
tooling/olm-bundle-repkg/internal/olm/extract.go:103
FunctionFSToTarGZ
FSToTarGZ writes the filesystem represented by fsys to w as a gzipped tar archive. This function unsets user and group information in the tar archive
tooling/olm-bundle-repkg/internal/rukpak/util/tar.go:30
MethodFailures
Failures returns the number of failed verification cases.
tooling/hcpctl/pkg/snapshot/verify.go:56
FunctionFallbackCreateClusterWithBicep
FallbackCreateClusterWithBicep creates a complete cluster using the demo.bicep file if setup file loading fails. Returns a filled SetupModel and error
test/util/integration/fill_setup_bicep.go:34
MethodFetch
(ctx context.Context, key keys.ApplyDesireKey)
kube-applier/pkg/controllers/apply_desire/controller.go:529
MethodFetch
(context.Context, keys.ApplyDesireKey)
kube-applier/pkg/controllers/apply_desire/controller_test.go:102
MethodFetch
(context.Context, keys.ApplyDesireKey)
kube-applier/pkg/controllers/apply_desire/controller_test.go:111
MethodFetch
(ctx context.Context, key keys.ReadDesireKey)
kube-applier/pkg/controllers/read_desire_kubernetes/controller.go:375
MethodFetch
(ctx context.Context, key keys.ReadDesireKey)
kube-applier/pkg/controllers/read_desire_manager/controller.go:418
FunctionFetchAndMergeKeyVaultPullSecret
FetchAndMergeKeyVaultPullSecret fetches a Docker pull secret from Azure Key Vault and merges it with the existing Docker config file
tooling/image-updater/internal/clients/auth.go:55
FunctionFetchProwJobConfig
FetchProwJobConfig resolves the Kusto connection configuration for a Prow job. For PR jobs, it downloads the config from the aro-hcp-provision-environ
tooling/hcpctl/pkg/snapshot/prow.go:217
FunctionFetchProwJobTestResults
FetchProwJobTestResults downloads test results and timing metadata from a Prow job's GCS artifacts. This is independent of the config resolution path.
tooling/hcpctl/pkg/snapshot/prow.go:329
FunctionFindFreePort
FindFreePort finds an available local port by binding to a random port and immediately releasing it. returns the port number that was allocated.
tooling/hcpctl/pkg/breakglass/portforward/portforward.go:36
FunctionFindHelmStepsByReleaseName
FindHelmStepsByReleaseName returns only HelmSteps matching the given release name.
tooling/helmtest/internal/resolve.go:46
FunctionFindHelmTestFiles
(pathToSearch string)
tooling/helmtest/internal/resolve.go:28
MethodFleetDBClient
()
test-integration/utils/integrationutils/cosmos_testinfo.go:135
MethodFleetDBClient
()
test-integration/utils/integrationutils/mock_cosmos_testinfo.go:64
MethodFor
(ctx context.Context, managementClusterResourceID *azcorearm.ResourceID)
internal/database/kube_applier_client.go:281
MethodFor
(_ context.Context, managementClusterResourceID *azcorearm.ResourceID)
internal/databasetesting/mock_kube_applier_client.go:408
FunctionForKind
ForKind returns an apply configuration type for the given GroupVersionKind, or nil if no apply configuration type exists for the given GroupVersionKin
sessiongate/pkg/generated/applyconfiguration/utils.go:30
MethodForResource
ForResource gives generic access to a shared informer of the matching type TODO extend this to unknown resources with a client pool
sessiongate/pkg/generated/informers/externalversions/generic.go:51
FunctionForwardToService
ForwardToService establishes port forwarding from a local port to a kubernetes service using kubectl's proven port-forward implementation. this functi
tooling/hcpctl/pkg/breakglass/portforward/portforward.go:71
FunctionFuzzSanitizeUsername
(f *testing.F)
tooling/hcpctl/pkg/utils/username_fuzz_test.go:27
FunctionGPUNodePoolVMSizeSelector
GPUNodePoolVMSizeSelector selects a GPU-capable worker SKU. The historical GPU sizes are preferred; the fallback accepts any N-series SKU that adverti
test/util/framework/vm_sku_selection.go:484
FunctionGatherForTest
GatherForTest runs the per-test data gathering pipeline: it writes test logs, queries Kusto for traces and state, enriches the manifest with test meta
tooling/hcpctl/pkg/snapshot/gather_enriched.go:99
FunctionGenerateAROHCPBreakGlassCredentialHREF
(clusterPath string, credentialName string)
internal/ocm/internalid.go:73
FunctionGenerateAROHCPClusterHREF
(clusterName string)
internal/ocm/internalid.go:49
FunctionGenerateAROHCPExternalAuthHREF
(clusterPath string, externalAuthName string)
internal/ocm/internalid.go:65
FunctionGenerateAROHCPNodePoolHREF
(clusterPath string, nodePoolName string)
internal/ocm/internalid.go:57
FunctionGenerateCSR
GenerateCSR generates a certificate signing request
tooling/hcpctl/pkg/breakglass/certs/generator.go:42
FunctionGenerateCorrelationMap
GenerateCorrelationMap loads rule configs and returns a structured mapping from group/alert to parsed correlation ID segments.
tooling/prometheus-rules/pkg/prometheusrules/prometheusrules.go:64
FunctionGenerateFromConfig
GenerateFromConfig validates and renders rule files into Bicep output. forceInfoSeverity is kept for compatibility with external callers and is ignore
tooling/prometheus-rules/pkg/prometheusrules/prometheusrules.go:46
FunctionGenerateMaestroSourceID
GenerateMaestroSourceID generates a Maestro Source ID of the form "<envName>-<provisionShardID>". The Maestro Source ID is used to identify resources
backend/pkg/maestro/maestro_client.go:133
FunctionGenerateOCMCommercialBreakGlassCredentialHREF
(clusterPath string, credentialName string)
internal/ocm/internalid.go:69
FunctionGenerateOCMCommercialClusterHREF
(clusterName string)
internal/ocm/internalid.go:45
FunctionGenerateOCMCommercialExternalAuthHREF
(clusterPath string, externalAuthName string)
internal/ocm/internalid.go:61
FunctionGenerateOCMCommercialNodePoolHREF
(clusterPath string, nodePoolName string)
internal/ocm/internalid.go:53
FunctionGeneratePrivateKey
GeneratePrivateKey generates a new RSA private key
tooling/hcpctl/pkg/breakglass/certs/generator.go:28
FunctionGenerateSSHKeyPair
Helper to generate SSH key pair
test/util/framework/hcp_helper.go:1129
MethodGet
(ctx context.Context, name string, opts v1.GetOptions)
sessiongate/pkg/generated/clientset/versioned/typed/sessiongate/v1alpha1/session.go:45
MethodGet
(_ context.Context, stampIdentifier string)
fleet/pkg/controllers/base/registration_cooldown_test.go:42
MethodGet
(ctx context.Context, stampIdentifier string)
fleet/pkg/controllers/maestroregistration/controller_test.go:111
MethodGet
(ctx context.Context, stampIdentifier string)
fleet/pkg/controllers/clustersserviceregistration/controller_test.go:598
← previousnext →5,501–5,600 of 10,266, ranked by callers