diff --git a/adr/2026-10-07-discoverable-endpoint-index.md b/adr/2026-10-07-discoverable-endpoint-index.md new file mode 100644 index 000000000..7fe3801de --- /dev/null +++ b/adr/2026-10-07-discoverable-endpoint-index.md @@ -0,0 +1,58 @@ +# Index discoverable endpoints for admission conflict checks + +**Status**: Accepted +**Date**: 2026-10-07 +**Deciders**: Not recorded + +## Context + +Admission checks for a workspace with discoverable endpoints currently list every DevWorkspace in its namespace, then scan the returned specs for colliding Service names. This copies and examines unrelated workspaces. The existing `discoverableEndpointNames` helper already extracts normalized, unique endpoint names when the discoverable attribute is boolean or string `true` and exposure is not `none`. + +## Decision + +Register a controller-runtime field index on DevWorkspace objects under `controller.devfile.io/discoverable-endpoint`. Its extractor reuses `discoverableEndpointNames`. Register the index before webhook handlers are registered and before the manager starts. + +For each incoming normalized discoverable endpoint name, admission performs one namespace-scoped List using that exact indexed name. Keep the existing update gating, cached-client copy behavior, self-UID exclusion, error handling, and defensive endpoint scan of returned candidates. The scan remains the final admission check for a matching candidate. + +The index covers endpoints visible in `.spec.template`; contributed endpoints remain protected by the controller's Service synchronization ownership check. Admission remains eventually consistent, so concurrent requests can both pass; the controller's fresh Service ownership check remains authoritative. + +The index reuses the webhook's cluster-wide DevWorkspace `get/list/watch` permissions introduced by admission conflict validation and requires no additional RBAC permissions. It introduces no API, dependency, or code-generation changes. + +## Considered Alternatives + +### Alternative 1: Keep listing and scanning the whole namespace + +This is simpler, but continues copying every workspace and scanning unrelated specs for each admission check. + +**Rejected because**: The field index targets the matching workspaces through the existing cache. + +### Alternative 2: Disable cache object copying + +This would avoid copies for all listed workspaces but exposes shared cached objects to mutation and races. + +**Rejected because**: Limiting query results with the index avoids copying unrelated workspaces while retaining the client's normal safety behavior. + +### Alternative 3: Add a custom cache or external endpoint index owner + +This would add another mechanism and lifecycle to maintain. + +**Rejected because**: A native controller-runtime field index provides the needed lookup within the existing manager and cache. + +## Consequences + +### Positive + +Only workspaces matching each incoming discoverable endpoint name are copied and scanned. + +### Negative + +The cache uses memory for the index and CPU to extract and update indexed names. Requests with multiple incoming names issue one List per name. + +### Neutral + +The lookup remains a best-effort admission check over cached state. Existing update gating, conflict responses, and the controller's Service conflict guard retain their roles. + +## References + +- [Endpoint validation](../webhook/workspace/handler/validate.go) +- [Webhook configuration](../webhook/workspace/config.go) diff --git a/adr/2026-10-08-discoverable-service-certificates.md b/adr/2026-10-08-discoverable-service-certificates.md new file mode 100644 index 000000000..5ea136f37 --- /dev/null +++ b/adr/2026-10-08-discoverable-service-certificates.md @@ -0,0 +1,59 @@ +# Mount per-service certificates for discoverable endpoints + +**Status**: Accepted +**Date**: 2026-10-08 +**Deciders**: Not recorded + +## Context + +With TLS enabled, cluster routing creates an aggregate workspace Service and one Service per discoverable endpoint. OpenShift issues a serving certificate for each annotated Service. Mounting all certificates at `/var/serving-cert/` overlaps mounts; clients need a distinct certificate location for each discoverable Service. + +## Decision + +Keep the aggregate Service certificate mounted at `/var/serving-cert/`. Mount each discoverable Service's certificate at `/var/serving-cert//`. The solver annotates each Service with its own name, and the Secret reference continues to use that actual Service name. + +Keep `devworkspace-serving-cert-` when the full generated volume name fits within 63 characters; otherwise use `devworkspace-cert-` plus the hex encoding of the first 10 SHA-256 bytes of the Service name. Distinct prefixes prevent a digest name from deterministically colliding with one generated for a short Service name. Hashing avoids truncation collisions; the 80-bit digest can still collide and is not guaranteed unique. Service and Secret names remain unchanged. + +## Considered Alternatives + +### Alternative 1: Share the aggregate certificate mount + +Expose the aggregate certificate to workloads and use it for discoverable Service connections. + +**Rejected because**: OpenShift binds each serving certificate to its Service's internal DNS name. Reusing the aggregate certificate would leave the discoverable Service DNS names uncovered. [OpenShift certificate documentation](https://docs.redhat.com/en/documentation/openshift_container_platform/4.21/html/security_and_compliance/configuring-certificates) + +### Alternative 2: Truncate long volume names or reject long Service names + +Shorten generated names to fit Kubernetes' 63-character volume-name limit, or disallow endpoint names that produce longer values. + +**Rejected because**: Truncation can merge names from distinct Services, while rejecting them would disallow otherwise valid Service names. + +### Alternative 3: Hash every volume name + +Use a fixed-length digest-based name for all Services. + +**Rejected because**: It removes readable names for ordinary cases without avoiding any additional limit. + +## Consequences + +### Positive + +- Each discoverable Service has a distinct certificate mount path alongside the unchanged aggregate mount. +- Long valid Service names can be represented by Kubernetes-compatible volume names without truncation. + +### Negative + +- Each discoverable Service adds a pod volume and mount. +- The 80-bit digest has a theoretical collision risk for distinct long Service names. + +### Neutral + +- Workloads use the actual Service name to identify the corresponding Secret; only the generated volume name may differ for long names. +- The reserved-name guard prevents a discoverable Service from taking the aggregate Service name, and duplicate normalized Service names are rejected. + +## References + +- [Cluster solver](../controllers/controller/devworkspacerouting/solvers/cluster_solver.go) +- [Cluster solver certificate mount tests](../controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go) +- [Serving certificate volume naming](../pkg/common/naming.go) +- [Discoverable Service name guard](../controllers/controller/devworkspacerouting/solvers/common.go) diff --git a/adr/2026-10-08-routing-service-ownership.md b/adr/2026-10-08-routing-service-ownership.md new file mode 100644 index 000000000..4502572f2 --- /dev/null +++ b/adr/2026-10-08-routing-service-ownership.md @@ -0,0 +1,70 @@ +# Guard routing Service ownership during synchronization + +**Status**: Accepted +**Date**: 2026-10-08 +**Deciders**: Not recorded + +## Context + +DevWorkspaceRouting Services share namespace names, including discoverable endpoints. Admission reads cached workspace state, so concurrent requests can both pass; the cache can also hide a Service missing its workspace ID label. Treating that miss as proof a name is free risks overwriting another routing's Service. + +## Decision + +Call `SyncRoutingServiceWithCluster` explicitly for every routing-controller Service, including aggregate Services. Kubernetes/OpenShift component handling dispatches inlined Services with the discoverable annotation `"true"` or a DevWorkspaceRouting controller owner to the same guarded entry point. The routing ownership checks and Service creation-race behavior remain unchanged. + +Pass the non-caching client directly to the routing solver when configured, falling back to the cached client otherwise. Built-in solvers only perform Service lookups. Controller synchronization and cleanup keep their existing client selection. + +Ordinary inlined resources and async-storage Services use `SyncObjectWithCluster`. Its normal reads use the cached client. Only when that read returns NotFound and creation returns AlreadyExists does it make one lookup through the non-caching client to recover a possible create race. If no non-caching client is configured, the fresh lookup is still NotFound, or the object disappears before it can be read, return a retry error. A fresh read error also returns without writing. This collision-only path requires one or more desired owner references, each with a nonempty UID and a matching existing reference according to `containsOwnerRef`. This supports both non-controller DevWorkspace ownership and asynchronous Deployment ownership. An unexpected controller owner makes the Service foreign even when its workspace ID label matches. A foreign Service is a permanent Service-name conflict and is left unchanged. An owned Service is synchronized using the fresh object's UID, resourceVersion, and ClusterIP, with the normal cached writer. + +The routing entry point reads through the non-caching client when configured (controller setup supplies it), falling back to the cached client otherwise, and uses that single result for ownership. Both entry points share post-read synchronization with no additional read. If the desired Service has a controller owner, its UID must match the existing controller owner's UID; that UID remains authoritative when the workspace ID label is stale or missing, allowing synchronization to repair the label. Without a desired controller owner, require a nonempty workspace ID label matching the existing Service. Reject a foreign same-name Service as a permanent conflict. + +If Service creation returns AlreadyExists, retry instead of using the generic update fallback. Updates carry the existing UID, resourceVersion, and ClusterIP; cleanup deletes only a routing-controlled Service with UID and resourceVersion preconditions. These guards reject writes against a changed or replaced Service; update conflicts and missing objects trigger another reconcile. The read and ownership decision are not atomic, and this does not reserve names across reconcilers. + +## Considered Alternatives + +### Alternative 1: Trust admission conflict checks + +Use cached admission as the sole protection for discoverable endpoint names. + +**Rejected because**: Stale cache state lets concurrent requests both pass before a Service exists. + +### Alternative 2: Treat workspace ID labels as ownership proof + +Require the existing Service label to match the desired workspace ID. + +**Rejected because**: A label match does not prove matching controller ownership, and labels can drift. A valid routing owner can repair a stale label without losing its Service. + +### Alternative 3: Keep the generic AlreadyExists update fallback + +Use generic update after Service creation reports AlreadyExists. + +**Rejected because**: The fallback lacks a fresh object for ownership validation and identity preservation. + +## Consequences + +### Positive + +- The fresh check protects foreign Services hidden by cache filtering. +- Owned Services with stale labels can be repaired while preserving identity and ClusterIP. + +### Negative + +- The routing path's fresh reads add API calls and latency; the generic collision recovery adds a fresh read only after a create collision, instead of uncached reads during routine synchronization. Changed Services can make guarded writes conflict and require another reconcile. + +### Neutral + +- Admission remains advisory; the controller check is authoritative. Concurrent creates rely on Kubernetes name uniqueness and retry. + +## References + +- [Generic synchronization](../pkg/provision/sync/sync.go) +- [Explicit routing Service synchronization](../pkg/provision/sync/service.go) +- [Inlined component dispatch](../pkg/library/kubernetes/provision.go) +- [Service update fields](../pkg/provision/sync/update.go) +- [Service conflict error](../pkg/provision/sync/service.go) +- [Routing Service cleanup](../controllers/controller/devworkspacerouting/sync_services.go) +- [Routing controller client setup](../controllers/controller/devworkspacerouting/devworkspacerouting_controller.go) +- [Ownership and cache-miss tests](../pkg/provision/sync/service_test.go) +- [Routing cleanup and conflict tests](../controllers/controller/devworkspacerouting/sync_services_test.go) +- [Label repair tests](../controllers/controller/devworkspacerouting/workspace_name_test.go) +- [Admission index decision](2026-10-07-discoverable-endpoint-index.md) diff --git a/adr/2026-10-12-routing-failure-recovery.md b/adr/2026-10-12-routing-failure-recovery.md new file mode 100644 index 000000000..1daaf550a --- /dev/null +++ b/adr/2026-10-12-routing-failure-recovery.md @@ -0,0 +1,58 @@ +# Recover failed routing after spec changes + +**Status**: Accepted +**Date**: 2026-10-12 +**Deciders**: DevWorkspace Operator maintainers + +## Context + +A DevWorkspaceRouting can fail because an endpoint conflicts with a Service owned by someone else or its configuration is invalid. The controller previously treated Failed as terminal even after the user corrected the routing spec. Recovery required recreating the routing object. + +## Decision + +Record the spec generation represented by Preparing, Ready, Failed, and Stopped in the optional `status.observedGeneration` field. A failure remains terminal for that generation. When a failed routing has a different generation, clear published Pod additions and endpoints, persist Preparing, and reconcile the new spec through the existing Service ownership and certificate validation checks. If the Preparing write fails, return before provisioning resources. + +Legacy Failed objects without this field have observed generation zero. Kubernetes assigns a positive generation, so the controller reconciles them once and records the current generation. If validation fails again, the failure becomes terminal for that generation. + +The workspace consumer retries a Failed status only when its nonzero observed generation differs from the routing object's current generation. Current failures and legacy failures retain their existing failure handling. This does not change workspace restart behavior. + +## Considered Alternatives + +### Alternative 1: Retry unchanged failures on resource events + +Reconcile failed routing whenever a Service or another watched resource changes. + +**Rejected because**: +- Failures were selected to remain terminal until the routing spec changes. +- Unrelated events would repeatedly run validation and could turn a terminal failure into automatic recovery without a spec correction. + +### Alternative 2: Require routing recreation + +Keep Failed terminal across all generations. + +**Rejected because**: +- Correcting the spec should allow the same routing object to recover. +- Recreation discards routing identity and adds an unnecessary resource lifecycle step. + +## Consequences + +### Positive + +1. A corrected spec can recover without recreating routing or modifying foreign Services. +2. Status identifies the spec generation it represents, and unchanged failures avoid repeated failure writes. + +### Negative + +1. Removing an external conflict alone does not recover a failed routing; its spec must change. +2. Updated CRDs must be installed before the controller so Kubernetes retains `observedGeneration`. + +### Neutral + +1. Legacy failures receive one reconciliation when the updated controller first observes them. +2. Existing Service ownership checks, certificate validation, and workspace restart behavior continue to apply. + +## References + +- [Routing status API](../apis/controller/v1alpha1/devworkspacerouting_types.go) +- [Routing controller](../controllers/controller/devworkspacerouting/devworkspacerouting_controller.go) +- [Workspace routing consumer](../pkg/provision/workspace/routing.go) diff --git a/adr/2026-10-12-routing-solver-context.md b/adr/2026-10-12-routing-solver-context.md new file mode 100644 index 000000000..f42a3765a --- /dev/null +++ b/adr/2026-10-12-routing-solver-context.md @@ -0,0 +1,54 @@ +# Pass reconciliation context through routing solvers + +**Status**: Accepted +**Date**: 2026-10-12 +**Deciders**: Repository owner + +## Context + +Discoverable endpoint lookup performs Service reads while constructing routing objects. The reconciler receives a context, but the solver interface and lookup helper do not accept it. Using `context.TODO()` for these reads prevents caller cancellation and deadlines from reaching the Kubernetes client. + +## Decision + +Add `ctx context.Context` as the first parameter of `RoutingSolver.GetSpecObjects` and `GetDiscoverableServicesForEndpoints`. Both built-in solvers pass the caller context to the helper, which uses it for Service GETs. The reconciler passes its context to the solver. Keep client selection, ownership validation, and error handling unchanged; cancellation returns through the generic reconciliation-error path. + +External callers must pass a context, and external `RoutingSolver` implementations must update their `GetSpecObjects` signature. Implementations performing I/O should forward that context to their clients. Standalone callers without a request lifecycle can explicitly use `context.Background()`. + +## Considered Alternatives + +### Alternative 1: Retain legacy entry points alongside context-aware methods + +Add new context-aware methods and retain the old methods for source compatibility. + +**Rejected because**: This adds dispatch and compatibility code while leaving legacy callers unable to propagate cancellation. The repository owner chose the direct signature change. + +### Alternative 2: Add a fixed timeout to Service lookup + +Bound each lookup without accepting the reconciliation context. + +**Rejected because**: A timeout does not propagate caller cancellation or its existing deadline and introduces an unrelated timeout policy. + +## Consequences + +### Positive + +- Discoverable Service reads can observe reconciliation cancellation, deadlines, and context values. + +### Negative + +- External Go callers and solver implementations must update before compiling against the new signatures. + +### Neutral + +- No Kubernetes API or CRD changes are required. +- Service synchronization passes the caller context to Service LIST, GET, CREATE, UPDATE, and DELETE operations. Cancellation or deadline errors stop synchronization and propagate from reconciliation without an explicit requeue or status write. +- Finalization retains its existing context handling; deletion of obsolete Services during synchronization uses the caller context. + +## References + +- [Solver interface](../controllers/controller/devworkspacerouting/solvers/solver.go) +- [Discoverable Service lookup](../controllers/controller/devworkspacerouting/solvers/common.go) +- [Reconciliation entry point](../controllers/controller/devworkspacerouting/devworkspacerouting_controller.go) +- [Solver cancellation tests](../controllers/controller/devworkspacerouting/solvers/context_test.go) +- [Service synchronization context tests](../controllers/controller/devworkspacerouting/service_sync_context_test.go) +- [Reconciliation Service synchronization context tests](../controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go) diff --git a/adr/2026-10-12-serving-certificate-readiness.md b/adr/2026-10-12-serving-certificate-readiness.md new file mode 100644 index 000000000..4929ba3bd --- /dev/null +++ b/adr/2026-10-12-serving-certificate-readiness.md @@ -0,0 +1,56 @@ +# Validate serving certificates before publishing routing mounts + +**Status**: Accepted +**Date**: 2026-10-12 +**Deciders**: DevWorkspace Operator maintainers + +## Context + +Cluster TLS routing requests one serving-certificate Secret per Service, including discoverable endpoint Services. An existing Secret with the requested name can belong to another Service or contain unrelated data. Publishing its mount before verifying its identity can expose that data to workspace containers. The [certificate naming decision](2026-10-08-discoverable-service-certificates.md) remains applicable. + +## Decision + +After Service synchronization, built-in `cluster-tls` and `web-terminal` routing verifies every requested certificate Secret through the non-caching client before becoming ready. Require a nonempty synchronized Service UID, matching originating Service name/UID annotations (beta or legacy alpha, without conflicting values), a matching core Service owner reference, TLS Secret type, and nonempty `tls.crt` and `tls.key`. The owner reference need not be a controller reference, matching service-ca's generated ownership. + +Missing Secrets or TLS data keep routing Preparing and requeue after one second. Continue checking other Services so a foreign Secret collision still fails routing. Identity or type mismatches fail routing; lookup errors remain retryable. Pending or failed routing clears published Pod additions and endpoints. The operator never changes, adopts, or deletes these Secrets. + +Keep Secret names, volume names, permissions, and mount paths. Project only `tls.crt` and `tls.key` into certificate volumes. Keep the label-filtered Secret cache, public APIs, plaintext routing, and custom solvers unchanged. + +## Considered Alternatives + +### Alternative 1: Change certificate Secret names + +Use workspace-specific names to reduce collisions. + +**Rejected because**: Naming is an existing contract, and changing it would require migration while still leaving the need to validate any preexisting Secret at the new name. + +### Alternative 2: Publish mounts immediately after Service creation + +Let service-ca and pod volume mounting determine readiness. + +**Rejected because**: A preexisting foreign Secret can satisfy volume mounting without being a certificate for the synchronized Service. + +## Consequences + +### Positive + +1. Foreign Secrets cannot be published as certificate mounts merely because their names match. +2. Extra Secret keys are excluded from certificate volumes. + +### Negative + +1. Each TLS routing reconciliation adds an authoritative Secret read per requested certificate. +2. Workspace startup waits for service-ca to issue certificates, with up to one second of polling delay after issuance. +3. A privileged Secret writer can replace or change a Secret after validation; this readiness gate does not prevent that race. + +### Neutral + +1. Local envtest and live DWO verification completed on 2026-10-13. Checks covered a foreign Secret remaining unchanged and unpublished as a mount, certificate identity tied to the synchronized Service UID, service-ca pause and recovery in 2.754 seconds (within the 60-second bound), and 24/24 live e2e checks with the documented configuration workaround. The matching upstream DWO CI result remains pending until PR review; Che verification is deferred. These live measurements used source `860011619f3815b2fbbc4d000f72e32a347f3da9`. +2. No Secret watches or changes to resource ownership are introduced. + +## References + +- [Routing controller](../controllers/controller/devworkspacerouting/devworkspacerouting_controller.go) +- [Cluster solver](../controllers/controller/devworkspacerouting/solvers/cluster_solver.go) +- [Service-ca collision handling and Secret identity](https://github.com/openshift/service-ca-operator/blob/main/pkg/controller/servingcert/controller/secret_creating_controller.go) +- [Service-ca Secret generation](https://github.com/openshift/service-ca-operator/blob/main/pkg/controller/servingcert/controller/serving_cert_issuer.go) diff --git a/apis/controller/v1alpha1/devworkspacerouting_types.go b/apis/controller/v1alpha1/devworkspacerouting_types.go index 6db93e48a..daa0f6a7c 100644 --- a/apis/controller/v1alpha1/devworkspacerouting_types.go +++ b/apis/controller/v1alpha1/devworkspacerouting_types.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -45,6 +45,9 @@ const ( // DevWorkspaceRoutingStatus defines the observed state of DevWorkspaceRouting // +k8s:openapi-gen=true type DevWorkspaceRoutingStatus struct { + // ObservedGeneration is the spec generation represented by this status. + // +optional + ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Additions to main devworkspace deployment PodAdditions *PodAdditions `json:"podAdditions,omitempty"` // Machine name to exposed endpoint map diff --git a/controllers/controller/devworkspacerouting/devworkspacerouting_controller.go b/controllers/controller/devworkspacerouting/devworkspacerouting_controller.go index 1a4bbfd42..d16197185 100644 --- a/controllers/controller/devworkspacerouting/devworkspacerouting_controller.go +++ b/controllers/controller/devworkspacerouting/devworkspacerouting_controller.go @@ -1,4 +1,3 @@ -// // Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -21,20 +20,16 @@ import ( "fmt" "time" - "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" - maputils "github.com/devfile/devworkspace-operator/internal/map" - "github.com/devfile/devworkspace-operator/pkg/config" - "github.com/devfile/devworkspace-operator/pkg/constants" - "github.com/devfile/devworkspace-operator/pkg/infrastructure" - "github.com/devfile/devworkspace-operator/pkg/provision/sync" - + dwv2 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" "github.com/go-logr/logr" "github.com/google/go-cmp/cmp" routeV1 "github.com/openshift/api/route/v1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" k8sErrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/utils/ptr" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" @@ -43,6 +38,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/reconcile" controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + maputils "github.com/devfile/devworkspace-operator/internal/map" + "github.com/devfile/devworkspace-operator/pkg/config" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" ) var ( @@ -54,8 +55,9 @@ const devWorkspaceRoutingFinalizer = "devworkspacerouting.controller.devfile.io" // DevWorkspaceRoutingReconciler reconciles a DevWorkspaceRouting object type DevWorkspaceRoutingReconciler struct { client.Client - Log logr.Logger - Scheme *runtime.Scheme + NonCachingClient client.Client + Log logr.Logger + Scheme *runtime.Scheme // SolverGetter will be used to get solvers for a particular devWorkspaceRouting SolverGetter solvers.RoutingSolverGetter // Enable additional debug logging @@ -91,15 +93,21 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. reqLogger.Info("Reconciling DevWorkspaceRouting") if instance.Spec.RoutingClass == "" { - return reconcile.Result{}, r.markRoutingFailed(instance, "DevWorkspaceRouting requires field routingClass to be set") + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, "DevWorkspaceRouting requires field routingClass to be set") } - solver, err := r.SolverGetter.GetSolver(r.Client, instance.Spec.RoutingClass) + // Solvers need fresh Service ownership data, including Services excluded from the cache. + if r.NonCachingClient == nil { + return reconcile.Result{}, fmt.Errorf("non-caching client is not configured") + } + solverAPI := r.NonCachingClient + solver, err := r.SolverGetter.GetSolver(solverAPI, instance.Spec.RoutingClass) if err != nil { if errors.Is(err, solvers.RoutingNotSupported) { + reqLogger.Info("Routing class not supported by this controller, skipping reconciliation", "routingClass", instance.Spec.RoutingClass) return reconcile.Result{}, nil } - return reconcile.Result{}, r.markRoutingFailed(instance, fmt.Sprintf("Invalid routingClass for DevWorkspace: %s", err)) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, fmt.Sprintf("Invalid routingClass for DevWorkspace: %s", err)) } // Check if the DevWorkspaceRouting instance is marked to be deleted, which is @@ -110,14 +118,22 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. } if instance.Annotations != nil && instance.Annotations[constants.DevWorkspaceStartedStatusAnnotation] == "false" { - if err := r.setStatusStopped(instance); err != nil { + if err := r.setStatusStopped(ctx, instance); err != nil { return reconcile.Result{}, err } return reconcile.Result{}, nil } + // Generated by Codex if instance.Status.Phase == controllerv1alpha1.RoutingFailed { - return reconcile.Result{}, nil + if instance.Status.ObservedGeneration == instance.Generation { + return reconcile.Result{}, nil + } + instance.Status.PodAdditions = nil + instance.Status.ExposedEndpoints = nil + if err := r.reconcileStatus(ctx, instance, nil, nil, false, "Retrying routing after spec change"); err != nil { + return reconcile.Result{}, err + } } // Add finalizer for this CR if not already present @@ -126,13 +142,15 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. } workspaceMeta := solvers.DevWorkspaceMetadata{ - DevWorkspaceId: instance.Spec.DevWorkspaceId, - Namespace: instance.Namespace, - PodSelector: instance.Spec.PodSelector, + DevWorkspaceId: instance.Spec.DevWorkspaceId, + DevWorkspaceName: workspaceName(instance), + DevWorkspaceRoutingUID: instance.UID, + Namespace: instance.Namespace, + PodSelector: instance.Spec.PodSelector, } restrictedAccess, setRestrictedAccess := instance.Annotations[constants.DevWorkspaceRestrictedAccessAnnotation] - routingObjects, err := solver.GetSpecObjects(instance, workspaceMeta) + routingObjects, err := solver.GetSpecObjects(ctx, instance, workspaceMeta) if err != nil { var notReady *solvers.RoutingNotReady if errors.As(err, ¬Ready) { @@ -141,13 +159,25 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. duration = 1 * time.Second } reqLogger.Info("controller not ready for devworkspace routing. Retrying", "DelayMs", duration.Milliseconds()) - return reconcile.Result{RequeueAfter: duration}, r.reconcileStatus(instance, nil, nil, false, "Waiting for DevWorkspaceRouting controller to be ready") + return reconcile.Result{RequeueAfter: duration}, r.reconcileStatus(ctx, instance, nil, nil, false, "Waiting for DevWorkspaceRouting controller to be ready") } var invalid *solvers.RoutingInvalid if errors.As(err, &invalid) { reqLogger.Error(invalid, "routing controller considers routing invalid") - return reconcile.Result{}, r.markRoutingFailed(instance, fmt.Sprintf("Unable to provision networking for DevWorkspace: %s", invalid)) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, fmt.Sprintf("Unable to provision networking for DevWorkspace: %s", invalid)) + } + + var conflict *solvers.ServiceConflictError + if errors.As(err, &conflict) { + reqLogger.Error(conflict, "Routing controller detected a service conflict", "endpointName", conflict.EndpointName, "workspaceName", conflict.WorkspaceName) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, fmt.Sprintf("Unable to provision networking for DevWorkspace: %s", conflict)) + } + + var duplicate *solvers.DuplicateEndpointError + if errors.As(err, &duplicate) { + reqLogger.Error(duplicate, "Routing controller detected a duplicate endpoint name", "endpointName", duplicate.EndpointName) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, fmt.Sprintf("Unable to provision networking for DevWorkspace: %s", duplicate)) } // generic error, just fail the reconciliation @@ -185,17 +215,38 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. } } - servicesInSync, clusterServices, err := r.syncServices(instance, services) + servicesInSync, clusterServices, err := r.syncServices(ctx, instance, services) if err != nil { + if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) { + return reconcile.Result{}, err + } failError := &sync.UnrecoverableSyncError{} if errors.As(err, &failError) { - return reconcile.Result{}, r.markRoutingFailed(instance, err.Error()) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, err.Error()) } reqLogger.Error(err, "Error syncing services") - return reconcile.Result{Requeue: true}, r.reconcileStatus(instance, nil, nil, false, "Preparing services") + return reconcile.Result{Requeue: true}, r.reconcileStatus(ctx, instance, nil, nil, false, "Preparing services") } else if !servicesInSync { reqLogger.Info("Services not in sync") - return reconcile.Result{Requeue: true}, r.reconcileStatus(instance, nil, nil, false, "Preparing services") + return reconcile.Result{Requeue: true}, r.reconcileStatus(ctx, instance, nil, nil, false, "Preparing services") + } + + // Generated by Codex. + if clusterSolver, builtin := solver.(*solvers.ClusterSolver); builtin && clusterSolver.TLS { + if err := r.validateServingCertificates(ctx, clusterServices); err != nil { + instance.Status.PodAdditions = nil + instance.Status.ExposedEndpoints = nil + var invalid *solvers.RoutingInvalid + if errors.As(err, &invalid) { + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, fmt.Sprintf("Unable to provision networking for DevWorkspace: %s", invalid)) + } + statusErr := r.reconcileStatus(ctx, instance, nil, nil, false, "Waiting for serving certificates") + var notReady *solvers.RoutingNotReady + if errors.As(err, ¬Ready) { + return reconcile.Result{RequeueAfter: notReady.Retry}, statusErr + } + return reconcile.Result{}, errors.Join(err, statusErr) + } } clusterRoutingObj := solvers.RoutingObjects{ @@ -207,13 +258,13 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. if err != nil { failError := &sync.UnrecoverableSyncError{} if errors.As(err, &failError) { - return reconcile.Result{}, r.markRoutingFailed(instance, err.Error()) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, err.Error()) } reqLogger.Error(err, "Error syncing routes") - return reconcile.Result{Requeue: true}, r.reconcileStatus(instance, nil, nil, false, "Preparing routes") + return reconcile.Result{Requeue: true}, r.reconcileStatus(ctx, instance, nil, nil, false, "Preparing routes") } else if !routesInSync { reqLogger.Info("Routes not in sync") - return reconcile.Result{Requeue: true}, r.reconcileStatus(instance, nil, nil, false, "Preparing routes") + return reconcile.Result{Requeue: true}, r.reconcileStatus(ctx, instance, nil, nil, false, "Preparing routes") } clusterRoutingObj.Routes = clusterRoutes } else { @@ -221,13 +272,13 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. if err != nil { failError := &sync.UnrecoverableSyncError{} if errors.As(err, &failError) { - return reconcile.Result{}, r.markRoutingFailed(instance, err.Error()) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, err.Error()) } reqLogger.Error(err, "Error syncing ingresses") - return reconcile.Result{Requeue: true}, r.reconcileStatus(instance, nil, nil, false, "Preparing ingresses") + return reconcile.Result{Requeue: true}, r.reconcileStatus(ctx, instance, nil, nil, false, "Preparing ingresses") } else if !ingressesInSync { reqLogger.Info("Ingresses not in sync") - return reconcile.Result{Requeue: true}, r.reconcileStatus(instance, nil, nil, false, "Preparing ingresses") + return reconcile.Result{Requeue: true}, r.reconcileStatus(ctx, instance, nil, nil, false, "Preparing ingresses") } clusterRoutingObj.Ingresses = clusterIngresses } @@ -235,10 +286,19 @@ func (r *DevWorkspaceRoutingReconciler) Reconcile(ctx context.Context, req ctrl. exposedEndpoints, endpointsAreReady, err := solver.GetExposedEndpoints(instance.Spec.Endpoints, clusterRoutingObj) if err != nil { reqLogger.Error(err, "Could not get exposed endpoints for devworkspace") - return reconcile.Result{}, r.markRoutingFailed(instance, fmt.Sprintf("Could not get exposed endpoints for DevWorkspace: %s", err)) + return reconcile.Result{}, r.markRoutingFailed(ctx, instance, fmt.Sprintf("Could not get exposed endpoints for DevWorkspace: %s", err)) } - return reconcile.Result{}, r.reconcileStatus(instance, &routingObjects, exposedEndpoints, endpointsAreReady, "") + return reconcile.Result{}, r.reconcileStatus(ctx, instance, &routingObjects, exposedEndpoints, endpointsAreReady, "") +} + +// Generated by Codex. +func workspaceName(routing *controllerv1alpha1.DevWorkspaceRouting) string { + owner := metav1.GetControllerOf(routing) + if owner == nil || owner.Kind != "DevWorkspace" || schema.FromAPIVersionAndKind(owner.APIVersion, owner.Kind).Group != dwv2.SchemeGroupVersion.Group { + return "" + } + return owner.Name } // setFinalizer ensures a finalizer is set on a devWorkspaceRouting instance; no-op if finalizer is already present. @@ -278,13 +338,20 @@ func (r *DevWorkspaceRoutingReconciler) finalize(solver solvers.RoutingSolver, i return nil } -func (r *DevWorkspaceRoutingReconciler) markRoutingFailed(instance *controllerv1alpha1.DevWorkspaceRouting, message string) error { +// Generated by Codex +func (r *DevWorkspaceRoutingReconciler) markRoutingFailed(ctx context.Context, instance *controllerv1alpha1.DevWorkspaceRouting, message string) error { + if instance.Status.Phase == controllerv1alpha1.RoutingFailed && + instance.Status.Message == message && instance.Status.ObservedGeneration == instance.Generation { + return nil + } instance.Status.Message = message instance.Status.Phase = controllerv1alpha1.RoutingFailed - return r.Status().Update(context.TODO(), instance) + instance.Status.ObservedGeneration = instance.Generation + return r.Status().Update(ctx, instance) } func (r *DevWorkspaceRoutingReconciler) reconcileStatus( + ctx context.Context, instance *controllerv1alpha1.DevWorkspaceRouting, routingObjects *solvers.RoutingObjects, exposedEndpoints map[string]controllerv1alpha1.ExposedEndpointList, @@ -294,9 +361,11 @@ func (r *DevWorkspaceRoutingReconciler) reconcileStatus( if !endpointsReady { instance.Status.Phase = controllerv1alpha1.RoutingPreparing instance.Status.Message = message - return r.Status().Update(context.TODO(), instance) + instance.Status.ObservedGeneration = instance.Generation + return r.Status().Update(ctx, instance) } if instance.Status.Phase == controllerv1alpha1.RoutingReady && + instance.Status.ObservedGeneration == instance.Generation && cmp.Equal(instance.Status.PodAdditions, routingObjects.PodAdditions) && cmp.Equal(instance.Status.ExposedEndpoints, exposedEndpoints) { return nil @@ -305,15 +374,17 @@ func (r *DevWorkspaceRoutingReconciler) reconcileStatus( instance.Status.Message = "DevWorkspaceRouting prepared" instance.Status.PodAdditions = routingObjects.PodAdditions instance.Status.ExposedEndpoints = exposedEndpoints - return r.Status().Update(context.TODO(), instance) + instance.Status.ObservedGeneration = instance.Generation + return r.Status().Update(ctx, instance) } -func (r *DevWorkspaceRoutingReconciler) setStatusStopped(instance *controllerv1alpha1.DevWorkspaceRouting) error { +func (r *DevWorkspaceRoutingReconciler) setStatusStopped(ctx context.Context, instance *controllerv1alpha1.DevWorkspaceRouting) error { instance.Status.Phase = controllerv1alpha1.RoutingStopped instance.Status.Message = "DevWorkspace is not started" instance.Status.PodAdditions = nil instance.Status.ExposedEndpoints = nil - return r.Status().Update(context.TODO(), instance) + instance.Status.ObservedGeneration = instance.Generation + return r.Status().Update(ctx, instance) } func contains(list []string, s string) bool { @@ -335,6 +406,14 @@ func remove(list []string, s string) []string { } func (r *DevWorkspaceRoutingReconciler) SetupWithManager(mgr ctrl.Manager) error { + if r.NonCachingClient == nil { + freshClient, err := client.New(mgr.GetConfig(), client.Options{Scheme: mgr.GetScheme()}) + if err != nil { + return err + } + r.NonCachingClient = freshClient + } + maxConcurrentReconciles, err := config.GetMaxConcurrentReconciles() if err != nil { return err diff --git a/controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go b/controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go index 6c8cf1a30..b6e859d69 100644 --- a/controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go +++ b/controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -14,22 +14,85 @@ package devworkspacerouting_test import ( + "context" "fmt" + "testing" - controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" - "github.com/devfile/devworkspace-operator/pkg/common" - "github.com/devfile/devworkspace-operator/pkg/config" - "github.com/devfile/devworkspace-operator/pkg/constants" - "github.com/devfile/devworkspace-operator/pkg/infrastructure" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" routeV1 "github.com/openshift/api/route/v1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" k8sErrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/intstr" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/config" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" ) +func TestReconcileMarksDuplicateEndpointRoutingFailed(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + g := NewWithT(t) + scheme := runtime.NewScheme() + g.Expect(corev1.AddToScheme(scheme)).To(Succeed()) + g.Expect(controllerv1alpha1.AddToScheme(scheme)).To(Succeed()) + routing := &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "duplicate-endpoints", Namespace: "test-namespace"}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: "workspace-id", + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + PodSelector: map[string]string{constants.DevWorkspaceIDLabel: "workspace-id"}, + Endpoints: map[string]controllerv1alpha1.EndpointList{ + "machine1": {{ + Name: "my--endpoint", + TargetPort: 5000, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }}, + "machine2": {{ + Name: "my-endpoint", + TargetPort: 6000, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }}, + }, + }, + } + fakeClient := fake.NewClientBuilder().WithScheme(scheme). + WithStatusSubresource(&controllerv1alpha1.DevWorkspaceRouting{}).WithObjects(routing).Build() + reconciler := &devworkspacerouting.DevWorkspaceRoutingReconciler{ + Client: fakeClient, + NonCachingClient: fakeClient, + Log: ctrl.Log, + Scheme: scheme, + SolverGetter: &solvers.SolverGetter{}, + } + testCtx := context.Background() + key := client.ObjectKeyFromObject(routing) + result, err := reconciler.Reconcile(testCtx, ctrl.Request{NamespacedName: key}) + g.Expect(err).To(Succeed()) + g.Expect(result).To(Equal(ctrl.Result{})) + stored := &controllerv1alpha1.DevWorkspaceRouting{} + g.Expect(fakeClient.Get(testCtx, key, stored)).To(Succeed()) + g.Expect(stored.Status.Phase).To(Equal(controllerv1alpha1.RoutingFailed)) + g.Expect(stored.Status.Message).To(ContainSubstring("discoverable endpoints 'my--endpoint' and 'my-endpoint' both normalize to Service name 'my-endpoint'")) + services := &corev1.ServiceList{} + g.Expect(fakeClient.List(testCtx, services)).To(Succeed()) + g.Expect(services.Items).To(BeEmpty()) +} + var _ = Describe("DevWorkspaceRouting Controller", func() { Context("Basic DevWorkspaceRouting Tests", func() { It("Gets Ready Status on OpenShift", func() { diff --git a/controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go b/controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go new file mode 100644 index 000000000..9be90f37f --- /dev/null +++ b/controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go @@ -0,0 +1,176 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting_test + +import ( + "context" + "reflect" + + . "github.com/onsi/ginkgo/v2" + . "github.com/onsi/gomega" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "sigs.k8s.io/controller-runtime/pkg/client" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/constants" +) + +// Generated by Codex +var _ = Describe("failed routing generation recovery", func() { + It("retries a failed routing after an endpoint change and leaves the foreign Service unchanged", func() { + const routingName = "generation-recovery-routing" + const workspaceID = "generation-recovery" + const conflictEndpoint = "generation-conflict" + const updatedEndpoint = "generation-recovered" + const namespace = testNamespace + + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: conflictEndpoint, Namespace: namespace}, + Spec: corev1.ServiceSpec{ + Ports: []corev1.ServicePort{{Port: 8080}}, + Selector: map[string]string{"app": "foreign"}, + }, + } + Expect(k8sClient.Create(ctx, foreign)).To(Succeed()) + Expect(k8sClient.Get(ctx, namespacedName(foreign.Name, namespace), foreign)).To(Succeed()) + foreignBefore := foreign.DeepCopy() + routing := newGenerationRecoveryRouting(routingName, workspaceID, conflictEndpoint) + Expect(k8sClient.Create(ctx, routing)).To(Succeed()) + DeferCleanup(deleteGenerationRecoveryObjects, routingName, workspaceID, conflictEndpoint, updatedEndpoint) + + routingKey := namespacedName(routingName, namespace) + var failed controllerv1alpha1.DevWorkspaceRouting + Eventually(func() (controllerv1alpha1.DevWorkspaceRoutingPhase, error) { + if err := k8sClient.Get(ctx, routingKey, &failed); err != nil { + return "", err + } + return failed.Status.Phase, nil + }, timeout, interval).Should(Equal(controllerv1alpha1.RoutingFailed)) + Expect(failed.Status.Message).To(ContainSubstring("already in use")) + Expect(failed.Status.ObservedGeneration).To(Equal(failed.Generation)) + failedGeneration := failed.Generation + failedUID := failed.UID + + failed.Spec.Endpoints[testMachineName][0].Name = updatedEndpoint + Expect(k8sClient.Update(ctx, &failed)).To(Succeed()) + Eventually(func() int64 { + current := &controllerv1alpha1.DevWorkspaceRouting{} + if err := k8sClient.Get(ctx, routingKey, current); err != nil { + return failedGeneration + } + return current.Generation + }, timeout, interval).Should(BeNumerically(">", failedGeneration)) + + var recovered controllerv1alpha1.DevWorkspaceRouting + Eventually(func() (controllerv1alpha1.DevWorkspaceRoutingPhase, error) { + if err := k8sClient.Get(ctx, routingKey, &recovered); err != nil { + return "", err + } + if recovered.Status.ObservedGeneration != recovered.Generation { + return "", nil + } + return recovered.Status.Phase, nil + }, timeout, interval).Should(Equal(controllerv1alpha1.RoutingReady)) + Expect(recovered.UID).To(Equal(failedUID)) + Expect(recovered.Generation).To(BeNumerically(">", failedGeneration)) + Expect(recovered.Status.ObservedGeneration).To(Equal(recovered.Generation)) + + recoveredService := &corev1.Service{} + Expect(k8sClient.Get(ctx, namespacedName(updatedEndpoint, namespace), recoveredService)).To(Succeed()) + foreignAfter := &corev1.Service{} + Expect(k8sClient.Get(ctx, namespacedName(conflictEndpoint, namespace), foreignAfter)).To(Succeed()) + Expect(reflect.DeepEqual(foreignAfter, foreignBefore)).To(BeTrue(), "the foreign Service must remain unchanged") + }) + + It("keeps a current-generation failure terminal after its conflicting Service is removed", func() { + const routingName = "generation-terminal-routing" + const workspaceID = "generation-terminal" + const conflictEndpoint = "terminal-conflict" + const namespace = testNamespace + + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: conflictEndpoint, Namespace: namespace}, + Spec: corev1.ServiceSpec{ + Ports: []corev1.ServicePort{{Port: 8080}}, + Selector: map[string]string{"app": "foreign"}, + }, + } + Expect(k8sClient.Create(ctx, foreign)).To(Succeed()) + routing := newGenerationRecoveryRouting(routingName, workspaceID, conflictEndpoint) + Expect(k8sClient.Create(ctx, routing)).To(Succeed()) + DeferCleanup(deleteGenerationRecoveryObjects, routingName, workspaceID, conflictEndpoint, "") + + routingKey := namespacedName(routingName, namespace) + var failed controllerv1alpha1.DevWorkspaceRouting + Eventually(func() (controllerv1alpha1.DevWorkspaceRoutingPhase, error) { + if err := k8sClient.Get(ctx, routingKey, &failed); err != nil { + return "", err + } + return failed.Status.Phase, nil + }, timeout, interval).Should(Equal(controllerv1alpha1.RoutingFailed)) + Expect(failed.Status.ObservedGeneration).To(Equal(failed.Generation)) + failureMessage := failed.Status.Message + + Expect(k8sClient.Delete(ctx, foreign)).To(Succeed()) + failed.Annotations = map[string]string{"test.devfile.io/reconcile": "again"} + Expect(k8sClient.Update(ctx, &failed)).To(Succeed()) + Consistently(func() (controllerv1alpha1.DevWorkspaceRoutingPhase, error) { + current := &controllerv1alpha1.DevWorkspaceRouting{} + if err := k8sClient.Get(ctx, routingKey, current); err != nil { + return "", err + } + Expect(current.Generation).To(Equal(failed.Generation)) + Expect(current.Status.ObservedGeneration).To(Equal(current.Generation)) + Expect(current.Status.Message).To(Equal(failureMessage)) + return current.Status.Phase, nil + }, 2*interval, interval).Should(Equal(controllerv1alpha1.RoutingFailed)) + }) +}) + +// Generated by Codex +func newGenerationRecoveryRouting(name, workspaceID, endpointName string) *controllerv1alpha1.DevWorkspaceRouting { + attributes := controllerv1alpha1.Attributes{}.PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true) + return &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: testNamespace}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: workspaceID, + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + PodSelector: map[string]string{constants.DevWorkspaceIDLabel: workspaceID}, + Endpoints: map[string]controllerv1alpha1.EndpointList{ + testMachineName: {{ + Name: endpointName, + TargetPort: 8080, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: attributes, + }}, + }, + }, + } +} + +// Generated by Codex +func deleteGenerationRecoveryObjects(routingName, workspaceID, conflictEndpoint, updatedEndpoint string) { + for _, object := range []client.Object{ + &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: routingName, Namespace: testNamespace}}, + &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: conflictEndpoint, Namespace: testNamespace}}, + &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: updatedEndpoint, Namespace: testNamespace}}, + &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: workspaceID + "-service", Namespace: testNamespace}}, + } { + if object.GetName() == "" { + continue + } + Expect(client.IgnoreNotFound(k8sClient.Delete(context.Background(), object))).To(Succeed()) + } +} diff --git a/controllers/controller/devworkspacerouting/generation_recovery_test.go b/controllers/controller/devworkspacerouting/generation_recovery_test.go new file mode 100644 index 000000000..a182f53e2 --- /dev/null +++ b/controllers/controller/devworkspacerouting/generation_recovery_test.go @@ -0,0 +1,395 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "fmt" + "reflect" + "testing" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +// Generated by Codex +func TestReconcileRetriesFailedRoutingAfterSpecChange(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(1) + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "foreign-service"}, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}, + } + r, backing := recoveryReconciler(t, routing, foreign) + r.Client = serviceLabelFilteredClient{backing} + request := recoveryRequest(routing) + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + failed := getRouting(t, backing, routing) + if failed.Status.Phase != controllerv1alpha1.RoutingFailed || failed.Status.ObservedGeneration != 1 { + t.Fatalf("want foreign Service conflict to fail generation 1, got %#v", failed.Status) + } + failed.Spec.Endpoints["main"][0].Name = "renamed" + failed.Generation++ + if err := backing.Update(context.Background(), failed); err != nil { + t.Fatal(err) + } + + for range 3 { + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + } + actual := getRouting(t, backing, routing) + if actual.Status.Phase != controllerv1alpha1.RoutingReady || actual.Status.ObservedGeneration != 2 { + t.Fatalf("want spec change to retry routing to Ready, got %s: %s", actual.Status.Phase, actual.Status.Message) + } + if actual.UID != routing.UID { + t.Fatalf("routing UID changed during recovery: want %s, got %s", routing.UID, actual.UID) + } + actualForeign := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(foreign), actualForeign); err != nil { + t.Fatalf("foreign Service was deleted: %v", err) + } + if !reflect.DeepEqual(foreign, actualForeign) { + t.Fatalf("foreign Service changed during recovery: %#v", actualForeign) + } +} + +// Generated by Codex +func TestFailedRoutingRemainsTerminalWhenForeignServiceIsRemoved(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(1) + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: routing.Namespace, UID: "foreign-service"}, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}, + } + r, backing := recoveryReconciler(t, routing, foreign) + r.Client = serviceLabelFilteredClient{Client: backing} + if _, err := r.Reconcile(context.Background(), recoveryRequest(routing)); err != nil { + t.Fatal(err) + } + failed := getRouting(t, backing, routing) + if failed.Status.Phase != controllerv1alpha1.RoutingFailed || failed.Status.ObservedGeneration != 1 { + t.Fatalf("foreign Service collision did not fail generation 1: %#v", failed.Status) + } + if err := backing.Delete(context.Background(), foreign); err != nil { + t.Fatal(err) + } + recorder := &generationRecordingClient{Client: serviceLabelFilteredClient{Client: backing}} + r.Client = recorder + r.NonCachingClient = backing + if _, err := r.Reconcile(context.Background(), recoveryRequest(routing)); err != nil { + t.Fatal(err) + } + stored := getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingFailed || stored.Status.Message != failed.Status.Message || stored.Status.ObservedGeneration != 1 { + t.Fatalf("same-generation failure should remain terminal: %#v", stored.Status) + } + if recorder.statusUpdates != 0 || recorder.serviceCreates != 0 { + t.Fatalf("terminal failure wrote status %d times or created %d Services", recorder.statusUpdates, recorder.serviceCreates) + } + if err := backing.Get(context.Background(), client.ObjectKey{Namespace: routing.Namespace, Name: "api"}, &corev1.Service{}); err == nil { + t.Fatal("terminal failed routing created a Service after conflict removal") + } +} + +// Generated by Codex +func TestChangedInvalidSpecFailsAndThenBecomesTerminal(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(2) + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{ + Phase: controllerv1alpha1.RoutingFailed, Message: "old generation failed", ObservedGeneration: 1, + PodAdditions: &controllerv1alpha1.PodAdditions{Volumes: []corev1.Volume{{Name: "stale"}}}, + ExposedEndpoints: map[string]controllerv1alpha1.ExposedEndpointList{"old": {{Name: "old", Url: "https://old"}}}, + } + routing.Spec.Endpoints["other"] = recoveryEndpoints("api") + client, backing := recoveryRecordingReconciler(t, routing) + request := recoveryRequest(routing) + if _, err := client.reconciler.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + if len(client.statusHistory) < 2 || client.statusHistory[0].phase != controllerv1alpha1.RoutingPreparing || + client.statusHistory[0].message != "Retrying routing after spec change" || client.statusHistory[0].generation != 2 { + t.Fatalf("new generation must persist Preparing before validating/provisioning: %#v", client.statusHistory) + } + failed := getRouting(t, backing, routing) + if failed.Status.Phase != controllerv1alpha1.RoutingFailed || failed.Status.ObservedGeneration != 2 || failed.Status.Message == "" { + t.Fatalf("invalid new generation should fail and stamp generation 2: %#v", failed.Status) + } + if failed.Status.PodAdditions != nil || failed.Status.ExposedEndpoints != nil { + t.Fatalf("invalid new generation published stale routing results: %#v", failed.Status) + } + if len(client.statusHistory) != 2 || client.statusHistory[1].phase != controllerv1alpha1.RoutingFailed || client.statusHistory[1].generation != 2 { + t.Fatalf("invalid new generation should write only Preparing then Failed: %#v", client.statusHistory) + } + writes := client.statusUpdates + if _, err := client.reconciler.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + if client.statusUpdates != writes { + t.Fatalf("same-generation invalid routing wrote status again: before=%d after=%d", writes, client.statusUpdates) + } +} + +// Generated by Codex +func TestLegacyFailedRoutingRecoversFromZeroObservedGeneration(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(1) + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{Phase: controllerv1alpha1.RoutingFailed, Message: "legacy failure"} + r, backing := recoveryReconciler(t, routing) + request := recoveryRequest(routing) + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + preparing := getRouting(t, backing, routing) + if preparing.Status.Phase != controllerv1alpha1.RoutingPreparing || preparing.Status.ObservedGeneration != 1 { + t.Fatalf("legacy failure should retry and stamp current generation: %#v", preparing.Status) + } + for range 3 { + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + } + ready := getRouting(t, backing, routing) + if ready.Status.Phase != controllerv1alpha1.RoutingReady || ready.Status.ObservedGeneration != 1 { + t.Fatalf("legacy failure did not recover to Ready once: %#v", ready.Status) + } +} + +// Generated by Codex +func TestRoutingPhasesStampObservedGeneration(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + t.Run("Preparing and Ready", func(t *testing.T) { + routing := recoveryRouting(4) + r, backing := recoveryReconciler(t, routing) + request := recoveryRequest(routing) + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + preparing := getRouting(t, backing, routing) + if preparing.Status.Phase != controllerv1alpha1.RoutingPreparing || preparing.Status.ObservedGeneration != 4 { + t.Fatalf("Preparing did not stamp generation: %#v", preparing.Status) + } + for range 3 { + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + } + ready := getRouting(t, backing, routing) + if ready.Status.Phase != controllerv1alpha1.RoutingReady || ready.Status.ObservedGeneration != 4 { + t.Fatalf("Ready did not stamp generation: %#v", ready.Status) + } + }) + t.Run("Failed", func(t *testing.T) { + routing := recoveryRouting(7) + routing.Spec.RoutingClass = "" + r, backing := recoveryReconciler(t, routing) + if _, err := r.Reconcile(context.Background(), recoveryRequest(routing)); err != nil { + t.Fatal(err) + } + failed := getRouting(t, backing, routing) + if failed.Status.Phase != controllerv1alpha1.RoutingFailed || failed.Status.ObservedGeneration != 7 { + t.Fatalf("Failed did not stamp generation: %#v", failed.Status) + } + }) + t.Run("Stopped", func(t *testing.T) { + routing := recoveryRouting(8) + routing.Annotations = map[string]string{constants.DevWorkspaceStartedStatusAnnotation: "false"} + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{Phase: controllerv1alpha1.RoutingReady} + r, backing := recoveryReconciler(t, routing) + if _, err := r.Reconcile(context.Background(), recoveryRequest(routing)); err != nil { + t.Fatal(err) + } + stopped := getRouting(t, backing, routing) + if stopped.Status.Phase != controllerv1alpha1.RoutingStopped || stopped.Status.ObservedGeneration != 8 { + t.Fatalf("Stopped did not stamp generation: %#v", stopped.Status) + } + }) +} + +// Generated by Codex +func TestReadyNoOpStillWritesWhenObservedGenerationIsStale(t *testing.T) { + routing := recoveryRouting(3) + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{Phase: controllerv1alpha1.RoutingReady, ObservedGeneration: 2} + client, backing := recoveryRecordingReconciler(t, routing) + if err := client.reconciler.reconcileStatus(context.Background(), routing, &solvers.RoutingObjects{}, nil, true, ""); err != nil { + t.Fatal(err) + } + stored := getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingReady || stored.Status.ObservedGeneration != 3 { + t.Fatalf("Ready no-op did not update stale observed generation: %#v", stored.Status) + } + if client.statusUpdates != 1 { + t.Fatalf("stale Ready status should be written once, got %d updates", client.statusUpdates) + } +} + +// Generated by Codex +func TestMatchingFailedGenerationDoesNotRepeatValidationStatusWrite(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(5) + routing.Spec.RoutingClass = "" + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{Phase: controllerv1alpha1.RoutingFailed, Message: "DevWorkspaceRouting requires field routingClass to be set", ObservedGeneration: 5} + client, backing := recoveryRecordingReconciler(t, routing) + if _, err := client.reconciler.Reconcile(context.Background(), recoveryRequest(routing)); err != nil { + t.Fatal(err) + } + stored := getRouting(t, backing, routing) + if stored.Status.Message != "DevWorkspaceRouting requires field routingClass to be set" || stored.Status.ObservedGeneration != 5 || client.statusUpdates != 0 { + t.Fatalf("repeated Failed validation rewrote identical status: status=%#v updates=%d", stored.Status, client.statusUpdates) + } +} + +// Generated by Codex +func TestStoppedRoutingCanLeaveMatchingFailedGeneration(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(5) + routing.Annotations = map[string]string{constants.DevWorkspaceStartedStatusAnnotation: "false"} + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{Phase: controllerv1alpha1.RoutingFailed, Message: "failure", ObservedGeneration: 5} + client, backing := recoveryRecordingReconciler(t, routing) + if _, err := client.reconciler.Reconcile(context.Background(), recoveryRequest(routing)); err != nil { + t.Fatal(err) + } + stored := getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingStopped || stored.Status.ObservedGeneration != 5 || client.statusUpdates != 1 { + t.Fatalf("stopped annotation should take effect on failed routing: status=%#v updates=%d", stored.Status, client.statusUpdates) + } +} + +// Generated by Codex +func TestPreparingStatusWriteFailurePreventsServiceProvisioning(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := recoveryRouting(2) + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{Phase: controllerv1alpha1.RoutingFailed, Message: "old failure", ObservedGeneration: 1} + client, _ := recoveryRecordingReconciler(t, routing) + writeErr := errors.New("status update failed") + client.statusUpdateErr = writeErr + _, err := client.reconciler.Reconcile(context.Background(), recoveryRequest(routing)) + if !errors.Is(err, writeErr) { + t.Fatalf("want Preparing status write error %v, got %v", writeErr, err) + } + if client.serviceCreates != 0 { + t.Fatalf("created %d Services after Preparing status write failed", client.serviceCreates) + } +} + +// Generated by Codex +func recoveryRouting(generation int64) *controllerv1alpha1.DevWorkspaceRouting { + return &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing", Generation: generation}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: "mine", RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + Endpoints: map[string]controllerv1alpha1.EndpointList{"main": recoveryEndpoints("api")}, + }, + } +} + +// Generated by Codex +func recoveryEndpoints(names ...string) controllerv1alpha1.EndpointList { + endpoints := make(controllerv1alpha1.EndpointList, len(names)) + for i, name := range names { + endpoints[i] = controllerv1alpha1.Endpoint{ + Name: name, TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true), + } + } + return endpoints +} + +// Generated by Codex +func recoveryReconciler(t *testing.T, routing *controllerv1alpha1.DevWorkspaceRouting, objects ...client.Object) (*DevWorkspaceRoutingReconciler, client.Client) { + t.Helper() + scheme := routingTestScheme(t) + allObjects := append([]client.Object{routing}, objects...) + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(allObjects...).Build() + r := &DevWorkspaceRoutingReconciler{Client: backing, NonCachingClient: backing, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}} + return r, backing +} + +// Generated by Codex +func recoveryRecordingReconciler(t *testing.T, routing *controllerv1alpha1.DevWorkspaceRouting, objects ...client.Object) (*generationRecordingClient, client.Client) { + t.Helper() + reconciler, backing := recoveryReconciler(t, routing, objects...) + recorder := &generationRecordingClient{Client: backing, reconciler: reconciler} + reconciler.Client = recorder + reconciler.NonCachingClient = backing + return recorder, backing +} + +// Generated by Codex +func recoveryRequest(routing *controllerv1alpha1.DevWorkspaceRouting) ctrl.Request { + return ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)} +} + +// Generated by Codex +type generationRecordingClient struct { + client.Client + reconciler *DevWorkspaceRoutingReconciler + statusUpdates int + statusUpdateErr error + serviceCreates int + statusHistory []generationStatusSnapshot +} + +// Generated by Codex +type generationStatusSnapshot struct { + phase controllerv1alpha1.DevWorkspaceRoutingPhase + message string + generation int64 +} + +// Generated by Codex +func (c *generationRecordingClient) Create(ctx context.Context, object client.Object, options ...client.CreateOption) error { + if _, ok := object.(*corev1.Service); ok { + c.serviceCreates++ + } + return c.Client.Create(ctx, object, options...) +} + +// Generated by Codex +func (c *generationRecordingClient) Status() client.SubResourceWriter { + return generationStatusWriter{SubResourceWriter: c.Client.Status(), owner: c} +} + +// Generated by Codex +type generationStatusWriter struct { + client.SubResourceWriter + owner *generationRecordingClient +} + +// Generated by Codex +func (w generationStatusWriter) Update(ctx context.Context, object client.Object, options ...client.SubResourceUpdateOption) error { + w.owner.statusUpdates++ + if routing, ok := object.(*controllerv1alpha1.DevWorkspaceRouting); ok { + w.owner.statusHistory = append(w.owner.statusHistory, generationStatusSnapshot{ + phase: routing.Status.Phase, message: routing.Status.Message, generation: routing.Status.ObservedGeneration, + }) + } + if w.owner.statusUpdateErr != nil { + return fmt.Errorf("recorded status update: %w", w.owner.statusUpdateErr) + } + return w.SubResourceWriter.Update(ctx, object, options...) +} diff --git a/controllers/controller/devworkspacerouting/service_sync_context_test.go b/controllers/controller/devworkspacerouting/service_sync_context_test.go new file mode 100644 index 000000000..4f5533a4b --- /dev/null +++ b/controllers/controller/devworkspacerouting/service_sync_context_test.go @@ -0,0 +1,164 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "fmt" + "reflect" + "testing" + "time" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + "sigs.k8s.io/controller-runtime/pkg/client/interceptor" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/constants" +) + +// Generated by Codex +func TestSyncServicesPassesContextAndStopsOnCancellation(t *testing.T) { + for _, operation := range []struct { + name string + calls []string + }{ + {"list", []string{"list"}}, + {"delete", []string{"list", "delete"}}, + {"get", []string{"list", "get"}}, + {"create", []string{"list", "get", "create"}}, + {"update", []string{"list", "get", "update"}}, + } { + for _, cause := range []error{context.Canceled, context.DeadlineExceeded} { + t.Run(operation.name+"/"+cause.Error(), func(t *testing.T) { + scheme := routingTestScheme(t) + routing := &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing", Namespace: "ns", UID: "routing-uid"}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "workspace-id"}, + } + desired := corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "first", Namespace: "ns", + Labels: map[string]string{constants.DevWorkspaceIDLabel: "workspace-id"}, + OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: routing.UID, Controller: ptr.To(true)}}, + }, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "desired"}}, + } + later := desired.DeepCopy() + later.Name = "later" + var objects []client.Object + if operation.name == "delete" || operation.name == "update" { + existing := desired.DeepCopy() + existing.UID = "service-uid" + existing.ResourceVersion = "7" + existing.Spec.Selector = map[string]string{"app": "old"} + if operation.name == "delete" { + existing.Name = "obsolete" + secondObsolete := existing.DeepCopy() + secondObsolete.Name = "obsolete-later" + objects = append(objects, secondObsolete) + } + objects = append(objects, existing) + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(objects...).Build() + before := &corev1.ServiceList{} + if err := backing.List(context.Background(), before); err != nil { + t.Fatal(err) + } + deadline := time.Now().Add(time.Minute) + ctx, cancel := context.WithDeadline(context.WithValue(context.Background(), testContextKey{}, "sync-context"), deadline) + defer cancel() + apiErr := fmt.Errorf("Service %s: %w", operation.name, cause) + var calls []string + check := func(received context.Context, name string) error { + calls = append(calls, name) + gotDeadline, hasDeadline := received.Deadline() + if received.Value(testContextKey{}) != "sync-context" || !hasDeadline || !gotDeadline.Equal(deadline) { + t.Errorf("%s lost context value/deadline: value=%v deadline=%v present=%v", name, received.Value(testContextKey{}), gotDeadline, hasDeadline) + } + if name == operation.name { + cancel() + return apiErr + } + return nil + } + cached := interceptor.NewClient(backing, interceptor.Funcs{ + List: func(ctx context.Context, cl client.WithWatch, list client.ObjectList, opts ...client.ListOption) error { + if err := check(ctx, "list"); err != nil { + return err + } + return cl.List(ctx, list, opts...) + }, + Get: func(context.Context, client.WithWatch, client.ObjectKey, client.Object, ...client.GetOption) error { + t.Fatal("guarded Service GET used cached client") + return nil + }, + Delete: func(ctx context.Context, cl client.WithWatch, obj client.Object, opts ...client.DeleteOption) error { + options := (&client.DeleteOptions{}).ApplyOptions(opts) + if options.Preconditions == nil || options.Preconditions.UID == nil || *options.Preconditions.UID != obj.GetUID() || options.Preconditions.ResourceVersion == nil || *options.Preconditions.ResourceVersion != obj.GetResourceVersion() { + t.Error("cleanup Delete lost UID/resource-version preconditions") + } + if err := check(ctx, "delete"); err != nil { + return err + } + return cl.Delete(ctx, obj, opts...) + }, + Create: func(ctx context.Context, cl client.WithWatch, obj client.Object, opts ...client.CreateOption) error { + if err := check(ctx, "create"); err != nil { + return err + } + return cl.Create(ctx, obj, opts...) + }, + Update: func(ctx context.Context, cl client.WithWatch, obj client.Object, opts ...client.UpdateOption) error { + if err := check(ctx, "update"); err != nil { + return err + } + return cl.Update(ctx, obj, opts...) + }, + }) + fresh := interceptor.NewClient(backing, interceptor.Funcs{ + Get: func(ctx context.Context, cl client.WithWatch, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if err := check(ctx, "get"); err != nil { + return err + } + return cl.Get(ctx, key, obj, opts...) + }, + }) + r := DevWorkspaceRoutingReconciler{Client: cached, NonCachingClient: fresh, Scheme: scheme, Log: logr.Discard()} + ready, services, err := r.syncServices(ctx, routing, []corev1.Service{desired, *later}) + if ready || services != nil || err != apiErr || !errors.Is(err, cause) { + t.Fatalf("want original cancellation and no Services, got ready=%v services=%v err=%v", ready, services, err) + } + if !errors.Is(ctx.Err(), context.Canceled) { + t.Fatal("Service operation did not cancel the caller context") + } + if !reflect.DeepEqual(calls, operation.calls) { + t.Errorf("operations continued after cancellation: want %v, got %v", operation.calls, calls) + } + after := &corev1.ServiceList{} + if err := backing.List(context.Background(), after); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(before.Items, after.Items) { + t.Errorf("canceled sync changed persisted Services: before=%#v after=%#v", before.Items, after.Items) + } + }) + } + } +} diff --git a/controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go b/controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go new file mode 100644 index 000000000..480fd5493 --- /dev/null +++ b/controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go @@ -0,0 +1,241 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "fmt" + "reflect" + "testing" + "time" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +// Generated by Codex +func TestReconcileReturnsServiceSyncContextErrors(t *testing.T) { + for _, test := range []struct { + name string + cause error + }{ + {name: "canceled", cause: context.Canceled}, + {name: "deadline exceeded", cause: context.DeadlineExceeded}, + } { + t.Run(test.name, func(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := serviceSyncContextRouting() + backing := fake.NewClientBuilder().WithScheme(routingTestScheme(t)).WithStatusSubresource(routing).WithObjects(routing).Build() + deadline := time.Now().Add(time.Minute) + ctx, cancel := context.WithDeadline(context.WithValue(context.Background(), testContextKey{}, "reconcile-context"), deadline) + defer cancel() + injectedErr := fmt.Errorf("guarded Service GET failed: %w", test.cause) + tracker := &serviceSyncReconcileTracker{err: injectedErr} + cached := serviceSyncReconcileClient{Client: backing, tracker: tracker} + fresh := serviceSyncReconcileClient{Client: backing, tracker: tracker, fresh: true} + reconciler := DevWorkspaceRoutingReconciler{ + Client: cached, NonCachingClient: fresh, Scheme: routingTestScheme(t), + Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}, + } + + result, err := reconciler.Reconcile(ctx, ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + if err != injectedErr || !errors.Is(err, test.cause) { + t.Fatalf("want original wrapped %v error %v, got result=%#v err=%v", test.cause, injectedErr, result, err) + } + if result != (ctrl.Result{}) { + t.Fatalf("context error returned non-empty reconcile result: %#v", result) + } + if tracker.contextValue != "reconcile-context" || !tracker.hasDeadline || !tracker.deadline.Equal(deadline) { + t.Fatalf("guarded Service GET did not receive reconcile context: %#v", tracker) + } + if !reflect.DeepEqual(tracker.operations, []string{"list", "get"}) { + t.Fatalf("operations continued after guarded Service GET failed: %v", tracker.operations) + } + if tracker.statusCalls != 0 || tracker.statusUpdates != 0 || tracker.serviceCreates != 0 || tracker.serviceUpdates != 0 || tracker.serviceDeletes != 0 { + t.Fatalf("context error caused later status or Service writes: %#v", tracker) + } + assertServiceSyncContextUnchanged(t, backing, routing) + }) + } +} + +// Generated by Codex +func TestReconcileRetriesOrdinaryServiceSyncError(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := serviceSyncContextRouting() + backing := fake.NewClientBuilder().WithScheme(routingTestScheme(t)).WithStatusSubresource(routing).WithObjects(routing).Build() + transientErr := errors.New("temporary Service API failure") + tracker := &serviceSyncReconcileTracker{err: transientErr} + cached := serviceSyncReconcileClient{Client: backing, tracker: tracker} + fresh := serviceSyncReconcileClient{Client: backing, tracker: tracker, fresh: true} + reconciler := DevWorkspaceRoutingReconciler{ + Client: cached, NonCachingClient: fresh, Scheme: routingTestScheme(t), + Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}, + } + + result, err := reconciler.Reconcile(context.Background(), ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + if err != nil || !result.Requeue { + t.Fatalf("ordinary Service sync error should request retry without returning an error, got result=%#v err=%v", result, err) + } + if !reflect.DeepEqual(tracker.operations, []string{"list", "get", "status"}) || tracker.statusCalls != 1 || tracker.statusUpdates != 1 { + t.Fatalf("ordinary Service sync error did not finish status handling: %#v", tracker) + } + actual := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actual); err != nil { + t.Fatal(err) + } + wantStatus := routing.Status + wantStatus.Phase = controllerv1alpha1.RoutingPreparing + wantStatus.Message = "Preparing services" + if !reflect.DeepEqual(actual.Status, wantStatus) { + t.Fatalf("ordinary Service sync error did not preserve routing data while marking Preparing:\nwant: %#v\n got: %#v", wantStatus, actual.Status) + } + if tracker.serviceCreates != 0 || tracker.serviceUpdates != 0 || tracker.serviceDeletes != 0 { + t.Fatalf("ordinary Service sync error changed Services: %#v", tracker) + } +} + +// Generated by Codex +func serviceSyncContextRouting() *controllerv1alpha1.DevWorkspaceRouting { + return &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing", Namespace: "ns", UID: "routing-uid", Generation: 3}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: "workspace-id", + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + Endpoints: map[string]controllerv1alpha1.EndpointList{ + "main": {{Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure}}, + }, + }, + Status: controllerv1alpha1.DevWorkspaceRoutingStatus{ + ObservedGeneration: 3, + PodAdditions: &controllerv1alpha1.PodAdditions{Annotations: map[string]string{"existing": "value"}}, + ExposedEndpoints: map[string]controllerv1alpha1.ExposedEndpointList{"main": {{Name: "existing", Url: "https://example.invalid"}}}, + Phase: controllerv1alpha1.RoutingReady, + Message: "previous status", + }, + } +} + +// Generated by Codex +func assertServiceSyncContextUnchanged(t *testing.T, backing client.Client, routing *controllerv1alpha1.DevWorkspaceRouting) { + t.Helper() + actual := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actual); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(actual.Status, routing.Status) { + t.Fatalf("context error changed persisted routing status:\nwant: %#v\n got: %#v", routing.Status, actual.Status) + } + services := &corev1.ServiceList{} + if err := backing.List(context.Background(), services); err != nil { + t.Fatal(err) + } + if len(services.Items) != 0 { + t.Fatalf("context error created Services: %#v", services.Items) + } +} + +// Generated by Codex +type serviceSyncReconcileTracker struct { + err error + operations []string + contextValue any + deadline time.Time + hasDeadline bool + statusCalls int + statusUpdates int + serviceCreates int + serviceUpdates int + serviceDeletes int +} + +// Generated by Codex +type serviceSyncReconcileClient struct { + client.Client + tracker *serviceSyncReconcileTracker + fresh bool +} + +// Generated by Codex +func (c serviceSyncReconcileClient) Get(ctx context.Context, key client.ObjectKey, object client.Object, options ...client.GetOption) error { + if c.fresh { + if _, ok := object.(*corev1.Service); ok { + c.tracker.operations = append(c.tracker.operations, "get") + c.tracker.contextValue = ctx.Value(testContextKey{}) + c.tracker.deadline, c.tracker.hasDeadline = ctx.Deadline() + return c.tracker.err + } + } + return c.Client.Get(ctx, key, object, options...) +} + +// Generated by Codex +func (c serviceSyncReconcileClient) List(ctx context.Context, list client.ObjectList, options ...client.ListOption) error { + if _, ok := list.(*corev1.ServiceList); ok { + c.tracker.operations = append(c.tracker.operations, "list") + } + return c.Client.List(ctx, list, options...) +} + +// Generated by Codex +func (c serviceSyncReconcileClient) Create(ctx context.Context, object client.Object, options ...client.CreateOption) error { + if _, ok := object.(*corev1.Service); ok { + c.tracker.serviceCreates++ + } + return c.Client.Create(ctx, object, options...) +} + +// Generated by Codex +func (c serviceSyncReconcileClient) Update(ctx context.Context, object client.Object, options ...client.UpdateOption) error { + if _, ok := object.(*corev1.Service); ok { + c.tracker.serviceUpdates++ + } + return c.Client.Update(ctx, object, options...) +} + +// Generated by Codex +func (c serviceSyncReconcileClient) Delete(ctx context.Context, object client.Object, options ...client.DeleteOption) error { + if _, ok := object.(*corev1.Service); ok { + c.tracker.serviceDeletes++ + } + return c.Client.Delete(ctx, object, options...) +} + +// Generated by Codex +func (c serviceSyncReconcileClient) Status() client.SubResourceWriter { + c.tracker.operations = append(c.tracker.operations, "status") + c.tracker.statusCalls++ + return serviceSyncReconcileStatusWriter{SubResourceWriter: c.Client.Status(), tracker: c.tracker} +} + +// Generated by Codex +type serviceSyncReconcileStatusWriter struct { + client.SubResourceWriter + tracker *serviceSyncReconcileTracker +} + +// Generated by Codex +func (w serviceSyncReconcileStatusWriter) Update(ctx context.Context, object client.Object, options ...client.SubResourceUpdateOption) error { + w.tracker.statusUpdates++ + return w.SubResourceWriter.Update(ctx, object, options...) +} diff --git a/controllers/controller/devworkspacerouting/serving_certificates.go b/controllers/controller/devworkspacerouting/serving_certificates.go new file mode 100644 index 000000000..2a66f28b1 --- /dev/null +++ b/controllers/controller/devworkspacerouting/serving_certificates.go @@ -0,0 +1,89 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "fmt" + "time" + + corev1 "k8s.io/api/core/v1" + k8sErrors "k8s.io/apimachinery/pkg/api/errors" + "sigs.k8s.io/controller-runtime/pkg/client" + + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" +) + +// Generated by Codex. +func (r *DevWorkspaceRoutingReconciler) validateServingCertificates(ctx context.Context, services []corev1.Service) error { + pending := false + var lookupErrors error + for _, service := range services { + secretName := service.Annotations["service.beta.openshift.io/serving-cert-secret-name"] + if secretName == "" { + continue + } + if r.NonCachingClient == nil { + return fmt.Errorf("cannot validate serving certificates without an authoritative client") + } + certInvalid := func(reason string) error { + return &solvers.RoutingInvalid{Reason: fmt.Sprintf("serving certificate Secret %s/%s for Service %s: %s", service.Namespace, secretName, service.Name, reason)} + } + secret := &corev1.Secret{} + if err := r.NonCachingClient.Get(ctx, client.ObjectKey{Namespace: service.Namespace, Name: secretName}, secret); err != nil { + if k8sErrors.IsNotFound(err) { + pending = true + } else { + lookupErrors = errors.Join(lookupErrors, fmt.Errorf("could not read serving certificate Secret %s/%s: %w", service.Namespace, secretName, err)) + } + continue + } + validIdentity := false + for _, prefix := range []string{"service.beta.openshift.io/", "service.alpha.openshift.io/"} { + name, hasName := secret.Annotations[prefix+"originating-service-name"] + uid, hasUID := secret.Annotations[prefix+"originating-service-uid"] + if hasName && name != service.Name || hasUID && uid != string(service.UID) { + return certInvalid("originating Service identity does not match") + } + validIdentity = validIdentity || hasName && hasUID + } + if !validIdentity { + return certInvalid("missing originating Service identity") + } + owned := false + for _, owner := range secret.OwnerReferences { + if owner.APIVersion == "v1" && owner.Kind == "Service" && owner.Name == service.Name && owner.UID == service.UID { + owned = true + break + } + } + if !owned { + return certInvalid("missing matching Service owner reference") + } + if secret.Type != corev1.SecretTypeTLS { + return certInvalid("Secret type is not kubernetes.io/tls") + } + if len(secret.Data[corev1.TLSCertKey]) == 0 || len(secret.Data[corev1.TLSPrivateKeyKey]) == 0 { + pending = true + } + } + if lookupErrors != nil { + return lookupErrors + } + if pending { + return &solvers.RoutingNotReady{Retry: time.Second} + } + return nil +} diff --git a/controllers/controller/devworkspacerouting/serving_certificates_test.go b/controllers/controller/devworkspacerouting/serving_certificates_test.go new file mode 100644 index 000000000..dc1d9b4ef --- /dev/null +++ b/controllers/controller/devworkspacerouting/serving_certificates_test.go @@ -0,0 +1,540 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "fmt" + "reflect" + "strings" + "testing" + "time" + + "github.com/go-logr/logr" + routeV1 "github.com/openshift/api/route/v1" + corev1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/types" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +const ( + servingCertAnnotation = "service.beta.openshift.io/serving-cert-secret-name" + servingServiceBetaName = "service.beta.openshift.io/originating-service-name" + servingServiceBetaUID = "service.beta.openshift.io/originating-service-uid" + servingServiceAlphaName = "service.alpha.openshift.io/originating-service-name" + servingServiceAlphaUID = "service.alpha.openshift.io/originating-service-uid" +) + +// Generated by Codex. +func TestReconcileWaitsForServingCertificateFromOwningService(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.OpenShiftv4) + scheme := routingTestScheme(t) + if err := routeV1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + routing := &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: "mine", + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingClusterTLS, + Endpoints: map[string]controllerv1alpha1.EndpointList{"main": {{ + Name: "api", + TargetPort: 8080, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true), + }}}, + }, + } + foreignSecret := &corev1.Secret{ + ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "foreign-secret", Annotations: map[string]string{ + "service.beta.openshift.io/originating-service-name": "api", + "service.beta.openshift.io/originating-service-uid": "another-service", + }}, + Type: corev1.SecretTypeTLS, + Data: map[string][]byte{corev1.TLSCertKey: []byte("foreign-cert"), corev1.TLSPrivateKeyKey: []byte("foreign-key")}, + } + backing := fake.NewClientBuilder().WithScheme(scheme). + WithStatusSubresource(routing). + WithObjects(routing, foreignSecret). + Build() + r := DevWorkspaceRoutingReconciler{ + Client: backing, NonCachingClient: backing, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}, + } + request := ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)} + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + setTLSServiceUIDs(t, backing, routing) + for range 5 { + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + } + + actualRouting := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), request.NamespacedName, actualRouting); err != nil { + t.Fatal(err) + } + if actualRouting.Status.Phase != controllerv1alpha1.RoutingFailed { + t.Fatalf("want routing to reject a foreign serving certificate, got %s", actualRouting.Status.Phase) + } + if !strings.Contains(actualRouting.Status.Message, "originating Service identity does not match") { + t.Fatalf("want failure to identify the foreign Secret, got %q", actualRouting.Status.Message) + } + if actualRouting.Status.PodAdditions != nil || actualRouting.Status.ExposedEndpoints != nil { + t.Fatalf("pending routing exposed pod additions or endpoints: %#v", actualRouting.Status) + } + actualSecret := &corev1.Secret{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(foreignSecret), actualSecret); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(foreignSecret, actualSecret) { + t.Fatalf("foreign endpoint-named Secret changed: %#v", actualSecret) + } +} + +// Generated by Codex. +func TestValidateServingCertificates(t *testing.T) { + ctx := context.Background() + service := servingCertService("api", "ns", "api-uid") + secret := servingCertSecret(service) + tests := []struct { + name string + services []corev1.Service + secrets []client.Object + want string + wantRetry time.Duration + mutate func(*corev1.Service, *corev1.Secret) + }{ + {name: "ready with beta annotations", services: []corev1.Service{service}, secrets: []client.Object{secret}}, + {name: "ready with alpha annotations", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceAlphaName: service.Name, + servingServiceAlphaUID: string(service.UID), + })}}, + {name: "ready with both matching annotation pairs", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceBetaName: service.Name, servingServiceBetaUID: string(service.UID), + servingServiceAlphaName: service.Name, servingServiceAlphaUID: string(service.UID), + })}}, + {name: "missing secret waits one second", services: []corev1.Service{service}, want: "not-ready", wantRetry: time.Second}, + {name: "empty certificate data waits", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithData(service, map[string][]byte{ + corev1.TLSCertKey: {}, corev1.TLSPrivateKeyKey: []byte("key"), + })}, want: "not-ready", wantRetry: time.Second}, + {name: "missing key waits", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithData(service, map[string][]byte{ + corev1.TLSCertKey: []byte("cert"), + })}, want: "not-ready", wantRetry: time.Second}, + {name: "incomplete beta identity is invalid", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceBetaName: service.Name, + })}, want: "invalid"}, + {name: "beta and alpha identity conflict is invalid", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceBetaName: service.Name, servingServiceBetaUID: string(service.UID), + servingServiceAlphaName: service.Name, servingServiceAlphaUID: "another-uid", + })}, want: "invalid"}, + {name: "partial beta identity does not conflict with complete alpha identity", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceBetaName: service.Name, + servingServiceAlphaName: service.Name, servingServiceAlphaUID: string(service.UID), + })}}, + {name: "service name mismatch is invalid", services: []corev1.Service{service}, secrets: []client.Object{servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceBetaName: "other-service", servingServiceBetaUID: string(service.UID), + })}, want: "invalid"}, + {name: "owner APIVersion mismatch is invalid", services: []corev1.Service{service}, secrets: []client.Object{secret}, want: "invalid", mutate: func(_ *corev1.Service, secret *corev1.Secret) { secret.OwnerReferences[0].APIVersion = "v1beta1" }}, + {name: "owner kind mismatch is invalid", services: []corev1.Service{service}, secrets: []client.Object{secret}, want: "invalid", mutate: func(_ *corev1.Service, secret *corev1.Secret) { secret.OwnerReferences[0].Kind = "Deployment" }}, + {name: "owner name mismatch is invalid", services: []corev1.Service{service}, secrets: []client.Object{secret}, want: "invalid", mutate: func(_ *corev1.Service, secret *corev1.Secret) { secret.OwnerReferences[0].Name = "other-service" }}, + {name: "owner UID mismatch is invalid", services: []corev1.Service{service}, secrets: []client.Object{secret}, want: "invalid", mutate: func(_ *corev1.Service, secret *corev1.Secret) { secret.OwnerReferences[0].UID = "another-uid" }}, + {name: "missing owner reference is invalid", services: []corev1.Service{service}, secrets: []client.Object{secret}, want: "invalid", mutate: func(_ *corev1.Service, secret *corev1.Secret) { secret.OwnerReferences = nil }}, + {name: "non TLS Secret is invalid", services: []corev1.Service{service}, secrets: []client.Object{secret}, want: "invalid", mutate: func(_ *corev1.Service, secret *corev1.Secret) { secret.Type = corev1.SecretTypeOpaque }}, + {name: "pending service does not hide later invalid identity", services: []corev1.Service{service, servingCertService("other", "ns", "other-uid")}, secrets: []client.Object{servingCertSecretWithAnnotations(servingCertService("other", "ns", "other-uid"), map[string]string{ + servingServiceBetaName: "foreign", servingServiceBetaUID: "foreign-uid", + })}, want: "invalid"}, + {name: "multiple missing certificates aggregate as pending", services: []corev1.Service{service, servingCertService("other", "ns", "other-uid")}, want: "not-ready", wantRetry: time.Second}, + } + + for _, test := range tests { + t.Run(test.name, func(t *testing.T) { + objects := make([]client.Object, len(test.secrets)) + for i, object := range test.secrets { + objects[i] = object.DeepCopyObject().(client.Object) + } + for _, object := range objects { + if test.mutate != nil { + secret := object.(*corev1.Secret) + serviceCopy := test.services[0].DeepCopy() + test.mutate(serviceCopy, secret) + } + } + scheme := routingTestScheme(t) + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(objects...).Build() + r := DevWorkspaceRoutingReconciler{NonCachingClient: backing} + err := r.validateServingCertificates(ctx, test.services) + switch test.want { + case "": + if err != nil { + t.Fatalf("valid certificate returned error: %v", err) + } + case "not-ready": + var notReady *solvers.RoutingNotReady + if !errors.As(err, ¬Ready) || notReady.Retry != test.wantRetry { + t.Fatalf("want RoutingNotReady with retry %s, got %v", test.wantRetry, err) + } + case "invalid": + var invalid *solvers.RoutingInvalid + if !errors.As(err, &invalid) { + t.Fatalf("want RoutingInvalid, got %v", err) + } + } + }) + } + +} + +// Generated by Codex. +func TestValidateServingCertificatesUsesFreshNamespacedReaderAndContext(t *testing.T) { + service := servingCertService("api", "service-ns", "api-uid") + secret := servingCertSecret(service) + scheme := routingTestScheme(t) + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(secret).Build() + hidden := &secretHidingClient{Client: fake.NewClientBuilder().WithScheme(scheme).Build()} + ctx := context.WithValue(context.Background(), struct{}{}, "reconcile-context") + fresh := &recordingSecretClient{Client: backing} + r := DevWorkspaceRoutingReconciler{Client: hidden, NonCachingClient: fresh} + if err := r.validateServingCertificates(ctx, []corev1.Service{service}); err != nil { + t.Fatalf("fresh Secret was not used: %v", err) + } + if fresh.secretGets != 1 || fresh.lastKey != (client.ObjectKey{Namespace: service.Namespace, Name: service.Name}) || fresh.contextValue != "reconcile-context" { + t.Fatalf("Secret read did not use the fresh namespaced reader and reconcile context: %#v", fresh) + } + + wrongNamespace := servingCertSecret(service) + wrongNamespace.Namespace = "other-ns" + wrongNamespaceClient := fake.NewClientBuilder().WithScheme(scheme).WithObjects(wrongNamespace).Build() + r.NonCachingClient = wrongNamespaceClient + err := r.validateServingCertificates(ctx, []corev1.Service{service}) + var notReady *solvers.RoutingNotReady + if !errors.As(err, ¬Ready) { + t.Fatalf("Secret in another namespace should be treated as missing, got %v", err) + } +} + +// Generated by Codex. +func TestValidateServingCertificatesPreservesLookupErrors(t *testing.T) { + service := servingCertService("api", "ns", "api-uid") + lookupErr := errors.New("secret lookup failed") + r := DevWorkspaceRoutingReconciler{NonCachingClient: secretReadErrorClient{err: lookupErr}} + err := r.validateServingCertificates(context.Background(), []corev1.Service{service}) + if !errors.Is(err, lookupErr) { + t.Fatalf("want wrapped lookup error %v, got %v", lookupErr, err) + } + + r.NonCachingClient = nil + err = r.validateServingCertificates(context.Background(), []corev1.Service{service}) + if err == nil || errors.As(err, new(*solvers.RoutingNotReady)) || errors.As(err, new(*solvers.RoutingInvalid)) { + t.Fatalf("missing NonCachingClient should return a generic configuration error, got %v", err) + } +} + +// Generated by Codex. +func TestReconcileTLSCertificatesTransitionPendingReadyAndFailed(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.OpenShiftv4) + for _, routingClass := range []controllerv1alpha1.DevWorkspaceRoutingClass{ + controllerv1alpha1.DevWorkspaceRoutingClusterTLS, + controllerv1alpha1.DevWorkspaceRoutingWebTerminal, + } { + t.Run(string(routingClass), func(t *testing.T) { + r, backing, routing := newTLSReconciler(t, routingClass) + request := ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)} + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + services := setTLSServiceUIDs(t, backing, routing) + if len(services) < 2 { + t.Fatalf("expected aggregate and discoverable TLS Services, got %d", len(services)) + } + for _, service := range services[:len(services)-1] { + if err := backing.Create(context.Background(), servingCertSecret(service)); err != nil { + t.Fatal(err) + } + } + result, err := r.Reconcile(context.Background(), request) + if err != nil { + t.Fatal(err) + } + if result.RequeueAfter != time.Second { + t.Fatalf("pending serving certificate should requeue after one second, got %s", result.RequeueAfter) + } + stored := getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingPreparing || stored.Status.PodAdditions != nil || stored.Status.ExposedEndpoints != nil { + t.Fatalf("missing one serving cert must keep routing pending and clear additions/endpoints: %#v", stored.Status) + } + + if err := backing.Create(context.Background(), servingCertSecret(services[len(services)-1])); err != nil { + t.Fatal(err) + } + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + stored = getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingReady || stored.Status.PodAdditions == nil || len(stored.Status.PodAdditions.Volumes) != len(services) { + t.Fatalf("all serving certs should expose readiness and aggregate TLS additions: %#v", stored.Status) + } + + if err := backing.Delete(context.Background(), servingCertSecret(services[0])); err != nil { + t.Fatal(err) + } + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + stored = getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingPreparing || stored.Status.PodAdditions != nil || stored.Status.ExposedEndpoints != nil { + t.Fatalf("lost serving cert must clear previously published additions/endpoints: %#v", stored.Status) + } + + if err := backing.Create(context.Background(), servingCertSecret(services[0])); err != nil { + t.Fatal(err) + } + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + stored = getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingReady || stored.Status.PodAdditions == nil || stored.Status.ExposedEndpoints == nil { + t.Fatalf("restored serving cert should republish readiness: %#v", stored.Status) + } + + invalidSecret := servingCertSecret(services[0]) + invalidSecret.Type = corev1.SecretTypeOpaque + if err := backing.Update(context.Background(), invalidSecret); err != nil { + t.Fatal(err) + } + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + stored = getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingFailed || stored.Status.PodAdditions != nil || stored.Status.ExposedEndpoints != nil { + t.Fatalf("invalid serving cert must fail and clear published additions/endpoints: %#v", stored.Status) + } + }) + } +} + +// Generated by Codex. +func TestReconcileTLSCertificateReadFailuresKeepRoutingPending(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.OpenShiftv4) + r, backing, routing := newTLSReconciler(t, controllerv1alpha1.DevWorkspaceRoutingClusterTLS) + request := ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)} + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + services := setTLSServiceUIDs(t, backing, routing) + for _, service := range services { + if err := backing.Create(context.Background(), servingCertSecret(service)); err != nil { + t.Fatal(err) + } + } + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + stored := getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingReady || stored.Status.PodAdditions == nil || stored.Status.ExposedEndpoints == nil { + t.Fatalf("test setup did not publish readiness before the read failure: %#v", stored.Status) + } + + lookupErr := errors.New("fresh Secret read failed") + r.NonCachingClient = secretReadErrorClient{Client: backing, err: lookupErr} + _, err := r.Reconcile(context.Background(), request) + if !errors.Is(err, lookupErr) { + t.Fatalf("want wrapped fresh read error %v, got %v", lookupErr, err) + } + stored = getRouting(t, backing, routing) + if stored.Status.Phase != controllerv1alpha1.RoutingPreparing || stored.Status.Message != "Waiting for serving certificates" || stored.Status.PodAdditions != nil || stored.Status.ExposedEndpoints != nil { + t.Fatalf("certificate read failure must persist Preparing and clear published additions/endpoints: %#v", stored.Status) + } +} + +// Generated by Codex. +func TestReconcilePlaintextClusterDoesNotReadSecrets(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + routing := &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing-plain", Namespace: "ns", UID: "plain-routing"}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: "plain", + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + Endpoints: map[string]controllerv1alpha1.EndpointList{"main": {{Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure}}}, + }, + } + scheme := routingTestScheme(t) + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + reader := &recordingSecretClient{Client: backing} + r := DevWorkspaceRoutingReconciler{Client: backing, NonCachingClient: reader, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}} + request := ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)} + for range 4 { + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + } + if reader.secretGets != 0 { + t.Fatalf("plaintext cluster routing read %d Secrets", reader.secretGets) + } + if stored := getRouting(t, backing, routing); stored.Status.Phase != controllerv1alpha1.RoutingReady { + t.Fatalf("plaintext cluster routing did not reach Ready: %#v", stored.Status) + } +} + +// Generated by Codex. +func servingCertService(name, namespace, uid string) corev1.Service { + service := corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: namespace, UID: types.UID(uid), Annotations: map[string]string{servingCertAnnotation: name}}, + } + return service +} + +// Generated by Codex. +func servingCertSecret(service corev1.Service) *corev1.Secret { + return servingCertSecretWithAnnotations(service, map[string]string{ + servingServiceBetaName: service.Name, + servingServiceBetaUID: string(service.UID), + }) +} + +// Generated by Codex. +func servingCertSecretWithAnnotations(service corev1.Service, annotations map[string]string) *corev1.Secret { + return servingCertSecretWithData(service, map[string][]byte{corev1.TLSCertKey: []byte("cert"), corev1.TLSPrivateKeyKey: []byte("key")}, annotations) +} + +// Generated by Codex. +func servingCertSecretWithData(service corev1.Service, data map[string][]byte, annotations ...map[string]string) *corev1.Secret { + secretAnnotations := map[string]string{} + if len(annotations) > 0 { + secretAnnotations = annotations[0] + } else { + secretAnnotations = map[string]string{ + servingServiceBetaName: service.Name, + servingServiceBetaUID: string(service.UID), + } + } + return &corev1.Secret{ + ObjectMeta: metav1.ObjectMeta{ + Name: service.Name, Namespace: service.Namespace, Annotations: secretAnnotations, + OwnerReferences: []metav1.OwnerReference{{APIVersion: "v1", Kind: "Service", Name: service.Name, UID: service.UID}}, + }, + Type: corev1.SecretTypeTLS, + Data: data, + } +} + +// Generated by Codex. +func newTLSReconciler(t *testing.T, routingClass controllerv1alpha1.DevWorkspaceRoutingClass) (*DevWorkspaceRoutingReconciler, client.Client, *controllerv1alpha1.DevWorkspaceRouting) { + t.Helper() + routing := &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing-" + string(routingClass), Namespace: "ns", UID: types.UID("routing-" + string(routingClass))}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: string(routingClass), + RoutingClass: routingClass, + Endpoints: map[string]controllerv1alpha1.EndpointList{"main": { + {Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure, Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true)}, + {Name: "metrics", TargetPort: 9090, Exposure: controllerv1alpha1.InternalEndpointExposure, Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true)}, + }}, + }, + Status: controllerv1alpha1.DevWorkspaceRoutingStatus{ + Phase: controllerv1alpha1.RoutingReady, + PodAdditions: &controllerv1alpha1.PodAdditions{Volumes: []corev1.Volume{{Name: "stale"}}}, + ExposedEndpoints: map[string]controllerv1alpha1.ExposedEndpointList{"old": {{Name: "old", Url: "https://old"}}}, + }, + } + scheme := routingTestScheme(t) + if err := routeV1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + r := &DevWorkspaceRoutingReconciler{Client: backing, NonCachingClient: backing, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}} + return r, backing, routing +} + +// Generated by Codex. +func setTLSServiceUIDs(t *testing.T, backing client.Client, routing *controllerv1alpha1.DevWorkspaceRouting) []corev1.Service { + t.Helper() + services := &corev1.ServiceList{} + if err := backing.List(context.Background(), services, client.InNamespace(routing.Namespace)); err != nil { + t.Fatal(err) + } + for idx := range services.Items { + service := &services.Items[idx] + service.UID = types.UID(fmt.Sprintf("%s-%s", routing.Spec.DevWorkspaceId, service.Name)) + if err := backing.Update(context.Background(), service); err != nil { + t.Fatal(err) + } + services.Items[idx] = *service.DeepCopy() + } + return services.Items +} + +// Generated by Codex. +func getRouting(t *testing.T, backing client.Client, routing *controllerv1alpha1.DevWorkspaceRouting) *controllerv1alpha1.DevWorkspaceRouting { + t.Helper() + stored := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), stored); err != nil { + t.Fatal(err) + } + return stored +} + +// Generated by Codex. +type secretReadErrorClient struct { + client.Client + err error +} + +// Generated by Codex. +func (c secretReadErrorClient) Get(ctx context.Context, key client.ObjectKey, object client.Object, opts ...client.GetOption) error { + if _, ok := object.(*corev1.Secret); ok { + return c.err + } + return c.Client.Get(ctx, key, object, opts...) +} + +// Generated by Codex. +type secretHidingClient struct{ client.Client } + +// Generated by Codex. +func (c *secretHidingClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Secret); ok { + return apierrors.NewNotFound(schema.GroupResource{Resource: "secrets"}, key.Name) + } + return c.Client.Get(ctx, key, obj, opts...) +} + +// Generated by Codex. +type recordingSecretClient struct { + client.Client + secretGets int + lastKey client.ObjectKey + contextValue any +} + +// Generated by Codex. +func (c *recordingSecretClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Secret); ok { + c.secretGets++ + c.lastKey = key + c.contextValue = ctx.Value(struct{}{}) + } + return c.Client.Get(ctx, key, obj, opts...) +} diff --git a/controllers/controller/devworkspacerouting/solver_context_test.go b/controllers/controller/devworkspacerouting/solver_context_test.go new file mode 100644 index 000000000..e741d4f59 --- /dev/null +++ b/controllers/controller/devworkspacerouting/solver_context_test.go @@ -0,0 +1,165 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "reflect" + "testing" + "time" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +func TestReconcilePassesContextToDiscoverableServiceRead(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + scheme := routingTestScheme(t) + deadline := time.Now().Add(time.Minute) + routing := &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{Name: "routing", Namespace: "ns", UID: "routing-uid"}, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: "workspace-id", + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + Endpoints: map[string]controllerv1alpha1.EndpointList{ + "main": {{ + Name: "api", TargetPort: 8080, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true), + }}, + }, + }, + Status: controllerv1alpha1.DevWorkspaceRoutingStatus{ + ObservedGeneration: 4, + PodAdditions: &controllerv1alpha1.PodAdditions{Annotations: map[string]string{"existing": "value"}}, + ExposedEndpoints: map[string]controllerv1alpha1.ExposedEndpointList{"main": {{Name: "existing", Url: "https://example.invalid"}}}, + Phase: controllerv1alpha1.RoutingPreparing, + Message: "before cancellation", + }, + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + clientWithWrites := &serviceWriteRecordingClient{Client: backing} + ctx, cancel := context.WithDeadline(context.WithValue(context.Background(), testContextKey{}, "reconcile-context"), deadline) + defer cancel() + serviceReader := &cancelOnServiceReadClient{Client: backing, cancel: cancel, deadline: deadline} + r := DevWorkspaceRoutingReconciler{ + Client: clientWithWrites, NonCachingClient: serviceReader, Scheme: scheme, + Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}, + } + + _, err := r.Reconcile(ctx, ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + if !errors.Is(err, context.Canceled) { + t.Fatalf("want canceled reconcile context, got %v", err) + } + if serviceReader.getCalls != 1 || serviceReader.contextValue != "reconcile-context" || !serviceReader.hasDeadline || !serviceReader.gotDeadline.Equal(deadline) { + t.Fatalf("discoverable Service read did not receive reconcile context: %#v", serviceReader) + } + if clientWithWrites.serviceGets != 0 { + t.Fatalf("discoverable Service read used cached client %d times", clientWithWrites.serviceGets) + } + if clientWithWrites.serviceCreates != 0 || clientWithWrites.serviceUpdates != 0 || clientWithWrites.serviceDeletes != 0 || clientWithWrites.servicePatches != 0 { + t.Fatalf("canceled reconcile changed Services: creates=%d updates=%d deletes=%d patches=%d", clientWithWrites.serviceCreates, clientWithWrites.serviceUpdates, clientWithWrites.serviceDeletes, clientWithWrites.servicePatches) + } + services := &corev1.ServiceList{} + if err := backing.List(context.Background(), services); err != nil { + t.Fatal(err) + } + if len(services.Items) != 0 { + t.Fatalf("canceled reconcile created Services: %#v", services.Items) + } + actual := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actual); err != nil { + t.Fatal(err) + } + if actual.Status.Phase == controllerv1alpha1.RoutingFailed || !reflect.DeepEqual(actual.Status, routing.Status) { + t.Fatalf("canceled reconcile changed routing status: want %#v, got %#v", routing.Status, actual.Status) + } +} + +type cancelOnServiceReadClient struct { + client.Client + cancel context.CancelFunc + deadline time.Time + getCalls int + contextValue any + gotDeadline time.Time + hasDeadline bool +} + +func (c *cancelOnServiceReadClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Service); !ok { + return c.Client.Get(ctx, key, obj, opts...) + } + c.getCalls++ + c.contextValue = ctx.Value(testContextKey{}) + c.gotDeadline, c.hasDeadline = ctx.Deadline() + if c.contextValue != "reconcile-context" || !c.hasDeadline || !c.gotDeadline.Equal(c.deadline) { + return errors.New("Service GET did not receive reconcile context") + } + c.cancel() + return ctx.Err() +} + +type serviceWriteRecordingClient struct { + client.Client + serviceGets int + serviceCreates int + serviceUpdates int + serviceDeletes int + servicePatches int +} + +func (c *serviceWriteRecordingClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.serviceGets++ + } + return c.Client.Get(ctx, key, obj, opts...) +} + +func (c *serviceWriteRecordingClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.serviceCreates++ + } + return c.Client.Create(ctx, obj, opts...) +} + +func (c *serviceWriteRecordingClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.serviceUpdates++ + } + return c.Client.Update(ctx, obj, opts...) +} + +func (c *serviceWriteRecordingClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.serviceDeletes++ + } + return c.Client.Delete(ctx, obj, opts...) +} + +func (c *serviceWriteRecordingClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.servicePatches++ + } + return c.Client.Patch(ctx, obj, patch, opts...) +} diff --git a/controllers/controller/devworkspacerouting/solvers/basic_solver.go b/controllers/controller/devworkspacerouting/solvers/basic_solver.go index 50df27fa1..fd2b9ceb9 100644 --- a/controllers/controller/devworkspacerouting/solvers/basic_solver.go +++ b/controllers/controller/devworkspacerouting/solvers/basic_solver.go @@ -1,5 +1,4 @@ -// -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -16,6 +15,10 @@ package solvers import ( + "context" + + "sigs.k8s.io/controller-runtime/pkg/client" + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" "github.com/devfile/devworkspace-operator/pkg/config" "github.com/devfile/devworkspace-operator/pkg/constants" @@ -47,10 +50,19 @@ var nginxIngressAnnotations = func(endpointName string, endpointAnnotations map[ // According to the current cluster there is different behavior: // Kubernetes: use Ingresses without TLS // OpenShift: use Routes with TLS enabled -type BasicSolver struct{} +type BasicSolver struct { + client client.Client +} var _ RoutingSolver = (*BasicSolver)(nil) +// NewBasicSolver creates a new BasicSolver with the provided dependencies +func NewBasicSolver(client client.Client) *BasicSolver { + return &BasicSolver{ + client: client, + } +} + func (s *BasicSolver) FinalizerRequired(*controllerv1alpha1.DevWorkspaceRouting) bool { return false } @@ -59,7 +71,7 @@ func (s *BasicSolver) Finalize(*controllerv1alpha1.DevWorkspaceRouting) error { return nil } -func (s *BasicSolver) GetSpecObjects(routing *controllerv1alpha1.DevWorkspaceRouting, workspaceMeta DevWorkspaceMetadata) (RoutingObjects, error) { +func (s *BasicSolver) GetSpecObjects(ctx context.Context, routing *controllerv1alpha1.DevWorkspaceRouting, workspaceMeta DevWorkspaceMetadata) (RoutingObjects, error) { routingObjects := RoutingObjects{} // TODO: Use workspace-scoped ClusterHostSuffix to allow overriding @@ -70,7 +82,11 @@ func (s *BasicSolver) GetSpecObjects(routing *controllerv1alpha1.DevWorkspaceRou spec := routing.Spec services := getServicesForEndpoints(spec.Endpoints, workspaceMeta) - services = append(services, GetDiscoverableServicesForEndpoints(spec.Endpoints, workspaceMeta)...) + discoverableServices, err := GetDiscoverableServicesForEndpoints(ctx, spec.Endpoints, workspaceMeta, s.client) + if err != nil { + return RoutingObjects{}, err + } + services = append(services, discoverableServices...) routingObjects.Services = services if infrastructure.IsOpenShift() { routingObjects.Routes = getRoutesForSpec(routingSuffix, spec.Endpoints, workspaceMeta) diff --git a/controllers/controller/devworkspacerouting/solvers/basic_solver_test.go b/controllers/controller/devworkspacerouting/solvers/basic_solver_test.go new file mode 100644 index 000000000..06ff3db2a --- /dev/null +++ b/controllers/controller/devworkspacerouting/solvers/basic_solver_test.go @@ -0,0 +1,277 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package solvers + +import ( + "context" + "errors" + "reflect" + "testing" + + corev1 "k8s.io/api/core/v1" + networkingv1 "k8s.io/api/networking/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/intstr" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/config" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +// Generated by Codex. +func TestBasicSolverGetSpecObjectsKubernetes(t *testing.T) { + solver, meta := newBasicSolverTest(t, nil) + api := testEndpoint("my--api", 8080, controllerv1alpha1.PublicEndpointExposure, true, "http") + api.Annotations = map[string]string{"example.com/test": "api"} + database := testEndpoint("database", 5432, controllerv1alpha1.InternalEndpointExposure, true, "tcp") + httpEndpoint := testEndpoint("http", 3000, controllerv1alpha1.PublicEndpointExposure, false, "http") + hidden := testEndpoint("hidden", 9000, controllerv1alpha1.NoneEndpointExposure, true, "http") + routing := routingForEndpoints(map[string]controllerv1alpha1.EndpointList{"main": {api, database, httpEndpoint, hidden}}) + + objects, err := solver.GetSpecObjects(context.Background(), routing, meta) + if err != nil { + t.Fatal(err) + } + if len(objects.Services) != 3 || len(objects.Ingresses) != 2 || len(objects.Routes) != 0 || objects.PodAdditions != nil { + t.Fatalf("unexpected routing objects: %d Services, %d Ingresses, %d Routes, PodAdditions=%v", len(objects.Services), len(objects.Ingresses), len(objects.Routes), objects.PodAdditions) + } + + selector := map[string]string{"workspace": "workspace-id", "component": "devworkspace"} + serviceLabels := map[string]string{constants.DevWorkspaceIDLabel: "workspace-id"} + expectedPorts := []corev1.ServicePort{ + {Name: "my-api", Protocol: corev1.ProtocolTCP, Port: 8080, TargetPort: intstr.FromInt(8080)}, + {Name: "database", Protocol: corev1.ProtocolTCP, Port: 5432, TargetPort: intstr.FromInt(5432)}, + {Name: "http", Protocol: corev1.ProtocolTCP, Port: 3000, TargetPort: intstr.FromInt(3000)}, + } + aggregate := objects.Services[0] + if aggregate.Name != "workspace-id-service" || aggregate.Namespace != "workspace-namespace" || + !reflect.DeepEqual(aggregate.Labels, serviceLabels) || aggregate.Annotations != nil || + !reflect.DeepEqual(aggregate.Spec, corev1.ServiceSpec{Type: corev1.ServiceTypeClusterIP, Selector: selector, Ports: expectedPorts}) { + t.Fatalf("unexpected aggregate Service: %#v", aggregate) + } + + discoverable := map[string]corev1.Service{} + for _, service := range objects.Services[1:] { + discoverable[service.Name] = service + } + if len(discoverable) != 2 { + t.Fatalf("discoverable Services = %v, want my-api and database", discoverable) + } + for _, expected := range []struct { + name string + port int32 + }{{"my-api", 8080}, {"database", 5432}} { + service, ok := discoverable[expected.name] + wantLabels := map[string]string{constants.DevWorkspaceIDLabel: "workspace-id", constants.DevWorkspaceNameLabel: "workspace"} + wantAnnotations := map[string]string{constants.DevWorkspaceDiscoverableServiceAnnotation: "true"} + wantPort := []corev1.ServicePort{{Name: expected.name, Protocol: corev1.ProtocolTCP, Port: expected.port, TargetPort: intstr.FromInt(int(expected.port))}} + if !ok || service.Name != expected.name || service.Namespace != "workspace-namespace" || !reflect.DeepEqual(service.Labels, wantLabels) || + !reflect.DeepEqual(service.Annotations, wantAnnotations) || + !reflect.DeepEqual(service.Spec, corev1.ServiceSpec{Type: corev1.ServiceTypeClusterIP, Selector: selector, Ports: wantPort}) { + t.Errorf("unexpected discoverable Service %q: %#v", expected.name, service) + } + } + + ingresses := map[string]networkingv1.Ingress{} + for _, ingress := range objects.Ingresses { + ingresses[ingress.Name] = ingress + } + for _, expected := range []struct { + name, endpoint, host string + port int32 + annotations map[string]string + }{{"workspace-id-my-api", "my--api", "workspace-id-my-api-8080.example.test", 8080, map[string]string{"example.com/test": "api"}}, + {"workspace-id-http", "http", "workspace-id-http-3000.example.test", 3000, nil}} { + ingress, ok := ingresses[expected.name] + wantAnnotations := map[string]string{ + "nginx.ingress.kubernetes.io/rewrite-target": "/", + "nginx.ingress.kubernetes.io/ssl-redirect": "false", + constants.DevWorkspaceEndpointNameAnnotation: expected.endpoint, + } + for key, value := range expected.annotations { + wantAnnotations[key] = value + } + if !ok || ingress.Namespace != "workspace-namespace" || + !reflect.DeepEqual(ingress.Labels, serviceLabels) || !reflect.DeepEqual(ingress.Annotations, wantAnnotations) || + ingress.Spec.IngressClassName == nil || *ingress.Spec.IngressClassName != "nginx" || len(ingress.Spec.Rules) != 1 { + t.Errorf("unexpected Ingress %q metadata/spec: %#v", expected.name, ingress) + continue + } + rule := ingress.Spec.Rules[0] + if rule.Host != expected.host || rule.HTTP == nil || len(rule.HTTP.Paths) != 1 { + t.Errorf("unexpected Ingress rule for %q: %#v", expected.name, rule) + continue + } + path := rule.HTTP.Paths[0] + if path.Path != "/" || path.PathType == nil || *path.PathType != networkingv1.PathTypeImplementationSpecific || + path.Backend.Service == nil || path.Backend.Service.Name != "workspace-id-service" || path.Backend.Service.Port.Number != expected.port { + t.Errorf("unexpected Ingress path for %q: %#v", expected.name, path) + } + } + + exposed, ready, err := solver.GetExposedEndpoints(routing.Spec.Endpoints, objects) + if err != nil || !ready { + t.Fatalf("GetExposedEndpoints() = (%v, %t, %v), want ready without error", exposed, ready, err) + } + wantExposed := controllerv1alpha1.ExposedEndpointList{ + {Name: "my--api", Url: "http://workspace-id-my-api-8080.example.test", Attributes: api.Attributes}, + {Name: "http", Url: "http://workspace-id-http-3000.example.test", Attributes: httpEndpoint.Attributes}, + } + if !reflect.DeepEqual(exposed["main"], wantExposed) || len(exposed) != 1 { + t.Fatalf("exposed endpoints = %#v, want only public endpoint URLs", exposed) + } +} + +// Generated by Codex. +func TestBasicSolverGetSpecObjectsErrors(t *testing.T) { + sentinel := errors.New("injected Service lookup failure") + tests := []struct { + name string + endpoints map[string]controllerv1alpha1.EndpointList + objects []client.Object + failGet bool + checkErr func(*testing.T, error) + }{ + { + name: "foreign Service conflict", + endpoints: map[string]controllerv1alpha1.EndpointList{"main": {testEndpoint("my--api", 8080, controllerv1alpha1.PublicEndpointExposure, true, "http")}}, + objects: []client.Object{&corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "my-api", Namespace: "workspace-namespace", Labels: map[string]string{ + constants.DevWorkspaceIDLabel: "other-id", constants.DevWorkspaceNameLabel: "other-workspace", + }}}}, + checkErr: func(t *testing.T, err error) { + var conflict *ServiceConflictError + if !errors.As(err, &conflict) || conflict.EndpointName != "my--api" || conflict.WorkspaceName != "other-workspace" || err.Error() != "discoverable endpoint 'my--api' is already in use by workspace 'other-workspace'" { + t.Fatalf("unexpected conflict error: %v", err) + } + }, + }, + { + name: "normalized duplicate names", + endpoints: map[string]controllerv1alpha1.EndpointList{ + "first": {testEndpoint("my--api", 8080, controllerv1alpha1.PublicEndpointExposure, true, "http")}, + "second": {testEndpoint("my-api", 8081, controllerv1alpha1.InternalEndpointExposure, true, "tcp")}, + }, + checkErr: func(t *testing.T, err error) { + var duplicate *DuplicateEndpointError + if !errors.As(err, &duplicate) || duplicate.EndpointName != "my-api" || err.Error() != "discoverable endpoints 'my--api' and 'my-api' both normalize to Service name 'my-api'" { + t.Fatalf("unexpected duplicate error: %v", err) + } + }, + }, + { + name: "reserved aggregate Service name", + endpoints: map[string]controllerv1alpha1.EndpointList{"main": {testEndpoint("workspace-id-service", 8080, controllerv1alpha1.InternalEndpointExposure, true, "tcp")}}, + checkErr: func(t *testing.T, err error) { + var invalid *RoutingInvalid + if !errors.As(err, &invalid) || invalid.Reason != "discoverable endpoint 'workspace-id-service' uses reserved Service name 'workspace-id-service'" || err.Error() != "workspace routing is invalid: discoverable endpoint 'workspace-id-service' uses reserved Service name 'workspace-id-service'" { + t.Fatalf("unexpected reserved-name error: %v", err) + } + }, + }, + { + name: "Service GET failure", + endpoints: map[string]controllerv1alpha1.EndpointList{"main": {testEndpoint("my--api", 8080, controllerv1alpha1.PublicEndpointExposure, true, "http")}}, + failGet: true, + checkErr: func(t *testing.T, err error) { + if err != sentinel { + t.Fatalf("error = %v, want sentinel %v", err, sentinel) + } + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + var getErr error + if tt.failGet { + getErr = sentinel + } + solver, meta := newBasicSolverTest(t, getErr, tt.objects...) + objects, err := solver.GetSpecObjects(context.Background(), routingForEndpoints(tt.endpoints), meta) + if err == nil { + t.Fatal("GetSpecObjects() returned no error") + } + tt.checkErr(t, err) + if !reflect.DeepEqual(objects, RoutingObjects{}) { + t.Fatalf("error returned partial routing objects: %#v", objects) + } + }) + } +} + +// Generated by Codex. +func newBasicSolverTest(t *testing.T, getErr error, objects ...client.Object) (*BasicSolver, DevWorkspaceMetadata) { + t.Helper() + previousConfig := config.GetGlobalConfig() + config.SetGlobalConfigForTesting(&controllerv1alpha1.OperatorConfiguration{Routing: &controllerv1alpha1.RoutingConfig{ClusterHostSuffix: "example.test"}}) + t.Cleanup(func() { config.SetGlobalConfigForTesting(previousConfig) }) + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + cl := fake.NewClientBuilder().WithScheme(scheme).WithObjects(objects...).Build() + var solverClient client.Client = cl + if getErr != nil { + solverClient = &failingServiceGetClient{Client: cl, err: getErr} + } + solver, err := (&SolverGetter{}).GetSolver(solverClient, controllerv1alpha1.DevWorkspaceRoutingBasic) + if err != nil { + t.Fatal(err) + } + basicSolver, ok := solver.(*BasicSolver) + if !ok { + t.Fatalf("GetSolver returned %T, want *BasicSolver", solver) + } + return basicSolver, DevWorkspaceMetadata{ + DevWorkspaceId: "workspace-id", + DevWorkspaceName: "workspace", + Namespace: "workspace-namespace", + PodSelector: map[string]string{"workspace": "workspace-id", "component": "devworkspace"}, + } +} + +// Generated by Codex. +func testEndpoint(name string, port int, exposure controllerv1alpha1.EndpointExposure, discoverable bool, protocol controllerv1alpha1.EndpointProtocol) controllerv1alpha1.Endpoint { + attributes := controllerv1alpha1.Attributes{} + if discoverable { + attributes.PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true) + } + return controllerv1alpha1.Endpoint{Name: name, TargetPort: port, Exposure: exposure, Protocol: protocol, Attributes: attributes} +} + +// Generated by Codex. +func routingForEndpoints(endpoints map[string]controllerv1alpha1.EndpointList) *controllerv1alpha1.DevWorkspaceRouting { + return &controllerv1alpha1.DevWorkspaceRouting{Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{Endpoints: endpoints}} +} + +// Generated by Codex. +type failingServiceGetClient struct { + client.Client + err error + getCalls int +} + +// Generated by Codex. +func (c *failingServiceGetClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.getCalls++ + return c.err + } + return c.Client.Get(ctx, key, obj, opts...) +} diff --git a/controllers/controller/devworkspacerouting/solvers/cluster_solver.go b/controllers/controller/devworkspacerouting/solvers/cluster_solver.go index 7c5462252..15a7d430a 100644 --- a/controllers/controller/devworkspacerouting/solvers/cluster_solver.go +++ b/controllers/controller/devworkspacerouting/solvers/cluster_solver.go @@ -1,5 +1,4 @@ -// -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -16,14 +15,15 @@ package solvers import ( + "context" "fmt" - "github.com/devfile/devworkspace-operator/pkg/common" - "github.com/devfile/devworkspace-operator/pkg/constants" - corev1 "k8s.io/api/core/v1" + "sigs.k8s.io/controller-runtime/pkg/client" controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/constants" ) const ( @@ -31,11 +31,20 @@ const ( ) type ClusterSolver struct { - TLS bool + TLS bool + client client.Client } var _ RoutingSolver = (*ClusterSolver)(nil) +// NewClusterSolver creates a new ClusterSolver with the provided dependencies +func NewClusterSolver(client client.Client, tls bool) *ClusterSolver { + return &ClusterSolver{ + TLS: tls, + client: client, + } +} + func (s *ClusterSolver) FinalizerRequired(*controllerv1alpha1.DevWorkspaceRouting) bool { return false } @@ -44,9 +53,14 @@ func (s *ClusterSolver) Finalize(*controllerv1alpha1.DevWorkspaceRouting) error return nil } -func (s *ClusterSolver) GetSpecObjects(routing *controllerv1alpha1.DevWorkspaceRouting, workspaceMeta DevWorkspaceMetadata) (RoutingObjects, error) { +func (s *ClusterSolver) GetSpecObjects(ctx context.Context, routing *controllerv1alpha1.DevWorkspaceRouting, workspaceMeta DevWorkspaceMetadata) (RoutingObjects, error) { spec := routing.Spec services := getServicesForEndpoints(spec.Endpoints, workspaceMeta) + discoverableServices, err := GetDiscoverableServicesForEndpoints(ctx, spec.Endpoints, workspaceMeta, s.client) + if err != nil { + return RoutingObjects{}, err + } + services = append(services, discoverableServices...) podAdditions := &controllerv1alpha1.PodAdditions{} if s.TLS { readOnlyMode := int32(420) @@ -61,13 +75,21 @@ func (s *ClusterSolver) GetSpecObjects(routing *controllerv1alpha1.DevWorkspaceR Secret: &corev1.SecretVolumeSource{ SecretName: service.Name, DefaultMode: &readOnlyMode, + Items: []corev1.KeyToPath{ + {Key: corev1.TLSCertKey, Path: corev1.TLSCertKey}, + {Key: corev1.TLSPrivateKeyKey, Path: corev1.TLSPrivateKeyKey}, + }, }, }, }) + mountPath := "/var/serving-cert/" + if service.Annotations[constants.DevWorkspaceDiscoverableServiceAnnotation] == "true" { + mountPath += service.Name + "/" + } podAdditions.VolumeMounts = append(podAdditions.VolumeMounts, corev1.VolumeMount{ Name: common.ServingCertVolumeName(service.Name), ReadOnly: true, - MountPath: "/var/serving-cert/", + MountPath: mountPath, }) } } diff --git a/controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go b/controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go new file mode 100644 index 000000000..c2908c037 --- /dev/null +++ b/controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go @@ -0,0 +1,211 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package solvers + +import ( + "context" + "strings" + "testing" + + "github.com/stretchr/testify/assert" + corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/common" +) + +// Generated by Codex. +func TestClusterSolverGetSpecObjectsServingCertMounts(t *testing.T) { + workspaceMeta := DevWorkspaceMetadata{ + DevWorkspaceId: "workspace-id", + DevWorkspaceName: "workspace", + Namespace: "workspace-namespace", + PodSelector: map[string]string{"workspace": "workspace-id"}, + } + endpoints := map[string]controllerv1alpha1.EndpointList{ + "main": { + { + Name: "api", + TargetPort: 8080, + Exposure: controllerv1alpha1.PublicEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }, + { + Name: "database", + TargetPort: 5432, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }, + }, + } + aggregateServiceName := common.ServiceName(workspaceMeta.DevWorkspaceId) + + tests := []struct { + name string + tls bool + expectedMounts map[string]string + }{ + { + name: "TLS discoverable endpoint certificates use distinct mounts", + tls: true, + expectedMounts: map[string]string{ + "/var/serving-cert/": aggregateServiceName, + "/var/serving-cert/api/": "api", + "/var/serving-cert/database/": "database", + }, + }, + { + name: "plaintext routing requests no certificates", + tls: false, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, corev1.AddToScheme(scheme)) + solver := NewClusterSolver(fake.NewClientBuilder().WithScheme(scheme).Build(), tt.tls) + routing := &controllerv1alpha1.DevWorkspaceRouting{ + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + Endpoints: endpoints, + PodSelector: workspaceMeta.PodSelector, + }, + } + + objects, err := solver.GetSpecObjects(context.Background(), routing, workspaceMeta) + if !assert.NoError(t, err) { + return + } + + if !tt.tls { + assert.Empty(t, objects.PodAdditions.Volumes) + assert.Empty(t, objects.PodAdditions.VolumeMounts) + return + } + + assert.Len(t, objects.Services, 3) + for _, service := range objects.Services { + assert.Equal(t, service.Name, service.Annotations[serviceServingCertAnnot]) + } + + volumeSecrets := make(map[string]string, len(objects.PodAdditions.Volumes)) + for _, volume := range objects.PodAdditions.Volumes { + assert.Equal(t, []corev1.KeyToPath{ + {Key: corev1.TLSCertKey, Path: corev1.TLSCertKey}, + {Key: corev1.TLSPrivateKeyKey, Path: corev1.TLSPrivateKeyKey}, + }, volume.Secret.Items, "only the certificate and key may be mounted") + volumeSecrets[volume.Name] = volume.Secret.SecretName + } + + actualMounts := make(map[string]string, len(objects.PodAdditions.VolumeMounts)) + for _, mount := range objects.PodAdditions.VolumeMounts { + if _, exists := actualMounts[mount.MountPath]; exists { + assert.Failf(t, "duplicate serving certificate mount path", "path %q is used more than once", mount.MountPath) + } + actualMounts[mount.MountPath] = volumeSecrets[mount.Name] + } + + assert.Len(t, actualMounts, 3) + assert.Equal(t, tt.expectedMounts, actualMounts) + }) + } +} + +// Generated by Codex. +func TestClusterSolverGetSpecObjectsLongServingCertVolumeNames(t *testing.T) { + longEndpointName := strings.Repeat("a", 39) + derivedShortEndpointName := "b4d5e56e929ba4cda349" + endpointNames := []string{ + strings.Repeat("a", 37), + strings.Repeat("b", 38), + longEndpointName, + strings.Repeat("d", 63), + strings.Repeat("x", 62) + "a", + strings.Repeat("x", 62) + "b", + derivedShortEndpointName, + } + endpoints := make(controllerv1alpha1.EndpointList, len(endpointNames)) + expectedMounts := map[string]string{ + "/var/serving-cert/": common.ServiceName("workspace-id"), + } + for i, name := range endpointNames { + endpoints[i] = controllerv1alpha1.Endpoint{ + Name: name, + TargetPort: 7000 + i, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + } + expectedMounts["/var/serving-cert/"+name+"/"] = name + } + + workspaceMeta := DevWorkspaceMetadata{ + DevWorkspaceId: "workspace-id", + DevWorkspaceName: "workspace", + Namespace: "workspace-namespace", + PodSelector: map[string]string{"workspace": "workspace-id"}, + } + scheme := runtime.NewScheme() + assert.NoError(t, corev1.AddToScheme(scheme)) + solver := NewClusterSolver(fake.NewClientBuilder().WithScheme(scheme).Build(), true) + routing := &controllerv1alpha1.DevWorkspaceRouting{ + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + Endpoints: map[string]controllerv1alpha1.EndpointList{"main": endpoints}, + PodSelector: workspaceMeta.PodSelector, + }, + } + + objects, err := solver.GetSpecObjects(context.Background(), routing, workspaceMeta) + if !assert.NoError(t, err) { + return + } + + assert.Len(t, objects.Services, len(endpointNames)+1) + assert.Len(t, objects.PodAdditions.Volumes, len(endpointNames)+1) + assert.Len(t, objects.PodAdditions.VolumeMounts, len(endpointNames)+1) + + volumeSecrets := make(map[string]string, len(objects.PodAdditions.Volumes)) + volumeNamesBySecret := make(map[string]string, len(objects.PodAdditions.Volumes)) + for _, volume := range objects.PodAdditions.Volumes { + if !assert.NotContains(t, volumeSecrets, volume.Name) { + continue + } + assert.LessOrEqual(t, len(volume.Name), 63) + if !assert.NotNil(t, volume.Secret) { + continue + } + volumeSecrets[volume.Name] = volume.Secret.SecretName + volumeNamesBySecret[volume.Secret.SecretName] = volume.Name + } + assert.Equal(t, "devworkspace-serving-cert-"+endpointNames[0], volumeNamesBySecret[endpointNames[0]]) + assert.Equal(t, "devworkspace-cert-b4d5e56e929ba4cda349", volumeNamesBySecret[longEndpointName]) + assert.Equal(t, "devworkspace-serving-cert-"+derivedShortEndpointName, volumeNamesBySecret[derivedShortEndpointName]) + + actualMounts := make(map[string]string, len(objects.PodAdditions.VolumeMounts)) + for _, mount := range objects.PodAdditions.VolumeMounts { + if !assert.NotContains(t, actualMounts, mount.MountPath) { + continue + } + secretName, exists := volumeSecrets[mount.Name] + if !assert.True(t, exists, "mount %q references volume %q", mount.MountPath, mount.Name) { + continue + } + actualMounts[mount.MountPath] = secretName + } + assert.Equal(t, expectedMounts, actualMounts) +} diff --git a/controllers/controller/devworkspacerouting/solvers/common.go b/controllers/controller/devworkspacerouting/solvers/common.go index b55367ad8..dc289dde0 100644 --- a/controllers/controller/devworkspacerouting/solvers/common.go +++ b/controllers/controller/devworkspacerouting/solvers/common.go @@ -1,5 +1,4 @@ -// -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -16,50 +15,93 @@ package solvers import ( - controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" - "github.com/devfile/devworkspace-operator/pkg/common" - "github.com/devfile/devworkspace-operator/pkg/constants" + "context" + "fmt" + "maps" + "slices" routeV1 "github.com/openshift/api/route/v1" corev1 "k8s.io/api/core/v1" networkingv1 "k8s.io/api/networking/v1" + "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/utils/pointer" + "sigs.k8s.io/controller-runtime/pkg/client" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/constants" ) type DevWorkspaceMetadata struct { - DevWorkspaceId string - Namespace string - PodSelector map[string]string + DevWorkspaceId string + DevWorkspaceName string + DevWorkspaceRoutingUID types.UID + Namespace string + PodSelector map[string]string } // GetDiscoverableServicesForEndpoints converts the endpoint list into a set of services, each corresponding to a single discoverable // endpoint from the list. Endpoints with the NoneEndpointExposure are ignored. -func GetDiscoverableServicesForEndpoints(endpoints map[string]controllerv1alpha1.EndpointList, meta DevWorkspaceMetadata) []corev1.Service { +func GetDiscoverableServicesForEndpoints(ctx context.Context, endpoints map[string]controllerv1alpha1.EndpointList, meta DevWorkspaceMetadata, cl client.Client) ([]corev1.Service, error) { var services []corev1.Service - for _, machineEndpoints := range endpoints { + seenServiceNames := map[string]string{} + for _, componentName := range slices.Sorted(maps.Keys(endpoints)) { + machineEndpoints := endpoints[componentName] for _, endpoint := range machineEndpoints { if endpoint.Exposure == controllerv1alpha1.NoneEndpointExposure { continue } if endpoint.Attributes.GetBoolean(string(controllerv1alpha1.DiscoverableAttribute), nil) { - // Create service with name matching endpoint - // TODO: This could cause a reconcile conflict if multiple workspaces define the same discoverable endpoint - // Also endpoint names may not be valid as service names + serviceName := common.EndpointName(endpoint.Name) + if serviceName == "" { + return nil, &RoutingInvalid{Reason: fmt.Sprintf("discoverable endpoint '%s' normalizes to an empty Service name", endpoint.Name)} + } + if serviceName == common.ServiceName(meta.DevWorkspaceId) { + return nil, &RoutingInvalid{Reason: fmt.Sprintf("discoverable endpoint '%s' uses reserved Service name '%s'", endpoint.Name, serviceName)} + } + // Two endpoints on different containers can sanitize to the same Service name (e.g. "my--endpoint" and + // "my-endpoint"). Neither Service exists on the cluster yet at this point, so the existing-service check + // below can't catch this; track names claimed within this call instead. + if firstName, seen := seenServiceNames[serviceName]; seen { + return nil, &DuplicateEndpointError{EndpointName: endpoint.Name, FirstEndpointName: firstName, ServiceName: serviceName} + } + seenServiceNames[serviceName] = endpoint.Name + + existingService := &corev1.Service{} + err := cl.Get(ctx, client.ObjectKey{Name: serviceName, Namespace: meta.Namespace}, existingService) + if err != nil { + if !errors.IsNotFound(err) { + return nil, err + } + } else { + controllerOwner := metav1.GetControllerOf(existingService) + ownedByRouting := controllerOwner != nil && controllerOwner.Kind == "DevWorkspaceRouting" && + meta.DevWorkspaceRoutingUID != "" && controllerOwner.UID == meta.DevWorkspaceRoutingUID + if !ownedByRouting && existingService.Labels[constants.DevWorkspaceIDLabel] != meta.DevWorkspaceId { + return nil, &ServiceConflictError{ + EndpointName: endpoint.Name, + WorkspaceName: existingService.Labels[constants.DevWorkspaceNameLabel], + } + } + } + servicePort := corev1.ServicePort{ - Name: common.EndpointName(endpoint.Name), + Name: serviceName, Protocol: corev1.ProtocolTCP, Port: int32(endpoint.TargetPort), TargetPort: intstr.FromInt(endpoint.TargetPort), } services = append(services, corev1.Service{ ObjectMeta: metav1.ObjectMeta{ - Name: common.EndpointName(endpoint.Name), + Name: serviceName, Namespace: meta.Namespace, Labels: map[string]string{ - constants.DevWorkspaceIDLabel: meta.DevWorkspaceId, + constants.DevWorkspaceIDLabel: meta.DevWorkspaceId, + constants.DevWorkspaceNameLabel: meta.DevWorkspaceName, }, Annotations: map[string]string{ constants.DevWorkspaceDiscoverableServiceAnnotation: "true", @@ -74,7 +116,7 @@ func GetDiscoverableServicesForEndpoints(endpoints map[string]controllerv1alpha1 } } } - return services + return services, nil } // GetServiceForEndpoints returns a single service that exposes all endpoints of given exposure types, possibly also including the discoverable types. diff --git a/controllers/controller/devworkspacerouting/solvers/common_test.go b/controllers/controller/devworkspacerouting/solvers/common_test.go new file mode 100644 index 000000000..1e5a2813d --- /dev/null +++ b/controllers/controller/devworkspacerouting/solvers/common_test.go @@ -0,0 +1,312 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package solvers + +import ( + "context" + "testing" + + "github.com/stretchr/testify/assert" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/constants" +) + +func TestGetDiscoverableServicesForEndpoints(t *testing.T) { + scheme := runtime.NewScheme() + _ = corev1.AddToScheme(scheme) + _ = controllerv1alpha1.AddToScheme(scheme) + + discoverableEndpoint := controllerv1alpha1.Endpoint{ + Name: "test-endpoint", + TargetPort: 8080, + Exposure: controllerv1alpha1.PublicEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + } + endpoints := map[string]controllerv1alpha1.EndpointList{ + "machine1": {discoverableEndpoint}, + } + + meta := DevWorkspaceMetadata{ + DevWorkspaceId: "current-workspace-id", + DevWorkspaceName: "current-workspace", + Namespace: "test-namespace", + } + + tests := []struct { + name string + existing []runtime.Object + expectErr bool + expectErrType error + expectMsg string + }{ + { + name: "No existing service", + existing: []runtime.Object{}, + expectErr: false, + }, + { + name: "Existing service with different owner in same namespace", + existing: []runtime.Object{ + &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-endpoint", + Namespace: "test-namespace", + Labels: map[string]string{ + constants.DevWorkspaceIDLabel: "other-workspace-id", + constants.DevWorkspaceNameLabel: "other-workspace", + }, + }, + }, + }, + expectErr: true, + expectErrType: &ServiceConflictError{}, + expectMsg: "discoverable endpoint 'test-endpoint' is already in use by workspace 'other-workspace'", + }, + { + name: "Existing service with same owner (reconciliation)", + existing: []runtime.Object{ + &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-endpoint", + Namespace: "test-namespace", + Labels: map[string]string{ + constants.DevWorkspaceIDLabel: "current-workspace-id", + constants.DevWorkspaceNameLabel: "current-workspace", + }, + }, + }, + }, + expectErr: false, + }, + { + name: "Service with same name in different namespace (should not conflict)", + existing: []runtime.Object{ + &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-endpoint", + Namespace: "other-namespace", + Labels: map[string]string{ + constants.DevWorkspaceIDLabel: "other-workspace-id", + constants.DevWorkspaceNameLabel: "other-workspace", + }, + }, + }, + }, + expectErr: false, + }, + { + name: "Service without workspace ID label", + existing: []runtime.Object{ + &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-endpoint", + Namespace: "test-namespace", + Labels: map[string]string{}, + }, + }, + }, + expectErr: true, + expectErrType: &ServiceConflictError{}, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + fakeClient := fake.NewClientBuilder().WithScheme(scheme).WithRuntimeObjects(tt.existing...).Build() + _, err := GetDiscoverableServicesForEndpoints(context.Background(), endpoints, meta, fakeClient) + + if tt.expectErr { + assert.Error(t, err, "Expected an error but got none") + if tt.expectErrType != nil { + assert.IsType(t, tt.expectErrType, err, "Error is of unexpected type") + } + if tt.expectMsg != "" { + assert.Contains(t, err.Error(), tt.expectMsg) + } + } else { + assert.NoError(t, err, "Got unexpected error") + } + }) + } +} + +func TestGetDiscoverableServicesForEndpoints_MultipleEndpoints(t *testing.T) { + scheme := runtime.NewScheme() + _ = corev1.AddToScheme(scheme) + _ = controllerv1alpha1.AddToScheme(scheme) + + endpoints := map[string]controllerv1alpha1.EndpointList{ + "machine1": { + { + Name: "postgresql", + TargetPort: 5432, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }, + { + Name: "redis", + TargetPort: 6379, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }, + { + Name: "http", + TargetPort: 8080, + Exposure: controllerv1alpha1.PublicEndpointExposure, + // Not discoverable + }, + }, + } + + meta := DevWorkspaceMetadata{ + DevWorkspaceId: "current-workspace-id", + DevWorkspaceName: "current-workspace", + Namespace: "test-namespace", + PodSelector: map[string]string{ + constants.DevWorkspaceIDLabel: "current-workspace", + }, + } + + t.Run("Multiple discoverable endpoints without conflicts", func(t *testing.T) { + fakeClient := fake.NewClientBuilder().WithScheme(scheme).Build() + services, err := GetDiscoverableServicesForEndpoints(context.Background(), endpoints, meta, fakeClient) + assert.NoError(t, err) + assert.Len(t, services, 2, "Should create 2 discoverable services (postgresql and redis, not http)") + + serviceNames := make(map[string]bool) + for _, svc := range services { + serviceNames[svc.Name] = true + } + assert.True(t, serviceNames["postgresql"], "Should have postgresql service") + assert.True(t, serviceNames["redis"], "Should have redis service") + assert.False(t, serviceNames["http"], "Should not have http service (not discoverable)") + }) + + t.Run("Conflict on one of multiple endpoints", func(t *testing.T) { + existingService := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "postgresql", + Namespace: "test-namespace", + Labels: map[string]string{ + constants.DevWorkspaceIDLabel: "other-workspace-id", + constants.DevWorkspaceNameLabel: "other-workspace", + }, + }, + } + fakeClient := fake.NewClientBuilder().WithScheme(scheme).WithRuntimeObjects(existingService).Build() + _, err := GetDiscoverableServicesForEndpoints(context.Background(), endpoints, meta, fakeClient) + assert.Error(t, err, "Should error when one endpoint conflicts") + assert.IsType(t, &ServiceConflictError{}, err) + assert.Contains(t, err.Error(), "postgresql") + }) +} + +// Two containers in the same workspace can declare discoverable endpoints named "my--endpoint" and "my-endpoint". +// These distinct, CRD-valid names pass devfilevalidation.ValidateComponents' raw-name uniqueness check but +// collide after common.EndpointName collapses repeated hyphens to the same Service name. +func TestGetDiscoverableServicesForEndpoints_SameWorkspaceDuplicateName(t *testing.T) { + scheme := runtime.NewScheme() + _ = corev1.AddToScheme(scheme) + _ = controllerv1alpha1.AddToScheme(scheme) + + // Two different containers ("machine1", "machine2") each expose their own discoverable endpoint with a + // different raw name, but both sanitize to the same Service name - and they target different ports. + endpoints := map[string]controllerv1alpha1.EndpointList{ + "machine1": { + { + Name: "my--endpoint", + TargetPort: 5000, + Exposure: controllerv1alpha1.PublicEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }, + }, + "machine2": { + { + Name: "my-endpoint", + TargetPort: 6000, + Exposure: controllerv1alpha1.PublicEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }, + }, + } + + meta := DevWorkspaceMetadata{ + DevWorkspaceId: "current-workspace-id", + DevWorkspaceName: "current-workspace", + Namespace: "test-namespace", + } + + fakeClient := fake.NewClientBuilder().WithScheme(scheme).Build() + services, err := GetDiscoverableServicesForEndpoints(context.Background(), endpoints, meta, fakeClient) + + assert.Error(t, err, "Expected a conflict error for two same-workspace endpoints sharing a Service name") + duplicateErr, ok := err.(*DuplicateEndpointError) + if !assert.True(t, ok, "Error should be a DuplicateEndpointError") { + return + } + assert.Equal(t, "my-endpoint", duplicateErr.EndpointName) + assert.EqualError(t, duplicateErr, "discoverable endpoints 'my--endpoint' and 'my-endpoint' both normalize to Service name 'my-endpoint'") + assert.Nil(t, services, "Expected no services to be produced on conflict") +} + +// Generated by Codex. +func TestGetDiscoverableServicesForEndpoints_DuplicateNameOrderIsStable(t *testing.T) { + scheme := runtime.NewScheme() + _ = corev1.AddToScheme(scheme) + _ = controllerv1alpha1.AddToScheme(scheme) + + discoverableEndpoint := func(name string) controllerv1alpha1.Endpoint { + return controllerv1alpha1.Endpoint{ + Name: name, + TargetPort: 5000, + Exposure: controllerv1alpha1.PublicEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + } + } + endpoints := map[string]controllerv1alpha1.EndpointList{ + "machine1": {discoverableEndpoint("my-endpoint")}, + "machine2": {discoverableEndpoint("my--endpoint")}, + "machine3": {discoverableEndpoint("other-endpoint")}, + "machine4": {discoverableEndpoint("other--endpoint")}, + } + meta := DevWorkspaceMetadata{ + DevWorkspaceId: "current-workspace-id", + DevWorkspaceName: "current-workspace", + Namespace: "test-namespace", + } + fakeClient := fake.NewClientBuilder().WithScheme(scheme).Build() + const wantError = "discoverable endpoints 'my-endpoint' and 'my--endpoint' both normalize to Service name 'my-endpoint'" + + for range 32 { + services, err := GetDiscoverableServicesForEndpoints(context.Background(), endpoints, meta, fakeClient) + duplicateErr, ok := err.(*DuplicateEndpointError) + if !assert.True(t, ok, "Error should be a DuplicateEndpointError") { + return + } + assert.Equal(t, "my--endpoint", duplicateErr.EndpointName) + assert.EqualError(t, duplicateErr, wantError) + assert.Nil(t, services, "Expected no services to be produced on conflict") + } +} diff --git a/controllers/controller/devworkspacerouting/solvers/context_test.go b/controllers/controller/devworkspacerouting/solvers/context_test.go new file mode 100644 index 000000000..c400a939a --- /dev/null +++ b/controllers/controller/devworkspacerouting/solvers/context_test.go @@ -0,0 +1,105 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package solvers + +import ( + "context" + "errors" + "testing" + "time" + + corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/config" +) + +func TestDiscoverableServiceLookupPreservesCancellation(t *testing.T) { + previousConfig := config.GetGlobalConfig() + config.SetGlobalConfigForTesting(&controllerv1alpha1.OperatorConfiguration{Routing: &controllerv1alpha1.RoutingConfig{ClusterHostSuffix: "example.test"}}) + t.Cleanup(func() { config.SetGlobalConfigForTesting(previousConfig) }) + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + routing := &controllerv1alpha1.DevWorkspaceRouting{Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{Endpoints: map[string]controllerv1alpha1.EndpointList{ + "main": {{Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure, Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true)}}, + }}} + meta := DevWorkspaceMetadata{DevWorkspaceId: "mine", Namespace: "ns"} + for _, entry := range []struct { + name string + run func(context.Context, client.Client) ([]corev1.Service, error) + }{ + {"helper", func(ctx context.Context, cl client.Client) ([]corev1.Service, error) { + return GetDiscoverableServicesForEndpoints(ctx, routing.Spec.Endpoints, meta, cl) + }}, + {"cluster", func(ctx context.Context, cl client.Client) ([]corev1.Service, error) { + objects, err := NewClusterSolver(cl, false).GetSpecObjects(ctx, routing, meta) + return objects.Services, err + }}, + {"basic", func(ctx context.Context, cl client.Client) ([]corev1.Service, error) { + objects, err := NewBasicSolver(cl).GetSpecObjects(ctx, routing, meta) + return objects.Services, err + }}, + } { + for _, alreadyCanceled := range []bool{true, false} { + name := "during lookup" + if alreadyCanceled { + name = "already canceled" + } + t.Run(entry.name+"/"+name, func(t *testing.T) { + deadline := time.Now().Add(time.Hour) + ctx, cancel := context.WithDeadline(context.WithValue(context.Background(), lookupContextKey{}, "lookup"), deadline) + defer cancel() + if alreadyCanceled { + cancel() + } + cl := &cancelingLookupClient{Client: fake.NewClientBuilder().WithScheme(scheme).Build(), cancel: cancel} + services, err := entry.run(ctx, cl) + if !errors.Is(err, context.Canceled) { + t.Fatalf("want cancellation error, got %v", err) + } + if len(services) != 0 { + t.Fatalf("canceled lookup returned Services: %#v", services) + } + if cl.received == nil || cl.received.Value(lookupContextKey{}) != "lookup" { + t.Fatal("lookup lost caller context value") + } + if actual, ok := cl.received.Deadline(); !ok || !actual.Equal(deadline) { + t.Fatalf("lookup lost caller deadline: %v, present=%t", actual, ok) + } + }) + } + } +} + +type lookupContextKey struct{} + +type cancelingLookupClient struct { + client.Client + cancel context.CancelFunc + received context.Context +} + +func (c *cancelingLookupClient) Get(ctx context.Context, _ client.ObjectKey, _ client.Object, _ ...client.GetOption) error { + c.received = ctx + c.cancel() + if err := ctx.Err(); err != nil { + return err + } + return errors.New("Service lookup did not observe caller cancellation") +} diff --git a/controllers/controller/devworkspacerouting/solvers/errors.go b/controllers/controller/devworkspacerouting/solvers/errors.go index ffcdd7b7b..f556a25ef 100644 --- a/controllers/controller/devworkspacerouting/solvers/errors.go +++ b/controllers/controller/devworkspacerouting/solvers/errors.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -17,11 +17,32 @@ package solvers import ( "errors" + "fmt" "time" + + "github.com/devfile/devworkspace-operator/pkg/provision/sync" ) var _ error = (*RoutingNotReady)(nil) var _ error = (*RoutingInvalid)(nil) +var _ error = (*ServiceConflictError)(nil) +var _ error = (*DuplicateEndpointError)(nil) + +// ServiceConflictError is returned when a discoverable endpoint has a name that is already in use by +// another DevWorkspace's service. +type ServiceConflictError = sync.ServiceConflictError + +// DuplicateEndpointError is returned when a single DevWorkspace declares the same discoverable endpoint name - or +// two endpoint names that sanitize to the same Service name - on more than one container. +type DuplicateEndpointError struct { + EndpointName string + FirstEndpointName string + ServiceName string +} + +func (e *DuplicateEndpointError) Error() string { + return fmt.Sprintf("discoverable endpoints '%s' and '%s' both normalize to Service name '%s'", e.FirstEndpointName, e.EndpointName, e.ServiceName) +} // RoutingNotSupported is used by the solvers when they supported the routingclass of the workspace they've been asked to route var RoutingNotSupported = errors.New("routingclass not supported by this controller") diff --git a/controllers/controller/devworkspacerouting/solvers/service_names_test.go b/controllers/controller/devworkspacerouting/solvers/service_names_test.go new file mode 100644 index 000000000..d4a011ec8 --- /dev/null +++ b/controllers/controller/devworkspacerouting/solvers/service_names_test.go @@ -0,0 +1,108 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package solvers + +import ( + "context" + "errors" + "testing" + + "github.com/stretchr/testify/assert" + corev1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" +) + +// Generated by Codex. +func TestGetDiscoverableServicesForEndpointsRejectsEmptyServiceName(t *testing.T) { + for _, tt := range []struct { + name string + wantReason string + }{ + {name: "", wantReason: "discoverable endpoint '' normalizes to an empty Service name"}, + {name: "---", wantReason: "discoverable endpoint '---' normalizes to an empty Service name"}, + } { + t.Run(tt.name, func(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, corev1.AddToScheme(scheme)) + cl := &failingServiceGetClient{ + Client: fake.NewClientBuilder().WithScheme(scheme).Build(), + err: errors.New("Service lookup must not run for an empty name"), + } + endpoints := map[string]controllerv1alpha1.EndpointList{ + "machine": {{ + Name: tt.name, + TargetPort: 8080, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }}, + } + services, err := GetDiscoverableServicesForEndpoints(context.Background(), endpoints, + DevWorkspaceMetadata{DevWorkspaceId: "mine", Namespace: "test-namespace"}, cl) + var invalid *RoutingInvalid + assert.ErrorAs(t, err, &invalid) + if assert.NotNil(t, invalid) { + assert.Equal(t, tt.wantReason, invalid.Reason) + } + assert.Empty(t, services) + assert.Zero(t, cl.getCalls, "invalid endpoints must be rejected before Service lookup") + }) + } +} + +// Generated by Codex. +func TestClusterSolverRejectsDiscoverableEndpointUsingWorkspaceServiceName(t *testing.T) { + for _, tt := range []struct { + name string + tls bool + }{ + {name: "plaintext", tls: false}, + {name: "TLS", tls: true}, + } { + t.Run(tt.name, func(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, corev1.AddToScheme(scheme)) + solver := NewClusterSolver(fake.NewClientBuilder().WithScheme(scheme).Build(), tt.tls) + const reservedServiceName = "mine-service" + routing := &controllerv1alpha1.DevWorkspaceRouting{ + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + Endpoints: map[string]controllerv1alpha1.EndpointList{ + "machine": {{ + Name: reservedServiceName, + TargetPort: 8080, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }}, + }, + }, + } + objects, err := solver.GetSpecObjects(context.Background(), routing, DevWorkspaceMetadata{ + DevWorkspaceId: "mine", + Namespace: "test-namespace", + }) + + var invalid *RoutingInvalid + assert.ErrorAs(t, err, &invalid) + if assert.NotNil(t, invalid) { + assert.Contains(t, invalid.Reason, "discoverable endpoint") + assert.Contains(t, invalid.Reason, reservedServiceName) + } + assert.Empty(t, objects.Services) + }) + } +} diff --git a/controllers/controller/devworkspacerouting/solvers/solver.go b/controllers/controller/devworkspacerouting/solvers/solver.go index c5c5a5c87..edf3666bb 100644 --- a/controllers/controller/devworkspacerouting/solvers/solver.go +++ b/controllers/controller/devworkspacerouting/solvers/solver.go @@ -1,5 +1,4 @@ -// -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -16,6 +15,7 @@ package solvers import ( + "context" "fmt" routeV1 "github.com/openshift/api/route/v1" @@ -45,14 +45,15 @@ type RoutingSolver interface { // is automatically removed from the routing. Finalize(routing *controllerv1alpha1.DevWorkspaceRouting) error - // GetSpecObjects constructs cluster routing objects which should be applied on the cluster + // GetSpecObjects constructs cluster routing objects which should be applied on the cluster. + // Client operations must use ctx to respect caller cancellation and deadlines. // This method should return RoutingNotReady error if the solver is not ready yet to process // the workspace routing, RoutingInvalid error if there is a specific reason for the failure or // any other error. // The implementors can also create any additional objects not captured by the RoutingObjects struct. If that's // the case they are required to set the restricted access annotation on any objects created according to the // restricted access specified by the routing. - GetSpecObjects(routing *controllerv1alpha1.DevWorkspaceRouting, workspaceMeta DevWorkspaceMetadata) (RoutingObjects, error) + GetSpecObjects(ctx context.Context, routing *controllerv1alpha1.DevWorkspaceRouting, workspaceMeta DevWorkspaceMetadata) (RoutingObjects, error) // GetExposedEndpoints retreives the URL for each endpoint in a devfile spec from a set of RoutingObjects. // Returns is a map from component ids (as defined in the devfile) to the list of endpoints for that component @@ -100,18 +101,19 @@ func (_ *SolverGetter) HasSolver(routingClass controllerv1alpha1.DevWorkspaceRou } } -func (_ *SolverGetter) GetSolver(_ client.Client, routingClass controllerv1alpha1.DevWorkspaceRoutingClass) (RoutingSolver, error) { +func (_ *SolverGetter) GetSolver(client client.Client, routingClass controllerv1alpha1.DevWorkspaceRoutingClass) (RoutingSolver, error) { isOpenShift := infrastructure.IsOpenShift() + switch routingClass { case controllerv1alpha1.DevWorkspaceRoutingBasic: - return &BasicSolver{}, nil + return NewBasicSolver(client), nil case controllerv1alpha1.DevWorkspaceRoutingCluster: - return &ClusterSolver{}, nil + return NewClusterSolver(client, false), nil case controllerv1alpha1.DevWorkspaceRoutingClusterTLS, controllerv1alpha1.DevWorkspaceRoutingWebTerminal: if !isOpenShift { return nil, fmt.Errorf("routing class %s only supported on OpenShift", routingClass) } - return &ClusterSolver{TLS: true}, nil + return NewClusterSolver(client, true), nil default: return nil, RoutingNotSupported } diff --git a/controllers/controller/devworkspacerouting/status_context_test.go b/controllers/controller/devworkspacerouting/status_context_test.go new file mode 100644 index 000000000..e89f1b3b1 --- /dev/null +++ b/controllers/controller/devworkspacerouting/status_context_test.go @@ -0,0 +1,209 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "reflect" + "testing" + "time" + + "github.com/go-logr/logr" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + "sigs.k8s.io/controller-runtime/pkg/client/interceptor" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +// Generated by Codex +func TestReconcilePassesContextToRoutingStatusWrites(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + + for _, test := range []struct { + name string + configure func(*controllerv1alpha1.DevWorkspaceRouting) + wantPhase controllerv1alpha1.DevWorkspaceRoutingPhase + }{ + { + name: "Failed", + configure: func(routing *controllerv1alpha1.DevWorkspaceRouting) { + routing.Spec.RoutingClass = "" + }, + wantPhase: controllerv1alpha1.RoutingFailed, + }, + { + name: "Preparing", + wantPhase: controllerv1alpha1.RoutingPreparing, + }, + { + name: "Ready", + configure: func(routing *controllerv1alpha1.DevWorkspaceRouting) { + routing.Spec.Endpoints = map[string]controllerv1alpha1.EndpointList{} + routing.Status.Phase = controllerv1alpha1.RoutingPreparing + }, + wantPhase: controllerv1alpha1.RoutingReady, + }, + { + name: "Stopped", + configure: func(routing *controllerv1alpha1.DevWorkspaceRouting) { + routing.Annotations = map[string]string{constants.DevWorkspaceStartedStatusAnnotation: "false"} + }, + wantPhase: controllerv1alpha1.RoutingStopped, + }, + } { + t.Run(test.name, func(t *testing.T) { + routing := serviceSyncContextRouting() + if test.configure != nil { + test.configure(routing) + } + + scheme := routingTestScheme(t) + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + deadline := time.Now().Add(time.Minute) + ctx, cancel := context.WithDeadline(context.WithValue(context.Background(), testContextKey{}, "routing-status-context"), deadline) + defer cancel() + + var gotValue any + var gotDeadline time.Time + var hasDeadline bool + statusUpdates := 0 + intercepted := interceptor.NewClient(backing, interceptor.Funcs{ + Get: func(_ context.Context, cl client.WithWatch, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + // Let reads succeed even when the reconcile context has expired so the status write is reached. + return cl.Get(context.Background(), key, obj, opts...) + }, + SubResourceUpdate: func(statusCtx context.Context, cl client.Client, subResource string, obj client.Object, opts ...client.SubResourceUpdateOption) error { + if subResource != "status" { + t.Errorf("unexpected subresource update %q", subResource) + } + statusUpdates++ + gotValue = statusCtx.Value(testContextKey{}) + gotDeadline, hasDeadline = statusCtx.Deadline() + if err := statusCtx.Err(); err != nil { + return err + } + return cl.SubResource(subResource).Update(statusCtx, obj, opts...) + }, + }) + r := DevWorkspaceRoutingReconciler{ + Client: intercepted, NonCachingClient: intercepted, Scheme: scheme, + Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}, + } + + if _, err := r.Reconcile(ctx, recoveryRequest(routing)); err != nil { + t.Fatalf("Reconcile returned an unexpected error: %v", err) + } + if gotValue != "routing-status-context" || !hasDeadline || !gotDeadline.Equal(deadline) { + t.Fatalf("status update lost reconcile context: value=%v deadline=%v present=%v", gotValue, gotDeadline, hasDeadline) + } + if statusUpdates != 1 { + t.Fatalf("want one status update, got %d", statusUpdates) + } + + actual := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actual); err != nil { + t.Fatal(err) + } + if actual.Status.Phase != test.wantPhase { + t.Fatalf("want phase %s, got %s", test.wantPhase, actual.Status.Phase) + } + }) + } +} + +// Generated by Codex +func TestReconcileReturnsStatusContextErrorsWithoutPersistingStatus(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + + for _, test := range []struct { + name string + cause error + cancelAtWrite bool + }{ + { + name: "canceled", + cause: context.Canceled, + cancelAtWrite: true, + }, + { + name: "expired", + cause: context.DeadlineExceeded, + }, + } { + t.Run(test.name, func(t *testing.T) { + routing := serviceSyncContextRouting() + routing.Spec.RoutingClass = "" + originalStatus := routing.Status.DeepCopy() + scheme := routingTestScheme(t) + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + deadline := time.Now().Add(time.Minute) + if test.cause == context.DeadlineExceeded { + deadline = time.Now().Add(-time.Minute) + } + ctx, cancel := context.WithDeadline(context.WithValue(context.Background(), testContextKey{}, "routing-status-context"), deadline) + defer cancel() + + var gotValue any + var gotDeadline time.Time + var hasDeadline bool + statusUpdates := 0 + intercepted := interceptor.NewClient(backing, interceptor.Funcs{ + Get: func(_ context.Context, cl client.WithWatch, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + // The expired input must still reach the status API boundary. + return cl.Get(context.Background(), key, obj, opts...) + }, + SubResourceUpdate: func(statusCtx context.Context, cl client.Client, subResource string, obj client.Object, opts ...client.SubResourceUpdateOption) error { + statusUpdates++ + gotValue = statusCtx.Value(testContextKey{}) + gotDeadline, hasDeadline = statusCtx.Deadline() + if test.cancelAtWrite { + cancel() + } + if err := statusCtx.Err(); err != nil { + return err + } + return cl.SubResource(subResource).Update(statusCtx, obj, opts...) + }, + }) + r := DevWorkspaceRoutingReconciler{ + Client: intercepted, NonCachingClient: intercepted, Scheme: scheme, + Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}, + } + + _, err := r.Reconcile(ctx, recoveryRequest(routing)) + if !errors.Is(err, test.cause) { + t.Fatalf("want status write error %v, got %v", test.cause, err) + } + if gotValue != "routing-status-context" || !hasDeadline || !gotDeadline.Equal(deadline) { + t.Fatalf("status update lost reconcile context: value=%v deadline=%v present=%v", gotValue, gotDeadline, hasDeadline) + } + if statusUpdates != 1 { + t.Fatalf("want one status update, got %d", statusUpdates) + } + + actual := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actual); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(actual.Status, *originalStatus) { + t.Fatalf("context error changed persisted status:\nwant: %#v\n got: %#v", *originalStatus, actual.Status) + } + }) + } +} diff --git a/controllers/controller/devworkspacerouting/sync_services.go b/controllers/controller/devworkspacerouting/sync_services.go index 41b8925c7..169fbb463 100644 --- a/controllers/controller/devworkspacerouting/sync_services.go +++ b/controllers/controller/devworkspacerouting/sync_services.go @@ -1,5 +1,4 @@ -// -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -19,26 +18,31 @@ import ( "context" "fmt" - "github.com/devfile/devworkspace-operator/pkg/constants" - "github.com/devfile/devworkspace-operator/pkg/provision/sync" corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/labels" "sigs.k8s.io/controller-runtime/pkg/client" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" ) -func (r *DevWorkspaceRoutingReconciler) syncServices(routing *controllerv1alpha1.DevWorkspaceRouting, specServices []corev1.Service) (ok bool, clusterServices []corev1.Service, err error) { +func (r *DevWorkspaceRoutingReconciler) syncServices(ctx context.Context, routing *controllerv1alpha1.DevWorkspaceRouting, specServices []corev1.Service) (ok bool, clusterServices []corev1.Service, err error) { servicesInSync := true - clusterServices, err = r.getClusterServices(routing) + clusterServices, err = r.getClusterServices(ctx, routing) if err != nil { return false, nil, err } toDelete := getServicesToDelete(clusterServices, specServices) for _, service := range toDelete { - err := r.Delete(context.TODO(), &service) + if !metav1.IsControlledBy(&service, routing) { + continue + } + err := r.Delete(ctx, &service, client.Preconditions{UID: &service.UID, ResourceVersion: &service.ResourceVersion}) if err != nil { return false, nil, err } @@ -46,15 +50,16 @@ func (r *DevWorkspaceRoutingReconciler) syncServices(routing *controllerv1alpha1 } clusterAPI := sync.ClusterAPI{ - Client: r.Client, - Scheme: r.Scheme, - Logger: r.Log.WithValues("Request.Namespace", routing.Namespace, "Request.Name", routing.Name), - Ctx: context.TODO(), + Client: r.Client, + NonCachingClient: r.NonCachingClient, + Scheme: r.Scheme, + Logger: r.Log.WithValues("Request.Namespace", routing.Namespace, "Request.Name", routing.Name), + Ctx: ctx, } var updatedClusterServices []corev1.Service for _, specService := range specServices { - clusterObj, err := sync.SyncObjectWithCluster(&specService, clusterAPI) + clusterObj, err := sync.SyncRoutingServiceWithCluster(&specService, clusterAPI) switch t := err.(type) { case nil: break @@ -72,7 +77,7 @@ func (r *DevWorkspaceRoutingReconciler) syncServices(routing *controllerv1alpha1 return servicesInSync, updatedClusterServices, nil } -func (r *DevWorkspaceRoutingReconciler) getClusterServices(routing *controllerv1alpha1.DevWorkspaceRouting) ([]corev1.Service, error) { +func (r *DevWorkspaceRoutingReconciler) getClusterServices(ctx context.Context, routing *controllerv1alpha1.DevWorkspaceRouting) ([]corev1.Service, error) { found := &corev1.ServiceList{} labelSelector, err := labels.Parse(fmt.Sprintf("%s=%s", constants.DevWorkspaceIDLabel, routing.Spec.DevWorkspaceId)) if err != nil { @@ -82,7 +87,7 @@ func (r *DevWorkspaceRoutingReconciler) getClusterServices(routing *controllerv1 Namespace: routing.Namespace, LabelSelector: labelSelector, } - err = r.List(context.TODO(), found, listOptions) + err = r.List(ctx, found, listOptions) if err != nil { return nil, err } diff --git a/controllers/controller/devworkspacerouting/sync_services_test.go b/controllers/controller/devworkspacerouting/sync_services_test.go new file mode 100644 index 000000000..a4b781b18 --- /dev/null +++ b/controllers/controller/devworkspacerouting/sync_services_test.go @@ -0,0 +1,282 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "errors" + "reflect" + "testing" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + networkingv1 "k8s.io/api/networking/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/utils/ptr" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/builder" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" +) + +// Generated by Codex +func TestReconcileMarksSynchronizationConflictFailed(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := controllerv1alpha1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := networkingv1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine", RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, Endpoints: map[string]controllerv1alpha1.EndpointList{"main": {{Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure, Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true)}}}}} + foreign := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "foreign-service"}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}} + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing, foreign).Build() + r := DevWorkspaceRoutingReconciler{Client: serviceLabelFilteredClient{backing}, NonCachingClient: backing, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}} + _, err := r.Reconcile(context.Background(), ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + if err != nil { + t.Fatal(err) + } + actualRouting := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actualRouting); err != nil { + t.Fatal(err) + } + if actualRouting.Status.Phase != controllerv1alpha1.RoutingFailed { + t.Fatalf("want permanent conflict, got %s: %s", actualRouting.Status.Phase, actualRouting.Status.Message) + } + actual := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatalf("foreign Service deleted: %v", err) + } + if !reflect.DeepEqual(foreign, actual) { + t.Fatalf("foreign Service changed:\nwant: %#v\n got: %#v", foreign, actual) + } +} + +func TestReconcileIgnoresStaleForeignServiceFromCache(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := controllerv1alpha1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := networkingv1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine", RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, Endpoints: map[string]controllerv1alpha1.EndpointList{"main": {{Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure, Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true)}}}}} + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + staleService := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "deleted-foreign-service"}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}} + r := DevWorkspaceRoutingReconciler{Client: staleServiceCacheClient{Client: backing, stale: staleService}, NonCachingClient: backing, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}} + request := ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)} + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + if _, err := r.Reconcile(context.Background(), request); err != nil { + t.Fatal(err) + } + + actualRouting := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actualRouting); err != nil { + t.Fatal(err) + } + if actualRouting.Status.Phase != controllerv1alpha1.RoutingReady { + t.Fatalf("want routing ready after services are created, got %s: %s", actualRouting.Status.Phase, actualRouting.Status.Message) + } + for _, name := range []string{"api", "mine-service"} { + if err := backing.Get(context.Background(), client.ObjectKey{Namespace: "ns", Name: name}, &corev1.Service{}); err != nil { + t.Errorf("required Service %q was not created: %v", name, err) + } + } +} + +func TestReconcileReturnsAuthoritativeServiceReadError(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + scheme := routingTestScheme(t) + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine", RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, Endpoints: map[string]controllerv1alpha1.EndpointList{"main": {{Name: "api", TargetPort: 8080, Exposure: controllerv1alpha1.InternalEndpointExposure, Attributes: controllerv1alpha1.Attributes{}.PutBoolean("discoverable", true)}}}}} + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + readErr := errors.New("authoritative Service read failed") + r := DevWorkspaceRoutingReconciler{Client: backing, NonCachingClient: serviceReadErrorClient{Client: backing, err: readErr}, Scheme: scheme, Log: logr.Discard(), SolverGetter: &solvers.SolverGetter{}} + _, err := r.Reconcile(context.Background(), ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + if !errors.Is(err, readErr) { + t.Fatalf("want authoritative read error %v, got %v", readErr, err) + } + actual := &controllerv1alpha1.DevWorkspaceRouting{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(routing), actual); err != nil { + t.Fatal(err) + } + if actual.Status.Phase == controllerv1alpha1.RoutingFailed { + t.Fatalf("authoritative read error marked routing failed: %s", actual.Status.Message) + } +} + +func TestReconcileFailsWithoutNonCachingClient(t *testing.T) { + scheme := routingTestScheme(t) + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine", RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster}} + backing := fake.NewClientBuilder().WithScheme(scheme).WithStatusSubresource(routing).WithObjects(routing).Build() + getter := &capturingSolverGetter{} + r := DevWorkspaceRoutingReconciler{Client: backing, Scheme: scheme, Log: logr.Discard(), SolverGetter: getter} + _, err := r.Reconcile(context.Background(), ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + if err == nil || err.Error() != "non-caching client is not configured" { + t.Fatalf("expected the missing non-caching client error, got %v", err) + } + if getter.client != nil { + t.Fatalf("solver was built without a non-caching client: got %T", getter.client) + } +} + +func routingTestScheme(t *testing.T) *runtime.Scheme { + t.Helper() + scheme := runtime.NewScheme() + for _, addToScheme := range []func(*runtime.Scheme) error{corev1.AddToScheme, networkingv1.AddToScheme, controllerv1alpha1.AddToScheme} { + if err := addToScheme(scheme); err != nil { + t.Fatal(err) + } + } + return scheme +} + +type testContextKey struct{} + +type serviceReadErrorClient struct { + client.Client + err error +} + +func (c serviceReadErrorClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Service); ok { + return c.err + } + return c.Client.Get(ctx, key, obj, opts...) +} + +type capturingSolverGetter struct { + client client.Client +} + +func (g *capturingSolverGetter) SetupControllerManager(*builder.Builder) error { return nil } +func (g *capturingSolverGetter) HasSolver(controllerv1alpha1.DevWorkspaceRoutingClass) bool { + return true +} +func (g *capturingSolverGetter) GetSolver(cl client.Client, _ controllerv1alpha1.DevWorkspaceRoutingClass) (solvers.RoutingSolver, error) { + g.client = cl + return nil, solvers.RoutingNotSupported +} + +// Generated by Codex +func TestSyncServicesDoesNotDeleteForeignServiceWithWorkspaceLabel(t *testing.T) { + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + foreign := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "unused", Namespace: "ns", UID: "foreign-service", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "other-routing", Controller: ptr.To(true)}}}} + cl := fake.NewClientBuilder().WithScheme(scheme).WithObjects(foreign).Build() + r := DevWorkspaceRoutingReconciler{Client: cl, Scheme: scheme, Log: logr.Discard()} + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine"}} + _, _, err := r.syncServices(context.Background(), routing, nil) + if err != nil { + t.Fatal(err) + } + if err := cl.Get(context.Background(), client.ObjectKeyFromObject(foreign), &corev1.Service{}); err != nil { + t.Fatalf("foreign Service deleted: %v", err) + } +} + +// Generated by Codex +func TestSyncServicesDeletesOwnedService(t *testing.T) { + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + owned := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "unused", Namespace: "ns", UID: "owned-service", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "mine-routing", Controller: ptr.To(true)}}}} + cl := fake.NewClientBuilder().WithScheme(scheme).WithObjects(owned).Build() + r := DevWorkspaceRoutingReconciler{Client: cl, Scheme: scheme, Log: logr.Discard()} + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine"}} + ready, _, err := r.syncServices(context.Background(), routing, nil) + if err != nil || ready { + t.Fatalf("want pending deletion, got ready=%v err=%v", ready, err) + } + if err := cl.Get(context.Background(), client.ObjectKeyFromObject(owned), &corev1.Service{}); !apierrors.IsNotFound(err) { + t.Fatalf("owned Service still exists: %v", err) + } +} + +// Generated by Codex +type serviceLabelFilteredClient struct{ client.Client } + +func (c serviceLabelFilteredClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if err := c.Client.Get(ctx, key, obj, opts...); err != nil { + return err + } + _, labeled := obj.GetLabels()[constants.DevWorkspaceIDLabel] + if _, ok := obj.(*corev1.Service); ok && !labeled { + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + } + return nil +} + +type staleServiceCacheClient struct { + client.Client + stale *corev1.Service +} + +func (c staleServiceCacheClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if service, ok := obj.(*corev1.Service); ok && key.Namespace == c.stale.Namespace && key.Name == c.stale.Name { + c.stale.DeepCopyInto(service) + return nil + } + return c.Client.Get(ctx, key, obj, opts...) +} + +func TestSyncServicesGuardsAggregateAndDiscoverableServices(t *testing.T) { + for _, discoverable := range []bool{false, true} { + t.Run(map[bool]string{false: "aggregate", true: "discoverable"}[discoverable], func(t *testing.T) { + scheme := routingTestScheme(t) + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{Name: "routing-mine", Namespace: "ns", UID: "mine-routing"}, Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{DevWorkspaceId: "mine"}} + foreign := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "foreign-service"}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}} + desired := corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: routing.UID, Controller: ptr.To(true)}}}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "mine"}}} + if discoverable { + desired.Annotations = map[string]string{constants.DevWorkspaceDiscoverableServiceAnnotation: "true"} + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(foreign).Build() + r := DevWorkspaceRoutingReconciler{Client: serviceLabelFilteredClient{backing}, NonCachingClient: backing, Scheme: scheme, Log: logr.Discard()} + _, _, err := r.syncServices(context.Background(), routing, []corev1.Service{desired}) + var fatal *sync.UnrecoverableSyncError + var conflict *sync.ServiceConflictError + if !errors.As(err, &fatal) || !errors.As(err, &conflict) { + t.Fatalf("want permanent ownership conflict, got %v", err) + } + actual := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(foreign, actual) { + t.Fatalf("foreign Service changed: %#v", actual) + } + }) + } +} diff --git a/controllers/controller/devworkspacerouting/workspace_name_test.go b/controllers/controller/devworkspacerouting/workspace_name_test.go new file mode 100644 index 000000000..7160925dc --- /dev/null +++ b/controllers/controller/devworkspacerouting/workspace_name_test.go @@ -0,0 +1,249 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package devworkspacerouting + +import ( + "context" + "testing" + + "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + . "github.com/onsi/gomega" + corev1 "k8s.io/api/core/v1" + networkingv1 "k8s.io/api/networking/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/util/intstr" + "k8s.io/utils/ptr" + ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" +) + +// Generated by Codex. +func TestReconcileUsesDevWorkspaceOwnerName(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + g := NewWithT(t) + scheme := runtime.NewScheme() + g.Expect(corev1.AddToScheme(scheme)).To(Succeed()) + g.Expect(networkingv1.AddToScheme(scheme)).To(Succeed()) + g.Expect(controllerv1alpha1.AddToScheme(scheme)).To(Succeed()) + + firstRouting := workspaceNameTestRouting("routing-first-route", "workspace-id-first", "real-first-workspace") + secondRouting := workspaceNameTestRouting("routing-second-route", "workspace-id-second", "real-second-workspace") + fakeClient := fake.NewClientBuilder().WithScheme(scheme). + WithStatusSubresource(&controllerv1alpha1.DevWorkspaceRouting{}). + WithObjects(firstRouting, secondRouting).Build() + reconciler := &DevWorkspaceRoutingReconciler{ + Client: fakeClient, + NonCachingClient: fakeClient, + Log: ctrl.Log, + Scheme: scheme, + SolverGetter: &solvers.SolverGetter{}, + } + ctx := context.Background() + + for range 3 { + result, err := reconciler.Reconcile(ctx, ctrl.Request{NamespacedName: client.ObjectKeyFromObject(firstRouting)}) + g.Expect(err).To(Succeed()) + if !result.Requeue { + break + } + } + + service := &corev1.Service{} + serviceKey := client.ObjectKey{Namespace: firstRouting.Namespace, Name: common.EndpointName("api")} + g.Expect(fakeClient.Get(ctx, serviceKey, service)).To(Succeed()) + g.Expect(service.Labels).To(HaveKeyWithValue(constants.DevWorkspaceNameLabel, "real-first-workspace")) + + _, err := reconciler.Reconcile(ctx, ctrl.Request{NamespacedName: client.ObjectKeyFromObject(secondRouting)}) + g.Expect(err).To(Succeed()) + storedRouting := &controllerv1alpha1.DevWorkspaceRouting{} + g.Expect(fakeClient.Get(ctx, client.ObjectKeyFromObject(secondRouting), storedRouting)).To(Succeed()) + g.Expect(storedRouting.Status.Phase).To(Equal(controllerv1alpha1.RoutingFailed)) + g.Expect(storedRouting.Status.Message).To(ContainSubstring("real-first-workspace")) + g.Expect(storedRouting.Status.Message).NotTo(ContainSubstring(firstRouting.Name)) +} + +// Generated by Codex. +func TestReconcileRepairsOwnedDiscoverableServiceWithStaleWorkspaceID(t *testing.T) { + tests := []struct { + name string + workspaceIDLabel string + includeIDLabel bool + }{ + {name: "wrong workspace ID label", workspaceIDLabel: "stale-workspace-id", includeIDLabel: true}, + {name: "missing workspace ID label"}, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + infrastructure.InitializeForTesting(infrastructure.Kubernetes) + g := NewWithT(t) + scheme := runtime.NewScheme() + g.Expect(corev1.AddToScheme(scheme)).To(Succeed()) + g.Expect(networkingv1.AddToScheme(scheme)).To(Succeed()) + g.Expect(controllerv1alpha1.AddToScheme(scheme)).To(Succeed()) + + routing := workspaceNameTestRouting("routing-stale-id", "workspace-id", "real-workspace") + g.Expect(routing.UID).NotTo(BeEmpty()) + serviceLabels := map[string]string{constants.DevWorkspaceNameLabel: "real-workspace"} + if tt.includeIDLabel { + serviceLabels[constants.DevWorkspaceIDLabel] = tt.workspaceIDLabel + } + controller := true + discoverableService := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: common.EndpointName("api"), + Namespace: routing.Namespace, + UID: "existing-service-uid", + Labels: serviceLabels, + OwnerReferences: []metav1.OwnerReference{{ + APIVersion: controllerv1alpha1.GroupVersion.String(), + Kind: "DevWorkspaceRouting", + Name: routing.Name, + UID: routing.UID, + Controller: &controller, + }}, + }, + Spec: corev1.ServiceSpec{ + Type: corev1.ServiceTypeClusterIP, + ClusterIP: "10.0.0.9", + Selector: routing.Spec.PodSelector, + Ports: []corev1.ServicePort{{ + Name: common.EndpointName("api"), + Protocol: corev1.ProtocolTCP, + Port: 8080, + TargetPort: intstr.FromInt(8080), + }}, + }, + } + fakeClient := fake.NewClientBuilder().WithScheme(scheme). + WithStatusSubresource(&controllerv1alpha1.DevWorkspaceRouting{}). + WithObjects(routing, discoverableService).Build() + reconciler := &DevWorkspaceRoutingReconciler{ + Client: fakeClient, + NonCachingClient: fakeClient, + Log: ctrl.Log, + Scheme: scheme, + SolverGetter: &solvers.SolverGetter{}, + } + ctx := context.Background() + + for range 3 { + result, err := reconciler.Reconcile(ctx, ctrl.Request{NamespacedName: client.ObjectKeyFromObject(routing)}) + g.Expect(err).To(Succeed()) + if !result.Requeue { + break + } + } + + storedService := &corev1.Service{} + serviceKey := client.ObjectKeyFromObject(discoverableService) + g.Expect(fakeClient.Get(ctx, serviceKey, storedService)).To(Succeed()) + g.Expect(storedService.Labels).To(HaveKeyWithValue(constants.DevWorkspaceIDLabel, routing.Spec.DevWorkspaceId)) + g.Expect(storedService.UID).To(Equal(discoverableService.UID)) + g.Expect(storedService.Spec.ClusterIP).To(Equal(discoverableService.Spec.ClusterIP)) + storedRouting := &controllerv1alpha1.DevWorkspaceRouting{} + g.Expect(fakeClient.Get(ctx, client.ObjectKeyFromObject(routing), storedRouting)).To(Succeed()) + g.Expect(storedRouting.Status.Phase).NotTo(Equal(controllerv1alpha1.RoutingFailed)) + }) + } +} + +// Generated by Codex. +func TestWorkspaceNameRequiresDevWorkspaceControllerOwner(t *testing.T) { + controller := true + nonController := false + tests := []struct { + name string + ownerReferences []metav1.OwnerReference + want string + }{ + {name: "no owner"}, + { + name: "non-controller owner", + ownerReferences: []metav1.OwnerReference{{ + APIVersion: v1alpha2.SchemeGroupVersion.String(), + Kind: "DevWorkspace", + Name: "ignored-workspace", + Controller: &nonController, + }}, + }, + { + name: "wrong kind", + ownerReferences: []metav1.OwnerReference{{ + APIVersion: v1alpha2.SchemeGroupVersion.String(), + Kind: "Pod", + Name: "ignored-pod", + Controller: &controller, + }}, + }, + { + name: "wrong API group", + ownerReferences: []metav1.OwnerReference{{ + APIVersion: controllerv1alpha1.GroupVersion.String(), + Kind: "DevWorkspace", + Name: "ignored-workspace", + Controller: &controller, + }}, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + g := NewWithT(t) + routing := &controllerv1alpha1.DevWorkspaceRouting{ObjectMeta: metav1.ObjectMeta{OwnerReferences: tt.ownerReferences}} + g.Expect(workspaceName(routing)).To(Equal(tt.want)) + }) + } +} + +// Generated by Codex. +func workspaceNameTestRouting(name, workspaceID, workspaceName string) *controllerv1alpha1.DevWorkspaceRouting { + return &controllerv1alpha1.DevWorkspaceRouting{ + ObjectMeta: metav1.ObjectMeta{ + Name: name, + Namespace: "test-namespace", + UID: types.UID(name + "-uid"), + OwnerReferences: []metav1.OwnerReference{{ + APIVersion: v1alpha2.SchemeGroupVersion.String(), + Kind: "DevWorkspace", + Name: workspaceName, + UID: types.UID(workspaceID), + Controller: ptr.To(true), + }}, + }, + Spec: controllerv1alpha1.DevWorkspaceRoutingSpec{ + DevWorkspaceId: workspaceID, + RoutingClass: controllerv1alpha1.DevWorkspaceRoutingCluster, + PodSelector: map[string]string{constants.DevWorkspaceIDLabel: workspaceID}, + Endpoints: map[string]controllerv1alpha1.EndpointList{ + "machine": {{ + Name: "api", + TargetPort: 8080, + Exposure: controllerv1alpha1.InternalEndpointExposure, + Attributes: controllerv1alpha1.Attributes{}. + PutBoolean(string(controllerv1alpha1.DiscoverableAttribute), true), + }}, + }, + }, + } +} diff --git a/deploy/bundle/manifests/controller.devfile.io_devworkspaceroutings.yaml b/deploy/bundle/manifests/controller.devfile.io_devworkspaceroutings.yaml index 296efb61c..691b833ec 100644 --- a/deploy/bundle/manifests/controller.devfile.io_devworkspaceroutings.yaml +++ b/deploy/bundle/manifests/controller.devfile.io_devworkspaceroutings.yaml @@ -190,6 +190,10 @@ spec: message: description: Message is a user-readable message explaining the current phase (e.g. reason for failure) type: string + observedGeneration: + description: ObservedGeneration is the spec generation represented by this status. + format: int64 + type: integer phase: description: Routing reconcile phase type: string diff --git a/deploy/deployment/kubernetes/combined.yaml b/deploy/deployment/kubernetes/combined.yaml index eeec5ff91..62ee23a21 100644 --- a/deploy/deployment/kubernetes/combined.yaml +++ b/deploy/deployment/kubernetes/combined.yaml @@ -6720,6 +6720,11 @@ spec: description: Message is a user-readable message explaining the current phase (e.g. reason for failure) type: string + observedGeneration: + description: ObservedGeneration is the spec generation represented + by this status. + format: int64 + type: integer phase: description: Routing reconcile phase type: string diff --git a/deploy/deployment/kubernetes/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml b/deploy/deployment/kubernetes/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml index 2ec7acfff..fe8273d84 100644 --- a/deploy/deployment/kubernetes/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml +++ b/deploy/deployment/kubernetes/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml @@ -194,6 +194,11 @@ spec: description: Message is a user-readable message explaining the current phase (e.g. reason for failure) type: string + observedGeneration: + description: ObservedGeneration is the spec generation represented + by this status. + format: int64 + type: integer phase: description: Routing reconcile phase type: string diff --git a/deploy/deployment/openshift/combined.yaml b/deploy/deployment/openshift/combined.yaml index 298605a0e..6b961bdae 100644 --- a/deploy/deployment/openshift/combined.yaml +++ b/deploy/deployment/openshift/combined.yaml @@ -6720,6 +6720,11 @@ spec: description: Message is a user-readable message explaining the current phase (e.g. reason for failure) type: string + observedGeneration: + description: ObservedGeneration is the spec generation represented + by this status. + format: int64 + type: integer phase: description: Routing reconcile phase type: string diff --git a/deploy/deployment/openshift/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml b/deploy/deployment/openshift/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml index 2ec7acfff..fe8273d84 100644 --- a/deploy/deployment/openshift/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml +++ b/deploy/deployment/openshift/objects/devworkspaceroutings.controller.devfile.io.CustomResourceDefinition.yaml @@ -194,6 +194,11 @@ spec: description: Message is a user-readable message explaining the current phase (e.g. reason for failure) type: string + observedGeneration: + description: ObservedGeneration is the spec generation represented + by this status. + format: int64 + type: integer phase: description: Routing reconcile phase type: string diff --git a/deploy/templates/crd/bases/controller.devfile.io_devworkspaceroutings.yaml b/deploy/templates/crd/bases/controller.devfile.io_devworkspaceroutings.yaml index 8b69197d7..65b55afc1 100644 --- a/deploy/templates/crd/bases/controller.devfile.io_devworkspaceroutings.yaml +++ b/deploy/templates/crd/bases/controller.devfile.io_devworkspaceroutings.yaml @@ -193,6 +193,11 @@ spec: description: Message is a user-readable message explaining the current phase (e.g. reason for failure) type: string + observedGeneration: + description: ObservedGeneration is the spec generation represented + by this status. + format: int64 + type: integer phase: description: Routing reconcile phase type: string diff --git a/graphify-out/.graphify_labels.json b/graphify-out/.graphify_labels.json index 99d625b72..10d8b63b6 100644 --- a/graphify-out/.graphify_labels.json +++ b/graphify-out/.graphify_labels.json @@ -1 +1,322 @@ -{"0": "Pod Override Logic", "1": "Workspace Routing Endpoints", "2": "Backup CronJob Controller", "3": "Git Configuration Provisioning", "4": "Workspace Reconciler Core", "5": "Pod Security Specifications", "6": "Container Override Logic", "7": "Routing Resource Definitions", "8": "Init Container Management", "9": "Auto-mount Volume Provisioning", "10": "Troubleshooting and CI Docs", "11": "Resource Loading Utilities", "12": "Network Policy Management", "13": "Kubernetes Component Deserialization", "14": "Attribute Map Utilities", "15": "SSH Key Configuration", "16": "Automount Volume Utilities", "17": "Cleanup CronJob Controller", "18": "Configuration Sync Tests", "19": "Global Configuration Management", "20": "OCI Test Scripts", "21": "Project Contribution Guide", "22": "Git Project Operations", "23": "Devfile Resolution Logic", "24": "Server TLS Configuration", "25": "Workspace Status Management", "26": "HTTP Client Factory", "27": "Workspace Role Management", "28": "Operator Configuration Docs", "29": "Immutable Resource Validation", "30": "Webhook Mutation Tests", "31": "DeepCopy Code Generation", "32": "RBAC Finalization Tests", "33": "Workspace Error Handling", "34": "Role Binding Synchronization", "35": "Routing Reconciler Logic", "36": "Devfile Flattening Tests", "37": "Kubernetes Component Provisioning", "38": "RBAC Finalization Logic", "39": "Devfile Command Management", "40": "ConfigMap Migration Logic", "41": "Controller Config Loading", "42": "Git Project Setup", "43": "Cluster API Errors", "44": "Webhook Configuration Initialization", "45": "Operator Config Schema", "46": "Config DeepCopy Methods", "47": "Projected Volume Generation", "48": "Operator Entrypoint Logic", "49": "Kubernetes Permission Validation", "50": "Resource Requirement Specs", "51": "Ephemeral Volume Management", "52": "Secret Lifecycle ADR", "53": "PVC Cleanup Jobs", "54": "Workspace Deployment Sync", "55": "Routing Solver Logic", "56": "Workspace Metadata Provisioning", "57": "RBAC Migration Logic", "58": "Devfile Container Conversion", "59": "Webhook Deployment Management", "60": "Workspace Condition Management", "61": "Resource Requirement Helpers", "62": "Namespace and Manager Config", "63": "Kind Installation Guide", "64": "Post-Start Lifecycle Hooks", "65": "Per-Workspace Storage Provisioning", "66": "Resource Diffing Utilities", "67": "Resource Update Functions", "68": "Workspace Configuration Schema", "69": "Git Resource Mounting", "70": "Secure Service Provisioning", "71": "Devfile Test Utilities", "72": "Common Storage Provisioner", "73": "Installation and Usage Docs", "74": "Sidecar Image Management", "75": "Async Storage Provisioner", "76": "Projected Volume Tests", "77": "Backup Job Event Handler", "78": "Workspace Bootstrapping Logic", "79": "Pod Readiness Utilities", "80": "Default Security Settings", "81": "Linux Kind Installation", "82": "Minikube Installation Guide", "83": "Project Clone Initialization", "84": "Container Resource Tests", "85": "Volume Naming ADR", "86": "ADR Template", "87": "Development Best Practices", "88": "OpenShift E2E Scripts", "89": "Kubernetes Client Wrapper", "90": "Zip Project Setup", "91": "Devfile Element Merging", "92": "Webhook Validation Logic", "93": "Pre-Stop Lifecycle Hooks", "94": "Generic Object Sync", "95": "Webhook RBAC Setup", "96": "Release Process Documentation", "97": "Architecture Decision Guide", "98": "Webhook Server Management", "99": "Service Account Synchronization", "100": "Mount Source Handling", "101": "Workspace Feature Testing", "102": "Devfile and Project Loading", "103": "Release Automation Scripts", "104": "Architecture and Agent Documentation", "105": "Workspace Lifecycle Client", "106": "Volume Naming Utilities", "107": "Workspace Routing Logic", "108": "Resource Fuzz Testing", "109": "Container Resource Validation", "110": "Container Conversion Tests", "111": "Workspace Metrics Tracking", "112": "HTTP Client Factory", "113": "Error Handling Types", "114": "Deployment Diffing Logic", "115": "Devfile HTTP Fetching", "116": "ConfigMap Resource Management", "117": "Workspace Condition Tracking", "118": "Controller Reconciler Setup", "119": "Unsupported Feature Warnings", "120": "OpenShift OLM Installation", "121": "Post-Start Lifecycle Hooks", "122": "Init Container Tests", "123": "K8s Client Mocking", "124": "OpenShift Proxy Configuration", "125": "Ephemeral Storage Provisioning", "126": "SSH Agent Provisioning", "127": "Resource Mutation Webhook", "128": "Resource Validation Webhook", "129": "Operator Configuration Schema", "130": "Automount PVC Logic", "131": "Backup RBAC Management", "132": "Route Synchronization", "133": "Reconciler Event Handlers", "134": "Metadata Mutation Webhook", "135": "Manual OpenShift Installation", "136": "Devfile Template Conversion", "137": "ADR Process Documentation", "138": "Development Best Practices", "139": "Endpoint URL Management", "140": "Cluster API Detection", "141": "Workspace Service Sync", "142": "Host Authentication Setup", "143": "Release v0.40.0 Notes", "144": "Service Account Management", "145": "ClusterRole Management", "146": "ClusterRoleBinding Management", "147": "HTTP RoundTrip Testing", "148": "Webhook Metadata Validation", "149": "Default Template Resolution", "150": "Plugin Import Resolution", "151": "User Permission Validation", "152": "Pre-Stop Lifecycle Hooks", "153": "AI Agent ADR Guidelines", "154": "Operator Debugging Guide", "155": "Common Pod Additions", "156": "Backup Controller Tests", "157": "Operator Changelog", "158": "Release v0.39.0 Notes", "159": "Release v1.0.0 Notes", "160": "Release v0.41.0 Notes", "161": "Operator Config Testing", "162": "Routing Error Types", "163": "API Test Suite", "164": "Deployment Mutation Webhook", "165": "Pod Mutation Webhook", "166": "Workspace Finalizer Logic", "167": "Init Container Merging", "168": "Container Utility Functions", "169": "PVC Specification Sync", "170": "Storage Affinity Tests", "171": "Role Management", "172": "Workspace Recovery Script", "173": "Build and Workflow Guide", "174": "Operator Operations Reference", "175": "Code Style Conventions", "176": "Workspace Configuration Schema", "177": "Project Devfile Utilities", "178": "Release v0.37.0 Notes", "179": "Release v0.36.0 Notes", "180": "AI Compliance Rules", "181": "Pull Request Template", "182": "Devfile Validation Webhook", "183": "Exec Connection Validation", "184": "Bug Report Template", "185": "Cluster Object Collection", "186": "Object Deserialization Tests", "187": "SSH Post-Start Events", "188": "Advanced Operator Features", "189": "Operator Config Components", "190": "Release v0.40.1 Notes", "191": "Release v0.38.0 Notes", "192": "Release v0.35.0 Notes", "193": "Release v0.42.0 Notes", "194": "CI Helper Scripts", "195": "Namespace Lifecycle Client", "196": "Component Test Data", "197": "Core Operator Types", "198": "API Environment Setup", "199": "AI Compliance Rules", "200": "Workspace Template Processing", "201": "Routing and Proxy Configuration", "202": "Network Policy Configuration", "203": "Error Handling Utilities", "204": "Backup Job DeepCopy", "205": "Cleanup Job DeepCopy", "206": "ConfigMap Reference DeepCopy", "207": "Operator Config DeepCopy", "208": "Workspace Routing DeepCopy", "209": "Routing Status DeepCopy", "210": "Endpoint DeepCopy", "211": "Endpoint List DeepCopy", "212": "Exposed Endpoint DeepCopy", "213": "Exposed Endpoint List DeepCopy", "214": "Error Type DeepCopy", "215": "Network Policy DeepCopy", "216": "Operator Configuration DeepCopy", "217": "Oras Config DeepCopy", "218": "Override Config DeepCopy", "219": "Persistent Home DeepCopy", "220": "Proxy Config DeepCopy", "221": "Registry Config DeepCopy", "222": "Restore Config DeepCopy", "223": "Routing Config DeepCopy", "224": "Service Account DeepCopy", "225": "Auth Token DeepCopy", "226": "Persistent Home Tests", "227": "RBAC Test Utilities", "228": "Backup Job Tests", "229": "Project Documentation Rules", "230": "API Integration Tests", "231": "Workspace Controller Tests", "232": "Resource Event Predicates", "233": "Provisioning Failure Analysis", "234": "Automount Resource Predicates", "235": "Metrics and Dashboards", "236": "Feature Request Template", "237": "CRD Patching Scripts", "238": "Environment Variable Utilities", "239": "Pod Volume Sanitization", "240": "Devfile Endpoint Definitions", "241": "Webhook Readiness Checks", "242": "Uninstallation Guide", "243": "Workspace Permissions Docs", "244": "Common Test Initialization", "245": "Operator Metadata Utilities", "246": "Metrics Initialization", "247": "Graph Visualization Plugin", "248": "SSH Authentication Script", "249": "Container Entrypoint Script", "250": "CRD Update Scripts", "251": "Init Container Tests", "252": "Annotation Constants", "253": "Global Constants", "254": "Error Definitions", "255": "Backup Job Handler", "256": "RBAC Management", "257": "Workspace Core Logic", "258": "Namespace Management", "259": "OpenShift Client Utilities", "260": "Pod Management", "261": "Access Control Logic", "262": "Webhook Definitions", "263": "Package Documentation", "264": "Property Definitions", "265": "Attribute Management", "266": "Environment Configuration", "267": "Finalizer Logic", "268": "Metadata Management", "269": "Routing Controller Tests", "270": "Access Control Utilities", "271": "Deployment Management", "272": "Execution Utilities", "273": "Kubernetes Kind Utilities", "274": "Logging Utilities", "275": "Pod Specifications", "276": "Validation Logic", "277": "Miscellaneous Documentation", "278": "Internal Constants", "279": "System Constants", "280": "Logger Configuration", "281": "API Documentation", "282": "Project Readme", "283": "Configuration Management", "284": "Debug Post-Start Tests", "285": "Workspace Restart Tests", "286": "Workspace Functional Tests", "287": "Module Documentation", "288": "API Group Information", "289": "Generated DeepCopy Code", "290": "Version Information", "291": "Resource Cleanup Logic", "292": "Finalization Logic", "293": "Component Logging", "294": "Resource Validation", "295": "Cluster API Testing"} \ No newline at end of file +{ + "0": "Pod Override Logic", + "1": "Workspace Routing Endpoints", + "2": "Backup CronJob Controller", + "3": "Git Configuration Provisioning", + "4": "Workspace Reconciler Core", + "5": "Pod Security Specifications", + "6": "Container Override Logic", + "7": "Routing Resource Definitions", + "8": "Init Container Management", + "9": "Auto-mount Volume Provisioning", + "10": "Troubleshooting and CI Docs", + "11": "Resource Loading Utilities", + "12": "Network Policy Management", + "13": "Kubernetes Component Deserialization", + "14": "Attribute Map Utilities", + "15": "SSH Key Configuration", + "16": "Automount Volume Utilities", + "17": "Cleanup CronJob Controller", + "18": "Configuration Sync Tests", + "19": "Global Configuration Management", + "20": "OCI Test Scripts", + "21": "Project Contribution Guide", + "22": "Git Project Operations", + "23": "Devfile Resolution Logic", + "24": "Server TLS Configuration", + "25": "Workspace Status Management", + "26": "HTTP Client Factory", + "27": "Workspace Role Management", + "28": "Operator Configuration Docs", + "29": "Immutable Resource Validation", + "30": "Webhook Mutation Tests", + "31": "DeepCopy Code Generation", + "32": "RBAC Finalization Tests", + "33": "Workspace Error Handling", + "34": "Role Binding Synchronization", + "35": "Routing Reconciler Logic", + "36": "Devfile Flattening Tests", + "37": "Kubernetes Component Provisioning", + "38": "RBAC Finalization Logic", + "39": "Devfile Command Management", + "40": "ConfigMap Migration Logic", + "41": "Controller Config Loading", + "42": "Git Project Setup", + "43": "Cluster API Errors", + "44": "Webhook Configuration Initialization", + "45": "Operator Config Schema", + "46": "Config DeepCopy Methods", + "47": "Projected Volume Generation", + "48": "Operator Entrypoint Logic", + "49": "Kubernetes Permission Validation", + "50": "Resource Requirement Specs", + "51": "Ephemeral Volume Management", + "52": "Secret Lifecycle ADR", + "53": "PVC Cleanup Jobs", + "54": "Workspace Deployment Sync", + "55": "Routing Solver Logic", + "56": "Workspace Metadata Provisioning", + "57": "RBAC Migration Logic", + "58": "Devfile Container Conversion", + "59": "Webhook Deployment Management", + "60": "Workspace Condition Management", + "61": "Resource Requirement Helpers", + "62": "Namespace and Manager Config", + "63": "Kind Installation Guide", + "64": "Post-Start Lifecycle Hooks", + "65": "Per-Workspace Storage Provisioning", + "66": "Resource Diffing Utilities", + "67": "Resource Update Functions", + "68": "Workspace Configuration Schema", + "69": "Git Resource Mounting", + "70": "Secure Service Provisioning", + "71": "Devfile Test Utilities", + "72": "Common Storage Provisioner", + "73": "Installation and Usage Docs", + "74": "Sidecar Image Management", + "75": "Async Storage Provisioner", + "76": "Projected Volume Tests", + "77": "Backup Job Event Handler", + "78": "Workspace Bootstrapping Logic", + "79": "Pod Readiness Utilities", + "80": "Default Security Settings", + "81": "Linux Kind Installation", + "82": "Minikube Installation Guide", + "83": "Project Clone Initialization", + "84": "Container Resource Tests", + "85": "Volume Naming ADR", + "86": "ADR Template", + "87": "Development Best Practices", + "88": "OpenShift E2E Scripts", + "89": "Kubernetes Client Wrapper", + "90": "Zip Project Setup", + "91": "Devfile Element Merging", + "92": "Webhook Validation Logic", + "93": "Pre-Stop Lifecycle Hooks", + "94": "Generic Object Sync", + "95": "Webhook RBAC Setup", + "96": "Release Process Documentation", + "97": "Architecture Decision Guide", + "98": "Webhook Server Management", + "99": "Service Account Synchronization", + "100": "Mount Source Handling", + "101": "Workspace Feature Testing", + "102": "Devfile and Project Loading", + "103": "Release Automation Scripts", + "104": "Architecture and Agent Documentation", + "105": "Workspace Lifecycle Client", + "106": "Volume Naming Utilities", + "107": "Workspace Routing Logic", + "108": "Resource Fuzz Testing", + "109": "Container Resource Validation", + "110": "Container Conversion Tests", + "111": "Workspace Metrics Tracking", + "112": "HTTP Client Factory", + "113": "Error Handling Types", + "114": "Deployment Diffing Logic", + "115": "Devfile HTTP Fetching", + "116": "ConfigMap Resource Management", + "117": "Workspace Condition Tracking", + "118": "Controller Reconciler Setup", + "119": "Unsupported Feature Warnings", + "120": "OpenShift OLM Installation", + "121": "Post-Start Lifecycle Hooks", + "122": "Init Container Tests", + "123": "K8s Client Mocking", + "124": "OpenShift Proxy Configuration", + "125": "Ephemeral Storage Provisioning", + "126": "SSH Agent Provisioning", + "127": "Resource Mutation Webhook", + "128": "Resource Validation Webhook", + "129": "Operator Configuration Schema", + "130": "Automount PVC Logic", + "131": "Backup RBAC Management", + "132": "Route Synchronization", + "133": "Reconciler Event Handlers", + "134": "Metadata Mutation Webhook", + "135": "Manual OpenShift Installation", + "136": "Devfile Template Conversion", + "137": "ADR Process Documentation", + "138": "Development Best Practices", + "139": "Endpoint URL Management", + "140": "Cluster API Detection", + "141": "Workspace Service Sync", + "142": "Host Authentication Setup", + "143": "Release v0.40.0 Notes", + "144": "Service Account Management", + "145": "ClusterRole Management", + "146": "ClusterRoleBinding Management", + "147": "HTTP RoundTrip Testing", + "148": "Webhook Metadata Validation", + "149": "Default Template Resolution", + "150": "Plugin Import Resolution", + "151": "User Permission Validation", + "152": "Pre-Stop Lifecycle Hooks", + "153": "AI Agent ADR Guidelines", + "154": "Operator Debugging Guide", + "155": "Common Pod Additions", + "156": "Backup Controller Tests", + "157": "Operator Changelog", + "158": "Release v0.39.0 Notes", + "159": "Release v1.0.0 Notes", + "160": "Release v0.41.0 Notes", + "161": "Operator Config Testing", + "162": "Routing Error Types", + "163": "API Test Suite", + "164": "Deployment Mutation Webhook", + "165": "Pod Mutation Webhook", + "166": "Workspace Finalizer Logic", + "167": "Init Container Merging", + "168": "Container Utility Functions", + "169": "PVC Specification Sync", + "170": "Storage Affinity Tests", + "171": "Role Management", + "172": "Workspace Recovery Script", + "173": "Build and Workflow Guide", + "174": "Operator Operations Reference", + "175": "Code Style Conventions", + "176": "Workspace Configuration Schema", + "177": "Project Devfile Utilities", + "178": "Release v0.37.0 Notes", + "179": "Release v0.36.0 Notes", + "180": "AI Compliance Rules", + "181": "Pull Request Template", + "182": "Devfile Validation Webhook", + "183": "Exec Connection Validation", + "184": "Bug Report Template", + "185": "Cluster Object Collection", + "186": "Object Deserialization Tests", + "187": "SSH Post-Start Events", + "188": "Advanced Operator Features", + "189": "Operator Config Components", + "190": "Release v0.40.1 Notes", + "191": "Release v0.38.0 Notes", + "192": "Release v0.35.0 Notes", + "193": "Release v0.42.0 Notes", + "194": "CI Helper Scripts", + "195": "Namespace Lifecycle Client", + "196": "Component Test Data", + "197": "Core Operator Types", + "198": "API Environment Setup", + "199": "AI Compliance Rules", + "200": "Workspace Template Processing", + "201": "Routing and Proxy Configuration", + "202": "Network Policy Configuration", + "203": "Error Handling Utilities", + "204": "Backup Job DeepCopy", + "205": "Cleanup Job DeepCopy", + "206": "ConfigMap Reference DeepCopy", + "207": "Operator Config DeepCopy", + "208": "Workspace Routing DeepCopy", + "209": "Routing Status DeepCopy", + "210": "Endpoint DeepCopy", + "211": "Endpoint List DeepCopy", + "212": "Exposed Endpoint DeepCopy", + "213": "Exposed Endpoint List DeepCopy", + "214": "Error Type DeepCopy", + "215": "Network Policy DeepCopy", + "216": "Operator Configuration DeepCopy", + "217": "Oras Config DeepCopy", + "218": "Override Config DeepCopy", + "219": "Persistent Home DeepCopy", + "220": "Proxy Config DeepCopy", + "221": "Registry Config DeepCopy", + "222": "Restore Config DeepCopy", + "223": "Routing Config DeepCopy", + "224": "Service Account DeepCopy", + "225": "Auth Token DeepCopy", + "226": "Persistent Home Tests", + "227": "RBAC Test Utilities", + "228": "Backup Job Tests", + "229": "Project Documentation Rules", + "230": "API Integration Tests", + "231": "Workspace Controller Tests", + "232": "Resource Event Predicates", + "233": "Provisioning Failure Analysis", + "234": "Automount Resource Predicates", + "235": "Metrics and Dashboards", + "236": "Feature Request Template", + "237": "CRD Patching Scripts", + "238": "Environment Variable Utilities", + "239": "Pod Volume Sanitization", + "240": "Devfile Endpoint Definitions", + "241": "Webhook Readiness Checks", + "242": "Uninstallation Guide", + "243": "Workspace Permissions Docs", + "244": "Common Test Initialization", + "245": "Operator Metadata Utilities", + "246": "Metrics Initialization", + "247": "Graph Visualization Plugin", + "248": "SSH Authentication Script", + "249": "Container Entrypoint Script", + "250": "CRD Update Scripts", + "251": "Init Container Tests", + "252": "Annotation Constants", + "253": "Global Constants", + "254": "Error Definitions", + "255": "Backup Job Handler", + "256": "RBAC Management", + "257": "Workspace Core Logic", + "258": "Namespace Management", + "259": "OpenShift Client Utilities", + "260": "Pod Management", + "261": "Access Control Logic", + "262": "Webhook Definitions", + "263": "Package Documentation", + "264": "Property Definitions", + "265": "Attribute Management", + "266": "Environment Configuration", + "267": "Finalizer Logic", + "268": "Metadata Management", + "269": "Routing Controller Tests", + "270": "Access Control Utilities", + "271": "Deployment Management", + "272": "Execution Utilities", + "273": "Kubernetes Kind Utilities", + "274": "Logging Utilities", + "275": "Pod Specifications", + "276": "Validation Logic", + "277": "Miscellaneous Documentation", + "278": "Internal Constants", + "279": "System Constants", + "280": "Logger Configuration", + "281": "API Documentation", + "282": "Project Readme", + "283": "Configuration Management", + "284": "Debug Post-Start Tests", + "285": "Workspace Restart Tests", + "286": "Workspace Functional Tests", + "287": "Module Documentation", + "288": "API Group Information", + "289": "Generated DeepCopy Code", + "290": "Version Information", + "291": "Resource Cleanup Logic", + "292": "Finalization Logic", + "293": "Component Logging", + "294": "Resource Validation", + "295": "Cluster API Testing", + "296": "Community 296", + "297": "Community 297", + "298": "Community 298", + "299": "Community 299", + "300": "Community 300", + "301": "Community 301", + "302": "Community 302", + "303": "Community 303", + "304": "Community 304", + "305": "Community 305", + "306": "Community 306", + "307": "Community 307", + "308": "Community 308", + "309": "Community 309", + "310": "Community 310", + "311": "Community 311", + "312": "Community 312", + "313": "Community 313", + "314": "Community 314", + "315": "Community 315", + "316": "Community 316", + "317": "Community 317", + "318": "Community 318", + "319": "Community 319" +} diff --git a/graphify-out/GRAPH_REPORT.md b/graphify-out/GRAPH_REPORT.md index c07202707..c0c3a0434 100644 --- a/graphify-out/GRAPH_REPORT.md +++ b/graphify-out/GRAPH_REPORT.md @@ -1,15 +1,16 @@ -# Graph Report - . (2026-10-19) +# Graph Report - identical-endpoint-name-merge (2026-11-19) ## Corpus Check -- cluster-only mode — file stats not available +- 342 files · ~1,019,348 words +- Verdict: corpus is large enough that graph structure adds value. ## Summary -- 2918 nodes · 5315 edges · 296 communities (245 shown, 51 thin omitted) -- Extraction: 77% EXTRACTED · 23% INFERRED · 0% AMBIGUOUS · INFERRED: 1205 edges (avg confidence: 0.8) +- 3388 nodes · 6347 edges · 320 communities (266 shown, 54 thin omitted) +- Extraction: 77% EXTRACTED · 23% INFERRED · 0% AMBIGUOUS · INFERRED: 1445 edges (avg confidence: 0.8) - Token cost: 0 input · 0 output ## Graph Freshness -- Built from commit: `9bc67f05` +- Built from commit: `dc74391c` - Run `git rev-parse HEAD` and compare to check if the graph is stale. - Run `graphify update .` after code changes (no API cost). @@ -262,23 +263,46 @@ - [[_COMMUNITY_SSH Authentication Script|SSH Authentication Script]] - [[_COMMUNITY_Container Entrypoint Script|Container Entrypoint Script]] - [[_COMMUNITY_CRD Update Scripts|CRD Update Scripts]] +- [[_COMMUNITY_Routing Controller Tests|Routing Controller Tests]] +- [[_COMMUNITY_Validation Logic|Validation Logic]] - [[_COMMUNITY_Cluster API Testing|Cluster API Testing]] +- [[_COMMUNITY_Community 296|Community 296]] +- [[_COMMUNITY_Community 297|Community 297]] +- [[_COMMUNITY_Community 298|Community 298]] +- [[_COMMUNITY_Community 299|Community 299]] +- [[_COMMUNITY_Community 300|Community 300]] +- [[_COMMUNITY_Community 301|Community 301]] +- [[_COMMUNITY_Community 302|Community 302]] +- [[_COMMUNITY_Community 303|Community 303]] +- [[_COMMUNITY_Community 304|Community 304]] +- [[_COMMUNITY_Community 305|Community 305]] +- [[_COMMUNITY_Community 306|Community 306]] +- [[_COMMUNITY_Community 307|Community 307]] +- [[_COMMUNITY_Community 308|Community 308]] +- [[_COMMUNITY_Community 309|Community 309]] +- [[_COMMUNITY_Community 310|Community 310]] +- [[_COMMUNITY_Community 311|Community 311]] +- [[_COMMUNITY_Community 312|Community 312]] +- [[_COMMUNITY_Community 313|Community 313]] +- [[_COMMUNITY_Community 314|Community 314]] +- [[_COMMUNITY_Community 315|Community 315]] +- [[_COMMUNITY_Community 316|Community 316]] +- [[_COMMUNITY_Community 317|Community 317]] +- [[_COMMUNITY_Community 318|Community 318]] ## God Nodes (most connected - your core abstractions) -1. `Append()` - 135 edges -2. `Equal()` - 118 edges -3. `InitializeForTesting()` - 47 edges +1. `Append()` - 155 edges +2. `Equal()` - 136 edges +3. `InitializeForTesting()` - 72 edges 4. `ProvisionGitConfiguration()` - 41 edges -5. `T` - 39 edges -6. `setupForTest()` - 31 edges -7. `IsOpenShift()` - 30 edges -8. `SyncObjectWithCluster()` - 30 edges -9. `Attributes` - 26 edges -10. `contains()` - 25 edges +5. `contains()` - 39 edges +6. `T` - 39 edges +7. `SyncObjectWithCluster()` - 37 edges +8. `setupForTest()` - 31 edges +9. `IsOpenShift()` - 30 edges +10. `HandleKubernetesComponents()` - 28 edges ## Surprising Connections (you probably didn't know these) -- `getSpecDeployment()` --calls--> `GetWebhookServerImage()` [INFERRED] - pkg/webhook/deployment.go → internal/images/image.go - `getSpecCommonPVCCleanupJob()` --calls--> `GetPVCCleanupJobImage()` [INFERRED] pkg/provision/storage/cleanup.go → internal/images/image.go - `GetProjectCloneInitContainer()` --calls--> `GetProjectCloneImage()` [INFERRED] @@ -287,87 +311,89 @@ controllers/backupcronjob/backupcronjob_controller_test.go → internal/map/map.go - `filterByInactivityTime()` --calls--> `Append()` [INFERRED] controllers/cleanupcronjob/cleanupcronjob_controller.go → internal/map/map.go +- `canPrune()` --calls--> `GetConditionByType()` [INFERRED] + controllers/cleanupcronjob/cleanupcronjob_controller.go → pkg/conditions/conditions.go ## Import Cycles - None detected. -## Communities (296 total, 51 thin omitted) +## Communities (320 total, 54 thin omitted) ### Community 0 - "Pod Override Logic" Cohesion: 0.05 -Nodes (64): DeploymentName(), ContainerStatus, Event, JSON, MatchingLabels, ApplyPodOverrides(), getPodOverrides(), GetVolumesFromOverrides() (+56 more) +Nodes (60): DeploymentName(), ServiceName(), ServingCertVolumeName(), ContainerStatus, Client, Context, DevWorkspaceMetadata, DevWorkspaceRouting (+52 more) ### Community 1 - "Workspace Routing Endpoints" -Cohesion: 0.06 -Nodes (50): EndpointHostname(), EndpointName(), EndpointPath(), RouteName(), ServiceName(), ServingCertVolumeName(), WorkspaceHostname(), DevWorkspaceMetadata (+42 more) +Cohesion: 0.26 +Nodes (15): EndpointHostname(), EndpointPath(), WorkspaceHostname(), Endpoint, EndpointList, Ingress, Route, Service (+7 more) ### Community 2 - "Backup CronJob Controller" -Cohesion: 0.06 -Nodes (40): getImagePullPolicy(), shouldReconcileOnUpdate(), BackupCronJobReconciler, Client, Context, Cron, DevWorkspace, DevWorkspaceOperatorConfig (+32 more) +Cohesion: 0.09 +Nodes (23): GetCacheFunc(), GetWebhooksCacheFunc(), DevWorkspaceRouting, DevWorkspaceRoutingReconciler, Ingress, Context, DevWorkspaceRouting, DevWorkspaceRoutingReconciler (+15 more) ### Community 3 - "Git Configuration Provisioning" Cohesion: 0.12 -Nodes (55): ProvisionGitConfiguration(), assertGitConfigContains(), assertGitCredentialsConfigMap(), assertGitCredentialsConfigMapWithSslCAInfo(), assertGitCredentialsSecret(), buildAutomountGitConfigMap(), buildAutomountGitSecret(), buildConfig() (+47 more) +Nodes (57): cleanupGitConfig(), ProvisionGitConfiguration(), assertGitConfigContains(), assertGitCredentialsConfigMap(), assertGitCredentialsConfigMapWithSslCAInfo(), assertGitCredentialsSecret(), buildAutomountGitConfigMap(), buildAutomountGitSecret() (+49 more) ### Community 4 - "Workspace Reconciler Core" Cohesion: 0.07 Nodes (39): PerWorkspacePVCName(), Context, currentStatus, DevWorkspaceWithConfig, Logger, Result, DevWorkspaceReconciler, Client (+31 more) ### Community 5 - "Pod Security Specifications" -Cohesion: 0.08 -Nodes (39): FieldRestriction, LocalObjectReference, PodSecurityContext, PodSpec, Volume, T, DevWorkspaceWithConfig, ResourceList (+31 more) +Cohesion: 0.05 +Nodes (62): Capabilities, ConfigMapEnvSource, Container, EnvFromSource, FieldRestriction, SecurityContext, VolumeMount, T (+54 more) ### Community 6 - "Container Override Logic" -Cohesion: 0.08 -Nodes (42): Capabilities, ConfigMapEnvSource, containerTestInput, containerTestOutput, ApplyContainerOverrides(), handleDefaultedContainerFields(), NeedsContainerOverride(), restrictContainerOverride() (+34 more) +Cohesion: 0.24 +Nodes (13): containerTestInput, containerTestOutput, loadAllContainerTestCasesOrPanic(), loadContainerTestCaseOrPanic(), TestApplyContainerOverrides(), TestApplyContainerOverridesStripsUnknownFields(), TestRestrictContainerOverride(), containerTestCase (+5 more) ### Community 7 - "Routing Resource Definitions" Cohesion: 0.07 -Nodes (37): DevWorkspaceRoutingClass, EndpointList, ExposedEndpointList, ListMeta, ObjectMeta, PodAdditions, TypeMeta, Attributes (+29 more) +Nodes (37): DevWorkspaceRoutingClass, DevWorkspaceRoutingPhase, EndpointList, ExposedEndpointList, ListMeta, ObjectMeta, PodAdditions, TypeMeta (+29 more) ### Community 8 - "Init Container Management" -Cohesion: 0.10 -Nodes (32): TestCustomInitPersistentHome(), TestInferWorkspaceImage(), addInitContainer(), addInitContainerComponent(), AddPersistentHomeVolume(), EnsureHomeInitContainerFields(), hasInitPersistentHomeInConfig(), inferInitContainer() (+24 more) +Cohesion: 0.31 +Nodes (14): addInitContainer(), addInitContainerComponent(), AddPersistentHomeVolume(), EnsureHomeInitContainerFields(), hasInitPersistentHomeInConfig(), inferInitContainer(), initCommandExists(), initComponentExists() (+6 more) ### Community 9 - "Auto-mount Volume Provisioning" -Cohesion: 0.14 -Nodes (34): ProvisionAutoMountResourcesInto(), emptyDeployment(), loadAllTestCasesOrPanic(), loadTestCaseOrPanic(), mountOnStartConfigMapAsEnv(), mountOnStartConfigMapAsFile(), mountOnStartPVC(), mountOnStartSecretAsEnv() (+26 more) +Cohesion: 0.17 +Nodes (30): ProvisionAutoMountResourcesInto(), emptyDeployment(), loadAllTestCasesOrPanic(), loadTestCaseOrPanic(), mountOnStartConfigMapAsEnv(), mountOnStartConfigMapAsFile(), mountOnStartPVC(), mountOnStartSecretAsEnv() (+22 more) ### Community 10 - "Troubleshooting and CI Docs" Cohesion: 0.06 Nodes (34): Advanced Troubleshooting, Artifact Collection, Artifact Locations, Che Deployment Timeout, Che Happy-Path Test, CI Failure Reports, Common Failures, Configuration (+26 more) ### Community 11 - "Resource Loading Utilities" -Cohesion: 0.11 -Nodes (29): Object, ConfigMap, DevWorkspace, NamespacedName, Object, OwnerReference, Secret, Volume (+21 more) +Cohesion: 0.07 +Nodes (40): DevWorkspaceRoutingName(), Object, ConfigMap, DevWorkspace, NamespacedName, Object, OwnerReference, Secret (+32 more) ### Community 12 - "Network Policy Management" Cohesion: 0.17 Nodes (27): NetworkPolicyName(), CreateNetworkPolicy(), DeleteNetworkPolicy(), generateNetworkPolicy(), normalizePorts(), ShouldProvision(), SyncNetworkPolicy(), getEnabledNetworkPolicyConfig() (+19 more) ### Community 13 - "Kubernetes Component Deserialization" -Cohesion: 0.18 -Nodes (27): contains(), DeserializeToObject(), InitializeDeserializer(), loadAllTestCasesOrPanic(), loadTestCaseOrPanic(), TestHandleKubernetesComponents(), TestHandleKubernetesComponentsAllowsNonRestrictedFields(), TestHandleKubernetesComponentsNoRestrictionsConfigured() (+19 more) +Cohesion: 0.23 +Nodes (27): InitializeDeserializer(), loadAllTestCasesOrPanic(), loadTestCaseOrPanic(), serviceComponent(), TestHandleKubernetesComponents(), TestHandleKubernetesComponentsAllowsNonRestrictedFields(), TestHandleKubernetesComponentsFailsHiddenForeignServiceCollision(), TestHandleKubernetesComponentsNoRestrictionsConfigured() (+19 more) ### Community 15 - "SSH Key Configuration" -Cohesion: 0.11 -Nodes (18): RemoveAuthorizedKeyFromConfigMap(), addAuthorizedKeyToConfigMap(), getSSHAuthorizedKeysConfigMapCluster(), getSSHAuthorizedKeysConfigMapSpec(), removeAuthorizedKeyFromConfigMap(), GetOrCreateSSHConfig(), ExtractSSHKeyPairFromSecret(), GetSSHKeyPair() (+10 more) +Cohesion: 0.13 +Nodes (17): RemoveAuthorizedKeyFromConfigMap(), addAuthorizedKeyToConfigMap(), getSSHAuthorizedKeysConfigMapCluster(), getSSHAuthorizedKeysConfigMapSpec(), removeAuthorizedKeyFromConfigMap(), GetOrCreateSSHConfig(), ExtractSSHKeyPairFromSecret(), GetSSHKeyPair() (+9 more) ### Community 16 - "Automount Volume Utilities" -Cohesion: 0.18 -Nodes (25): canMountWithoutRestart(), checkAutomountVolumeForPotentialError(), checkAutomountVolumesForCollision(), dropItemsFieldFromVolumes(), existsInDeployment(), filterGitconfigAutomountVolume(), findGitconfigAutomount(), formatVolumeDescription() (+17 more) +Cohesion: 0.22 +Nodes (20): canMountWithoutRestart(), checkAutomountVolumesForCollision(), dropItemsFieldFromVolumes(), existsInDeployment(), filterGitconfigAutomountVolume(), findGitconfigAutomount(), flattenAutomountResources(), formatVolumeDescription() (+12 more) ### Community 17 - "Cleanup CronJob Controller" Cohesion: 0.15 Nodes (18): canPrune(), filterByInactivityTime(), shouldReconcileOnUpdate(), CleanupCronJobReconciler, CleanupCronJobConfig, Client, Context, Cron (+10 more) ### Community 18 - "Configuration Sync Tests" -Cohesion: 0.26 -Nodes (24): setupForTest(), syncConfigFrom(), TestCatchesNonExistentExternalDWOC(), TestDetectsOpenShiftRouteSuffix(), TestMergeConfigHandlesProxySettings(), TestMergeConfigLooksAtAllFields(), TestMergeConfigMergesRuntimeClassName(), TestMergeConfigMergesStorageAccessMode() (+16 more) +Cohesion: 0.24 +Nodes (25): setupForTest(), mergeConfig(), TestCatchesNonExistentExternalDWOC(), TestDetectsOpenShiftRouteSuffix(), TestMergeConfigHandlesProxySettings(), TestMergeConfigLooksAtAllFields(), TestMergeConfigMergesRuntimeClassName(), TestMergeConfigMergesSchedulingFields() (+17 more) ### Community 19 - "Global Configuration Management" -Cohesion: 0.15 -Nodes (23): discoverRouteSuffix(), getClusterConfig(), GetConfigForTesting(), GetCurrentConfigString(), GetGlobalConfig(), getMergedConfig(), logCurrentConfig(), mergeConfig() (+15 more) +Cohesion: 0.14 +Nodes (22): discoverRouteSuffix(), getClusterConfig(), GetCurrentConfigString(), GetGlobalConfig(), getMergedConfig(), logCurrentConfig(), mergeContainerSecurityContext(), mergePodSecurityContext() (+14 more) ### Community 20 - "OCI Test Scripts" Cohesion: 0.13 @@ -390,20 +416,20 @@ Cohesion: 0.16 Nodes (19): CancelFunc, Client, Config, Context, Logger, Manager, Scheme, T (+11 more) ### Community 25 - "Workspace Status Management" -Cohesion: 0.18 -Nodes (19): ClusterAPI, DevWorkspacePhase, DevWorkspaceStatus, DevWorkspaceWithConfig, ExposedEndpointList, Logger, Result, DevWorkspaceReconciler (+11 more) +Cohesion: 0.16 +Nodes (20): ClusterAPI, DevWorkspacePhase, DevWorkspaceStatus, DevWorkspaceWithConfig, ExposedEndpointList, Logger, Result, DevWorkspaceReconciler (+12 more) ### Community 26 - "HTTP Client Factory" Cohesion: 0.19 Nodes (14): DefaultHttpClientsFactory, getProxyFunc(), SetupHttpClientsFactory(), HttpClientsFactory, CertPool, Client, ConfigMap, ConfigmapReference (+6 more) ### Community 27 - "Workspace Role Management" -Cohesion: 0.22 -Nodes (16): DevWorkspaceWithConfig, ClusterAPI, DevWorkspaceWithConfig, Role, T, getTestDevWorkspaceWithAttributes(), deleteRole(), generateDefaultRole() (+8 more) +Cohesion: 0.16 +Nodes (18): GetConfigForTesting(), ClusterAPI, DevWorkspaceWithConfig, T, DevWorkspaceWithConfig, Role, T, getTestClusterAPI() (+10 more) ### Community 28 - "Operator Configuration Docs" Cohesion: 0.10 -Nodes (19): Always-restricted override fields, Basic Example: Injecting Custom Tools, Configuring Backup CronJob, Configuring Cleanup CronJob, Configuring Custom Init Containers, Configuring PVC storage access mode, Configuring the Webhook deployment, Configuring Workspace NetworkPolicy (+11 more) +Nodes (20): Always-restricted override fields, Basic Example: Injecting Custom Tools, Configuring Backup CronJob, Configuring Cleanup CronJob, Configuring Custom Init Containers, Configuring PVC storage access mode, Configuring the Webhook deployment, Configuring Workspace NetworkPolicy (+12 more) ### Community 29 - "Immutable Resource Validation" Cohesion: 0.19 @@ -418,20 +444,20 @@ Cohesion: 0.14 Nodes (6): DevWorkspaceRoutingList, DevWorkspaceRoutingSpec, OperatorConfigurationStatus, PodAdditions, ProjectCloneConfig, WebhookConfig ### Community 32 - "RBAC Finalization Tests" -Cohesion: 0.30 -Nodes (18): RegistryImagePullerRolebindingName(), InitializeForTesting(), RoleBinding, T, getTestDevWorkspace(), newRegistryImagePullerRolebinding(), TestDeletesRegistryRolebindingWhenLastWorkspaceIsDeletedOnOpenShift(), TestDeletesRoleAndRolebindingWhenAllWorkspacesAreDeleted() (+10 more) +Cohesion: 0.33 +Nodes (16): InitializeForTesting(), RoleBinding, T, getTestDevWorkspace(), newRegistryImagePullerRolebinding(), TestDeletesRegistryRolebindingWhenLastWorkspaceIsDeletedOnOpenShift(), TestDeletesRoleAndRolebindingWhenAllWorkspacesAreDeleted(), TestDeletesRoleAndRolebindingWhenLastWorkspaceIsDeleted() (+8 more) ### Community 33 - "Workspace Error Handling" Cohesion: 0.28 Nodes (10): Client, Context, currentStatus, DevWorkspaceWithConfig, FailureReason, Logger, Request, Result (+2 more) ### Community 34 - "Role Binding Synchronization" -Cohesion: 0.32 -Nodes (17): RegistryImagePullerRoleName(), ServiceAccountName(), WorkspaceRolebindingName(), WorkspaceRoleName(), WorkspaceSCCRolebindingName(), WorkspaceSCCRoleName(), DevWorkspaceWithConfig, RoleBinding (+9 more) +Cohesion: 0.27 +Nodes (19): RegistryImagePullerRolebindingName(), RegistryImagePullerRoleName(), ServiceAccountName(), WorkspaceRolebindingName(), WorkspaceRoleName(), WorkspaceSCCRolebindingName(), WorkspaceSCCRoleName(), DevWorkspaceWithConfig (+11 more) ### Community 35 - "Routing Reconciler Logic" -Cohesion: 0.18 -Nodes (12): Client, Context, DevWorkspaceRouting, DevWorkspaceRoutingReconciler, ExposedEndpointList, Logger, Request, Result (+4 more) +Cohesion: 0.09 +Nodes (22): GetMaxConcurrentReconciles(), Predicates(), Client, Context, DevWorkspaceRouting, DevWorkspaceRoutingReconciler, ExposedEndpointList, Logger (+14 more) ### Community 36 - "Devfile Flattening Tests" Cohesion: 0.33 @@ -442,8 +468,8 @@ Cohesion: 0.22 Nodes (16): addMetadata(), checkForExistingObject(), HandleKubernetesComponents(), restrictK8sComponent(), restrictPodSpec(), checkOwnerrefs(), filterForKubeLikeComponents(), getK8sLikeComponent() (+8 more) ### Community 38 - "RBAC Finalization Logic" -Cohesion: 0.31 -Nodes (14): ClusterAPI, DevWorkspaceWithConfig, ClusterAPI, RoleBinding, countNonDeletedWorkspaces(), countNonDeletedWorkspacesUsingSCC(), FinalizeRBAC(), finalizeRegistryRBAC() (+6 more) +Cohesion: 0.25 +Nodes (17): WrapSyncError(), ClusterAPI, DevWorkspaceWithConfig, ClusterAPI, ClusterAPI, RoleBinding, countNonDeletedWorkspaces(), countNonDeletedWorkspacesUsingSCC() (+9 more) ### Community 39 - "Devfile Command Management" Cohesion: 0.21 @@ -453,10 +479,6 @@ Nodes (14): CommandType, commandListToComponentKeys(), getCommandByKey(), getCom Cohesion: 0.26 Nodes (15): convertConfigMapToConfigCRD(), deleteMigratedConfigmap(), MigrateConfigFromConfigMap(), TestConvertConfigMapDoesNothingWhenNoConfigmap(), TestConvertConfigMapGetsAllOldConfigValues(), TestConvertConfigMapIgnoresValuesThatAreDefault(), TestConvertConfigMapReturnsNilWhenAllDefault(), TestMigrateConfigCreatesCRFromConfigMap() (+7 more) -### Community 41 - "Controller Config Loading" -Cohesion: 0.20 -Nodes (6): LoadControllerConfig(), syncConfigmapFromCluster(), ControllerConfig, Client, ConfigMap, Object - ### Community 42 - "Git Project Setup" Cohesion: 0.24 Nodes (15): SetupRemotes(), copyProjectFromTmpDir(), delayBeforeRetry(), doInitialGitClone(), SetupGitProject(), setupRemotesForExistingProject(), CheckProjectState(), checkSubPathProjectState() (+7 more) @@ -470,20 +492,20 @@ Cohesion: 0.15 Nodes (12): Client, Context, checkExistingConfigForConflict(), WebhookCfgsInit(), T, MutatingWebhookConfiguration, ValidatingWebhookConfiguration, getWebhookAnnotations() (+4 more) ### Community 45 - "Operator Config Schema" -Cohesion: 0.14 -Nodes (14): Quantity, Toleration, BackupCronJobConfig, CleanupCronJobConfig, ConfigmapReference, OrasConfig, PersistentHomeConfig, Proxy (+6 more) +Cohesion: 0.13 +Nodes (15): Quantity, Toleration, BackupCronJobConfig, CleanupCronJobConfig, ConfigmapReference, OrasConfig, OverrideConfig, PersistentHomeConfig (+7 more) ### Community 46 - "Config DeepCopy Methods" Cohesion: 0.15 Nodes (5): Object, Attributes, DevWorkspaceOperatorConfigList, StorageSizes, WorkspaceConfig ### Community 47 - "Projected Volume Generation" -Cohesion: 0.17 -Nodes (12): checkCanUseProjectedVolumes(), generateProjectedVolume(), mergeProjectedVolumes(), createDevWorkspace(), DevWorkspace, Time, Append(), Resources (+4 more) +Cohesion: 0.39 +Nodes (7): checkCanUseProjectedVolumes(), generateProjectedVolume(), mergeProjectedVolumes(), AutoMountProjectedVolumeName(), Resources, Volume, VolumeMount ### Community 48 - "Operator Entrypoint Logic" -Cohesion: 0.17 -Nodes (13): GetCacheFunc(), GetWebhooksCacheFunc(), GetDevModeEnabled(), ExperimentalFeaturesEnabled(), Manager, init(), main(), setupControllerConfig() (+5 more) +Cohesion: 0.09 +Nodes (56): Client, Context, DevWorkspaceRouting, DevWorkspaceRoutingPhase, DevWorkspaceRoutingReconciler, EndpointList, Object, Request (+48 more) ### Community 49 - "Kubernetes Permission Validation" Cohesion: 0.29 @@ -494,16 +516,16 @@ Cohesion: 0.15 Nodes (15): Client, Container, Context, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, EnvVar, Logger, PullPolicy (+7 more) ### Community 51 - "Ephemeral Volume Management" -Cohesion: 0.26 -Nodes (14): Volume, Component, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PodAdditions, Volume, VolumeComponent, addEphemeralVolumesFromWorkspace() (+6 more) +Cohesion: 0.29 +Nodes (13): Component, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PodAdditions, Volume, VolumeComponent, addEphemeralVolumesFromWorkspace(), addEphemeralVolumesToPodAdditions() (+5 more) ### Community 52 - "Secret Lifecycle ADR" Cohesion: 0.13 Nodes (14): Alternative 1: Multi-owner references (non-controller), Alternative 2: Finalizer-based cleanup, Alternative 3: Per-workspace auth secrets, Backup Auth Secret Must Not Be Owned by Any Workspace, Consequences, Considered Alternatives, Context, Decision (+6 more) ### Community 53 - "PVC Cleanup Jobs" -Cohesion: 0.24 -Nodes (13): Affinity, PVCCleanupJobName(), ClusterAPI, DevWorkspaceWithConfig, Job, T, commonPVCExists(), getSpecCommonPVCCleanupJob() (+5 more) +Cohesion: 0.18 +Nodes (19): PVCCleanupJobName(), ClusterAPI, DevWorkspaceWithConfig, Job, Pod, PodSpec, Client, Context (+11 more) ### Community 54 - "Workspace Deployment Sync" Cohesion: 0.21 @@ -526,20 +548,20 @@ Cohesion: 0.16 Nodes (14): PortName(), convertContainerToK8s(), devfileEndpointsToContainerPorts(), devfileEnvToContainerEnv(), devfileVolumeMountsToContainerVolumeMounts(), ContainerPort, Endpoint, Component (+6 more) ### Community 59 - "Webhook Deployment Management" -Cohesion: 0.20 -Nodes (13): ControllerEnv, GetResourceQuantityFromEnvVar(), GetWebhooksSecretName(), GetWorkspaceControllerSA(), Quantity, Client, Context, Deployment (+5 more) +Cohesion: 0.06 +Nodes (42): ClusterRole, ClusterRoleBinding, ControllerEnv, GetDevModeEnabled(), GetResourceQuantityFromEnvVar(), GetWebhooksSecretName(), GetWorkspaceControllerSA(), GetWebhookServerImage() (+34 more) ### Community 60 - "Workspace Condition Management" -Cohesion: 0.26 -Nodes (6): DevWorkspaceCondition, DevWorkspaceConditionType, capitalizeMessage(), getConditionIndexInOrder(), workspaceConditionsFromClusterObject(), workspaceConditions +Cohesion: 0.27 +Nodes (5): DevWorkspaceCondition, DevWorkspaceConditionType, capitalizeMessage(), workspaceConditionsFromClusterObject(), workspaceConditions ### Community 61 - "Resource Requirement Helpers" -Cohesion: 0.23 -Nodes (14): mergeContributionsInto(), Component, ResourceRequirements, Component, ContainerComponent, ResourceRequirements, ResourceName, AddResourceRequirements() (+6 more) +Cohesion: 0.26 +Nodes (12): Component, ContainerComponent, ResourceRequirements, ResourceName, AddResourceRequirements(), ApplyCaps(), ApplyDefaults(), ApplyResourceRequirementsToComponent() (+4 more) ### Community 62 - "Namespace and Manager Config" -Cohesion: 0.26 -Nodes (13): GetNamespace(), GetOperatorNamespace(), GetWatchNamespace(), Client, Context, Manager, MutatingWebhookConfiguration, ValidatingWebhookConfiguration (+5 more) +Cohesion: 0.36 +Nodes (10): Client, Context, Manager, MutatingWebhookConfiguration, ValidatingWebhookConfiguration, Configure(), controllerSAUID(), createClient() (+2 more) ### Community 63 - "Kind Installation Guide" Cohesion: 0.13 @@ -554,20 +576,20 @@ Cohesion: 0.23 Nodes (10): NamespacedConfig, ClusterAPI, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PersistentVolumeClaim, PodAdditions, Quantity, getPVCSize() (+2 more) ### Community 66 - "Resource Diffing Utilities" -Cohesion: 0.23 -Nodes (14): Container, Object, OwnerReference, allDiffFuncs(), containersDiffFunc(), containsOwnerRef(), deploymentDiffFunc(), jobDiffFunc() (+6 more) +Cohesion: 0.13 +Nodes (25): Options, Container, Object, OwnerReference, T, allDiffFuncs(), basicDiffFunc(), containersDiffFunc() (+17 more) ### Community 67 - "Resource Update Functions" -Cohesion: 0.25 -Nodes (13): Object, T, defaultUpdateFunc(), deploymentUpdateFunc(), getUpdateFunc(), mergeMaps(), serviceAccountUpdateFunc(), serviceUpdateFunc() (+5 more) +Cohesion: 0.26 +Nodes (12): Object, T, defaultUpdateFunc(), deploymentUpdateFunc(), getUpdateFunc(), mergeMaps(), serviceUpdateFunc(), TestDeploymentUpdateFunc() (+4 more) ### Community 68 - "Workspace Configuration Schema" -Cohesion: 0.14 -Nodes (14): Container, DevWorkspaceTemplateSpecContent, NetworkPolicyConfig, PersistentVolumeAccessMode, PodSecurityContext, SecurityContext, OverrideConfig, WorkspaceConfig (+6 more) +Cohesion: 0.12 +Nodes (16): Container, DevWorkspaceTemplateSpecContent, NetworkPolicyConfig, PersistentVolumeAccessMode, PodSecurityContext, SecurityContext, WorkspaceConfig, DeploymentStrategyType (+8 more) ### Community 69 - "Git Resource Mounting" -Cohesion: 0.27 -Nodes (13): sortSecrets(), allItemsMountOnStart(), canGitConfigsMountWithoutRestart(), canGitCredentialsMountWithoutRestart(), canGitObjectsMountWithoutRestart(), cleanupGitConfig(), getGitResources(), Secret (+5 more) +Cohesion: 0.29 +Nodes (12): isMountOnStart(), sortSecrets(), allItemsMountOnStart(), canGitConfigsMountWithoutRestart(), canGitCredentialsMountWithoutRestart(), canGitObjectsMountWithoutRestart(), getGitResources(), Secret (+4 more) ### Community 70 - "Secure Service Provisioning" Cohesion: 0.18 @@ -578,20 +600,20 @@ Cohesion: 0.16 Nodes (13): ComponentContribution, Devfile, DevWorkspaceTemplate, DevWorkspaceTemplateSpec, T, TestInput, TestOutput, TestPluginError (+5 more) ### Community 72 - "Common Storage Provisioner" -Cohesion: 0.23 -Nodes (9): ClusterAPI, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PodAdditions, ClusterAPI, CommonStorageProvisioner, checkForAlternatePVC(), checkPVCTerminating() (+1 more) +Cohesion: 0.24 +Nodes (8): ClusterAPI, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PodAdditions, ClusterAPI, CommonStorageProvisioner, checkPVCTerminating(), getSharedPVCWorkspaceCount() ### Community 73 - "Installation and Usage Docs" Cohesion: 0.14 Nodes (13): Adding the DevWorkspace Operator catalog source, Additional configuration, Contributing, Create the DevWorkspace Operator Subscription, DevWorkspace Contributions, DevWorkspace Operator, DevWorkspace Operator Installation, DevWorkspace Operator on Developer Sandbox (+5 more) ### Community 74 - "Sidecar Image Management" -Cohesion: 0.17 -Nodes (10): GetAsyncSidecar(), GetAsyncStorageServerImage(), GetAsyncStorageSidecarImage(), GetProjectBackupImage(), GetProjectCloneImage(), GetPVCCleanupJobImage(), GetWebhookServerImage(), Container (+2 more) +Cohesion: 0.18 +Nodes (9): GetAsyncSidecar(), GetAsyncStorageServerImage(), GetAsyncStorageSidecarImage(), GetProjectBackupImage(), GetProjectCloneImage(), GetPVCCleanupJobImage(), Container, Volume (+1 more) ### Community 75 - "Async Storage Provisioner" -Cohesion: 0.23 -Nodes (8): GetVolumeFromSecret(), ClusterAPI, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PodAdditions, Secret, Volume, AsyncStorageProvisioner +Cohesion: 0.22 +Nodes (9): GetVolumeFromSecret(), ClusterAPI, DevWorkspaceTemplateSpec, DevWorkspaceWithConfig, PodAdditions, Volume, Secret, Volume (+1 more) ### Community 76 - "Projected Volume Tests" Cohesion: 0.29 @@ -610,8 +632,8 @@ Cohesion: 0.24 Nodes (5): ConditionFunc, K8sClient, Duration, Pod, PodList ### Community 80 - "Default Security Settings" -Cohesion: 0.33 -Nodes (12): deepCopyEgressRules(), deepCopyIngressRules(), GetDefaultNetworkPolicy(), setDefaultContainerSecurityContext(), setDefaultNetworkPolicy(), setDefaultOverrideConfig(), setDefaultPodSecurityContext(), SetGlobalConfigForTesting() (+4 more) +Cohesion: 0.13 +Nodes (25): APIGroup, deepCopyEgressRules(), deepCopyIngressRules(), GetDefaultNetworkPolicy(), setDefaultContainerSecurityContext(), setDefaultNetworkPolicy(), setDefaultOverrideConfig(), setDefaultPodSecurityContext() (+17 more) ### Community 81 - "Linux Kind Installation" Cohesion: 0.15 @@ -650,28 +672,28 @@ Cohesion: 0.27 Nodes (8): copyFile(), generateUniqPrefixForFile(), NewK8sClientWithKubeConfig(), NewK8sClientWithToken(), Clientset, Interface, Client, K8sClient ### Community 90 - "Zip Project Setup" -Cohesion: 0.26 -Nodes (10): Closer, remove(), DirExists(), Client, Project, closeSafe(), downloadZip(), dropTopLevelFolder() (+2 more) +Cohesion: 0.33 +Nodes (9): Closer, DirExists(), Client, Project, closeSafe(), downloadZip(), dropTopLevelFolder(), SetupZipProject() (+1 more) ### Community 91 - "Devfile Element Merging" -Cohesion: 0.33 -Nodes (10): findMergeTarget(), mergeContainerContributions(), mergeDevWorkspaceElements(), mergeVolume(), mergeVolumeComponents(), needsContainerContributionMerge(), updateCommandTargetsAfterMerge(), DevWorkspaceTemplateSpec (+2 more) +Cohesion: 0.25 +Nodes (13): findMergeTarget(), mergeContainerContributions(), mergeContributionsInto(), mergeDevWorkspaceElements(), mergeVolume(), mergeVolumeComponents(), needsContainerContributionMerge(), updateCommandTargetsAfterMerge() (+5 more) ### Community 92 - "Webhook Validation Logic" -Cohesion: 0.36 -Nodes (6): checkMultipleContainerContributionTargets(), DevWorkspaceTemplateSpec, Context, WebhookHandler, Request, Response +Cohesion: 0.58 +Nodes (4): Context, WebhookHandler, Request, Response ### Community 93 - "Pre-Stop Lifecycle Hooks" Cohesion: 0.27 Nodes (11): loadAllPreStopTestCasesOrPanic(), loadPreStopTestCaseOrPanic(), TestAddPreStopLifecycleHooks(), preStopTestCase, preStopTestInput, preStopTestOutput, Container, DevWorkspaceTemplateSpec (+3 more) ### Community 94 - "Generic Object Sync" -Cohesion: 0.44 -Nodes (11): ClusterAPI, Logger, Object, NewNotInSync(), createObjectGeneric(), isMutableObject(), IsRecognizedObject(), printDiff() (+3 more) +Cohesion: 0.38 +Nodes (15): Client, ClusterAPI, Context, Logger, Object, NewNotInSync(), createObjectGeneric(), deleteObject() (+7 more) ### Community 95 - "Webhook RBAC Setup" -Cohesion: 0.21 -Nodes (10): Client, Config, Context, Client, Context, RoleBinding, SetupWebhooks(), setUpWebhookServerRBAC() (+2 more) +Cohesion: 0.15 +Nodes (17): getImagePullPolicy(), shouldReconcileOnUpdate(), BackupCronJobReconciler, Client, Context, Cron, DevWorkspace, DevWorkspaceOperatorConfig (+9 more) ### Community 96 - "Release Process Documentation" Cohesion: 0.17 @@ -682,12 +704,12 @@ Cohesion: 0.18 Nodes (11): Client Usage Decisions, Code Generation Decisions, Error Handling Decisions, Infrastructure Detection Decisions, Metrics Decisions, Quick Decision Guide, RBAC Decisions, Status Update Decisions (+3 more) ### Community 98 - "Webhook Server Management" -Cohesion: 0.20 -Nodes (8): APIResource, APIResourceList, findAPIResources(), IsWebhookConfigurationEnabled(), Server, ConfigureWebhookServer(), GetWebhookServer(), Manager +Cohesion: 0.16 +Nodes (12): APIResource, APIResourceList, findAPIResources(), IsWebhookConfigurationEnabled(), Server, ConfigureWebhookServer(), GetWebhookServer(), createWebhooks() (+4 more) ### Community 99 - "Service Account Synchronization" -Cohesion: 0.25 -Nodes (10): ServiceAccountLabels(), WrapSyncError(), DevWorkspaceWithConfig, Client, ClusterAPI, Context, DevWorkspaceWithConfig, FinalizeServiceAccount() (+2 more) +Cohesion: 0.29 +Nodes (9): ServiceAccountLabels(), DevWorkspaceWithConfig, Client, ClusterAPI, Context, DevWorkspaceWithConfig, FinalizeServiceAccount(), removeSCCFromServiceAccount() (+1 more) ### Community 100 - "Mount Source Handling" Cohesion: 0.31 @@ -714,20 +736,20 @@ Cohesion: 0.27 Nodes (4): K8sClient, DevWorkspacePhase, DevWorkspaceStatus, Duration ### Community 106 - "Volume Naming Utilities" -Cohesion: 0.27 -Nodes (7): AutoMountConfigMapVolumeName(), AutoMountProjectedVolumeName(), AutoMountPVCVolumeName(), AutoMountSecretVolumeName(), sanitizeVolumeName(), TestSanitizeVolumeName(), T +Cohesion: 0.39 +Nodes (7): EndpointName(), FuzzEndpointName(), TestEndpointName(), TestEndpointNameRepeatedHyphensAllocations(), TestSanitizeVolumeName(), F, T ### Community 107 - "Workspace Routing Logic" -Cohesion: 0.24 -Nodes (9): DevWorkspaceRoutingName(), ClusterAPI, DevWorkspaceRouting, DevWorkspaceWithConfig, ExposedEndpointList, PodAdditions, Scheme, getSpecRouting() (+1 more) +Cohesion: 0.13 +Nodes (24): JSON, ApplyPodOverrides(), getPodOverrides(), GetVolumesFromOverrides(), NeedsPodOverrides(), restrictPodOverride(), loadAllPodTestCasesOrPanic(), loadPodTestCaseOrPanic() (+16 more) ### Community 108 - "Resource Fuzz Testing" Cohesion: 0.20 Nodes (10): fuzzIntOrString(), fuzzQuantity(), fuzzResourceList(), fuzzResourceRequirements(), fuzzStringPtr(), Continue, IntOrString, Quantity (+2 more) ### Community 109 - "Container Resource Validation" -Cohesion: 0.18 -Nodes (9): GetKubeContainersFromDevfile(), DevWorkspaceIsFlattened(), DevWorkspaceTemplateSpec, PodAdditions, ResourceRequirements, SecurityContext, ComponentContribution, DevWorkspaceTemplateSpec (+1 more) +Cohesion: 0.16 +Nodes (14): GetKubeContainersFromDevfile(), DevWorkspaceIsFlattened(), ApplyContainerOverrides(), handleDefaultedContainerFields(), NeedsContainerOverride(), restrictContainerOverride(), DevWorkspaceTemplateSpec, PodAdditions (+6 more) ### Community 110 - "Container Conversion Tests" Cohesion: 0.33 @@ -746,16 +768,16 @@ Cohesion: 0.20 Nodes (4): FailError, RetryError, WarningError, Duration ### Community 114 - "Deployment Diffing Logic" -Cohesion: 0.33 -Nodes (9): Options, T, basicDiffFunc(), podTemplateMetadataDiffFunc(), TestDeploymentDiffOpts_DetectsSpecChanges(), TestDeploymentDiffOpts_IgnoresPodTemplateMetadata(), TestDeploymentFullDiff_ExternalLabelsNoUpdate(), TestPodTemplateMetadataDiffFunc() (+1 more) +Cohesion: 0.24 +Nodes (21): ClientBuilder, contains(), TestDiscoverableEndpointContract(), newIndexedWorkspaceClientBuilder(), loadObjectFromFile(), newRawExtension(), setupWorkspace(), TestShouldCheckEndpointConflicts() (+13 more) ### Community 115 - "Devfile HTTP Fetching" -Cohesion: 0.20 -Nodes (7): Devfile, DevWorkspaceTemplate, Response, TestPluginError, Reader, FakeHTTPGetter, fakeRespBody +Cohesion: 0.12 +Nodes (14): Cache, newEndpointCache(), TestDiscoverableEndpointCacheLifecycle(), Devfile, DevWorkspaceTemplate, Response, TestPluginError, RaceFreeFakeWatcher (+6 more) ### Community 116 - "ConfigMap Resource Management" -Cohesion: 0.28 -Nodes (8): sortConfigmaps(), getAutomountConfigmap(), getDevWorkspaceConfigmaps(), ConfigMap, ClusterAPI, ConfigMap, Deployment, Resources +Cohesion: 0.17 +Nodes (14): checkAutomountVolumeForPotentialError(), getAccessModeForAutomount(), matchesAnyPattern(), MatchesWorkspaceTarget(), sortConfigmaps(), TestMatchesWorkspaceTarget(), getAutomountConfigmap(), getDevWorkspaceConfigmaps() (+6 more) ### Community 117 - "Workspace Condition Tracking" Cohesion: 0.28 @@ -763,7 +785,7 @@ Nodes (7): CountWarningConditions(), GetConditionByType(), DevWorkspaceWithConfi ### Community 118 - "Controller Reconciler Setup" Cohesion: 0.22 -Nodes (6): GetMaxConcurrentReconciles(), Manager, Funcs, RoutingSolverGetter, Manager, getRoutingPredicatesForSolverFunc() +Nodes (15): Client, Context, Object, ObjectKey, Service, T, countingServiceClient, filteredServiceClient (+7 more) ### Community 119 - "Unsupported Feature Warnings" Cohesion: 0.44 @@ -774,8 +796,8 @@ Cohesion: 0.22 Nodes (8): 1. Add the DevWorkspace Operator CatalogSource, 2. Create the DevWorkspace Operator Subscription, 3. Wait for Operator to be Ready, 4. Create DevWorkspaces Namespace, 5. Create a Sample DevWorkspace, Installation on OpenShift With OLM, Prerequisites, Steps ### Community 121 - "Post-Start Lifecycle Hooks" -Cohesion: 0.44 -Nodes (8): buildUserScript(), generateScriptWithTimeout(), parsePostStartFailureDebugSleepDurationToSeconds(), processCommandsForPostStart(), processCommandsWithoutTimeoutFallback(), Command, LifecycleHandler, Logger +Cohesion: 0.30 +Nodes (11): AddPostStartLifecycleHooks(), buildUserScript(), generateScriptWithTimeout(), parsePostStartFailureDebugSleepDurationToSeconds(), processCommandsForPostStart(), processCommandsWithoutTimeoutFallback(), Command, Container (+3 more) ### Community 122 - "Init Container Tests" Cohesion: 0.31 @@ -783,7 +805,7 @@ Nodes (8): loadPreStartTestCaseOrPanic(), TestGetInitContainers(), preStartTestC ### Community 123 - "K8s Client Mocking" Cohesion: 0.22 -Nodes (7): ObjectKey, Client, Context, DevWorkspaceTemplate, Object, TestPluginError, FakeK8sClient +Nodes (7): Client, Context, DevWorkspaceTemplate, Object, ObjectKey, TestPluginError, FakeK8sClient ### Community 124 - "OpenShift Proxy Configuration" Cohesion: 0.31 @@ -810,8 +832,8 @@ Cohesion: 0.29 Nodes (8): ListMeta, ObjectMeta, Time, TypeMeta, DevWorkspaceOperatorConfig, DevWorkspaceOperatorConfigList, OperatorConfigurationStatus, Condition ### Community 130 - "Automount PVC Logic" -Cohesion: 0.32 -Nodes (7): flattenAutomountResources(), mountPathEntry, getAutoMountPVCs(), parseMountPathAnnotation(), ClusterAPI, Deployment, Resources +Cohesion: 0.38 +Nodes (6): mountPathEntry, getAutoMountPVCs(), parseMountPathAnnotation(), ClusterAPI, Deployment, Resources ### Community 131 - "Backup RBAC Management" Cohesion: 0.46 @@ -850,12 +872,12 @@ Cohesion: 0.33 Nodes (6): AddURLAttributesToEndpoints(), getContainerEndpointByName(), ContainerComponent, DevWorkspaceTemplateSpec, Endpoint, ExposedEndpointList ### Community 140 - "Cluster API Detection" -Cohesion: 0.43 -Nodes (6): APIGroup, detect(), findAPIGroup(), Initialize(), Type, init() +Cohesion: 0.14 +Nodes (18): BasicSolver, Client, Context, DevWorkspaceMetadata, DevWorkspaceRouting, Endpoint, EndpointList, Object (+10 more) ### Community 141 - "Workspace Service Sync" -Cohesion: 0.52 -Nodes (6): getWorkspaceSyncServiceCluster(), getWorkspaceSyncServiceSpec(), SyncWorkspaceSyncServiceToCluster(), ClusterAPI, Deployment, Service +Cohesion: 0.18 +Nodes (14): asyncServiceCountingClient, getWorkspaceSyncServiceCluster(), getWorkspaceSyncServiceSpec(), SyncWorkspaceSyncServiceToCluster(), TestSyncWorkspaceSyncServiceRejectsForeignHiddenService(), TestSyncWorkspaceSyncServiceRepairsHiddenServiceWithEmptyWorkspaceID(), ClusterAPI, Deployment (+6 more) ### Community 142 - "Host Authentication Setup" Cohesion: 0.38 @@ -866,12 +888,12 @@ Cohesion: 0.29 Nodes (7): Bug Fixes & Improvements, Configurable backup job retry limit [#1579](https://github.com/devfile/devworkspace-operator/issues/1579), Features, Inject HOST_USERS environment variable for user namespace configuration [#1582](https://github.com/devfile/devworkspace-operator/pull/1582), Per-workspace backup status tracking [#1549](https://github.com/devfile/devworkspace-operator/issues/1549), Restore workspace from backup [#1525](https://github.com/devfile/devworkspace-operator/issues/1525), v0.40.0 ### Community 145 - "ClusterRole Management" -Cohesion: 0.52 -Nodes (6): ClusterRole, Client, Context, CreateWebhookClusterRole(), getExistingClusterRole(), getSpecClusterRole() +Cohesion: 0.20 +Nodes (11): CancelFunc, Client, Context, Object, ObjectKey, T, Time, cancelOnServiceReadClient (+3 more) ### Community 146 - "ClusterRoleBinding Management" -Cohesion: 0.52 -Nodes (6): ClusterRoleBinding, Client, Context, CreateWebhookClusterRoleBinding(), getClusterRoleBinding(), getSpecClusterRoleBinding() +Cohesion: 0.25 +Nodes (15): RouteName(), DevWorkspaceRouting, NamespacedName, Object, OwnerReference, createDWR(), deleteDevWorkspaceRouting(), deleteIngress() (+7 more) ### Community 147 - "HTTP RoundTrip Testing" Cohesion: 0.29 @@ -894,8 +916,8 @@ Cohesion: 0.43 Nodes (5): Context, DevWorkspace, DevWorkspaceTemplateSpec, WebhookHandler, Request ### Community 152 - "Pre-Stop Lifecycle Hooks" -Cohesion: 0.33 -Nodes (6): AddPreStopLifecycleHooks(), processCommandsForPreStop(), Command, Container, DevWorkspaceTemplateSpec, LifecycleHandler +Cohesion: 0.22 +Nodes (8): AddPreStopLifecycleHooks(), processCommandsForPreStop(), getContainerWithName(), Command, Container, DevWorkspaceTemplateSpec, LifecycleHandler, Container ### Community 153 - "AI Agent ADR Guidelines" Cohesion: 0.33 @@ -914,16 +936,16 @@ Cohesion: 0.33 Nodes (5): createAuthSecret(), createDevWorkspace(), DevWorkspace, Secret, Time ### Community 157 - "Operator Changelog" -Cohesion: 0.33 -Nodes (5): Bug Fixes & Improvements, Bug Fixes & Improvements, DevWorkspace Operator Changelog, v0.35.1, v0.43.0 +Cohesion: 0.25 +Nodes (7): Bug Fixes & Improvements, Bug Fixes & Improvements, Bug Fixes & Improvements, DevWorkspace Operator Changelog, v0.35.1, v0.43.0, v1.1.0 ### Community 158 - "Release v0.39.0 Notes" Cohesion: 0.33 Nodes (6): Add container resource caps enforcement [#1561](https://github.com/devfile/devworkspace-operator/issues/1561), Add the ability to configure custom init containers [#1559](https://github.com/devfile/devworkspace-operator/issues/1559), Bug Fixes & Improvements, Features, Implement backup feature for DevWorkspaces [#1524](https://github.com/devfile/devworkspace-operator/issues/1524), v0.39.0 ### Community 159 - "Release v1.0.0 Notes" -Cohesion: 0.33 -Nodes (6): Bug Fixes & Improvements, Features, OpenShift-aware TLS configuration for metrics and webhook servers [#1695](https://github.com/devfile/devworkspace-operator/pull/1695), Optional per-workspace NetworkPolicy provisioning [#1710](https://github.com/devfile/devworkspace-operator/pull/1710), Tolerate additional labels and annotations on workspace deployments [#1711](https://github.com/devfile/devworkspace-operator/pull/1711), v1.0.0 +Cohesion: 0.27 +Nodes (10): Bug Fixes & Improvements, Bug Fixes & Improvements, Configurable pod scheduling for workspaces and operator-managed jobs [#1723](https://github.com/devfile/devworkspace-operator/pull/1723), Features, Features, OpenShift-aware TLS configuration for metrics and webhook servers [#1695](https://github.com/devfile/devworkspace-operator/pull/1695), Optional per-workspace NetworkPolicy provisioning [#1710](https://github.com/devfile/devworkspace-operator/pull/1710), Tolerate additional labels and annotations on workspace deployments [#1711](https://github.com/devfile/devworkspace-operator/pull/1711) (+2 more) ### Community 160 - "Release v0.41.0 Notes" Cohesion: 0.33 @@ -934,8 +956,8 @@ Cohesion: 0.47 Nodes (4): buildConfig(), buildExternalConfig(), DevWorkspaceOperatorConfig, OperatorConfiguration ### Community 162 - "Routing Error Types" -Cohesion: 0.33 -Nodes (3): Duration, RoutingInvalid, RoutingNotReady +Cohesion: 0.25 +Nodes (4): Duration, DuplicateEndpointError, RoutingInvalid, RoutingNotReady ### Community 163 - "API Test Suite" Cohesion: 0.33 @@ -958,24 +980,24 @@ Cohesion: 0.33 Nodes (4): MergeInitContainers(), TestMergeInitContainers(), Container, T ### Community 168 - "Container Utility Functions" -Cohesion: 0.33 -Nodes (5): AddPostStartLifecycleHooks(), getContainerWithName(), Container, DevWorkspaceTemplateSpec, Container +Cohesion: 0.22 +Nodes (9): Context, Object, ObjectKey, ObjectList, SubResourceWriter, Time, serviceSyncReconcileClient, serviceSyncReconcileStatusWriter (+1 more) ### Community 169 - "PVC Specification Sync" -Cohesion: 0.40 -Nodes (6): OperatorConfiguration, PersistentVolumeAccessMode, PersistentVolumeClaim, Quantity, getPVCSpec(), syncCommonPVC() +Cohesion: 0.24 +Nodes (11): OperatorConfiguration, PersistentVolumeAccessMode, PersistentVolumeClaim, Quantity, T, getPVCSpec(), syncCommonPVC(), TestFindNodeForPVC() (+3 more) ### Community 170 - "Storage Affinity Tests" -Cohesion: 0.53 -Nodes (5): T, TestFindNodeForPVC(), TestGetPVCSpecWithCustomStorageAccessMode(), TestGetPVCSpecWithDefaultStorageAccessMode(), TestNodeAffinityForHostname() +Cohesion: 0.19 +Nodes (12): TestRegisterDiscoverableEndpointIndexFailure(), TestValidateEndpointsListFailure(), TestValidateEndpointsUsesUniqueIndexedQueries(), endpointIndexRegistration, endpointListFailureClient, endpointQueryClient, Client, Context (+4 more) ### Community 171 - "Role Management" -Cohesion: 0.40 -Nodes (5): Client, Context, Role, CreateWebhookRole(), getSpecRole() +Cohesion: 0.23 +Nodes (13): T, Scheme, T, TestSyncServicesPassesContextAndStopsOnCancellation(), routingTestScheme(), TestReconcileFailsWithoutNonCachingClient(), TestReconcileIgnoresStaleForeignServiceFromCache(), TestReconcileMarksSynchronizationConflictFailed() (+5 more) ### Community 172 - "Workspace Recovery Script" Cohesion: 0.67 -Nodes (5): workspace-recovery.sh script, backup(), restore(), setup_registry_auth(), usage() +Nodes (5): backup(), restore(), setup_registry_auth(), usage(), workspace-recovery.sh script ### Community 173 - "Build and Workflow Guide" Cohesion: 0.40 @@ -1014,8 +1036,8 @@ Cohesion: 0.40 Nodes (4): Is it tested? How?, PR Checklist, What does this PR do?, What issues does this PR fix or reference? ### Community 182 - "Devfile Validation Webhook" -Cohesion: 0.40 -Nodes (4): Context, WebhookHandler, Request, Response +Cohesion: 0.26 +Nodes (9): discoverableEndpointNames(), RegisterDiscoverableEndpointIndex(), ServiceConflictError, Context, DevWorkspace, FieldIndexer, WebhookHandler, Request (+1 more) ### Community 183 - "Exec Connection Validation" Cohesion: 0.40 @@ -1026,12 +1048,12 @@ Cohesion: 0.40 Nodes (4): Additional context, Description, Expected behavior, How To Reproduce ### Community 185 - "Cluster Object Collection" -Cohesion: 0.40 -Nodes (5): clusterObjects, collectClusterObj(), Object, Pod, Service +Cohesion: 0.25 +Nodes (8): clusterObjects, collectClusterObj(), serviceGetCountingClient, Client, Context, Object, Pod, Service ### Community 186 - "Object Deserialization Tests" -Cohesion: 0.70 -Nodes (4): readBytesFromFile(), TestDeserializeObject(), TestErrorIfDeserializerNotInitialized(), T +Cohesion: 0.33 +Nodes (7): DeserializeToObject(), readBytesFromFile(), TestDeserializeObject(), TestErrorIfDeserializerNotInitialized(), TestRestrictK8sComponentSkipsValidationWhenAnnotationAbsent(), Object, T ### Community 187 - "SSH Post-Start Events" Cohesion: 0.40 @@ -1043,7 +1065,7 @@ Nodes (4): Advanced Features, Flexible Contributions, Networking & Routing Class ### Community 189 - "Operator Config Components" Cohesion: 0.50 -Nodes (4): RoutingConfig, OperatorConfiguration, WebhookConfig, WorkspaceConfig +Nodes (4): RoutingConfig, OperatorConfiguration, WorkspaceConfig, WebhookConfig ### Community 190 - "Release v0.40.1 Notes" Cohesion: 0.50 @@ -1081,29 +1103,121 @@ Nodes (3): ConfigmapReference, Proxy, RoutingConfig Cohesion: 0.67 Nodes (3): NetworkPolicyEgressRule, NetworkPolicyIngressRule, NetworkPolicyConfig +### Community 232 - "Resource Event Predicates" +Cohesion: 0.20 +Nodes (9): Client, Context, DevWorkspaceMetadata, DevWorkspaceRouting, EndpointList, ExposedEndpointList, RoutingObjects, NewBasicSolver() (+1 more) + +### Community 269 - "Routing Controller Tests" +Cohesion: 0.13 +Nodes (17): T, Context, DevWorkspaceRoutingReconciler, Service, Client, Context, T, T (+9 more) + +### Community 276 - "Validation Logic" +Cohesion: 0.24 +Nodes (13): getDevWorkspaceWithConfig(), loadAllTestCasesOrPanic(), loadTestCaseOrPanic(), TestPersistentHomeVolume(), testCase, testInput, testOutput, DevWorkspaceTemplateSpec (+5 more) + ### Community 295 - "Cluster API Testing" -Cohesion: 0.40 -Nodes (3): ClusterAPI, T, getTestClusterAPI() +Cohesion: 0.15 +Nodes (12): Alternative 1: Keep listing and scanning the whole namespace, Alternative 2: Disable cache object copying, Alternative 3: Add a custom cache or external endpoint index owner, Consequences, Considered Alternatives, Context, Decision, Index discoverable endpoints for admission conflict checks (+4 more) + +### Community 296 - "Community 296" +Cohesion: 0.15 +Nodes (12): Alternative 1: Share the aggregate certificate mount, Alternative 2: Truncate long volume names or reject long Service names, Alternative 3: Hash every volume name, Consequences, Considered Alternatives, Context, Decision, Mount per-service certificates for discoverable endpoints (+4 more) + +### Community 297 - "Community 297" +Cohesion: 0.15 +Nodes (12): Alternative 1: Trust admission conflict checks, Alternative 2: Treat workspace ID labels as ownership proof, Alternative 3: Keep the generic AlreadyExists update fallback, Consequences, Considered Alternatives, Context, Decision, Guard routing Service ownership during synchronization (+4 more) + +### Community 298 - "Community 298" +Cohesion: 0.26 +Nodes (12): DevWorkspace, Job, Pod, T, makeCleanupJob(), makeCleanupPod(), makeTerminatingWorkspace(), TestCleanupWorkspaceStorageCoordinatesSharedPVCDeletion() (+4 more) + +### Community 299 - "Community 299" +Cohesion: 0.17 +Nodes (11): Alternative 1: Retry unchanged failures on resource events, Alternative 2: Require routing recreation, Consequences, Considered Alternatives, Context, Decision, Negative, Neutral (+3 more) + +### Community 300 - "Community 300" +Cohesion: 0.17 +Nodes (11): Alternative 1: Retain legacy entry points alongside context-aware methods, Alternative 2: Add a fixed timeout to Service lookup, Consequences, Considered Alternatives, Context, Decision, Negative, Neutral (+3 more) + +### Community 301 - "Community 301" +Cohesion: 0.17 +Nodes (11): Alternative 1: Change certificate Secret names, Alternative 2: Publish mounts immediately after Service creation, Consequences, Considered Alternatives, Context, Decision, Negative, Neutral (+3 more) + +### Community 302 - "Community 302" +Cohesion: 0.29 +Nodes (10): Client, DevWorkspaceRouting, T, T, assertServiceSyncContextUnchanged(), serviceSyncContextRouting(), TestReconcileRetriesOrdinaryServiceSyncError(), TestReconcileReturnsServiceSyncContextErrors() (+2 more) + +### Community 303 - "Community 303" +Cohesion: 0.18 +Nodes (9): Context, FieldIndexer, IndexerFunc, Manager, Object, T, TestConfigurePropagatesEndpointIndexFailure(), endpointIndexManager (+1 more) + +### Community 304 - "Community 304" +Cohesion: 0.33 +Nodes (8): Client, Context, Object, ObjectKey, Service, serviceLabelFilteredClient, serviceReadErrorClient, staleServiceCacheClient + +### Community 305 - "Community 305" +Cohesion: 0.31 +Nodes (8): NotInSyncError, ClusterAPI, Object, Service, recoverServiceCreateCollision(), serviceOwnershipConflict(), SyncRoutingServiceWithCluster(), ServiceConflictError + +### Community 306 - "Community 306" +Cohesion: 0.33 +Nodes (7): LoadControllerConfig(), syncConfigmapFromCluster(), GetNamespace(), GetOperatorNamespace(), GetWatchNamespace(), Client, Object + +### Community 307 - "Community 307" +Cohesion: 0.25 +Nodes (7): CancelFunc, Client, Context, Object, ObjectKey, cancelingLookupClient, lookupContextKey + +### Community 308 - "Community 308" +Cohesion: 0.32 +Nodes (7): Affinity, GetWorkspacePodAffinity(), GetWorkspacePodAffinityWithNodeAffinity(), NodeAffinity, WorkspaceConfig, NodeAffinity, NodeAffinityForHostname() + +### Community 309 - "Community 309" +Cohesion: 0.46 +Nodes (7): Service, T, collisionServices(), TestGenericNonServiceCollisionKeepsUpdateFallback(), TestGenericServiceCollisionOutcomes(), TestGenericServiceCollisionRejectsForeignOwnership(), TestGenericServiceCollisionRepairsOwnedService() + +### Community 310 - "Community 310" +Cohesion: 0.29 +Nodes (7): testCase, ConfigMap, EnvFromSource, Object, PersistentVolumeClaim, Volume, VolumeMount + +### Community 311 - "Community 311" +Cohesion: 0.33 +Nodes (4): Builder, DevWorkspaceRoutingClass, RoutingSolver, capturingSolverGetter + +### Community 312 - "Community 312" +Cohesion: 0.48 +Nodes (6): DevWorkspaceRouting, T, TestReconcileRepairsOwnedDiscoverableServiceWithStaleWorkspaceID(), TestReconcileUsesDevWorkspaceOwnerName(), TestWorkspaceNameRequiresDevWorkspaceControllerOwner(), workspaceNameTestRouting() + +### Community 313 - "Community 313" +Cohesion: 0.33 +Nodes (5): TestCustomInitPersistentHome(), TestInferWorkspaceImage(), InferWorkspaceImage(), T, DevWorkspaceTemplateSpec + +### Community 314 - "Community 314" +Cohesion: 0.50 +Nodes (3): createDevWorkspace(), DevWorkspace, Time + +### Community 317 - "Community 317" +Cohesion: 0.67 +Nodes (3): testCase, testInput, testOutput ## Knowledge Gaps -- **806 isolated node(s):** `common.sh script`, `ARTIFACT_DIR`, `CI`, `GIT_COMMITTER_NAME`, `GIT_COMMITTER_EMAIL` (+801 more) +- **931 isolated node(s):** `common.sh script`, `ARTIFACT_DIR`, `CI`, `GIT_COMMITTER_NAME`, `GIT_COMMITTER_EMAIL` (+926 more) These have ≤1 connection - possible missing edges or undocumented components. -- **51 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. +- **54 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. ## Suggested Questions _Questions this graph is uniquely positioned to answer:_ -- **Why does `Append()` connect `Projected Volume Generation` to `Pod Override Logic`, `Workspace Routing Endpoints`, `Automount PVC Logic`, `Git Configuration Provisioning`, `Backup CronJob Controller`, `Route Synchronization`, `Container Override Logic`, `Routing Resource Definitions`, `Init Container Management`, `Auto-mount Volume Provisioning`, `Workspace Reconciler Core`, `Reconciler Event Handlers`, `Kubernetes Component Deserialization`, `SSH Key Configuration`, `Automount Volume Utilities`, `Cleanup CronJob Controller`, `Global Configuration Management`, `Default Template Resolution`, `Plugin Import Resolution`, `Devfile Resolution Logic`, `Pre-Stop Lifecycle Hooks`, `Workspace Status Management`, `Backup Controller Tests`, `RBAC Finalization Tests`, `Workspace Error Handling`, `Routing Reconciler Logic`, `Devfile Flattening Tests`, `Kubernetes Component Provisioning`, `Workspace Finalizer Logic`, `Init Container Merging`, `Devfile Command Management`, `Container Utility Functions`, `RBAC Finalization Logic`, `Webhook Configuration Initialization`, `Kubernetes Permission Validation`, `Resource Requirement Specs`, `Ephemeral Volume Management`, `Workspace Deployment Sync`, `Devfile Validation Webhook`, `Workspace Metadata Provisioning`, `Cluster Object Collection`, `Devfile Container Conversion`, `SSH Post-Start Events`, `Workspace Condition Management`, `Resource Requirement Helpers`, `Post-Start Lifecycle Hooks`, `Resource Update Functions`, `Git Resource Mounting`, `Sidecar Image Management`, `Async Storage Provisioner`, `Projected Volume Tests`, `Workspace Bootstrapping Logic`, `Default Security Settings`, `Project Clone Initialization`, `Zip Project Setup`, `Devfile Element Merging`, `Webhook Validation Logic`, `Pre-Stop Lifecycle Hooks`, `Service Account Synchronization`, `Mount Source Handling`, `Workspace Feature Testing`, `Devfile and Project Loading`, `Workspace Routing Logic`, `Container Resource Validation`, `Container Conversion Tests`, `ConfigMap Resource Management`, `Unsupported Feature Warnings`, `Post-Start Lifecycle Hooks`, `SSH Agent Provisioning`?** - _High betweenness centrality (0.279) - this node is a cross-community bridge._ -- **Why does `Equal()` connect `Configuration Sync Tests` to `Pod Override Logic`, `Workspace Routing Endpoints`, `Git Configuration Provisioning`, `Workspace Reconciler Core`, `Pod Security Specifications`, `Container Override Logic`, `Routing Resource Definitions`, `Init Container Management`, `Auto-mount Volume Provisioning`, `Resource Loading Utilities`, `Network Policy Management`, `Kubernetes Component Deserialization`, `Immutable Resource Validation`, `Role Binding Synchronization`, `Routing Reconciler Logic`, `Devfile Flattening Tests`, `Init Container Merging`, `ConfigMap Migration Logic`, `Storage Affinity Tests`, `Webhook Configuration Initialization`, `Projected Volume Generation`, `PVC Cleanup Jobs`, `Object Deserialization Tests`, `Post-Start Lifecycle Hooks`, `Resource Diffing Utilities`, `Projected Volume Tests`, `Container Resource Tests`, `Pre-Stop Lifecycle Hooks`, `Persistent Home Tests`, `Workspace Feature Testing`, `Volume Naming Utilities`, `Container Conversion Tests`, `Deployment Diffing Logic`, `Init Container Tests`, `OpenShift Proxy Configuration`?** - _High betweenness centrality (0.107) - this node is a cross-community bridge._ -- **Why does `IsOpenShift()` connect `Default Security Settings` to `Pod Override Logic`, `Workspace Routing Endpoints`, `Backup RBAC Management`, `Cluster API Detection`, `Global Configuration Management`, `User Permission Validation`, `Server TLS Configuration`, `Role Binding Synchronization`, `Routing Reconciler Logic`, `Workspace Finalizer Logic`, `RBAC Finalization Logic`, `Role Management`, `Webhook Configuration Initialization`, `Operator Entrypoint Logic`, `Workspace Deployment Sync`, `Routing Solver Logic`, `Webhook Deployment Management`, `Webhook RBAC Setup`, `Controller Reconciler Setup`, `OpenShift Proxy Configuration`?** - _High betweenness centrality (0.056) - this node is a cross-community bridge._ -- **Are the 134 inferred relationships involving `Append()` (e.g. with `removeAuthorizedKeyFromConfigMap()` and `GetAsyncSidecar()`) actually correct?** - _`Append()` has 134 INFERRED edges - model-reasoned connections that need verification._ -- **Are the 117 inferred relationships involving `Equal()` (e.g. with `TestProvisionAutomountResourcesIntoPersistentHomeEnabled()` and `TestMatchesWorkspaceTarget()`) actually correct?** - _`Equal()` has 117 INFERRED edges - model-reasoned connections that need verification._ -- **Are the 45 inferred relationships involving `InitializeForTesting()` (e.g. with `setupForTest()` and `TestDetectsOpenShiftRouteSuffix()`) actually correct?** - _`InitializeForTesting()` has 45 INFERRED edges - model-reasoned connections that need verification._ +- **Why does `Append()` connect `Kubernetes Component Deserialization` to `Pod Override Logic`, `Workspace Routing Endpoints`, `Backup CronJob Controller`, `Git Configuration Provisioning`, `Workspace Reconciler Core`, `Container Override Logic`, `Routing Resource Definitions`, `Init Container Management`, `Auto-mount Volume Provisioning`, `Resource Loading Utilities`, `SSH Key Configuration`, `Automount Volume Utilities`, `Cleanup CronJob Controller`, `Configuration Sync Tests`, `Global Configuration Management`, `Devfile Resolution Logic`, `Workspace Status Management`, `RBAC Finalization Tests`, `Workspace Error Handling`, `Routing Reconciler Logic`, `Devfile Flattening Tests`, `Kubernetes Component Provisioning`, `RBAC Finalization Logic`, `Devfile Command Management`, `Webhook Configuration Initialization`, `Projected Volume Generation`, `Operator Entrypoint Logic`, `Kubernetes Permission Validation`, `Resource Requirement Specs`, `Ephemeral Volume Management`, `Workspace Deployment Sync`, `Workspace Metadata Provisioning`, `Devfile Container Conversion`, `Workspace Condition Management`, `Post-Start Lifecycle Hooks`, `Resource Diffing Utilities`, `Resource Update Functions`, `Git Resource Mounting`, `Sidecar Image Management`, `Async Storage Provisioner`, `Projected Volume Tests`, `Workspace Bootstrapping Logic`, `Default Security Settings`, `Project Clone Initialization`, `Devfile Element Merging`, `Webhook Validation Logic`, `Pre-Stop Lifecycle Hooks`, `Webhook RBAC Setup`, `Service Account Synchronization`, `Mount Source Handling`, `Workspace Feature Testing`, `Devfile and Project Loading`, `Workspace Routing Logic`, `Container Resource Validation`, `Container Conversion Tests`, `Deployment Diffing Logic`, `ConfigMap Resource Management`, `Unsupported Feature Warnings`, `Post-Start Lifecycle Hooks`, `SSH Agent Provisioning`, `Automount PVC Logic`, `Route Synchronization`, `Reconciler Event Handlers`, `Default Template Resolution`, `Plugin Import Resolution`, `Pre-Stop Lifecycle Hooks`, `Backup Controller Tests`, `Workspace Finalizer Logic`, `Init Container Merging`, `Container Utility Functions`, `Storage Affinity Tests`, `Role Management`, `Devfile Validation Webhook`, `Cluster Object Collection`, `SSH Post-Start Events`, `Resource Event Predicates`, `Routing Controller Tests`, `Validation Logic`, `Community 309`, `Community 314`, `Community 316`, `Community 318`?** + _High betweenness centrality (0.290) - this node is a cross-community bridge._ +- **Why does `Equal()` connect `Configuration Sync Tests` to `Pod Override Logic`, `Git Configuration Provisioning`, `Workspace Reconciler Core`, `Pod Security Specifications`, `Container Override Logic`, `Routing Resource Definitions`, `Auto-mount Volume Provisioning`, `Resource Loading Utilities`, `Network Policy Management`, `Routing Controller Tests`, `Kubernetes Component Deserialization`, `ClusterRoleBinding Management`, `Validation Logic`, `Immutable Resource Validation`, `Role Binding Synchronization`, `Routing Reconciler Logic`, `Devfile Flattening Tests`, `Init Container Merging`, `ConfigMap Migration Logic`, `PVC Specification Sync`, `Community 298`, `Webhook Configuration Initialization`, `Community 312`, `Community 313`, `Object Deserialization Tests`, `Community 318`, `Post-Start Lifecycle Hooks`, `Resource Diffing Utilities`, `Projected Volume Tests`, `Container Resource Tests`, `Pre-Stop Lifecycle Hooks`, `Persistent Home Tests`, `Workspace Feature Testing`, `Volume Naming Utilities`, `Workspace Routing Logic`, `Container Conversion Tests`, `Deployment Diffing Logic`, `Devfile HTTP Fetching`, `ConfigMap Resource Management`, `Init Container Tests`, `OpenShift Proxy Configuration`?** + _High betweenness centrality (0.100) - this node is a cross-community bridge._ +- **Why does `ServiceAccountToken` connect `Operator Config Schema` to `Routing Controller Tests`?** + _High betweenness centrality (0.042) - this node is a cross-community bridge._ +- **Are the 154 inferred relationships involving `Append()` (e.g. with `removeAuthorizedKeyFromConfigMap()` and `GetAsyncSidecar()`) actually correct?** + _`Append()` has 154 INFERRED edges - model-reasoned connections that need verification._ +- **Are the 135 inferred relationships involving `Equal()` (e.g. with `TestProvisionAutomountResourcesIntoPersistentHomeEnabled()` and `TestMatchesWorkspaceTarget()`) actually correct?** + _`Equal()` has 135 INFERRED edges - model-reasoned connections that need verification._ +- **Are the 70 inferred relationships involving `InitializeForTesting()` (e.g. with `setupForTest()` and `TestDetectsOpenShiftRouteSuffix()`) actually correct?** + _`InitializeForTesting()` has 70 INFERRED edges - model-reasoned connections that need verification._ - **Are the 35 inferred relationships involving `ProvisionGitConfiguration()` (e.g. with `getAutomountResources()` and `findGitconfigAutomount()`) actually correct?** _`ProvisionGitConfiguration()` has 35 INFERRED edges - model-reasoned connections that need verification._ \ No newline at end of file diff --git a/graphify-out/graph.json b/graphify-out/graph.json index 815e58b50..de8cc4213 100644 --- a/graphify-out/graph.json +++ b/graphify-out/graph.json @@ -13,9 +13,9 @@ "kind": "file" }, "_origin": "ast", + "id": "ci_common", "community": 194, - "norm_label": "common.sh", - "id": "ci_common" + "norm_label": "common.sh" }, { "label": "common.sh script", @@ -27,9 +27,9 @@ "kind": "bash_entrypoint" }, "_origin": "ast", + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_common_sh__entry", "community": 194, - "norm_label": "common.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_common_sh__entry" + "norm_label": "common.sh script" }, { "label": "ARTIFACT_DIR", @@ -41,9 +41,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_common_artifact_dir", "community": 194, - "norm_label": "artifact_dir", - "id": "ci_common_artifact_dir" + "norm_label": "artifact_dir" }, { "label": "bumpPodsInfo()", @@ -55,9 +55,9 @@ "kind": "bash_function" }, "_origin": "ast", + "id": "ci_common_bumppodsinfo", "community": 194, - "norm_label": "bumppodsinfo()", - "id": "ci_common_bumppodsinfo" + "norm_label": "bumppodsinfo()" }, { "label": "oci-devworkspace-happy-path.sh", @@ -69,9 +69,9 @@ "kind": "file" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path", "community": 20, - "norm_label": "oci-devworkspace-happy-path.sh", - "id": "ci_oci_devworkspace_happy_path" + "norm_label": "oci-devworkspace-happy-path.sh" }, { "label": "oci-devworkspace-happy-path.sh script", @@ -83,9 +83,9 @@ "kind": "bash_entrypoint" }, "_origin": "ast", + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_oci_devworkspace_happy_path_sh__entry", "community": 20, - "norm_label": "oci-devworkspace-happy-path.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_oci_devworkspace_happy_path_sh__entry" + "norm_label": "oci-devworkspace-happy-path.sh script" }, { "label": "CI", @@ -97,9 +97,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_ci", "community": 20, - "norm_label": "ci", - "id": "ci_oci_devworkspace_happy_path_ci" + "norm_label": "ci" }, { "label": "GIT_COMMITTER_NAME", @@ -111,9 +111,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_git_committer_name", "community": 20, - "norm_label": "git_committer_name", - "id": "ci_oci_devworkspace_happy_path_git_committer_name" + "norm_label": "git_committer_name" }, { "label": "GIT_COMMITTER_EMAIL", @@ -125,9 +125,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_git_committer_email", "community": 20, - "norm_label": "git_committer_email", - "id": "ci_oci_devworkspace_happy_path_git_committer_email" + "norm_label": "git_committer_email" }, { "label": "CHE_NAMESPACE", @@ -139,9 +139,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_che_namespace", "community": 20, - "norm_label": "che_namespace", - "id": "ci_oci_devworkspace_happy_path_che_namespace" + "norm_label": "che_namespace" }, { "label": "MAX_RETRIES", @@ -153,9 +153,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_max_retries", "community": 20, - "norm_label": "max_retries", - "id": "ci_oci_devworkspace_happy_path_max_retries" + "norm_label": "max_retries" }, { "label": "BASE_DELAY", @@ -167,9 +167,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_base_delay", "community": 20, - "norm_label": "base_delay", - "id": "ci_oci_devworkspace_happy_path_base_delay" + "norm_label": "base_delay" }, { "label": "MAX_JITTER", @@ -181,9 +181,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_max_jitter", "community": 20, - "norm_label": "max_jitter", - "id": "ci_oci_devworkspace_happy_path_max_jitter" + "norm_label": "max_jitter" }, { "label": "ARTIFACT_DIR", @@ -195,9 +195,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_artifact_dir", "community": 20, - "norm_label": "artifact_dir", - "id": "ci_oci_devworkspace_happy_path_artifact_dir" + "norm_label": "artifact_dir" }, { "label": "deployDWO()", @@ -209,9 +209,9 @@ "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_deploydwo", "community": 20, - "norm_label": "deploydwo()", - "id": "ci_oci_devworkspace_happy_path_deploydwo" + "norm_label": "deploydwo()" }, { "label": "verifyOLMHealth()", @@ -223,177 +223,177 @@ "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_verifyolmhealth", "community": 20, - "norm_label": "verifyolmhealth()", - "id": "ci_oci_devworkspace_happy_path_verifyolmhealth" + "norm_label": "verifyolmhealth()" }, { "label": "deployChe()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L109", + "source_location": "L94", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_deployche", "community": 20, - "norm_label": "deployche()", - "id": "ci_oci_devworkspace_happy_path_deployche" + "norm_label": "deployche()" }, { "label": "collectCheArtifacts()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L129", + "source_location": "L114", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_collectcheartifacts", "community": 20, - "norm_label": "collectcheartifacts()", - "id": "ci_oci_devworkspace_happy_path_collectcheartifacts" + "norm_label": "collectcheartifacts()" }, { "label": "cleanupFailedChe()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L180", + "source_location": "L165", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_cleanupfailedche", "community": 20, - "norm_label": "cleanupfailedche()", - "id": "ci_oci_devworkspace_happy_path_cleanupfailedche" + "norm_label": "cleanupfailedche()" }, { "label": "deployAndVerifyChe()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L195", + "source_location": "L180", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_deployandverifyche", "community": 20, - "norm_label": "deployandverifyche()", - "id": "ci_oci_devworkspace_happy_path_deployandverifyche" + "norm_label": "deployandverifyche()" }, { "label": "runHappyPathTest()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L247", + "source_location": "L232", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_runhappypathtest", "community": 20, - "norm_label": "runhappypathtest()", - "id": "ci_oci_devworkspace_happy_path_runhappypathtest" + "norm_label": "runhappypathtest()" }, { "label": "recordAttempt()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L274", + "source_location": "L273", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_recordattempt", "community": 20, - "norm_label": "recordattempt()", - "id": "ci_oci_devworkspace_happy_path_recordattempt" + "norm_label": "recordattempt()" }, { "label": "classifyCheFailure()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L280", + "source_location": "L279", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_classifychefailure", "community": 20, - "norm_label": "classifychefailure()", - "id": "ci_oci_devworkspace_happy_path_classifychefailure" + "norm_label": "classifychefailure()" }, { "label": "classifyTestFailure()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L317", + "source_location": "L316", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_classifytestfailure", "community": 20, - "norm_label": "classifytestfailure()", - "id": "ci_oci_devworkspace_happy_path_classifytestfailure" + "norm_label": "classifytestfailure()" }, { "label": "categorizeFailure()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L343", + "source_location": "L342", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_categorizefailure", "community": 20, - "norm_label": "categorizefailure()", - "id": "ci_oci_devworkspace_happy_path_categorizefailure" + "norm_label": "categorizefailure()" }, { "label": "generateReport()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L359", + "source_location": "L358", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_generatereport", "community": 20, - "norm_label": "generatereport()", - "id": "ci_oci_devworkspace_happy_path_generatereport" + "norm_label": "generatereport()" }, { "label": "commentPR()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L462", + "source_location": "L461", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_commentpr", "community": 20, - "norm_label": "commentpr()", - "id": "ci_oci_devworkspace_happy_path_commentpr" + "norm_label": "commentpr()" }, { "label": "main()", "file_type": "code", "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L503", + "source_location": "L502", "metadata": { "language": "bash", "kind": "bash_function" }, "_origin": "ast", + "id": "ci_oci_devworkspace_happy_path_main", "community": 20, - "norm_label": "main()", - "id": "ci_oci_devworkspace_happy_path_main" + "norm_label": "main()" }, { "label": "openshift_e2e.sh", @@ -405,9 +405,9 @@ "kind": "file" }, "_origin": "ast", + "id": "ci_openshift_e2e", "community": 88, - "norm_label": "openshift_e2e.sh", - "id": "ci_openshift_e2e" + "norm_label": "openshift_e2e.sh" }, { "label": "openshift_e2e.sh script", @@ -419,9 +419,9 @@ "kind": "bash_entrypoint" }, "_origin": "ast", + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_openshift_e2e_sh__entry", "community": 88, - "norm_label": "openshift_e2e.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_openshift_e2e_sh__entry" + "norm_label": "openshift_e2e.sh script" }, { "label": "BUMP_LOGS", @@ -433,9 +433,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_bump_logs", "community": 88, - "norm_label": "bump_logs", - "id": "ci_openshift_e2e_bump_logs" + "norm_label": "bump_logs" }, { "label": "bumpLogs()", @@ -447,9 +447,9 @@ "kind": "bash_function" }, "_origin": "ast", + "id": "ci_openshift_e2e_bumplogs", "community": 88, - "norm_label": "bumplogs()", - "id": "ci_openshift_e2e_bumplogs" + "norm_label": "bumplogs()" }, { "label": "CI", @@ -461,9 +461,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_ci", "community": 88, - "norm_label": "ci", - "id": "ci_openshift_e2e_ci" + "norm_label": "ci" }, { "label": "ARTIFACT_DIR", @@ -475,9 +475,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_artifact_dir", "community": 88, - "norm_label": "artifact_dir", - "id": "ci_openshift_e2e_artifact_dir" + "norm_label": "artifact_dir" }, { "label": "NAMESPACE", @@ -489,9 +489,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_namespace", "community": 88, - "norm_label": "namespace", - "id": "ci_openshift_e2e_namespace" + "norm_label": "namespace" }, { "label": "CI_COMPONENT", @@ -503,9 +503,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_ci_component", "community": 88, - "norm_label": "ci_component", - "id": "ci_openshift_e2e_ci_component" + "norm_label": "ci_component" }, { "label": "DWO_IMG", @@ -517,9 +517,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_dwo_img", "community": 88, - "norm_label": "dwo_img", - "id": "ci_openshift_e2e_dwo_img" + "norm_label": "dwo_img" }, { "label": "GIT_COMMITTER_NAME", @@ -531,9 +531,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_git_committer_name", "community": 88, - "norm_label": "git_committer_name", - "id": "ci_openshift_e2e_git_committer_name" + "norm_label": "git_committer_name" }, { "label": "GIT_COMMITTER_EMAIL", @@ -545,9 +545,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_git_committer_email", "community": 88, - "norm_label": "git_committer_email", - "id": "ci_openshift_e2e_git_committer_email" + "norm_label": "git_committer_email" }, { "label": "CLEAN_UP_AFTER_SUITE", @@ -559,9 +559,9 @@ "kind": "code" }, "_origin": "ast", + "id": "ci_openshift_e2e_clean_up_after_suite", "community": 88, - "norm_label": "clean_up_after_suite", - "id": "ci_openshift_e2e_clean_up_after_suite" + "norm_label": "clean_up_after_suite" }, { "label": "graphify.js", @@ -569,9 +569,9 @@ "source_file": ".opencode/plugins/graphify.js", "source_location": "L1", "_origin": "ast", + "id": "plugins_graphify", "community": 247, - "norm_label": "graphify.js", - "id": "plugins_graphify" + "norm_label": "graphify.js" }, { "label": "GraphifyPlugin()", @@ -579,9 +579,9 @@ "source_file": ".opencode/plugins/graphify.js", "source_location": "L6", "_origin": "ast", + "id": "plugins_graphify_graphifyplugin", "community": 247, - "norm_label": "graphifyplugin()", - "id": "plugins_graphify_graphifyplugin" + "norm_label": "graphifyplugin()" }, { "label": "Attributes", @@ -589,9 +589,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L25", "_origin": "ast", + "id": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", "community": 14, - "norm_label": "attributes", - "id": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "norm_label": "attributes" }, { "label": ".MarshalJSON()", @@ -599,9 +599,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L25", "_origin": "ast", + "id": "v1alpha1_attributes_marshaljson", "community": 14, - "norm_label": ".marshaljson()", - "id": "v1alpha1_attributes_marshaljson" + "norm_label": ".marshaljson()" }, { "label": ".UnmarshalJSON()", @@ -609,9 +609,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L31", "_origin": "ast", + "id": "v1alpha1_attributes_unmarshaljson", "community": 14, - "norm_label": ".unmarshaljson()", - "id": "v1alpha1_attributes_unmarshaljson" + "norm_label": ".unmarshaljson()" }, { "label": ".Exists()", @@ -619,9 +619,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L37", "_origin": "ast", + "id": "v1alpha1_attributes_exists", "community": 14, - "norm_label": ".exists()", - "id": "v1alpha1_attributes_exists" + "norm_label": ".exists()" }, { "label": "convertPrimitiveFunc", @@ -629,9 +629,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L42", "_origin": "ast", + "id": "v1alpha1_convertprimitivefunc", "community": 14, - "norm_label": "convertprimitivefunc", - "id": "v1alpha1_convertprimitivefunc" + "norm_label": "convertprimitivefunc" }, { "label": ".getPrimitive()", @@ -639,9 +639,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L44", "_origin": "ast", + "id": "v1alpha1_attributes_getprimitive", "community": 14, - "norm_label": ".getprimitive()", - "id": "v1alpha1_attributes_getprimitive" + "norm_label": ".getprimitive()" }, { "label": ".GetString()", @@ -649,9 +649,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L90", "_origin": "ast", + "id": "v1alpha1_attributes_getstring", "community": 14, - "norm_label": ".getstring()", - "id": "v1alpha1_attributes_getstring" + "norm_label": ".getstring()" }, { "label": ".GetNumber()", @@ -659,9 +659,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L117", "_origin": "ast", + "id": "v1alpha1_attributes_getnumber", "community": 14, - "norm_label": ".getnumber()", - "id": "v1alpha1_attributes_getnumber" + "norm_label": ".getnumber()" }, { "label": ".GetBoolean()", @@ -669,9 +669,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L154", "_origin": "ast", + "id": "v1alpha1_attributes_getboolean", "community": 14, - "norm_label": ".getboolean()", - "id": "v1alpha1_attributes_getboolean" + "norm_label": ".getboolean()" }, { "label": ".Get()", @@ -679,9 +679,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L184", "_origin": "ast", + "id": "v1alpha1_attributes_get", "community": 14, - "norm_label": ".get()", - "id": "v1alpha1_attributes_get" + "norm_label": ".get()" }, { "label": ".GetInto()", @@ -689,9 +689,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L206", "_origin": "ast", + "id": "v1alpha1_attributes_getinto", "community": 14, - "norm_label": ".getinto()", - "id": "v1alpha1_attributes_getinto" + "norm_label": ".getinto()" }, { "label": ".Strings()", @@ -699,9 +699,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L222", "_origin": "ast", + "id": "v1alpha1_attributes_strings", "community": 166, - "norm_label": ".strings()", - "id": "v1alpha1_attributes_strings" + "norm_label": ".strings()" }, { "label": ".Numbers()", @@ -709,9 +709,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L241", "_origin": "ast", + "id": "v1alpha1_attributes_numbers", "community": 14, - "norm_label": ".numbers()", - "id": "v1alpha1_attributes_numbers" + "norm_label": ".numbers()" }, { "label": ".Booleans()", @@ -719,9 +719,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L260", "_origin": "ast", + "id": "v1alpha1_attributes_booleans", "community": 14, - "norm_label": ".booleans()", - "id": "v1alpha1_attributes_booleans" + "norm_label": ".booleans()" }, { "label": ".Into()", @@ -729,9 +729,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L279", "_origin": "ast", + "id": "v1alpha1_attributes_into", "community": 14, - "norm_label": ".into()", - "id": "v1alpha1_attributes_into" + "norm_label": ".into()" }, { "label": ".AsInterface()", @@ -739,9 +739,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L301", "_origin": "ast", + "id": "v1alpha1_attributes_asinterface", "community": 14, - "norm_label": ".asinterface()", - "id": "v1alpha1_attributes_asinterface" + "norm_label": ".asinterface()" }, { "label": ".PutString()", @@ -749,9 +749,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L320", "_origin": "ast", + "id": "v1alpha1_attributes_putstring", "community": 14, - "norm_label": ".putstring()", - "id": "v1alpha1_attributes_putstring" + "norm_label": ".putstring()" }, { "label": ".FromStringMap()", @@ -759,9 +759,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L330", "_origin": "ast", + "id": "v1alpha1_attributes_fromstringmap", "community": 14, - "norm_label": ".fromstringmap()", - "id": "v1alpha1_attributes_fromstringmap" + "norm_label": ".fromstringmap()" }, { "label": ".PutFloat()", @@ -769,9 +769,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L339", "_origin": "ast", + "id": "v1alpha1_attributes_putfloat", "community": 14, - "norm_label": ".putfloat()", - "id": "v1alpha1_attributes_putfloat" + "norm_label": ".putfloat()" }, { "label": ".FromFloatMap()", @@ -779,9 +779,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L349", "_origin": "ast", + "id": "v1alpha1_attributes_fromfloatmap", "community": 14, - "norm_label": ".fromfloatmap()", - "id": "v1alpha1_attributes_fromfloatmap" + "norm_label": ".fromfloatmap()" }, { "label": ".PutInteger()", @@ -789,9 +789,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L358", "_origin": "ast", + "id": "v1alpha1_attributes_putinteger", "community": 14, - "norm_label": ".putinteger()", - "id": "v1alpha1_attributes_putinteger" + "norm_label": ".putinteger()" }, { "label": ".FromIntegerMap()", @@ -799,9 +799,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L368", "_origin": "ast", + "id": "v1alpha1_attributes_fromintegermap", "community": 14, - "norm_label": ".fromintegermap()", - "id": "v1alpha1_attributes_fromintegermap" + "norm_label": ".fromintegermap()" }, { "label": ".PutBoolean()", @@ -809,9 +809,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L380", "_origin": "ast", + "id": "v1alpha1_attributes_putboolean", "community": 14, - "norm_label": ".putboolean()", - "id": "v1alpha1_attributes_putboolean" + "norm_label": ".putboolean()" }, { "label": ".FromBooleanMap()", @@ -819,9 +819,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L390", "_origin": "ast", + "id": "v1alpha1_attributes_frombooleanmap", "community": 14, - "norm_label": ".frombooleanmap()", - "id": "v1alpha1_attributes_frombooleanmap" + "norm_label": ".frombooleanmap()" }, { "label": ".Put()", @@ -829,9 +829,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L408", "_origin": "ast", + "id": "v1alpha1_attributes_put", "community": 14, - "norm_label": ".put()", - "id": "v1alpha1_attributes_put" + "norm_label": ".put()" }, { "label": ".FromMap()", @@ -839,9 +839,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L428", "_origin": "ast", + "id": "v1alpha1_attributes_frommap", "community": 14, - "norm_label": ".frommap()", - "id": "v1alpha1_attributes_frommap" + "norm_label": ".frommap()" }, { "label": ".FromInterface()", @@ -849,9 +849,9 @@ "source_file": "apis/controller/v1alpha1/attributes.go", "source_location": "L448", "_origin": "ast", + "id": "v1alpha1_attributes_frominterface", "community": 14, - "norm_label": ".frominterface()", - "id": "v1alpha1_attributes_frominterface" + "norm_label": ".frominterface()" }, { "label": "common.go", @@ -859,9 +859,9 @@ "source_file": "apis/controller/v1alpha1/common.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_common", "community": 155, - "norm_label": "common.go", - "id": "v1alpha1_common" + "norm_label": "common.go" }, { "label": "PodAdditions", @@ -869,9 +869,9 @@ "source_file": "apis/controller/v1alpha1/common.go", "source_location": "L21", "_origin": "ast", + "id": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", "community": 155, - "norm_label": "podadditions", - "id": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions" + "norm_label": "podadditions" }, { "label": "Container", @@ -879,9 +879,9 @@ "source_file": "apis/controller/v1alpha1/common.go", "source_location": "L36", "_origin": "ast", + "id": "apis_controller_v1alpha1_common_go_container", "community": 155, - "norm_label": "container", - "id": "apis_controller_v1alpha1_common_go_container" + "norm_label": "container" }, { "label": "Volume", @@ -889,9 +889,9 @@ "source_file": "apis/controller/v1alpha1/common.go", "source_location": "L46", "_origin": "ast", + "id": "apis_controller_v1alpha1_common_go_volume", "community": 155, - "norm_label": "volume", - "id": "apis_controller_v1alpha1_common_go_volume" + "norm_label": "volume" }, { "label": "VolumeMount", @@ -899,9 +899,9 @@ "source_file": "apis/controller/v1alpha1/common.go", "source_location": "L51", "_origin": "ast", + "id": "apis_controller_v1alpha1_common_go_volumemount", "community": 155, - "norm_label": "volumemount", - "id": "apis_controller_v1alpha1_common_go_volumemount" + "norm_label": "volumemount" }, { "label": "LocalObjectReference", @@ -909,9 +909,9 @@ "source_file": "apis/controller/v1alpha1/common.go", "source_location": "L56", "_origin": "ast", + "id": "apis_controller_v1alpha1_common_go_localobjectreference", "community": 155, - "norm_label": "localobjectreference", - "id": "apis_controller_v1alpha1_common_go_localobjectreference" + "norm_label": "localobjectreference" }, { "label": "devfile.go", @@ -919,9 +919,9 @@ "source_file": "apis/controller/v1alpha1/devfile.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_devfile", "community": 240, - "norm_label": "devfile.go", - "id": "v1alpha1_devfile" + "norm_label": "devfile.go" }, { "label": "EndpointAttribute", @@ -929,9 +929,9 @@ "source_file": "apis/controller/v1alpha1/devfile.go", "source_location": "L18", "_origin": "ast", + "id": "v1alpha1_endpointattribute", "community": 240, - "norm_label": "endpointattribute", - "id": "v1alpha1_endpointattribute" + "norm_label": "endpointattribute" }, { "label": "EndpointType", @@ -939,9 +939,9 @@ "source_file": "apis/controller/v1alpha1/devfile.go", "source_location": "L19", "_origin": "ast", + "id": "v1alpha1_endpointtype", "community": 240, - "norm_label": "endpointtype", - "id": "v1alpha1_endpointtype" + "norm_label": "endpointtype" }, { "label": "devworkspaceoperatorconfig_types.go", @@ -949,9 +949,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfig_types", "community": 45, - "norm_label": "devworkspaceoperatorconfig_types.go", - "id": "v1alpha1_devworkspaceoperatorconfig_types" + "norm_label": "devworkspaceoperatorconfig_types.go" }, { "label": "OperatorConfiguration", @@ -959,9 +959,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L31", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", "community": 189, - "norm_label": "operatorconfiguration", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration" + "norm_label": "operatorconfiguration" }, { "label": "RoutingConfig", @@ -969,9 +969,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L33", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_routingconfig", "community": 189, - "norm_label": "routingconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_routingconfig" + "norm_label": "routingconfig" }, { "label": "WorkspaceConfig", @@ -979,9 +979,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L36", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_workspaceconfig", "community": 189, - "norm_label": "workspaceconfig", - "id": "workspaceconfig" + "norm_label": "workspaceconfig" }, { "label": "WebhookConfig", @@ -989,9 +989,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L46", "_origin": "ast", + "id": "webhookconfig", "community": 189, - "norm_label": "webhookconfig", - "id": "webhookconfig" + "norm_label": "webhookconfig" }, { "label": "CleanupCronJobConfig", @@ -999,9 +999,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L53", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_cleanupcronjobconfig", "community": 45, - "norm_label": "cleanupcronjobconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_cleanupcronjobconfig" + "norm_label": "cleanupcronjobconfig" }, { "label": "RegistryConfig", @@ -1009,9 +1009,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L76", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_registryconfig", "community": 45, - "norm_label": "registryconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_registryconfig" + "norm_label": "registryconfig" }, { "label": "OrasConfig", @@ -1019,9 +1019,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L93", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_orasconfig", "community": 45, - "norm_label": "orasconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_orasconfig" + "norm_label": "orasconfig" }, { "label": "BackupCronJobConfig", @@ -1029,9 +1029,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L99", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig", "community": 45, - "norm_label": "backupcronjobconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig" + "norm_label": "backupcronjobconfig" }, { "label": "RoutingConfig", @@ -1039,9 +1039,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L123", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig", "community": 201, - "norm_label": "routingconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig" + "norm_label": "routingconfig" }, { "label": "Proxy", @@ -1049,9 +1049,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L144", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_proxy", "community": 201, - "norm_label": "proxy", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_proxy" + "norm_label": "proxy" }, { "label": "ConfigmapReference", @@ -1059,9 +1059,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L147", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_configmapreference", "community": 201, - "norm_label": "configmapreference", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_configmapreference" + "norm_label": "configmapreference" }, { "label": "OverrideConfig", @@ -1069,9 +1069,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L154", "_origin": "ast", - "community": 68, - "norm_label": "overrideconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_overrideconfig" + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_overrideconfig", + "community": 45, + "norm_label": "overrideconfig" }, { "label": "WorkspaceConfig", @@ -1079,9 +1079,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L168", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", "community": 68, - "norm_label": "workspaceconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig" + "norm_label": "workspaceconfig" }, { "label": "ProjectCloneConfig", @@ -1089,9 +1089,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L171", "_origin": "ast", + "id": "projectcloneconfig", "community": 68, - "norm_label": "projectcloneconfig", - "id": "projectcloneconfig" + "norm_label": "projectcloneconfig" }, { "label": "RestoreConfig", @@ -1099,9 +1099,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L174", "_origin": "ast", + "id": "restoreconfig", "community": 68, - "norm_label": "restoreconfig", - "id": "restoreconfig" + "norm_label": "restoreconfig" }, { "label": "DeploymentStrategyType", @@ -1109,9 +1109,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L187", "_origin": "ast", + "id": "deploymentstrategytype", "community": 68, - "norm_label": "deploymentstrategytype", - "id": "deploymentstrategytype" + "norm_label": "deploymentstrategytype" }, { "label": "ServiceAccountConfig", @@ -1119,9 +1119,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L200", "_origin": "ast", + "id": "serviceaccountconfig", "community": 68, - "norm_label": "serviceaccountconfig", - "id": "serviceaccountconfig" + "norm_label": "serviceaccountconfig" }, { "label": "StorageSizes", @@ -1129,9 +1129,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L206", "_origin": "ast", + "id": "storagesizes", "community": 68, - "norm_label": "storagesizes", - "id": "storagesizes" + "norm_label": "storagesizes" }, { "label": "PersistentVolumeAccessMode", @@ -1139,9 +1139,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L209", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_persistentvolumeaccessmode", "community": 68, - "norm_label": "persistentvolumeaccessmode", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_persistentvolumeaccessmode" + "norm_label": "persistentvolumeaccessmode" }, { "label": "PersistentHomeConfig", @@ -1149,9 +1149,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L212", "_origin": "ast", + "id": "persistenthomeconfig", "community": 68, - "norm_label": "persistenthomeconfig", - "id": "persistenthomeconfig" + "norm_label": "persistenthomeconfig" }, { "label": "PodSecurityContext", @@ -1159,9 +1159,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L238", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_podsecuritycontext", "community": 68, - "norm_label": "podsecuritycontext", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_podsecuritycontext" + "norm_label": "podsecuritycontext" }, { "label": "SecurityContext", @@ -1169,9 +1169,9 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L242", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_securitycontext", "community": 68, - "norm_label": "securitycontext", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_securitycontext" + "norm_label": "securitycontext" }, { "label": "DevWorkspaceTemplateSpecContent", @@ -1179,309 +1179,339 @@ "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", "source_location": "L246", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_devworkspacetemplatespeccontent", + "community": 68, + "norm_label": "devworkspacetemplatespeccontent" + }, + { + "label": "PodAffinity", + "file_type": "code", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L252", + "_origin": "ast", + "id": "podaffinity", + "community": 68, + "norm_label": "podaffinity" + }, + { + "label": "PodAntiAffinity", + "file_type": "code", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L255", + "_origin": "ast", + "id": "podantiaffinity", "community": 68, - "norm_label": "devworkspacetemplatespeccontent", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_devworkspacetemplatespeccontent" + "norm_label": "podantiaffinity" + }, + { + "label": "TopologySpreadConstraint", + "file_type": "code", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L258", + "_origin": "ast", + "id": "topologyspreadconstraint", + "community": 68, + "norm_label": "topologyspreadconstraint" }, { "label": "ResourceRequirements", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L254", + "source_location": "L263", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements", "community": 176, - "norm_label": "resourcerequirements", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + "norm_label": "resourcerequirements" }, { "label": "Container", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L285", + "source_location": "L294", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_container", "community": 68, - "norm_label": "container", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_container" + "norm_label": "container" }, { "label": "NetworkPolicyConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L291", + "source_location": "L300", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyconfig", "community": 68, - "norm_label": "networkpolicyconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyconfig" + "norm_label": "networkpolicyconfig" }, { "label": "WebhookConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L294", + "source_location": "L303", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_webhookconfig", "community": 45, - "norm_label": "webhookconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_webhookconfig" + "norm_label": "webhookconfig" }, { "label": "Toleration", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L304", + "source_location": "L313", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_toleration", "community": 45, - "norm_label": "toleration", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_toleration" + "norm_label": "toleration" }, { "label": "PersistentHomeConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L313", + "source_location": "L322", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_persistenthomeconfig", "community": 45, - "norm_label": "persistenthomeconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_persistenthomeconfig" + "norm_label": "persistenthomeconfig" }, { "label": "NetworkPolicyConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L334", + "source_location": "L343", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig", "community": 202, - "norm_label": "networkpolicyconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig" + "norm_label": "networkpolicyconfig" }, { "label": "NetworkPolicyIngressRule", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L354", + "source_location": "L363", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyingressrule", "community": 202, - "norm_label": "networkpolicyingressrule", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyingressrule" + "norm_label": "networkpolicyingressrule" }, { "label": "NetworkPolicyEgressRule", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L361", + "source_location": "L370", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyegressrule", "community": 202, - "norm_label": "networkpolicyegressrule", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyegressrule" + "norm_label": "networkpolicyegressrule" }, { "label": "Proxy", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L364", + "source_location": "L373", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_proxy", "community": 45, - "norm_label": "proxy", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_proxy" + "norm_label": "proxy" }, { "label": "StorageSizes", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L377", + "source_location": "L386", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_storagesizes", "community": 45, - "norm_label": "storagesizes", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_storagesizes" + "norm_label": "storagesizes" }, { "label": "Quantity", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L381", + "source_location": "L390", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_quantity", "community": 45, - "norm_label": "quantity", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_quantity" + "norm_label": "quantity" }, { "label": "ServiceAccountConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L387", + "source_location": "L396", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccountconfig", "community": 45, - "norm_label": "serviceaccountconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccountconfig" + "norm_label": "serviceaccountconfig" }, { "label": "ServiceAccountToken", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L401", + "source_location": "L410", "_origin": "ast", + "id": "serviceaccounttoken", "community": 45, - "norm_label": "serviceaccounttoken", - "id": "serviceaccounttoken" + "norm_label": "serviceaccounttoken" }, { "label": "ServiceAccountToken", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L404", + "source_location": "L413", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccounttoken", "community": 45, - "norm_label": "serviceaccounttoken", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccounttoken" + "norm_label": "serviceaccounttoken" }, { "label": "ProjectCloneConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L436", + "source_location": "L445", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", "community": 176, - "norm_label": "projectcloneconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig" + "norm_label": "projectcloneconfig" }, { "label": "PullPolicy", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L442", + "source_location": "L451", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_pullpolicy", "community": 176, - "norm_label": "pullpolicy", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_pullpolicy" + "norm_label": "pullpolicy" }, { "label": "EnvVar", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L448", + "source_location": "L457", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_envvar", "community": 176, - "norm_label": "envvar", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_envvar" + "norm_label": "envvar" }, { "label": "RestoreConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L451", + "source_location": "L460", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", "community": 176, - "norm_label": "restoreconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig" + "norm_label": "restoreconfig" }, { "label": "ConfigmapReference", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L463", + "source_location": "L472", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_configmapreference", "community": 45, - "norm_label": "configmapreference", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_configmapreference" + "norm_label": "configmapreference" }, { "label": "OperatorConfigurationStatus", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L470", + "source_location": "L479", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus", "community": 129, - "norm_label": "operatorconfigurationstatus", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus" + "norm_label": "operatorconfigurationstatus" }, { "label": "Condition", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L472", + "source_location": "L481", "_origin": "ast", + "id": "condition", "community": 129, - "norm_label": "condition", - "id": "condition" + "norm_label": "condition" }, { "label": "Time", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L475", + "source_location": "L484", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_time", "community": 129, - "norm_label": "time", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_time" + "norm_label": "time" }, { "label": "DevWorkspaceOperatorConfig", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L482", + "source_location": "L491", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", "community": 129, - "norm_label": "devworkspaceoperatorconfig", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig" + "norm_label": "devworkspaceoperatorconfig" }, { "label": "TypeMeta", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L483", + "source_location": "L492", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_typemeta", "community": 129, - "norm_label": "typemeta", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_typemeta" + "norm_label": "typemeta" }, { "label": "ObjectMeta", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L484", + "source_location": "L493", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_objectmeta", "community": 129, - "norm_label": "objectmeta", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_objectmeta" + "norm_label": "objectmeta" }, { "label": "DevWorkspaceOperatorConfigList", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L494", + "source_location": "L503", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", "community": 129, - "norm_label": "devworkspaceoperatorconfiglist", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist" + "norm_label": "devworkspaceoperatorconfiglist" }, { "label": "ListMeta", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L496", + "source_location": "L505", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_listmeta", "community": 129, - "norm_label": "listmeta", - "id": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_listmeta" + "norm_label": "listmeta" }, { "label": "init()", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L500", + "source_location": "L509", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfig_types_init", "community": 45, - "norm_label": "init()", - "id": "v1alpha1_devworkspaceoperatorconfig_types_init" + "norm_label": "init()" }, { "label": ".String()", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L504", + "source_location": "L513", "_origin": "ast", - "community": 15, - "norm_label": ".string()", - "id": "v1alpha1_serviceaccounttoken_string" + "id": "v1alpha1_serviceaccounttoken_string", + "community": 269, + "norm_label": ".string()" }, { "label": "devworkspacerouting_types.go", @@ -1489,9 +1519,9 @@ "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_devworkspacerouting_types", "community": 7, - "norm_label": "devworkspacerouting_types.go", - "id": "v1alpha1_devworkspacerouting_types" + "norm_label": "devworkspacerouting_types.go" }, { "label": "DevWorkspaceRoutingSpec", @@ -1499,9 +1529,9 @@ "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", "source_location": "L25", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec", "community": 7, - "norm_label": "devworkspaceroutingspec", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec" + "norm_label": "devworkspaceroutingspec" }, { "label": "DevWorkspaceRoutingClass", @@ -1509,9 +1539,9 @@ "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", "source_location": "L29", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_devworkspaceroutingclass", "community": 7, - "norm_label": "devworkspaceroutingclass", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_devworkspaceroutingclass" + "norm_label": "devworkspaceroutingclass" }, { "label": "EndpointList", @@ -1519,9 +1549,9 @@ "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", "source_location": "L31", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_endpointlist", "community": 7, - "norm_label": "endpointlist", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_endpointlist" + "norm_label": "endpointlist" }, { "label": "DevWorkspaceRoutingClass", @@ -1529,9 +1559,9 @@ "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", "source_location": "L36", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutingclass", "community": 7, - "norm_label": "devworkspaceroutingclass", - "id": "v1alpha1_devworkspaceroutingclass" + "norm_label": "devworkspaceroutingclass" }, { "label": "DevWorkspaceRoutingStatus", @@ -1539,189 +1569,189 @@ "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", "source_location": "L47", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", "community": 7, - "norm_label": "devworkspaceroutingstatus", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus" + "norm_label": "devworkspaceroutingstatus" }, { "label": "PodAdditions", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L49", + "source_location": "L52", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_podadditions", "community": 7, - "norm_label": "podadditions", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_podadditions" + "norm_label": "podadditions" }, { "label": "ExposedEndpointList", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L51", + "source_location": "L54", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_exposedendpointlist", "community": 7, - "norm_label": "exposedendpointlist", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_exposedendpointlist" + "norm_label": "exposedendpointlist" }, { "label": "DevWorkspaceRoutingPhase", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L53", + "source_location": "L56", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_devworkspaceroutingphase", "community": 7, - "norm_label": "devworkspaceroutingphase", - "id": "devworkspaceroutingphase" + "norm_label": "devworkspaceroutingphase" }, { "label": "DevWorkspaceRoutingPhase", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L59", + "source_location": "L62", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutingphase", "community": 7, - "norm_label": "devworkspaceroutingphase", - "id": "v1alpha1_devworkspaceroutingphase" + "norm_label": "devworkspaceroutingphase" }, { "label": "ExposedEndpoint", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L68", + "source_location": "L71", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpoint", "community": 7, - "norm_label": "exposedendpoint", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpoint" + "norm_label": "exposedendpoint" }, { "label": "Attributes", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L75", + "source_location": "L78", "_origin": "ast", + "id": "attributes", "community": 7, - "norm_label": "attributes", - "id": "attributes" + "norm_label": "attributes" }, { "label": "EndpointList", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L78", + "source_location": "L81", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpointlist", "community": 7, - "norm_label": "endpointlist", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpointlist" + "norm_label": "endpointlist" }, { "label": "ExposedEndpointList", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L80", + "source_location": "L83", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpointlist", "community": 7, - "norm_label": "exposedendpointlist", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpointlist" + "norm_label": "exposedendpointlist" }, { "label": "EndpointExposure", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L85", + "source_location": "L88", "_origin": "ast", + "id": "v1alpha1_endpointexposure", "community": 7, - "norm_label": "endpointexposure", - "id": "v1alpha1_endpointexposure" + "norm_label": "endpointexposure" }, { "label": "EndpointProtocol", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L103", + "source_location": "L106", "_origin": "ast", + "id": "v1alpha1_endpointprotocol", "community": 7, - "norm_label": "endpointprotocol", - "id": "v1alpha1_endpointprotocol" + "norm_label": "endpointprotocol" }, { "label": "Attributes", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L109", + "source_location": "L112", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_attributes", "community": 7, - "norm_label": "attributes", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_attributes" + "norm_label": "attributes" }, { "label": "Endpoint", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L111", + "source_location": "L114", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", "community": 7, - "norm_label": "endpoint", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint" + "norm_label": "endpoint" }, { "label": "DevWorkspaceRouting", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L194", + "source_location": "L197", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", "community": 7, - "norm_label": "devworkspacerouting", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting" + "norm_label": "devworkspacerouting" }, { "label": "TypeMeta", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L195", + "source_location": "L198", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_typemeta", "community": 7, - "norm_label": "typemeta", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_typemeta" + "norm_label": "typemeta" }, { "label": "ObjectMeta", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L196", + "source_location": "L199", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_objectmeta", "community": 7, - "norm_label": "objectmeta", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_objectmeta" + "norm_label": "objectmeta" }, { "label": "DevWorkspaceRoutingList", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L205", + "source_location": "L208", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", "community": 7, - "norm_label": "devworkspaceroutinglist", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist" + "norm_label": "devworkspaceroutinglist" }, { "label": "ListMeta", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L207", + "source_location": "L210", "_origin": "ast", + "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_listmeta", "community": 7, - "norm_label": "listmeta", - "id": "apis_controller_v1alpha1_devworkspacerouting_types_go_listmeta" + "norm_label": "listmeta" }, { "label": "init()", "file_type": "code", "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L211", + "source_location": "L214", "_origin": "ast", + "id": "v1alpha1_devworkspacerouting_types_init", "community": 7, - "norm_label": "init()", - "id": "v1alpha1_devworkspacerouting_types_init" + "norm_label": "init()" }, { "label": "doc.go", @@ -1729,9 +1759,9 @@ "source_file": "apis/controller/v1alpha1/doc.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_doc", "community": 287, - "norm_label": "doc.go", - "id": "v1alpha1_doc" + "norm_label": "doc.go" }, { "label": "errors.go", @@ -1739,9 +1769,9 @@ "source_file": "apis/controller/v1alpha1/errors.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_errors", "community": 203, - "norm_label": "errors.go", - "id": "v1alpha1_errors" + "norm_label": "errors.go" }, { "label": "KeyNotFoundError", @@ -1749,9 +1779,9 @@ "source_file": "apis/controller/v1alpha1/errors.go", "source_location": "L19", "_origin": "ast", + "id": "apis_controller_v1alpha1_errors_go_v1alpha1_keynotfounderror", "community": 203, - "norm_label": "keynotfounderror", - "id": "apis_controller_v1alpha1_errors_go_v1alpha1_keynotfounderror" + "norm_label": "keynotfounderror" }, { "label": ".Error()", @@ -1759,9 +1789,9 @@ "source_file": "apis/controller/v1alpha1/errors.go", "source_location": "L23", "_origin": "ast", + "id": "v1alpha1_keynotfounderror_error", "community": 203, - "norm_label": ".error()", - "id": "v1alpha1_keynotfounderror_error" + "norm_label": ".error()" }, { "label": "groupversion_info.go", @@ -1769,9 +1799,9 @@ "source_file": "apis/controller/v1alpha1/groupversion_info.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_groupversion_info", "community": 288, - "norm_label": "groupversion_info.go", - "id": "v1alpha1_groupversion_info" + "norm_label": "groupversion_info.go" }, { "label": "zz_generated.deepcopy.go", @@ -1779,9 +1809,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L1", "_origin": "ast", + "id": "v1alpha1_zz_generated_deepcopy", "community": 289, - "norm_label": "zz_generated.deepcopy.go", - "id": "v1alpha1_zz_generated_deepcopy" + "norm_label": "zz_generated.deepcopy.go" }, { "label": "Attributes", @@ -1789,9 +1819,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L31", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_attributes", "community": 46, - "norm_label": "attributes", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_attributes" + "norm_label": "attributes" }, { "label": ".DeepCopyInto()", @@ -1799,9 +1829,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L31", "_origin": "ast", + "id": "v1alpha1_attributes_deepcopyinto", "community": 46, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_attributes_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -1809,9 +1839,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L42", "_origin": "ast", + "id": "v1alpha1_attributes_deepcopy", "community": 46, - "norm_label": ".deepcopy()", - "id": "v1alpha1_attributes_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "BackupCronJobConfig", @@ -1819,9 +1849,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L52", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_backupcronjobconfig", "community": 204, - "norm_label": "backupcronjobconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_backupcronjobconfig" + "norm_label": "backupcronjobconfig" }, { "label": ".DeepCopyInto()", @@ -1829,9 +1859,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L52", "_origin": "ast", + "id": "v1alpha1_backupcronjobconfig_deepcopyinto", "community": 204, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_backupcronjobconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -1839,9 +1869,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L77", "_origin": "ast", + "id": "v1alpha1_backupcronjobconfig_deepcopy", "community": 204, - "norm_label": ".deepcopy()", - "id": "v1alpha1_backupcronjobconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "CleanupCronJobConfig", @@ -1849,9 +1879,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L87", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_cleanupcronjobconfig", "community": 205, - "norm_label": "cleanupcronjobconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_cleanupcronjobconfig" + "norm_label": "cleanupcronjobconfig" }, { "label": ".DeepCopyInto()", @@ -1859,9 +1889,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L87", "_origin": "ast", + "id": "v1alpha1_cleanupcronjobconfig_deepcopyinto", "community": 205, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_cleanupcronjobconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -1869,9 +1899,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L107", "_origin": "ast", + "id": "v1alpha1_cleanupcronjobconfig_deepcopy", "community": 205, - "norm_label": ".deepcopy()", - "id": "v1alpha1_cleanupcronjobconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "ConfigmapReference", @@ -1879,9 +1909,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L117", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_configmapreference", "community": 206, - "norm_label": "configmapreference", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_configmapreference" + "norm_label": "configmapreference" }, { "label": ".DeepCopyInto()", @@ -1889,9 +1919,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L117", "_origin": "ast", + "id": "v1alpha1_configmapreference_deepcopyinto", "community": 206, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_configmapreference_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -1899,9 +1929,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L122", "_origin": "ast", + "id": "v1alpha1_configmapreference_deepcopy", "community": 206, - "norm_label": ".deepcopy()", - "id": "v1alpha1_configmapreference_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "DevWorkspaceOperatorConfig", @@ -1909,9 +1939,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L132", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig", "community": 207, - "norm_label": "devworkspaceoperatorconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig" + "norm_label": "devworkspaceoperatorconfig" }, { "label": ".DeepCopyInto()", @@ -1919,9 +1949,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L132", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfig_deepcopyinto", "community": 207, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_devworkspaceoperatorconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -1929,9 +1959,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L149", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfig_deepcopy", "community": 207, - "norm_label": ".deepcopy()", - "id": "v1alpha1_devworkspaceoperatorconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": ".DeepCopyObject()", @@ -1939,9 +1969,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L159", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject", "community": 46, - "norm_label": ".deepcopyobject()", - "id": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject" + "norm_label": ".deepcopyobject()" }, { "label": "Object", @@ -1949,9 +1979,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L159", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object", "community": 46, - "norm_label": "object", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + "norm_label": "object" }, { "label": "DevWorkspaceOperatorConfigList", @@ -1959,9 +1989,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L167", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist", "community": 46, - "norm_label": "devworkspaceoperatorconfiglist", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist" + "norm_label": "devworkspaceoperatorconfiglist" }, { "label": ".DeepCopyInto()", @@ -1969,9 +1999,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L167", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyinto", "community": 46, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -1979,9 +2009,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L181", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfiglist_deepcopy", "community": 46, - "norm_label": ".deepcopy()", - "id": "v1alpha1_devworkspaceoperatorconfiglist_deepcopy" + "norm_label": ".deepcopy()" }, { "label": ".DeepCopyObject()", @@ -1989,9 +2019,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L191", "_origin": "ast", + "id": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject", "community": 46, - "norm_label": ".deepcopyobject()", - "id": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject" + "norm_label": ".deepcopyobject()" }, { "label": "DevWorkspaceRouting", @@ -1999,9 +2029,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L199", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting", "community": 208, - "norm_label": "devworkspacerouting", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting" + "norm_label": "devworkspacerouting" }, { "label": ".DeepCopyInto()", @@ -2009,9 +2039,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L199", "_origin": "ast", + "id": "v1alpha1_devworkspacerouting_deepcopyinto", "community": 208, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_devworkspacerouting_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2019,9 +2049,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L208", "_origin": "ast", + "id": "v1alpha1_devworkspacerouting_deepcopy", "community": 208, - "norm_label": ".deepcopy()", - "id": "v1alpha1_devworkspacerouting_deepcopy" + "norm_label": ".deepcopy()" }, { "label": ".DeepCopyObject()", @@ -2029,9 +2059,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L218", "_origin": "ast", + "id": "v1alpha1_devworkspacerouting_deepcopyobject", "community": 46, - "norm_label": ".deepcopyobject()", - "id": "v1alpha1_devworkspacerouting_deepcopyobject" + "norm_label": ".deepcopyobject()" }, { "label": "DevWorkspaceRoutingList", @@ -2039,9 +2069,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L226", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist", "community": 31, - "norm_label": "devworkspaceroutinglist", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist" + "norm_label": "devworkspaceroutinglist" }, { "label": ".DeepCopyInto()", @@ -2049,9 +2079,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L226", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutinglist_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_devworkspaceroutinglist_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2059,9 +2089,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L240", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutinglist_deepcopy", "community": 31, - "norm_label": ".deepcopy()", - "id": "v1alpha1_devworkspaceroutinglist_deepcopy" + "norm_label": ".deepcopy()" }, { "label": ".DeepCopyObject()", @@ -2069,9 +2099,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L250", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutinglist_deepcopyobject", "community": 46, - "norm_label": ".deepcopyobject()", - "id": "v1alpha1_devworkspaceroutinglist_deepcopyobject" + "norm_label": ".deepcopyobject()" }, { "label": "DevWorkspaceRoutingSpec", @@ -2079,9 +2109,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L258", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingspec", "community": 31, - "norm_label": "devworkspaceroutingspec", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingspec" + "norm_label": "devworkspaceroutingspec" }, { "label": ".DeepCopyInto()", @@ -2089,9 +2119,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L258", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutingspec_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_devworkspaceroutingspec_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2099,9 +2129,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L288", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutingspec_deepcopy", "community": 31, - "norm_label": ".deepcopy()", - "id": "v1alpha1_devworkspaceroutingspec_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "DevWorkspaceRoutingStatus", @@ -2109,9 +2139,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L298", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingstatus", "community": 209, - "norm_label": "devworkspaceroutingstatus", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingstatus" + "norm_label": "devworkspaceroutingstatus" }, { "label": ".DeepCopyInto()", @@ -2119,9 +2149,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L298", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutingstatus_deepcopyinto", "community": 209, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_devworkspaceroutingstatus_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2129,9 +2159,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L326", "_origin": "ast", + "id": "v1alpha1_devworkspaceroutingstatus_deepcopy", "community": 209, - "norm_label": ".deepcopy()", - "id": "v1alpha1_devworkspaceroutingstatus_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "Endpoint", @@ -2139,9 +2169,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L336", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpoint", "community": 210, - "norm_label": "endpoint", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpoint" + "norm_label": "endpoint" }, { "label": ".DeepCopyInto()", @@ -2149,9 +2179,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L336", "_origin": "ast", + "id": "v1alpha1_endpoint_deepcopyinto", "community": 210, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_endpoint_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2159,9 +2189,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L355", "_origin": "ast", + "id": "v1alpha1_endpoint_deepcopy", "community": 210, - "norm_label": ".deepcopy()", - "id": "v1alpha1_endpoint_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "EndpointList", @@ -2169,9 +2199,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L365", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpointlist", "community": 211, - "norm_label": "endpointlist", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpointlist" + "norm_label": "endpointlist" }, { "label": ".DeepCopyInto()", @@ -2179,9 +2209,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L365", "_origin": "ast", + "id": "v1alpha1_endpointlist_deepcopyinto", "community": 211, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_endpointlist_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2189,9 +2219,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L376", "_origin": "ast", + "id": "v1alpha1_endpointlist_deepcopy", "community": 211, - "norm_label": ".deepcopy()", - "id": "v1alpha1_endpointlist_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "ExposedEndpoint", @@ -2199,9 +2229,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L386", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpoint", "community": 212, - "norm_label": "exposedendpoint", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpoint" + "norm_label": "exposedendpoint" }, { "label": ".DeepCopyInto()", @@ -2209,9 +2239,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L386", "_origin": "ast", + "id": "v1alpha1_exposedendpoint_deepcopyinto", "community": 212, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_exposedendpoint_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2219,9 +2249,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L398", "_origin": "ast", + "id": "v1alpha1_exposedendpoint_deepcopy", "community": 212, - "norm_label": ".deepcopy()", - "id": "v1alpha1_exposedendpoint_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "ExposedEndpointList", @@ -2229,9 +2259,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L408", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpointlist", "community": 213, - "norm_label": "exposedendpointlist", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpointlist" + "norm_label": "exposedendpointlist" }, { "label": ".DeepCopyInto()", @@ -2239,9 +2269,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L408", "_origin": "ast", + "id": "v1alpha1_exposedendpointlist_deepcopyinto", "community": 213, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_exposedendpointlist_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2249,9 +2279,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L419", "_origin": "ast", + "id": "v1alpha1_exposedendpointlist_deepcopy", "community": 213, - "norm_label": ".deepcopy()", - "id": "v1alpha1_exposedendpointlist_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "KeyNotFoundError", @@ -2259,9 +2289,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L429", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_keynotfounderror", "community": 214, - "norm_label": "keynotfounderror", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_keynotfounderror" + "norm_label": "keynotfounderror" }, { "label": ".DeepCopyInto()", @@ -2269,9 +2299,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L429", "_origin": "ast", + "id": "v1alpha1_keynotfounderror_deepcopyinto", "community": 214, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_keynotfounderror_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2279,9 +2309,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L434", "_origin": "ast", + "id": "v1alpha1_keynotfounderror_deepcopy", "community": 214, - "norm_label": ".deepcopy()", - "id": "v1alpha1_keynotfounderror_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "NetworkPolicyConfig", @@ -2289,9 +2319,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L444", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_networkpolicyconfig", "community": 215, - "norm_label": "networkpolicyconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_networkpolicyconfig" + "norm_label": "networkpolicyconfig" }, { "label": ".DeepCopyInto()", @@ -2299,9 +2329,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L444", "_origin": "ast", + "id": "v1alpha1_networkpolicyconfig_deepcopyinto", "community": 215, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_networkpolicyconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2309,9 +2339,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L468", "_origin": "ast", + "id": "v1alpha1_networkpolicyconfig_deepcopy", "community": 215, - "norm_label": ".deepcopy()", - "id": "v1alpha1_networkpolicyconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "OperatorConfiguration", @@ -2319,9 +2349,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L478", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfiguration", "community": 216, - "norm_label": "operatorconfiguration", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfiguration" + "norm_label": "operatorconfiguration" }, { "label": ".DeepCopyInto()", @@ -2329,9 +2359,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L478", "_origin": "ast", + "id": "v1alpha1_operatorconfiguration_deepcopyinto", "community": 216, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_operatorconfiguration_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2339,9 +2369,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L503", "_origin": "ast", + "id": "v1alpha1_operatorconfiguration_deepcopy", "community": 216, - "norm_label": ".deepcopy()", - "id": "v1alpha1_operatorconfiguration_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "OperatorConfigurationStatus", @@ -2349,9 +2379,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L513", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfigurationstatus", "community": 31, - "norm_label": "operatorconfigurationstatus", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfigurationstatus" + "norm_label": "operatorconfigurationstatus" }, { "label": ".DeepCopyInto()", @@ -2359,9 +2389,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L513", "_origin": "ast", + "id": "v1alpha1_operatorconfigurationstatus_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_operatorconfigurationstatus_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2369,9 +2399,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L529", "_origin": "ast", + "id": "v1alpha1_operatorconfigurationstatus_deepcopy", "community": 31, - "norm_label": ".deepcopy()", - "id": "v1alpha1_operatorconfigurationstatus_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "OrasConfig", @@ -2379,9 +2409,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L539", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_orasconfig", "community": 217, - "norm_label": "orasconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_orasconfig" + "norm_label": "orasconfig" }, { "label": ".DeepCopyInto()", @@ -2389,9 +2419,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L539", "_origin": "ast", + "id": "v1alpha1_orasconfig_deepcopyinto", "community": 217, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_orasconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2399,9 +2429,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L544", "_origin": "ast", + "id": "v1alpha1_orasconfig_deepcopy", "community": 217, - "norm_label": ".deepcopy()", - "id": "v1alpha1_orasconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "OverrideConfig", @@ -2409,9 +2439,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L554", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_overrideconfig", "community": 218, - "norm_label": "overrideconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_overrideconfig" + "norm_label": "overrideconfig" }, { "label": ".DeepCopyInto()", @@ -2419,9 +2449,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L554", "_origin": "ast", + "id": "v1alpha1_overrideconfig_deepcopyinto", "community": 218, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_overrideconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2429,9 +2459,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L569", "_origin": "ast", + "id": "v1alpha1_overrideconfig_deepcopy", "community": 218, - "norm_label": ".deepcopy()", - "id": "v1alpha1_overrideconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "PersistentHomeConfig", @@ -2439,9 +2469,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L579", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_persistenthomeconfig", "community": 219, - "norm_label": "persistenthomeconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_persistenthomeconfig" + "norm_label": "persistenthomeconfig" }, { "label": ".DeepCopyInto()", @@ -2449,9 +2479,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L579", "_origin": "ast", + "id": "v1alpha1_persistenthomeconfig_deepcopyinto", "community": 219, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_persistenthomeconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2459,9 +2489,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L594", "_origin": "ast", + "id": "v1alpha1_persistenthomeconfig_deepcopy", "community": 219, - "norm_label": ".deepcopy()", - "id": "v1alpha1_persistenthomeconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "PodAdditions", @@ -2469,9 +2499,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L604", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_podadditions", "community": 31, - "norm_label": "podadditions", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_podadditions" + "norm_label": "podadditions" }, { "label": ".DeepCopyInto()", @@ -2479,9 +2509,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L604", "_origin": "ast", + "id": "v1alpha1_podadditions_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_podadditions_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2489,9 +2519,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L663", "_origin": "ast", + "id": "v1alpha1_podadditions_deepcopy", "community": 31, - "norm_label": ".deepcopy()", - "id": "v1alpha1_podadditions_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "ProjectCloneConfig", @@ -2499,9 +2529,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L673", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_projectcloneconfig", "community": 31, - "norm_label": "projectcloneconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_projectcloneconfig" + "norm_label": "projectcloneconfig" }, { "label": ".DeepCopyInto()", @@ -2509,9 +2539,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L673", "_origin": "ast", + "id": "v1alpha1_projectcloneconfig_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_projectcloneconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2519,9 +2549,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L690", "_origin": "ast", + "id": "v1alpha1_projectcloneconfig_deepcopy", "community": 31, - "norm_label": ".deepcopy()", - "id": "v1alpha1_projectcloneconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "Proxy", @@ -2529,9 +2559,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L700", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_proxy", "community": 220, - "norm_label": "proxy", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_proxy" + "norm_label": "proxy" }, { "label": ".DeepCopyInto()", @@ -2539,9 +2569,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L700", "_origin": "ast", + "id": "v1alpha1_proxy_deepcopyinto", "community": 220, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_proxy_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2549,9 +2579,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L720", "_origin": "ast", + "id": "v1alpha1_proxy_deepcopy", "community": 220, - "norm_label": ".deepcopy()", - "id": "v1alpha1_proxy_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "RegistryConfig", @@ -2559,9 +2589,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L730", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_registryconfig", "community": 221, - "norm_label": "registryconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_registryconfig" + "norm_label": "registryconfig" }, { "label": ".DeepCopyInto()", @@ -2569,9 +2599,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L730", "_origin": "ast", + "id": "v1alpha1_registryconfig_deepcopyinto", "community": 221, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_registryconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2579,9 +2609,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L735", "_origin": "ast", + "id": "v1alpha1_registryconfig_deepcopy", "community": 221, - "norm_label": ".deepcopy()", - "id": "v1alpha1_registryconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "RestoreConfig", @@ -2589,9 +2619,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L745", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_restoreconfig", "community": 222, - "norm_label": "restoreconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_restoreconfig" + "norm_label": "restoreconfig" }, { "label": ".DeepCopyInto()", @@ -2599,9 +2629,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L745", "_origin": "ast", + "id": "v1alpha1_restoreconfig_deepcopyinto", "community": 222, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_restoreconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2609,9 +2639,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L762", "_origin": "ast", + "id": "v1alpha1_restoreconfig_deepcopy", "community": 222, - "norm_label": ".deepcopy()", - "id": "v1alpha1_restoreconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "RoutingConfig", @@ -2619,9 +2649,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L772", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_routingconfig", "community": 223, - "norm_label": "routingconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_routingconfig" + "norm_label": "routingconfig" }, { "label": ".DeepCopyInto()", @@ -2629,9 +2659,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L772", "_origin": "ast", + "id": "v1alpha1_routingconfig_deepcopyinto", "community": 223, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_routingconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2639,9 +2669,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L787", "_origin": "ast", + "id": "v1alpha1_routingconfig_deepcopy", "community": 223, - "norm_label": ".deepcopy()", - "id": "v1alpha1_routingconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "ServiceAccountConfig", @@ -2649,9 +2679,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L797", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccountconfig", "community": 224, - "norm_label": "serviceaccountconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccountconfig" + "norm_label": "serviceaccountconfig" }, { "label": ".DeepCopyInto()", @@ -2659,9 +2689,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L797", "_origin": "ast", + "id": "v1alpha1_serviceaccountconfig_deepcopyinto", "community": 224, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_serviceaccountconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2669,9 +2699,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L812", "_origin": "ast", + "id": "v1alpha1_serviceaccountconfig_deepcopy", "community": 224, - "norm_label": ".deepcopy()", - "id": "v1alpha1_serviceaccountconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "ServiceAccountToken", @@ -2679,9 +2709,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L822", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccounttoken", "community": 225, - "norm_label": "serviceaccounttoken", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccounttoken" + "norm_label": "serviceaccounttoken" }, { "label": ".DeepCopyInto()", @@ -2689,9 +2719,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L822", "_origin": "ast", + "id": "v1alpha1_serviceaccounttoken_deepcopyinto", "community": 225, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_serviceaccounttoken_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2699,9 +2729,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L827", "_origin": "ast", + "id": "v1alpha1_serviceaccounttoken_deepcopy", "community": 225, - "norm_label": ".deepcopy()", - "id": "v1alpha1_serviceaccounttoken_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "StorageSizes", @@ -2709,9 +2739,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L837", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_storagesizes", "community": 46, - "norm_label": "storagesizes", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_storagesizes" + "norm_label": "storagesizes" }, { "label": ".DeepCopyInto()", @@ -2719,9 +2749,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L837", "_origin": "ast", + "id": "v1alpha1_storagesizes_deepcopyinto", "community": 46, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_storagesizes_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2729,9 +2759,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L852", "_origin": "ast", + "id": "v1alpha1_storagesizes_deepcopy", "community": 46, - "norm_label": ".deepcopy()", - "id": "v1alpha1_storagesizes_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "WebhookConfig", @@ -2739,9 +2769,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L862", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_webhookconfig", "community": 31, - "norm_label": "webhookconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_webhookconfig" + "norm_label": "webhookconfig" }, { "label": ".DeepCopyInto()", @@ -2749,9 +2779,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L862", "_origin": "ast", + "id": "v1alpha1_webhookconfig_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_webhookconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", @@ -2759,9 +2789,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L886", "_origin": "ast", + "id": "v1alpha1_webhookconfig_deepcopy", "community": 31, - "norm_label": ".deepcopy()", - "id": "v1alpha1_webhookconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "WorkspaceConfig", @@ -2769,9 +2799,9 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L896", "_origin": "ast", + "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_workspaceconfig", "community": 46, - "norm_label": "workspaceconfig", - "id": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_workspaceconfig" + "norm_label": "workspaceconfig" }, { "label": ".DeepCopyInto()", @@ -2779,19 +2809,19 @@ "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", "source_location": "L896", "_origin": "ast", + "id": "v1alpha1_workspaceconfig_deepcopyinto", "community": 31, - "norm_label": ".deepcopyinto()", - "id": "v1alpha1_workspaceconfig_deepcopyinto" + "norm_label": ".deepcopyinto()" }, { "label": ".DeepCopy()", "file_type": "code", "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L1015", + "source_location": "L1032", "_origin": "ast", + "id": "v1alpha1_workspaceconfig_deepcopy", "community": 46, - "norm_label": ".deepcopy()", - "id": "v1alpha1_workspaceconfig_deepcopy" + "norm_label": ".deepcopy()" }, { "label": "backupcronjob_controller.go", @@ -2799,249 +2829,259 @@ "source_file": "controllers/backupcronjob/backupcronjob_controller.go", "source_location": "L1", "_origin": "ast", - "community": 2, - "norm_label": "backupcronjob_controller.go", - "id": "backupcronjob_backupcronjob_controller" + "id": "backupcronjob_backupcronjob_controller", + "community": 95, + "norm_label": "backupcronjob_controller.go" }, { "label": "BackupCronJobReconciler", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L53", + "source_location": "L55", "_origin": "ast", - "community": 2, - "norm_label": "backupcronjobreconciler", - "id": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler" + "id": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "community": 95, + "norm_label": "backupcronjobreconciler" }, { "label": "Client", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L54", + "source_location": "L56", "_origin": "ast", - "community": 2, - "norm_label": "client", - "id": "controllers_backupcronjob_backupcronjob_controller_go_client" + "id": "controllers_backupcronjob_backupcronjob_controller_go_client", + "community": 95, + "norm_label": "client" }, { "label": "Logger", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L56", + "source_location": "L58", "_origin": "ast", - "community": 2, - "norm_label": "logger", - "id": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "id": "controllers_backupcronjob_backupcronjob_controller_go_logger", + "community": 95, + "norm_label": "logger" }, { "label": "Scheme", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L57", + "source_location": "L59", "_origin": "ast", - "community": 2, - "norm_label": "scheme", - "id": "controllers_backupcronjob_backupcronjob_controller_go_scheme" + "id": "controllers_backupcronjob_backupcronjob_controller_go_scheme", + "community": 95, + "norm_label": "scheme" }, { "label": "Cron", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L59", + "source_location": "L61", "_origin": "ast", - "community": 2, - "norm_label": "cron", - "id": "controllers_backupcronjob_backupcronjob_controller_go_cron" + "id": "controllers_backupcronjob_backupcronjob_controller_go_cron", + "community": 95, + "norm_label": "cron" }, { "label": "shouldReconcileOnUpdate()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L64", + "source_location": "L66", "_origin": "ast", - "community": 2, - "norm_label": "shouldreconcileonupdate()", - "id": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate" + "id": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate", + "community": 95, + "norm_label": "shouldreconcileonupdate()" }, { "label": "UpdateEvent", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L64", + "source_location": "L66", "_origin": "ast", - "community": 2, - "norm_label": "updateevent", - "id": "controllers_backupcronjob_backupcronjob_controller_go_updateevent" + "id": "controllers_backupcronjob_backupcronjob_controller_go_updateevent", + "community": 95, + "norm_label": "updateevent" }, { "label": ".SetupWithManager()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L82", + "source_location": "L84", "_origin": "ast", - "community": 2, - "norm_label": ".setupwithmanager()", - "id": "backupcronjob_backupcronjobreconciler_setupwithmanager" + "id": "backupcronjob_backupcronjobreconciler_setupwithmanager", + "community": 95, + "norm_label": ".setupwithmanager()" }, { "label": "Manager", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L82", + "source_location": "L84", "_origin": "ast", - "community": 2, - "norm_label": "manager", - "id": "controllers_backupcronjob_backupcronjob_controller_go_manager" + "id": "controllers_backupcronjob_backupcronjob_controller_go_manager", + "community": 95, + "norm_label": "manager" }, { "label": ".Reconcile()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_location": "L150", "_origin": "ast", - "community": 2, - "norm_label": ".reconcile()", - "id": "backupcronjob_backupcronjobreconciler_reconcile" + "id": "backupcronjob_backupcronjobreconciler_reconcile", + "community": 95, + "norm_label": ".reconcile()" }, { "label": "Context", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_location": "L150", "_origin": "ast", - "community": 2, - "norm_label": "context", - "id": "controllers_backupcronjob_backupcronjob_controller_go_context" + "id": "controllers_backupcronjob_backupcronjob_controller_go_context", + "community": 95, + "norm_label": "context" }, { "label": "Request", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_location": "L150", "_origin": "ast", - "community": 2, - "norm_label": "request", - "id": "controllers_backupcronjob_backupcronjob_controller_go_request" + "id": "controllers_backupcronjob_backupcronjob_controller_go_request", + "community": 95, + "norm_label": "request" }, { "label": "Result", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_location": "L150", "_origin": "ast", - "community": 2, - "norm_label": "result", - "id": "controllers_backupcronjob_backupcronjob_controller_go_result" + "id": "controllers_backupcronjob_backupcronjob_controller_go_result", + "community": 95, + "norm_label": "result" }, { "label": ".isBackupEnabled()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L173", + "source_location": "L175", "_origin": "ast", - "community": 2, - "norm_label": ".isbackupenabled()", - "id": "backupcronjob_backupcronjobreconciler_isbackupenabled" + "id": "backupcronjob_backupcronjobreconciler_isbackupenabled", + "community": 95, + "norm_label": ".isbackupenabled()" }, { "label": "DevWorkspaceOperatorConfig", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L173", + "source_location": "L175", "_origin": "ast", - "community": 2, - "norm_label": "devworkspaceoperatorconfig", - "id": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + "id": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig", + "community": 95, + "norm_label": "devworkspaceoperatorconfig" }, { "label": ".startCron()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L183", + "source_location": "L185", "_origin": "ast", - "community": 2, - "norm_label": ".startcron()", - "id": "backupcronjob_backupcronjobreconciler_startcron" + "id": "backupcronjob_backupcronjobreconciler_startcron", + "community": 95, + "norm_label": ".startcron()" }, { "label": ".stopCron()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L214", + "source_location": "L216", "_origin": "ast", - "community": 2, - "norm_label": ".stopcron()", - "id": "backupcronjob_backupcronjobreconciler_stopcron" + "id": "backupcronjob_backupcronjobreconciler_stopcron", + "community": 95, + "norm_label": ".stopcron()" }, { "label": ".executeBackupSync()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L231", + "source_location": "L233", "_origin": "ast", - "community": 2, - "norm_label": ".executebackupsync()", - "id": "backupcronjob_backupcronjobreconciler_executebackupsync" + "id": "backupcronjob_backupcronjobreconciler_executebackupsync", + "community": 95, + "norm_label": ".executebackupsync()" }, { "label": ".wasStoppedSinceLastBackup()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_location": "L290", "_origin": "ast", - "community": 2, - "norm_label": ".wasstoppedsincelastbackup()", - "id": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup" + "id": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", + "community": 95, + "norm_label": ".wasstoppedsincelastbackup()" }, { "label": "DevWorkspace", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_location": "L290", "_origin": "ast", - "community": 2, - "norm_label": "devworkspace", - "id": "controllers_backupcronjob_backupcronjob_controller_go_devworkspace" + "id": "controllers_backupcronjob_backupcronjob_controller_go_devworkspace", + "community": 95, + "norm_label": "devworkspace" }, { "label": "Time", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_location": "L290", "_origin": "ast", - "community": 2, - "norm_label": "time", - "id": "controllers_backupcronjob_backupcronjob_controller_go_time" + "id": "controllers_backupcronjob_backupcronjob_controller_go_time", + "community": 95, + "norm_label": "time" }, { "label": ".createBackupJob()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L344", + "source_location": "L352", "_origin": "ast", - "community": 2, - "norm_label": ".createbackupjob()", - "id": "backupcronjob_backupcronjobreconciler_createbackupjob" + "id": "backupcronjob_backupcronjobreconciler_createbackupjob", + "community": 95, + "norm_label": ".createbackupjob()" + }, + { + "label": "OperatorConfiguration", + "file_type": "code", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L352", + "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_controller_go_operatorconfiguration", + "community": 95, + "norm_label": "operatorconfiguration" }, { "label": "getImagePullPolicy()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L504", + "source_location": "L528", "_origin": "ast", - "community": 2, - "norm_label": "getimagepullpolicy()", - "id": "backupcronjob_backupcronjob_controller_getimagepullpolicy" + "id": "backupcronjob_backupcronjob_controller_getimagepullpolicy", + "community": 95, + "norm_label": "getimagepullpolicy()" }, { "label": "PullPolicy", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L504", + "source_location": "L528", "_origin": "ast", - "community": 2, - "norm_label": "pullpolicy", - "id": "controllers_backupcronjob_backupcronjob_controller_go_pullpolicy" + "id": "controllers_backupcronjob_backupcronjob_controller_go_pullpolicy", + "community": 95, + "norm_label": "pullpolicy" }, { "label": "backupcronjob_controller_test.go", @@ -3049,59 +3089,59 @@ "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", "source_location": "L1", "_origin": "ast", + "id": "backupcronjob_backupcronjob_controller_test", "community": 156, - "norm_label": "backupcronjob_controller_test.go", - "id": "backupcronjob_backupcronjob_controller_test" + "norm_label": "backupcronjob_controller_test.go" }, { "label": "createDevWorkspace()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1261", + "source_location": "L1392", "_origin": "ast", + "id": "backupcronjob_backupcronjob_controller_test_createdevworkspace", "community": 156, - "norm_label": "createdevworkspace()", - "id": "backupcronjob_backupcronjob_controller_test_createdevworkspace" + "norm_label": "createdevworkspace()" }, { "label": "Time", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1261", + "source_location": "L1392", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_controller_test_go_time", "community": 156, - "norm_label": "time", - "id": "controllers_backupcronjob_backupcronjob_controller_test_go_time" + "norm_label": "time" }, { "label": "DevWorkspace", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1261", + "source_location": "L1392", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_controller_test_go_devworkspace", "community": 156, - "norm_label": "devworkspace", - "id": "controllers_backupcronjob_backupcronjob_controller_test_go_devworkspace" + "norm_label": "devworkspace" }, { "label": "createAuthSecret()", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1315", + "source_location": "L1449", "_origin": "ast", + "id": "backupcronjob_backupcronjob_controller_test_createauthsecret", "community": 156, - "norm_label": "createauthsecret()", - "id": "backupcronjob_backupcronjob_controller_test_createauthsecret" + "norm_label": "createauthsecret()" }, { "label": "Secret", "file_type": "code", "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1315", + "source_location": "L1449", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_controller_test_go_secret", "community": 156, - "norm_label": "secret", - "id": "controllers_backupcronjob_backupcronjob_controller_test_go_secret" + "norm_label": "secret" }, { "label": "backupcronjob_handler.go", @@ -3109,9 +3149,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L1", "_origin": "ast", + "id": "backupcronjob_backupcronjob_handler", "community": 255, - "norm_label": "backupcronjob_handler.go", - "id": "backupcronjob_backupcronjob_handler" + "norm_label": "backupcronjob_handler.go" }, { "label": "BackupCronJobReconciler", @@ -3119,9 +3159,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L36", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", "community": 77, - "norm_label": "backupcronjobreconciler", - "id": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler" + "norm_label": "backupcronjobreconciler" }, { "label": ".getBackupJobPredicate()", @@ -3129,9 +3169,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L36", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_getbackupjobpredicate", "community": 77, - "norm_label": ".getbackupjobpredicate()", - "id": "backupcronjob_backupcronjobreconciler_getbackupjobpredicate" + "norm_label": ".getbackupjobpredicate()" }, { "label": "Funcs", @@ -3139,9 +3179,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L36", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_handler_go_funcs", "community": 77, - "norm_label": "funcs", - "id": "controllers_backupcronjob_backupcronjob_handler_go_funcs" + "norm_label": "funcs" }, { "label": ".getBackupJobEventHandler()", @@ -3149,9 +3189,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L54", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler", "community": 77, - "norm_label": ".getbackupjobeventhandler()", - "id": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler" + "norm_label": ".getbackupjobeventhandler()" }, { "label": "EventHandler", @@ -3159,9 +3199,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L54", "_origin": "ast", + "id": "eventhandler", "community": 77, - "norm_label": "eventhandler", - "id": "eventhandler" + "norm_label": "eventhandler" }, { "label": ".handleBackupJobStatus()", @@ -3169,9 +3209,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L71", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", "community": 77, - "norm_label": ".handlebackupjobstatus()", - "id": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus" + "norm_label": ".handlebackupjobstatus()" }, { "label": "Context", @@ -3179,9 +3219,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L71", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_handler_go_context", "community": 77, - "norm_label": "context", - "id": "controllers_backupcronjob_backupcronjob_handler_go_context" + "norm_label": "context" }, { "label": "Job", @@ -3189,9 +3229,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L71", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_handler_go_job", "community": 77, - "norm_label": "job", - "id": "controllers_backupcronjob_backupcronjob_handler_go_job" + "norm_label": "job" }, { "label": ".recordBackupSuccess()", @@ -3199,9 +3239,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L97", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", "community": 77, - "norm_label": ".recordbackupsuccess()", - "id": "backupcronjob_backupcronjobreconciler_recordbackupsuccess" + "norm_label": ".recordbackupsuccess()" }, { "label": "DevWorkspace", @@ -3209,9 +3249,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L97", "_origin": "ast", + "id": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace", "community": 77, - "norm_label": "devworkspace", - "id": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + "norm_label": "devworkspace" }, { "label": "JobCondition", @@ -3219,9 +3259,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L97", "_origin": "ast", + "id": "jobcondition", "community": 77, - "norm_label": "jobcondition", - "id": "jobcondition" + "norm_label": "jobcondition" }, { "label": ".recordBackupFailure()", @@ -3229,9 +3269,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L115", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_recordbackupfailure", "community": 77, - "norm_label": ".recordbackupfailure()", - "id": "backupcronjob_backupcronjobreconciler_recordbackupfailure" + "norm_label": ".recordbackupfailure()" }, { "label": ".getWorkspaceFromJob()", @@ -3239,9 +3279,9 @@ "source_file": "controllers/backupcronjob/backupcronjob_handler.go", "source_location": "L140", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", "community": 77, - "norm_label": ".getworkspacefromjob()", - "id": "backupcronjob_backupcronjobreconciler_getworkspacefromjob" + "norm_label": ".getworkspacefromjob()" }, { "label": "rbac.go", @@ -3249,9 +3289,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L1", "_origin": "ast", + "id": "backupcronjob_rbac", "community": 256, - "norm_label": "rbac.go", - "id": "backupcronjob_rbac" + "norm_label": "rbac.go" }, { "label": "BackupCronJobReconciler", @@ -3259,9 +3299,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L39", "_origin": "ast", + "id": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", "community": 131, - "norm_label": "backupcronjobreconciler", - "id": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler" + "norm_label": "backupcronjobreconciler" }, { "label": ".ensureJobRunnerRBAC()", @@ -3269,9 +3309,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L39", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", "community": 131, - "norm_label": ".ensurejobrunnerrbac()", - "id": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac" + "norm_label": ".ensurejobrunnerrbac()" }, { "label": "Context", @@ -3279,9 +3319,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L39", "_origin": "ast", + "id": "controllers_backupcronjob_rbac_go_context", "community": 131, - "norm_label": "context", - "id": "controllers_backupcronjob_rbac_go_context" + "norm_label": "context" }, { "label": "DevWorkspace", @@ -3289,9 +3329,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L39", "_origin": "ast", + "id": "controllers_backupcronjob_rbac_go_devworkspace", "community": 131, - "norm_label": "devworkspace", - "id": "controllers_backupcronjob_rbac_go_devworkspace" + "norm_label": "devworkspace" }, { "label": ".ensureImagePushRoleBinding()", @@ -3299,9 +3339,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L83", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", "community": 131, - "norm_label": ".ensureimagepushrolebinding()", - "id": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding" + "norm_label": ".ensureimagepushrolebinding()" }, { "label": "ClusterAPI", @@ -3309,9 +3349,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L83", "_origin": "ast", + "id": "controllers_backupcronjob_rbac_go_clusterapi", "community": 131, - "norm_label": "clusterapi", - "id": "controllers_backupcronjob_rbac_go_clusterapi" + "norm_label": "clusterapi" }, { "label": ".ensureImageStreamForBackup()", @@ -3319,9 +3359,9 @@ "source_file": "controllers/backupcronjob/rbac.go", "source_location": "L128", "_origin": "ast", + "id": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", "community": 131, - "norm_label": ".ensureimagestreamforbackup()", - "id": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup" + "norm_label": ".ensureimagestreamforbackup()" }, { "label": "rbac_test.go", @@ -3329,9 +3369,9 @@ "source_file": "controllers/backupcronjob/rbac_test.go", "source_location": "L1", "_origin": "ast", + "id": "backupcronjob_rbac_test", "community": 227, - "norm_label": "rbac_test.go", - "id": "backupcronjob_rbac_test" + "norm_label": "rbac_test.go" }, { "label": "createTestDevWorkspace()", @@ -3339,9 +3379,9 @@ "source_file": "controllers/backupcronjob/rbac_test.go", "source_location": "L42", "_origin": "ast", + "id": "backupcronjob_rbac_test_createtestdevworkspace", "community": 227, - "norm_label": "createtestdevworkspace()", - "id": "backupcronjob_rbac_test_createtestdevworkspace" + "norm_label": "createtestdevworkspace()" }, { "label": "DevWorkspace", @@ -3349,9 +3389,9 @@ "source_file": "controllers/backupcronjob/rbac_test.go", "source_location": "L42", "_origin": "ast", + "id": "controllers_backupcronjob_rbac_test_go_devworkspace", "community": 227, - "norm_label": "devworkspace", - "id": "controllers_backupcronjob_rbac_test_go_devworkspace" + "norm_label": "devworkspace" }, { "label": "suite_test.go", @@ -3359,9 +3399,9 @@ "source_file": "controllers/backupcronjob/suite_test.go", "source_location": "L1", "_origin": "ast", + "id": "backupcronjob_suite_test", "community": 228, - "norm_label": "suite_test.go", - "id": "backupcronjob_suite_test" + "norm_label": "suite_test.go" }, { "label": "TestBackupCronJob()", @@ -3369,9 +3409,9 @@ "source_file": "controllers/backupcronjob/suite_test.go", "source_location": "L25", "_origin": "ast", + "id": "backupcronjob_suite_test_testbackupcronjob", "community": 228, - "norm_label": "testbackupcronjob()", - "id": "backupcronjob_suite_test_testbackupcronjob" + "norm_label": "testbackupcronjob()" }, { "label": "T", @@ -3379,9 +3419,9 @@ "source_file": "controllers/backupcronjob/suite_test.go", "source_location": "L25", "_origin": "ast", + "id": "controllers_backupcronjob_suite_test_go_t", "community": 228, - "norm_label": "t", - "id": "controllers_backupcronjob_suite_test_go_t" + "norm_label": "t" }, { "label": "cleanupcronjob_controller.go", @@ -3389,9 +3429,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L1", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjob_controller", "community": 17, - "norm_label": "cleanupcronjob_controller.go", - "id": "cleanupcronjob_cleanupcronjob_controller" + "norm_label": "cleanupcronjob_controller.go" }, { "label": "CleanupCronJobReconciler", @@ -3399,9 +3439,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L48", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler", "community": 17, - "norm_label": "cleanupcronjobreconciler", - "id": "cleanupcronjob_cleanupcronjobreconciler" + "norm_label": "cleanupcronjobreconciler" }, { "label": "Client", @@ -3409,9 +3449,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L49", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_client", "community": 17, - "norm_label": "client", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_client" + "norm_label": "client" }, { "label": "Logger", @@ -3419,9 +3459,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L50", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger", "community": 17, - "norm_label": "logger", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "norm_label": "logger" }, { "label": "Scheme", @@ -3429,9 +3469,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L51", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_scheme", "community": 17, - "norm_label": "scheme", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_scheme" + "norm_label": "scheme" }, { "label": "Cron", @@ -3439,9 +3479,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L53", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_cron", "community": 17, - "norm_label": "cron", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_cron" + "norm_label": "cron" }, { "label": "shouldReconcileOnUpdate()", @@ -3449,9 +3489,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L56", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate", "community": 17, - "norm_label": "shouldreconcileonupdate()", - "id": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate" + "norm_label": "shouldreconcileonupdate()" }, { "label": "UpdateEvent", @@ -3459,9 +3499,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L56", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_updateevent", "community": 17, - "norm_label": "updateevent", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_updateevent" + "norm_label": "updateevent" }, { "label": ".SetupWithManager()", @@ -3469,9 +3509,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L110", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", "community": 17, - "norm_label": ".setupwithmanager()", - "id": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager" + "norm_label": ".setupwithmanager()" }, { "label": "Manager", @@ -3479,9 +3519,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L110", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_manager", "community": 17, - "norm_label": "manager", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_manager" + "norm_label": "manager" }, { "label": ".Reconcile()", @@ -3489,9 +3529,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L158", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_reconcile", "community": 17, - "norm_label": ".reconcile()", - "id": "cleanupcronjob_cleanupcronjobreconciler_reconcile" + "norm_label": ".reconcile()" }, { "label": "Context", @@ -3499,9 +3539,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L158", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context", "community": 17, - "norm_label": "context", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + "norm_label": "context" }, { "label": "Request", @@ -3509,9 +3549,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L158", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_request", "community": 17, - "norm_label": "request", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_request" + "norm_label": "request" }, { "label": "Result", @@ -3519,9 +3559,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L158", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_result", "community": 17, - "norm_label": "result", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_result" + "norm_label": "result" }, { "label": ".startCron()", @@ -3529,9 +3569,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L205", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_startcron", "community": 17, - "norm_label": ".startcron()", - "id": "cleanupcronjob_cleanupcronjobreconciler_startcron" + "norm_label": ".startcron()" }, { "label": "CleanupCronJobConfig", @@ -3539,9 +3579,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L205", "_origin": "ast", + "id": "cleanupcronjobconfig", "community": 17, - "norm_label": "cleanupcronjobconfig", - "id": "cleanupcronjobconfig" + "norm_label": "cleanupcronjobconfig" }, { "label": ".stopCron()", @@ -3549,9 +3589,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L242", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_stopcron", "community": 17, - "norm_label": ".stopcron()", - "id": "cleanupcronjob_cleanupcronjobreconciler_stopcron" + "norm_label": ".stopcron()" }, { "label": ".pruneDevWorkspaces()", @@ -3559,9 +3599,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L258", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", "community": 17, - "norm_label": ".prunedevworkspaces()", - "id": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces" + "norm_label": ".prunedevworkspaces()" }, { "label": "Duration", @@ -3569,9 +3609,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L258", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration", "community": 17, - "norm_label": "duration", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "norm_label": "duration" }, { "label": ".pruneStrategy()", @@ -3579,9 +3619,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L301", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", "community": 17, - "norm_label": ".prunestrategy()", - "id": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy" + "norm_label": ".prunestrategy()" }, { "label": "StrategyFunc", @@ -3589,9 +3629,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L301", "_origin": "ast", + "id": "strategyfunc", "community": 17, - "norm_label": "strategyfunc", - "id": "strategyfunc" + "norm_label": "strategyfunc" }, { "label": ".dryRunPruneStrategy()", @@ -3599,9 +3639,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L313", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", "community": 17, - "norm_label": ".dryrunprunestrategy()", - "id": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy" + "norm_label": ".dryrunprunestrategy()" }, { "label": "filterByInactivityTime()", @@ -3609,9 +3649,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L327", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", "community": 17, - "norm_label": "filterbyinactivitytime()", - "id": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + "norm_label": "filterbyinactivitytime()" }, { "label": "Object", @@ -3619,9 +3659,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L327", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_object", "community": 17, - "norm_label": "object", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_object" + "norm_label": "object" }, { "label": "canPrune()", @@ -3629,9 +3669,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L344", "_origin": "ast", + "id": "cleanupcronjob_cleanupcronjob_controller_canprune", "community": 17, - "norm_label": "canprune()", - "id": "cleanupcronjob_cleanupcronjob_controller_canprune" + "norm_label": "canprune()" }, { "label": "DevWorkspace", @@ -3639,9 +3679,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", "source_location": "L344", "_origin": "ast", + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_devworkspace", "community": 17, - "norm_label": "devworkspace", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_go_devworkspace" + "norm_label": "devworkspace" }, { "label": "cleanupcronjob_controller_test.go", @@ -3649,9 +3689,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", "source_location": "L1", "_origin": "ast", - "community": 47, - "norm_label": "cleanupcronjob_controller_test.go", - "id": "cleanupcronjob_cleanupcronjob_controller_test" + "id": "cleanupcronjob_cleanupcronjob_controller_test", + "community": 314, + "norm_label": "cleanupcronjob_controller_test.go" }, { "label": "createDevWorkspace()", @@ -3659,9 +3699,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", "source_location": "L465", "_origin": "ast", - "community": 47, - "norm_label": "createdevworkspace()", - "id": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace" + "id": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", + "community": 314, + "norm_label": "createdevworkspace()" }, { "label": "Time", @@ -3669,9 +3709,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", "source_location": "L465", "_origin": "ast", - "community": 47, - "norm_label": "time", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_time" + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_time", + "community": 314, + "norm_label": "time" }, { "label": "DevWorkspace", @@ -3679,9 +3719,9 @@ "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", "source_location": "L465", "_origin": "ast", - "community": 47, - "norm_label": "devworkspace", - "id": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_devworkspace" + "id": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_devworkspace", + "community": 314, + "norm_label": "devworkspace" }, { "label": "suite_test.go", @@ -3689,9 +3729,9 @@ "source_file": "controllers/cleanupcronjob/suite_test.go", "source_location": "L1", "_origin": "ast", + "id": "cleanupcronjob_suite_test", "community": 230, - "norm_label": "suite_test.go", - "id": "cleanupcronjob_suite_test" + "norm_label": "suite_test.go" }, { "label": "TestAPIs()", @@ -3699,9 +3739,9 @@ "source_file": "controllers/cleanupcronjob/suite_test.go", "source_location": "L23", "_origin": "ast", + "id": "cleanupcronjob_suite_test_testapis", "community": 230, - "norm_label": "testapis()", - "id": "cleanupcronjob_suite_test_testapis" + "norm_label": "testapis()" }, { "label": "T", @@ -3709,9 +3749,9 @@ "source_file": "controllers/cleanupcronjob/suite_test.go", "source_location": "L23", "_origin": "ast", + "id": "controllers_cleanupcronjob_suite_test_go_t", "community": 230, - "norm_label": "t", - "id": "controllers_cleanupcronjob_suite_test_go_t" + "norm_label": "t" }, { "label": "conversion.go", @@ -3719,9 +3759,9 @@ "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", "source_location": "L1", "_origin": "ast", + "id": "conversion_conversion", "community": 7, - "norm_label": "conversion.go", - "id": "conversion_conversion" + "norm_label": "conversion.go" }, { "label": "convertSecure()", @@ -3729,9 +3769,9 @@ "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", "source_location": "L21", "_origin": "ast", + "id": "conversion_conversion_convertsecure", "community": 7, - "norm_label": "convertsecure()", - "id": "conversion_conversion_convertsecure" + "norm_label": "convertsecure()" }, { "label": "convertDevfileEndpoint()", @@ -3739,9 +3779,9 @@ "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", "source_location": "L37", "_origin": "ast", + "id": "conversion_conversion_convertdevfileendpoint", "community": 7, - "norm_label": "convertdevfileendpoint()", - "id": "conversion_conversion_convertdevfileendpoint" + "norm_label": "convertdevfileendpoint()" }, { "label": "Endpoint", @@ -3749,9 +3789,9 @@ "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", "source_location": "L37", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpoint", "community": 7, - "norm_label": "endpoint", - "id": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpoint" + "norm_label": "endpoint" }, { "label": "ConvertAllDevfileEndpoints()", @@ -3759,9 +3799,9 @@ "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", "source_location": "L60", "_origin": "ast", + "id": "conversion_conversion_convertalldevfileendpoints", "community": 7, - "norm_label": "convertalldevfileendpoints()", - "id": "conversion_conversion_convertalldevfileendpoints" + "norm_label": "convertalldevfileendpoints()" }, { "label": "EndpointList", @@ -3769,9 +3809,9 @@ "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", "source_location": "L60", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpointlist", "community": 7, - "norm_label": "endpointlist", - "id": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpointlist" + "norm_label": "endpointlist" }, { "label": "devworkspacerouting_controller.go", @@ -3779,229 +3819,239 @@ "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", "source_location": "L1", "_origin": "ast", - "community": 90, - "norm_label": "devworkspacerouting_controller.go", - "id": "devworkspacerouting_devworkspacerouting_controller" + "id": "devworkspacerouting_devworkspacerouting_controller", + "community": 35, + "norm_label": "devworkspacerouting_controller.go" }, { "label": "DevWorkspaceRoutingReconciler", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L55", + "source_location": "L56", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", "community": 35, - "norm_label": "devworkspaceroutingreconciler", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler" + "norm_label": "devworkspaceroutingreconciler" }, { "label": "Client", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L56", + "source_location": "L57", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_client", "community": 35, - "norm_label": "client", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_client" + "norm_label": "client" }, { "label": "Logger", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L57", + "source_location": "L59", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_logger", "community": 35, - "norm_label": "logger", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_logger" + "norm_label": "logger" }, { "label": "Scheme", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L58", + "source_location": "L60", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_scheme", "community": 35, - "norm_label": "scheme", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_scheme" + "norm_label": "scheme" }, { "label": "RoutingSolverGetter", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L60", + "source_location": "L62", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolvergetter", "community": 35, - "norm_label": "routingsolvergetter", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolvergetter" + "norm_label": "routingsolvergetter" }, { "label": ".Reconcile()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "source_location": "L75", "_origin": "ast", + "id": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", "community": 35, - "norm_label": ".reconcile()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_reconcile" + "norm_label": ".reconcile()" }, { "label": "Context", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "source_location": "L75", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context", "community": 35, - "norm_label": "context", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context" + "norm_label": "context" }, { "label": "Request", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "source_location": "L75", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_request", "community": 35, - "norm_label": "request", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_request" + "norm_label": "request" }, { "label": "Result", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "source_location": "L75", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_result", "community": 35, - "norm_label": "result", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_result" + "norm_label": "result" }, { - "label": ".setFinalizer()", + "label": "workspaceName()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "source_location": "L296", "_origin": "ast", + "id": "devworkspacerouting_devworkspacerouting_controller_workspacename", "community": 35, - "norm_label": ".setfinalizer()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer" + "norm_label": "workspacename()" }, { - "label": "RoutingSolver", + "label": "DevWorkspaceRouting", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "source_location": "L296", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting", "community": 35, - "norm_label": "routingsolver", - "id": "routingsolver" + "norm_label": "devworkspacerouting" }, { - "label": "DevWorkspaceRouting", + "label": ".setFinalizer()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "source_location": "L305", + "_origin": "ast", + "id": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", + "community": 35, + "norm_label": ".setfinalizer()" + }, + { + "label": "RoutingSolver", + "file_type": "code", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L305", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolver", "community": 35, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + "norm_label": "routingsolver" }, { "label": ".finalize()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L262", + "source_location": "L322", "_origin": "ast", + "id": "devworkspacerouting_devworkspaceroutingreconciler_finalize", "community": 35, - "norm_label": ".finalize()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_finalize" + "norm_label": ".finalize()" }, { "label": ".markRoutingFailed()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L281", + "source_location": "L342", "_origin": "ast", + "id": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed", "community": 35, - "norm_label": ".markroutingfailed()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed" + "norm_label": ".markroutingfailed()" }, { "label": ".reconcileStatus()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "source_location": "L353", "_origin": "ast", + "id": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", "community": 35, - "norm_label": ".reconcilestatus()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus" + "norm_label": ".reconcilestatus()" }, { "label": "RoutingObjects", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "source_location": "L353", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingobjects", "community": 35, - "norm_label": "routingobjects", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingobjects" + "norm_label": "routingobjects" }, { "label": "ExposedEndpointList", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "source_location": "L353", "_origin": "ast", + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_exposedendpointlist", "community": 35, - "norm_label": "exposedendpointlist", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_exposedendpointlist" + "norm_label": "exposedendpointlist" }, { "label": ".setStatusStopped()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L311", + "source_location": "L381", "_origin": "ast", + "id": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped", "community": 35, - "norm_label": ".setstatusstopped()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped" + "norm_label": ".setstatusstopped()" }, { "label": "contains()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L319", + "source_location": "L390", "_origin": "ast", - "community": 13, - "norm_label": "contains()", - "id": "devworkspacerouting_devworkspacerouting_controller_contains" + "id": "devworkspacerouting_devworkspacerouting_controller_contains", + "community": 114, + "norm_label": "contains()" }, { "label": "remove()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L328", + "source_location": "L399", "_origin": "ast", - "community": 90, - "norm_label": "remove()", - "id": "devworkspacerouting_devworkspacerouting_controller_remove" + "id": "devworkspacerouting_devworkspacerouting_controller_remove", + "community": 35, + "norm_label": "remove()" }, { "label": ".SetupWithManager()", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L337", + "source_location": "L408", "_origin": "ast", - "community": 118, - "norm_label": ".setupwithmanager()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager" + "id": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", + "community": 35, + "norm_label": ".setupwithmanager()" }, { "label": "Manager", "file_type": "code", "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L337", + "source_location": "L408", "_origin": "ast", - "community": 118, - "norm_label": "manager", - "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_manager" + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_manager", + "community": 35, + "norm_label": "manager" }, { "label": "devworkspacerouting_controller_test.go", @@ -4009,31021 +4059,45241 @@ "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", "source_location": "L1", "_origin": "ast", + "id": "devworkspacerouting_devworkspacerouting_controller_test", "community": 269, - "norm_label": "devworkspacerouting_controller_test.go", - "id": "devworkspacerouting_devworkspacerouting_controller_test" + "norm_label": "devworkspacerouting_controller_test.go" }, { - "label": "predicates.go", + "label": "TestReconcileMarksDuplicateEndpointRoutingFailed()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L43", "_origin": "ast", - "community": 118, - "norm_label": "predicates.go", - "id": "devworkspacerouting_predicates" + "id": "devworkspacerouting_devworkspacerouting_controller_test_testreconcilemarksduplicateendpointroutingfailed", + "community": 269, + "norm_label": "testreconcilemarksduplicateendpointroutingfailed()" }, { - "label": "getRoutingPredicatesForSolverFunc()", + "label": "T", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L26", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L43", "_origin": "ast", - "community": 118, - "norm_label": "getroutingpredicatesforsolverfunc()", - "id": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc" + "id": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_test_go_t", + "community": 269, + "norm_label": "t" }, { - "label": "RoutingSolverGetter", + "label": "generation_recovery_envtest_test.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L26", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L1", "_origin": "ast", - "community": 118, - "norm_label": "routingsolvergetter", - "id": "controllers_controller_devworkspacerouting_predicates_go_routingsolvergetter" + "id": "devworkspacerouting_generation_recovery_envtest_test", + "community": 315, + "norm_label": "generation_recovery_envtest_test.go" }, { - "label": "Funcs", + "label": "newGenerationRecoveryRouting()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L26", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L143", "_origin": "ast", - "community": 118, - "norm_label": "funcs", - "id": "controllers_controller_devworkspacerouting_predicates_go_funcs" + "id": "devworkspacerouting_generation_recovery_envtest_test_newgenerationrecoveryrouting", + "community": 315, + "norm_label": "newgenerationrecoveryrouting()" }, { - "label": "basic_solver.go", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L143", "_origin": "ast", - "community": 1, - "norm_label": "basic_solver.go", - "id": "solvers_basic_solver" + "id": "controllers_controller_devworkspacerouting_generation_recovery_envtest_test_go_devworkspacerouting", + "community": 315, + "norm_label": "devworkspacerouting" }, { - "label": "BasicSolver", + "label": "deleteGenerationRecoveryObjects()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L50", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L164", "_origin": "ast", - "community": 1, - "norm_label": "basicsolver", - "id": "solvers_basicsolver" + "id": "devworkspacerouting_generation_recovery_envtest_test_deletegenerationrecoveryobjects", + "community": 315, + "norm_label": "deletegenerationrecoveryobjects()" }, { - "label": ".FinalizerRequired()", + "label": "generation_recovery_test.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L54", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L1", "_origin": "ast", - "community": 1, - "norm_label": ".finalizerrequired()", - "id": "solvers_basicsolver_finalizerrequired" + "id": "devworkspacerouting_generation_recovery_test", + "community": 48, + "norm_label": "generation_recovery_test.go" }, { - "label": "DevWorkspaceRouting", + "label": "TestReconcileRetriesFailedRoutingAfterSpecChange()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L54", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L37", "_origin": "ast", - "community": 1, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" + "id": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "community": 48, + "norm_label": "testreconcileretriesfailedroutingafterspecchange()" }, { - "label": ".Finalize()", + "label": "T", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L58", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L37", "_origin": "ast", - "community": 1, - "norm_label": ".finalize()", - "id": "solvers_basicsolver_finalize" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "community": 48, + "norm_label": "t" }, { - "label": ".GetSpecObjects()", + "label": "TestFailedRoutingRemainsTerminalWhenForeignServiceIsRemoved()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L82", "_origin": "ast", - "community": 1, - "norm_label": ".getspecobjects()", - "id": "solvers_basicsolver_getspecobjects" + "id": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "community": 48, + "norm_label": "testfailedroutingremainsterminalwhenforeignserviceisremoved()" }, { - "label": "DevWorkspaceMetadata", + "label": "TestChangedInvalidSpecFailsAndThenBecomesTerminal()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L120", "_origin": "ast", - "community": 1, - "norm_label": "devworkspacemetadata", - "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacemetadata" + "id": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "community": 48, + "norm_label": "testchangedinvalidspecfailsandthenbecomesterminal()" }, { - "label": "RoutingObjects", + "label": "TestLegacyFailedRoutingRecoversFromZeroObservedGeneration()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L158", "_origin": "ast", - "community": 1, - "norm_label": "routingobjects", - "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_routingobjects" + "id": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "community": 48, + "norm_label": "testlegacyfailedroutingrecoversfromzeroobservedgeneration()" }, { - "label": ".GetExposedEndpoints()", + "label": "TestRoutingPhasesStampObservedGeneration()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L183", "_origin": "ast", - "community": 1, - "norm_label": ".getexposedendpoints()", - "id": "solvers_basicsolver_getexposedendpoints" + "id": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "community": 48, + "norm_label": "testroutingphasesstampobservedgeneration()" }, { - "label": "EndpointList", + "label": "TestReadyNoOpStillWritesWhenObservedGenerationIsStale()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L234", "_origin": "ast", - "community": 1, - "norm_label": "endpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_endpointlist" + "id": "devworkspacerouting_generation_recovery_test_testreadynoopstillwriteswhenobservedgenerationisstale", + "community": 48, + "norm_label": "testreadynoopstillwriteswhenobservedgenerationisstale()" }, { - "label": "ExposedEndpointList", + "label": "TestMatchingFailedGenerationDoesNotRepeatValidationStatusWrite()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L251", "_origin": "ast", - "community": 1, - "norm_label": "exposedendpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_exposedendpointlist" + "id": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "community": 48, + "norm_label": "testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite()" }, { - "label": "cluster_solver.go", + "label": "TestStoppedRoutingCanLeaveMatchingFailedGeneration()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L267", "_origin": "ast", - "community": 1, - "norm_label": "cluster_solver.go", - "id": "solvers_cluster_solver" + "id": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "community": 48, + "norm_label": "teststoppedroutingcanleavematchingfailedgeneration()" }, { - "label": "ClusterSolver", + "label": "TestPreparingStatusWriteFailurePreventsServiceProvisioning()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L283", "_origin": "ast", - "community": 1, - "norm_label": "clustersolver", - "id": "solvers_clustersolver" + "id": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "community": 48, + "norm_label": "testpreparingstatuswritefailurepreventsserviceprovisioning()" }, { - "label": ".FinalizerRequired()", + "label": "recoveryRouting()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L300", "_origin": "ast", - "community": 1, - "norm_label": ".finalizerrequired()", - "id": "solvers_clustersolver_finalizerrequired" + "id": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "community": 48, + "norm_label": "recoveryrouting()" }, { "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L300", "_origin": "ast", - "community": 1, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspacerouting", + "community": 48, + "norm_label": "devworkspacerouting" }, { - "label": ".Finalize()", + "label": "recoveryEndpoints()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L43", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L311", "_origin": "ast", - "community": 1, - "norm_label": ".finalize()", - "id": "solvers_clustersolver_finalize" + "id": "devworkspacerouting_generation_recovery_test_recoveryendpoints", + "community": 48, + "norm_label": "recoveryendpoints()" }, { - "label": ".GetSpecObjects()", + "label": "EndpointList", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L311", "_origin": "ast", - "community": 1, - "norm_label": ".getspecobjects()", - "id": "solvers_clustersolver_getspecobjects" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_endpointlist", + "community": 48, + "norm_label": "endpointlist" }, { - "label": "DevWorkspaceMetadata", + "label": "recoveryReconciler()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", "_origin": "ast", - "community": 1, - "norm_label": "devworkspacemetadata", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacemetadata" + "id": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "community": 48, + "norm_label": "recoveryreconciler()" }, { - "label": "RoutingObjects", + "label": "DevWorkspaceRoutingReconciler", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", "_origin": "ast", - "community": 1, - "norm_label": "routingobjects", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_routingobjects" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspaceroutingreconciler", + "community": 48, + "norm_label": "devworkspaceroutingreconciler" }, { - "label": ".GetExposedEndpoints()", + "label": "Client", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", "_origin": "ast", - "community": 1, - "norm_label": ".getexposedendpoints()", - "id": "solvers_clustersolver_getexposedendpoints" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_client", + "community": 48, + "norm_label": "client" }, { - "label": "EndpointList", + "label": "recoveryRecordingReconciler()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", "_origin": "ast", - "community": 1, - "norm_label": "endpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpointlist" + "id": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "community": 48, + "norm_label": "recoveryrecordingreconciler()" }, { - "label": "ExposedEndpointList", + "label": "generationRecordingClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", "_origin": "ast", - "community": 1, - "norm_label": "exposedendpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_exposedendpointlist" + "id": "generationrecordingclient", + "community": 48, + "norm_label": "generationrecordingclient" }, { - "label": "resolveServiceHostnameForEndpoint()", + "label": "recoveryRequest()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L108", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L343", "_origin": "ast", - "community": 1, - "norm_label": "resolveservicehostnameforendpoint()", - "id": "solvers_cluster_solver_resolveservicehostnameforendpoint" + "id": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "community": 48, + "norm_label": "recoveryrequest()" }, { - "label": "Endpoint", + "label": "Request", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L108", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L343", "_origin": "ast", - "community": 1, - "norm_label": "endpoint", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpoint" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_request", + "community": 48, + "norm_label": "request" }, { - "label": "Service", + "label": "generationRecordingClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L108", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L348", "_origin": "ast", - "community": 1, - "norm_label": "service", - "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_service" + "id": "devworkspacerouting_generationrecordingclient", + "community": 48, + "norm_label": "generationrecordingclient" }, { - "label": "getHostnameFromService()", + "label": "generationStatusSnapshot", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L122", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L354", "_origin": "ast", - "community": 1, - "norm_label": "gethostnamefromservice()", - "id": "solvers_cluster_solver_gethostnamefromservice" + "id": "generationstatussnapshot", + "community": 48, + "norm_label": "generationstatussnapshot" }, { - "label": "common.go", + "label": "generationStatusSnapshot", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L358", "_origin": "ast", - "community": 1, - "norm_label": "common.go", - "id": "solvers_common" + "id": "devworkspacerouting_generationstatussnapshot", + "community": 48, + "norm_label": "generationstatussnapshot" }, { - "label": "DevWorkspaceMetadata", + "label": "DevWorkspaceRoutingPhase", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L359", "_origin": "ast", - "community": 1, - "norm_label": "devworkspacemetadata", - "id": "solvers_devworkspacemetadata" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspaceroutingphase", + "community": 48, + "norm_label": "devworkspaceroutingphase" }, { - "label": "GetDiscoverableServicesForEndpoints()", + "label": ".Create()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L365", "_origin": "ast", - "community": 1, - "norm_label": "getdiscoverableservicesforendpoints()", - "id": "solvers_common_getdiscoverableservicesforendpoints" + "id": "devworkspacerouting_generationrecordingclient_create", + "community": 48, + "norm_label": ".create()" }, { - "label": "EndpointList", + "label": "Context", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L365", "_origin": "ast", - "community": 1, - "norm_label": "endpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_context", + "community": 48, + "norm_label": "context" }, { - "label": "Service", + "label": "Object", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L365", "_origin": "ast", - "community": 1, - "norm_label": "service", - "id": "controllers_controller_devworkspacerouting_solvers_common_go_service" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_object", + "community": 48, + "norm_label": "object" }, { - "label": "GetServiceForEndpoints()", + "label": ".Status()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L373", "_origin": "ast", - "community": 1, - "norm_label": "getserviceforendpoints()", - "id": "solvers_common_getserviceforendpoints" + "id": "devworkspacerouting_generationrecordingclient_status", + "community": 48, + "norm_label": ".status()" }, { - "label": "getServicesForEndpoints()", + "label": "SubResourceWriter", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L142", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L373", "_origin": "ast", - "community": 1, - "norm_label": "getservicesforendpoints()", - "id": "solvers_common_getservicesforendpoints" + "id": "controllers_controller_devworkspacerouting_generation_recovery_test_go_subresourcewriter", + "community": 48, + "norm_label": "subresourcewriter" }, { - "label": "getRoutesForSpec()", + "label": "generationStatusWriter", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L157", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L378", "_origin": "ast", - "community": 1, - "norm_label": "getroutesforspec()", - "id": "solvers_common_getroutesforspec" + "id": "devworkspacerouting_generationstatuswriter", + "community": 48, + "norm_label": "generationstatuswriter" }, { - "label": "Route", + "label": ".Update()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L157", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L384", "_origin": "ast", - "community": 1, - "norm_label": "route", - "id": "controllers_controller_devworkspacerouting_solvers_common_go_route" + "id": "devworkspacerouting_generationstatuswriter_update", + "community": 48, + "norm_label": ".update()" }, { - "label": "getIngressesForSpec()", + "label": "predicates.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L170", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L1", "_origin": "ast", - "community": 1, - "norm_label": "getingressesforspec()", - "id": "solvers_common_getingressesforspec" + "id": "devworkspacerouting_predicates", + "community": 35, + "norm_label": "predicates.go" }, { - "label": "Ingress", + "label": "getRoutingPredicatesForSolverFunc()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L170", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L26", "_origin": "ast", - "community": 1, - "norm_label": "ingress", - "id": "controllers_controller_devworkspacerouting_solvers_common_go_ingress" + "id": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc", + "community": 35, + "norm_label": "getroutingpredicatesforsolverfunc()" }, { - "label": "getRouteForEndpoint()", + "label": "RoutingSolverGetter", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L183", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L26", "_origin": "ast", - "community": 1, - "norm_label": "getrouteforendpoint()", - "id": "solvers_common_getrouteforendpoint" + "id": "controllers_controller_devworkspacerouting_predicates_go_routingsolvergetter", + "community": 35, + "norm_label": "routingsolvergetter" }, { - "label": "Endpoint", + "label": "Funcs", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L183", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L26", "_origin": "ast", - "community": 1, - "norm_label": "endpoint", - "id": "controllers_controller_devworkspacerouting_solvers_common_go_endpoint" + "id": "controllers_controller_devworkspacerouting_predicates_go_funcs", + "community": 35, + "norm_label": "funcs" }, { - "label": "getIngressForEndpoint()", + "label": "service_sync_context_test.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L213", + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L1", "_origin": "ast", - "community": 1, - "norm_label": "getingressforendpoint()", - "id": "solvers_common_getingressforendpoint" + "id": "devworkspacerouting_service_sync_context_test", + "community": 171, + "norm_label": "service_sync_context_test.go" }, { - "label": "errors.go", + "label": "TestSyncServicesPassesContextAndStopsOnCancellation()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L37", "_origin": "ast", - "community": 162, - "norm_label": "errors.go", - "id": "solvers_errors" + "id": "devworkspacerouting_service_sync_context_test_testsyncservicespassescontextandstopsoncancellation", + "community": 171, + "norm_label": "testsyncservicespassescontextandstopsoncancellation()" }, { - "label": "RoutingNotReady", + "label": "T", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L37", "_origin": "ast", - "community": 162, - "norm_label": "routingnotready", - "id": "solvers_routingnotready" + "id": "controllers_controller_devworkspacerouting_service_sync_context_test_go_t", + "community": 171, + "norm_label": "t" }, { - "label": "Duration", + "label": "service_sync_reconcile_context_test.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L32", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L1", "_origin": "ast", - "community": 162, - "norm_label": "duration", - "id": "controllers_controller_devworkspacerouting_solvers_errors_go_duration" + "id": "devworkspacerouting_service_sync_reconcile_context_test", + "community": 302, + "norm_label": "service_sync_reconcile_context_test.go" }, { - "label": ".Error()", + "label": "TestReconcileReturnsServiceSyncContextErrors()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L35", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L37", "_origin": "ast", - "community": 162, - "norm_label": ".error()", - "id": "solvers_routingnotready_error" + "id": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "community": 302, + "norm_label": "testreconcilereturnsservicesynccontexterrors()" }, { - "label": "RoutingInvalid", + "label": "T", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L37", "_origin": "ast", - "community": 162, - "norm_label": "routinginvalid", - "id": "solvers_routinginvalid" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_t", + "community": 302, + "norm_label": "t" }, { - "label": ".Error()", + "label": "TestReconcileRetriesOrdinaryServiceSyncError()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L45", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L83", "_origin": "ast", - "community": 162, - "norm_label": ".error()", - "id": "solvers_routinginvalid_error" + "id": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "community": 302, + "norm_label": "testreconcileretriesordinaryservicesyncerror()" }, { - "label": "resolve_endpoints.go", + "label": "serviceSyncContextRouting()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L119", "_origin": "ast", - "community": 7, - "norm_label": "resolve_endpoints.go", - "id": "solvers_resolve_endpoints" + "id": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting", + "community": 302, + "norm_label": "servicesynccontextrouting()" }, { - "label": "getExposedEndpoints()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L119", "_origin": "ast", - "community": 7, - "norm_label": "getexposedendpoints()", - "id": "solvers_resolve_endpoints_getexposedendpoints" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_devworkspacerouting", + "community": 302, + "norm_label": "devworkspacerouting" }, { - "label": "EndpointList", + "label": "assertServiceSyncContextUnchanged()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L140", "_origin": "ast", - "community": 7, - "norm_label": "endpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpointlist" + "id": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "community": 302, + "norm_label": "assertservicesynccontextunchanged()" }, { - "label": "RoutingObjects", + "label": "Client", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L140", "_origin": "ast", - "community": 7, - "norm_label": "routingobjects", - "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_routingobjects" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_client", + "community": 302, + "norm_label": "client" }, { - "label": "ExposedEndpointList", + "label": "serviceSyncReconcileTracker", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L159", "_origin": "ast", - "community": 7, - "norm_label": "exposedendpointlist", - "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_exposedendpointlist" + "id": "devworkspacerouting_servicesyncreconciletracker", + "community": 168, + "norm_label": "servicesyncreconciletracker" }, { - "label": "resolveURLForEndpoint()", + "label": "Time", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L57", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L163", "_origin": "ast", - "community": 7, - "norm_label": "resolveurlforendpoint()", - "id": "solvers_resolve_endpoints_resolveurlforendpoint" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_time", + "community": 168, + "norm_label": "time" }, { - "label": "Endpoint", + "label": "serviceSyncReconcileClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L57", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L173", "_origin": "ast", - "community": 7, - "norm_label": "endpoint", - "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpoint" + "id": "devworkspacerouting_servicesyncreconcileclient", + "community": 168, + "norm_label": "servicesyncreconcileclient" }, { - "label": "getURLForEndpoint()", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L77", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", "_origin": "ast", - "community": 7, - "norm_label": "geturlforendpoint()", - "id": "solvers_resolve_endpoints_geturlforendpoint" + "id": "devworkspacerouting_servicesyncreconcileclient_get", + "community": 168, + "norm_label": ".get()" }, { - "label": "getSecureProtocol()", + "label": "Context", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L118", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", "_origin": "ast", - "community": 7, - "norm_label": "getsecureprotocol()", - "id": "solvers_resolve_endpoints_getsecureprotocol" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "community": 168, + "norm_label": "context" }, { - "label": "resolve_endpoints_test.go", + "label": "ObjectKey", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", "_origin": "ast", - "community": 7, - "norm_label": "resolve_endpoints_test.go", - "id": "solvers_resolve_endpoints_test" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_objectkey", + "community": 168, + "norm_label": "objectkey" }, { - "label": "TestGetUrlForEndpoint()", + "label": "Object", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L23", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", "_origin": "ast", - "community": 7, - "norm_label": "testgeturlforendpoint()", - "id": "solvers_resolve_endpoints_test_testgeturlforendpoint" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_object", + "community": 168, + "norm_label": "object" }, { - "label": "T", + "label": ".List()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L23", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L193", "_origin": "ast", - "community": 7, - "norm_label": "t", - "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_test_go_t" + "id": "devworkspacerouting_servicesyncreconcileclient_list", + "community": 168, + "norm_label": ".list()" }, { - "label": "solver.go", + "label": "ObjectList", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L193", "_origin": "ast", - "community": 55, - "norm_label": "solver.go", - "id": "solvers_solver" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_objectlist", + "community": 168, + "norm_label": "objectlist" }, { - "label": "RoutingObjects", + "label": ".Create()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L201", "_origin": "ast", - "community": 55, - "norm_label": "routingobjects", - "id": "solvers_routingobjects" + "id": "devworkspacerouting_servicesyncreconcileclient_create", + "community": 168, + "norm_label": ".create()" }, { - "label": "Service", + "label": ".Update()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L32", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L209", "_origin": "ast", - "community": 55, - "norm_label": "service", - "id": "controllers_controller_devworkspacerouting_solvers_solver_go_service" + "id": "devworkspacerouting_servicesyncreconcileclient_update", + "community": 168, + "norm_label": ".update()" }, { - "label": "Ingress", + "label": ".Delete()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L217", "_origin": "ast", - "community": 55, - "norm_label": "ingress", - "id": "controllers_controller_devworkspacerouting_solvers_solver_go_ingress" + "id": "devworkspacerouting_servicesyncreconcileclient_delete", + "community": 168, + "norm_label": ".delete()" }, { - "label": "Route", + "label": ".Status()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L34", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L225", "_origin": "ast", - "community": 55, - "norm_label": "route", - "id": "controllers_controller_devworkspacerouting_solvers_solver_go_route" + "id": "devworkspacerouting_servicesyncreconcileclient_status", + "community": 168, + "norm_label": ".status()" }, { - "label": "PodAdditions", + "label": "SubResourceWriter", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L35", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L225", "_origin": "ast", - "community": 55, - "norm_label": "podadditions", - "id": "controllers_controller_devworkspacerouting_solvers_solver_go_podadditions" + "id": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_subresourcewriter", + "community": 168, + "norm_label": "subresourcewriter" }, { - "label": "RoutingSolver", + "label": "serviceSyncReconcileStatusWriter", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L38", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L232", "_origin": "ast", - "community": 55, - "norm_label": "routingsolver", - "id": "solvers_routingsolver" + "id": "devworkspacerouting_servicesyncreconcilestatuswriter", + "community": 168, + "norm_label": "servicesyncreconcilestatuswriter" }, { - "label": "RoutingSolverGetter", + "label": ".Update()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L64", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L238", "_origin": "ast", - "community": 55, - "norm_label": "routingsolvergetter", - "id": "solvers_routingsolvergetter" + "id": "devworkspacerouting_servicesyncreconcilestatuswriter_update", + "community": 168, + "norm_label": ".update()" }, { - "label": "SolverGetter", + "label": "serving_certificates.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L1", "_origin": "ast", - "community": 55, - "norm_label": "solvergetter", - "id": "solvers_solvergetter" + "id": "devworkspacerouting_serving_certificates", + "community": 319, + "norm_label": "serving_certificates.go" }, { - "label": ".HasSolver()", + "label": "DevWorkspaceRoutingReconciler", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L87", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", "_origin": "ast", - "community": 55, - "norm_label": ".hassolver()", - "id": "solvers_solvergetter_hassolver" + "id": "controllers_controller_devworkspacerouting_serving_certificates_go_devworkspacerouting_devworkspaceroutingreconciler", + "community": 269, + "norm_label": "devworkspaceroutingreconciler" }, { - "label": "DevWorkspaceRoutingClass", + "label": ".validateServingCertificates()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L87", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", "_origin": "ast", - "community": 55, - "norm_label": "devworkspaceroutingclass", - "id": "controllers_controller_devworkspacerouting_solvers_solver_go_devworkspaceroutingclass" + "id": "devworkspacerouting_devworkspaceroutingreconciler_validateservingcertificates", + "community": 269, + "norm_label": ".validateservingcertificates()" }, { - "label": ".GetSolver()", + "label": "Context", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L103", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", "_origin": "ast", - "community": 55, - "norm_label": ".getsolver()", - "id": "solvers_solvergetter_getsolver" + "id": "controllers_controller_devworkspacerouting_serving_certificates_go_context", + "community": 269, + "norm_label": "context" }, { - "label": "Client", + "label": "Service", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L103", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", "_origin": "ast", - "community": 55, - "norm_label": "client", - "id": "controllers_controller_devworkspacerouting_solvers_solver_go_client" + "id": "controllers_controller_devworkspacerouting_serving_certificates_go_service", + "community": 269, + "norm_label": "service" }, { - "label": ".SetupControllerManager()", + "label": "serving_certificates_test.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L120", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L1", "_origin": "ast", - "community": 55, - "norm_label": ".setupcontrollermanager()", - "id": "solvers_solvergetter_setupcontrollermanager" + "id": "devworkspacerouting_serving_certificates_test", + "community": 48, + "norm_label": "serving_certificates_test.go" }, { - "label": "Builder", + "label": "TestReconcileWaitsForServingCertificateFromOwningService()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L120", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L50", "_origin": "ast", - "community": 55, - "norm_label": "builder", - "id": "builder" + "id": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "community": 48, + "norm_label": "testreconcilewaitsforservingcertificatefromowningservice()" }, { - "label": "suite_test.go", + "label": "T", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L50", "_origin": "ast", - "community": 198, - "norm_label": "suite_test.go", - "id": "devworkspacerouting_suite_test" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "community": 48, + "norm_label": "t" }, { - "label": "TestAPIs()", + "label": "TestValidateServingCertificates()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L66", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L118", "_origin": "ast", - "community": 198, - "norm_label": "testapis()", - "id": "devworkspacerouting_suite_test_testapis" + "id": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "community": 48, + "norm_label": "testvalidateservingcertificates()" }, { - "label": "T", + "label": "TestValidateServingCertificatesUsesFreshNamespacedReaderAndContext()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L66", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L211", "_origin": "ast", - "community": 198, - "norm_label": "t", - "id": "controllers_controller_devworkspacerouting_suite_test_go_t" + "id": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatesusesfreshnamespacedreaderandcontext", + "community": 48, + "norm_label": "testvalidateservingcertificatesusesfreshnamespacedreaderandcontext()" }, { - "label": "setupEnvVars()", + "label": "TestValidateServingCertificatesPreservesLookupErrors()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L170", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L239", "_origin": "ast", - "community": 198, - "norm_label": "setupenvvars()", - "id": "devworkspacerouting_suite_test_setupenvvars" + "id": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatespreserveslookuperrors", + "community": 48, + "norm_label": "testvalidateservingcertificatespreserveslookuperrors()" }, { - "label": "sync_ingresses.go", + "label": "TestReconcileTLSCertificatesTransitionPendingReadyAndFailed()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L256", "_origin": "ast", - "community": 2, - "norm_label": "sync_ingresses.go", - "id": "devworkspacerouting_sync_ingresses" + "id": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "community": 48, + "norm_label": "testreconciletlscertificatestransitionpendingreadyandfailed()" }, { - "label": "DevWorkspaceRoutingReconciler", + "label": "TestReconcileTLSCertificateReadFailuresKeepRoutingPending()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L339", "_origin": "ast", - "community": 2, - "norm_label": "devworkspaceroutingreconciler", - "id": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting_devworkspaceroutingreconciler" + "id": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "community": 48, + "norm_label": "testreconciletlscertificatereadfailureskeeproutingpending()" }, { - "label": ".syncIngresses()", + "label": "TestReconcilePlaintextClusterDoesNotReadSecrets()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L373", "_origin": "ast", - "community": 2, - "norm_label": ".syncingresses()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses" + "id": "devworkspacerouting_serving_certificates_test_testreconcileplaintextclusterdoesnotreadsecrets", + "community": 48, + "norm_label": "testreconcileplaintextclusterdoesnotreadsecrets()" }, { - "label": "DevWorkspaceRouting", + "label": "servingCertService()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L402", "_origin": "ast", - "community": 2, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting" + "id": "devworkspacerouting_serving_certificates_test_servingcertservice", + "community": 48, + "norm_label": "servingcertservice()" }, { - "label": "Ingress", + "label": "Service", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L402", "_origin": "ast", - "community": 2, - "norm_label": "ingress", - "id": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_service", + "community": 48, + "norm_label": "service" }, { - "label": ".getClusterIngresses()", + "label": "servingCertSecret()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L76", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L410", "_origin": "ast", - "community": 2, - "norm_label": ".getclusteringresses()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses" + "id": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "community": 48, + "norm_label": "servingcertsecret()" }, { - "label": "getIngressesToDelete()", + "label": "Secret", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L93", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L410", "_origin": "ast", - "community": 2, - "norm_label": "getingressestodelete()", - "id": "devworkspacerouting_sync_ingresses_getingressestodelete" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_secret", + "community": 48, + "norm_label": "secret" }, { - "label": "listContainsIngressByName()", + "label": "servingCertSecretWithAnnotations()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L103", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L418", "_origin": "ast", - "community": 2, - "norm_label": "listcontainsingressbyname()", - "id": "devworkspacerouting_sync_ingresses_listcontainsingressbyname" + "id": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "community": 48, + "norm_label": "servingcertsecretwithannotations()" }, { - "label": "sync_routes.go", + "label": "servingCertSecretWithData()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L423", "_origin": "ast", - "community": 132, - "norm_label": "sync_routes.go", - "id": "devworkspacerouting_sync_routes" + "id": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "community": 48, + "norm_label": "servingcertsecretwithdata()" }, { - "label": "DevWorkspaceRoutingReconciler", + "label": "newTLSReconciler()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "_origin": "ast", - "community": 132, - "norm_label": "devworkspaceroutingreconciler", - "id": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting_devworkspaceroutingreconciler" + "id": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "community": 48, + "norm_label": "newtlsreconciler()" }, { - "label": ".syncRoutes()", + "label": "DevWorkspaceRoutingClass", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "_origin": "ast", - "community": 132, - "norm_label": ".syncroutes()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspaceroutingclass", + "community": 48, + "norm_label": "devworkspaceroutingclass" }, { - "label": "DevWorkspaceRouting", + "label": "DevWorkspaceRoutingReconciler", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "_origin": "ast", - "community": 132, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspaceroutingreconciler", + "community": 48, + "norm_label": "devworkspaceroutingreconciler" }, { - "label": "Route", + "label": "Client", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "_origin": "ast", - "community": 132, - "norm_label": "route", - "id": "controllers_controller_devworkspacerouting_sync_routes_go_route" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "community": 48, + "norm_label": "client" }, { - "label": ".getClusterRoutes()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L75", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "_origin": "ast", - "community": 132, - "norm_label": ".getclusterroutes()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspacerouting", + "community": 48, + "norm_label": "devworkspacerouting" }, { - "label": "getRoutesToDelete()", + "label": "setTLSServiceUIDs()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L103", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L472", "_origin": "ast", - "community": 132, - "norm_label": "getroutestodelete()", - "id": "devworkspacerouting_sync_routes_getroutestodelete" + "id": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "community": 48, + "norm_label": "settlsserviceuids()" }, { - "label": "listContainsRouteByName()", + "label": "getRouting()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L113", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L490", "_origin": "ast", - "community": 132, - "norm_label": "listcontainsroutebyname()", - "id": "devworkspacerouting_sync_routes_listcontainsroutebyname" + "id": "devworkspacerouting_serving_certificates_test_getrouting", + "community": 48, + "norm_label": "getrouting()" }, { - "label": "sync_services.go", + "label": "secretReadErrorClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L500", "_origin": "ast", - "community": 2, - "norm_label": "sync_services.go", - "id": "devworkspacerouting_sync_services" + "id": "devworkspacerouting_secretreaderrorclient", + "community": 48, + "norm_label": "secretreaderrorclient" }, { - "label": "DevWorkspaceRoutingReconciler", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "_origin": "ast", - "community": 2, - "norm_label": "devworkspaceroutingreconciler", - "id": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting_devworkspaceroutingreconciler" + "id": "devworkspacerouting_secretreaderrorclient_get", + "community": 48, + "norm_label": ".get()" }, { - "label": ".syncServices()", + "label": "Context", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "_origin": "ast", - "community": 2, - "norm_label": ".syncservices()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_syncservices" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_context", + "community": 48, + "norm_label": "context" }, { - "label": "DevWorkspaceRouting", + "label": "ObjectKey", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "_origin": "ast", - "community": 2, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_objectkey", + "community": 48, + "norm_label": "objectkey" }, { - "label": "Service", + "label": "Object", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "_origin": "ast", - "community": 2, - "norm_label": "service", - "id": "controllers_controller_devworkspacerouting_sync_services_go_service" + "id": "controllers_controller_devworkspacerouting_serving_certificates_test_go_object", + "community": 48, + "norm_label": "object" }, { - "label": ".getClusterServices()", + "label": "secretHidingClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L75", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L514", "_origin": "ast", - "community": 2, - "norm_label": ".getclusterservices()", - "id": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices" + "id": "devworkspacerouting_secrethidingclient", + "community": 48, + "norm_label": "secrethidingclient" }, { - "label": "getServicesToDelete()", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L92", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L517", "_origin": "ast", - "community": 2, - "norm_label": "getservicestodelete()", - "id": "devworkspacerouting_sync_services_getservicestodelete" + "id": "devworkspacerouting_secrethidingclient_get", + "community": 48, + "norm_label": ".get()" }, { - "label": "listContainsByName()", + "label": "recordingSecretClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L102", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L525", "_origin": "ast", - "community": 2, - "norm_label": "listcontainsbyname()", - "id": "devworkspacerouting_sync_services_listcontainsbyname" + "id": "devworkspacerouting_recordingsecretclient", + "community": 48, + "norm_label": "recordingsecretclient" }, { - "label": "util_test.go", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L533", "_origin": "ast", - "community": 1, - "norm_label": "util_test.go", - "id": "devworkspacerouting_util_test" + "id": "devworkspacerouting_recordingsecretclient_get", + "community": 48, + "norm_label": ".get()" }, { - "label": "createDWR()", + "label": "solver_context_test.go", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L60", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L1", "_origin": "ast", - "community": 1, - "norm_label": "createdwr()", - "id": "devworkspacerouting_util_test_createdwr" + "id": "devworkspacerouting_solver_context_test", + "community": 145, + "norm_label": "solver_context_test.go" }, { - "label": "DevWorkspaceRouting", + "label": "TestReconcilePassesContextToDiscoverableServiceRead()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L60", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L35", "_origin": "ast", - "community": 1, - "norm_label": "devworkspacerouting", - "id": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" + "id": "devworkspacerouting_solver_context_test_testreconcilepassescontexttodiscoverableserviceread", + "community": 145, + "norm_label": "testreconcilepassescontexttodiscoverableserviceread()" }, { - "label": "getExistingDevWorkspaceRouting()", + "label": "T", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L112", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L35", "_origin": "ast", - "community": 1, - "norm_label": "getexistingdevworkspacerouting()", - "id": "devworkspacerouting_util_test_getexistingdevworkspacerouting" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_t", + "community": 145, + "norm_label": "t" }, { - "label": "getReadyDevWorkspaceRouting()", + "label": "cancelOnServiceReadClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L125", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L99", "_origin": "ast", - "community": 1, - "norm_label": "getreadydevworkspacerouting()", - "id": "devworkspacerouting_util_test_getreadydevworkspacerouting" + "id": "devworkspacerouting_cancelonservicereadclient", + "community": 145, + "norm_label": "cancelonservicereadclient" }, { - "label": "deleteService()", + "label": "Client", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L137", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L100", "_origin": "ast", - "community": 1, - "norm_label": "deleteservice()", - "id": "devworkspacerouting_util_test_deleteservice" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_client", + "community": 145, + "norm_label": "client" }, { - "label": "deleteRoute()", + "label": "CancelFunc", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L147", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L101", "_origin": "ast", - "community": 1, - "norm_label": "deleteroute()", - "id": "devworkspacerouting_util_test_deleteroute" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_cancelfunc", + "community": 145, + "norm_label": "cancelfunc" }, { - "label": "deleteIngress()", + "label": "Time", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L157", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L102", "_origin": "ast", - "community": 1, - "norm_label": "deleteingress()", - "id": "devworkspacerouting_util_test_deleteingress" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_time", + "community": 145, + "norm_label": "time" }, { - "label": "deleteDevWorkspaceRouting()", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L167", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "_origin": "ast", - "community": 1, - "norm_label": "deletedevworkspacerouting()", - "id": "devworkspacerouting_util_test_deletedevworkspacerouting" + "id": "devworkspacerouting_cancelonservicereadclient_get", + "community": 145, + "norm_label": ".get()" }, { - "label": "devWorkspaceRoutingOwnerRef()", + "label": "Context", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L185", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "_origin": "ast", - "community": 1, - "norm_label": "devworkspaceroutingownerref()", - "id": "devworkspacerouting_util_test_devworkspaceroutingownerref" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "community": 145, + "norm_label": "context" }, { - "label": "OwnerReference", + "label": "ObjectKey", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L185", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "_origin": "ast", - "community": 1, - "norm_label": "ownerreference", - "id": "controllers_controller_devworkspacerouting_util_test_go_ownerreference" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_objectkey", + "community": 145, + "norm_label": "objectkey" }, { - "label": "deleteObject()", + "label": "Object", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L196", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "_origin": "ast", - "community": 1, - "norm_label": "deleteobject()", - "id": "devworkspacerouting_util_test_deleteobject" + "id": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "community": 145, + "norm_label": "object" }, { - "label": "Object", + "label": "serviceWriteRecordingClient", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L196", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L123", "_origin": "ast", - "community": 1, - "norm_label": "object", - "id": "controllers_controller_devworkspacerouting_util_test_go_object" + "id": "devworkspacerouting_servicewriterecordingclient", + "community": 145, + "norm_label": "servicewriterecordingclient" }, { - "label": "namespacedName()", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L204", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L132", "_origin": "ast", - "community": 1, - "norm_label": "namespacedname()", - "id": "devworkspacerouting_util_test_namespacedname" + "id": "devworkspacerouting_servicewriterecordingclient_get", + "community": 145, + "norm_label": ".get()" }, { - "label": "NamespacedName", + "label": ".Create()", "file_type": "code", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L204", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L139", "_origin": "ast", - "community": 1, - "norm_label": "namespacedname", - "id": "controllers_controller_devworkspacerouting_util_test_go_namespacedname" + "id": "devworkspacerouting_servicewriterecordingclient_create", + "community": 145, + "norm_label": ".create()" }, { - "label": "cleanup.go", + "label": ".Update()", "file_type": "code", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L146", "_origin": "ast", - "community": 291, - "norm_label": "cleanup.go", - "id": "workspace_cleanup" + "id": "devworkspacerouting_servicewriterecordingclient_update", + "community": 145, + "norm_label": ".update()" }, { - "label": "DevWorkspaceReconciler", + "label": ".Delete()", "file_type": "code", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L153", "_origin": "ast", - "community": 2, - "norm_label": "devworkspacereconciler", - "id": "controllers_workspace_cleanup_go_workspace_devworkspacereconciler" + "id": "devworkspacerouting_servicewriterecordingclient_delete", + "community": 145, + "norm_label": ".delete()" }, { - "label": ".deleteWorkspaceOwnedObjects()", + "label": ".Patch()", "file_type": "code", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L160", "_origin": "ast", - "community": 2, - "norm_label": ".deleteworkspaceownedobjects()", - "id": "workspace_devworkspacereconciler_deleteworkspaceownedobjects" + "id": "devworkspacerouting_servicewriterecordingclient_patch", + "community": 145, + "norm_label": ".patch()" }, { - "label": "Context", + "label": "Patch", "file_type": "code", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L160", "_origin": "ast", - "community": 2, - "norm_label": "context", - "id": "controllers_workspace_cleanup_go_context" + "id": "patch", + "community": 145, + "norm_label": "patch" }, { - "label": "DevWorkspaceWithConfig", + "label": "basic_solver.go", "file_type": "code", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L1", "_origin": "ast", - "community": 2, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_cleanup_go_devworkspacewithconfig" + "id": "solvers_basic_solver", + "community": 232, + "norm_label": "basic_solver.go" }, { - "label": "condition.go", + "label": "BasicSolver", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L53", "_origin": "ast", - "community": 60, - "norm_label": "condition.go", - "id": "workspace_condition" + "id": "solvers_basicsolver", + "community": 232, + "norm_label": "basicsolver" }, { - "label": "workspaceConditions", + "label": "Client", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L40", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L54", "_origin": "ast", - "community": 60, - "norm_label": "workspaceconditions", - "id": "workspace_workspaceconditions" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_client", + "community": 232, + "norm_label": "client" }, { - "label": "DevWorkspaceConditionType", + "label": "NewBasicSolver()", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L60", "_origin": "ast", - "community": 60, - "norm_label": "devworkspaceconditiontype", - "id": "controllers_workspace_condition_go_devworkspaceconditiontype" + "id": "solvers_basic_solver_newbasicsolver", + "community": 232, + "norm_label": "newbasicsolver()" }, { - "label": "DevWorkspaceCondition", + "label": ".FinalizerRequired()", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L66", "_origin": "ast", - "community": 60, - "norm_label": "devworkspacecondition", - "id": "controllers_workspace_condition_go_devworkspacecondition" + "id": "solvers_basicsolver_finalizerrequired", + "community": 232, + "norm_label": ".finalizerrequired()" }, { - "label": "workspaceConditionsFromClusterObject()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L45", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L66", "_origin": "ast", - "community": 60, - "norm_label": "workspaceconditionsfromclusterobject()", - "id": "workspace_condition_workspaceconditionsfromclusterobject" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting", + "community": 232, + "norm_label": "devworkspacerouting" }, { - "label": ".setConditionTrue()", + "label": ".Finalize()", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L59", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L70", "_origin": "ast", - "community": 60, - "norm_label": ".setconditiontrue()", - "id": "workspace_workspaceconditions_setconditiontrue" + "id": "solvers_basicsolver_finalize", + "community": 232, + "norm_label": ".finalize()" }, { - "label": ".setConditionTrueWithReason()", + "label": ".GetSpecObjects()", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L63", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L74", "_origin": "ast", - "community": 60, - "norm_label": ".setconditiontruewithreason()", - "id": "workspace_workspaceconditions_setconditiontruewithreason" + "id": "solvers_basicsolver_getspecobjects", + "community": 232, + "norm_label": ".getspecobjects()" }, { - "label": ".setCondition()", + "label": "Context", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L75", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L74", "_origin": "ast", - "community": 60, - "norm_label": ".setcondition()", - "id": "workspace_workspaceconditions_setcondition" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_context", + "community": 232, + "norm_label": "context" }, { - "label": ".setConditionFalse()", + "label": "DevWorkspaceMetadata", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L74", "_origin": "ast", - "community": 60, - "norm_label": ".setconditionfalse()", - "id": "workspace_workspaceconditions_setconditionfalse" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacemetadata", + "community": 232, + "norm_label": "devworkspacemetadata" }, { - "label": ".addWarning()", + "label": "RoutingObjects", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L94", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L74", "_origin": "ast", - "community": 60, - "norm_label": ".addwarning()", - "id": "workspace_workspaceconditions_addwarning" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_routingobjects", + "community": 232, + "norm_label": "routingobjects" }, { - "label": ".addWarningWithReason()", + "label": ".GetExposedEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L98", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L100", "_origin": "ast", - "community": 60, - "norm_label": ".addwarningwithreason()", - "id": "workspace_workspaceconditions_addwarningwithreason" + "id": "solvers_basicsolver_getexposedendpoints", + "community": 232, + "norm_label": ".getexposedendpoints()" }, { - "label": ".getFirstFalse()", + "label": "EndpointList", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L108", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L100", "_origin": "ast", - "community": 60, - "norm_label": ".getfirstfalse()", - "id": "workspace_workspaceconditions_getfirstfalse" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_endpointlist", + "community": 232, + "norm_label": "endpointlist" }, { - "label": ".getLastTrue()", + "label": "ExposedEndpointList", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L117", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L100", "_origin": "ast", - "community": 60, - "norm_label": ".getlasttrue()", - "id": "workspace_workspaceconditions_getlasttrue" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_exposedendpointlist", + "community": 232, + "norm_label": "exposedendpointlist" }, { - "label": "getConditionIndexInOrder()", + "label": "basic_solver_test.go", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L127", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L1", "_origin": "ast", - "community": 60, - "norm_label": "getconditionindexinorder()", - "id": "workspace_condition_getconditionindexinorder" + "id": "solvers_basic_solver_test", + "community": 140, + "norm_label": "basic_solver_test.go" }, { - "label": "capitalizeMessage()", + "label": "TestBasicSolverGetSpecObjectsKubernetes()", "file_type": "code", - "source_file": "controllers/workspace/condition.go", - "source_location": "L137", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L37", "_origin": "ast", - "community": 60, - "norm_label": "capitalizemessage()", - "id": "workspace_condition_capitalizemessage" + "id": "solvers_basic_solver_test_testbasicsolvergetspecobjectskubernetes", + "community": 140, + "norm_label": "testbasicsolvergetspecobjectskubernetes()" }, { - "label": "devworkspace_controller.go", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L37", "_origin": "ast", - "community": 33, - "norm_label": "devworkspace_controller.go", - "id": "workspace_devworkspace_controller" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_t", + "community": 140, + "norm_label": "t" }, { - "label": "DevWorkspaceReconciler", + "label": "TestBasicSolverGetSpecObjectsErrors()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L80", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L141", "_origin": "ast", - "community": 33, - "norm_label": "devworkspacereconciler", - "id": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler" + "id": "solvers_basic_solver_test_testbasicsolvergetspecobjectserrors", + "community": 140, + "norm_label": "testbasicsolvergetspecobjectserrors()" }, { - "label": "Client", + "label": "newBasicSolverTest()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L81", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "_origin": "ast", - "community": 33, - "norm_label": "client", - "id": "controllers_workspace_devworkspace_controller_go_client" + "id": "solvers_basic_solver_test_newbasicsolvertest", + "community": 140, + "norm_label": "newbasicsolvertest()" }, { - "label": "Logger", + "label": "BasicSolver", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "_origin": "ast", - "community": 33, - "norm_label": "logger", - "id": "controllers_workspace_devworkspace_controller_go_logger" + "id": "basicsolver", + "community": 140, + "norm_label": "basicsolver" }, { - "label": "Scheme", + "label": "DevWorkspaceMetadata", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L84", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "_origin": "ast", - "community": 33, - "norm_label": "scheme", - "id": "controllers_workspace_devworkspace_controller_go_scheme" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_devworkspacemetadata", + "community": 140, + "norm_label": "devworkspacemetadata" }, { - "label": ".Reconcile()", + "label": "testEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "_origin": "ast", - "community": 33, - "norm_label": ".reconcile()", - "id": "workspace_devworkspacereconciler_reconcile" + "id": "solvers_basic_solver_test_testendpoint", + "community": 140, + "norm_label": "testendpoint()" }, { - "label": "Context", + "label": "EndpointExposure", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "_origin": "ast", - "community": 33, - "norm_label": "context", - "id": "controllers_workspace_devworkspace_controller_go_context" + "id": "endpointexposure", + "community": 140, + "norm_label": "endpointexposure" }, { - "label": "Request", + "label": "EndpointProtocol", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "_origin": "ast", - "community": 33, - "norm_label": "request", - "id": "controllers_workspace_devworkspace_controller_go_request" + "id": "endpointprotocol", + "community": 140, + "norm_label": "endpointprotocol" }, { - "label": "Result", + "label": "Endpoint", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "_origin": "ast", - "community": 33, - "norm_label": "result", - "id": "controllers_workspace_devworkspace_controller_go_result" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_endpoint", + "community": 140, + "norm_label": "endpoint" }, { - "label": ".stopWorkspace()", + "label": "routingForEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L259", "_origin": "ast", - "community": 33, - "norm_label": ".stopworkspace()", - "id": "workspace_devworkspacereconciler_stopworkspace" + "id": "solvers_basic_solver_test_routingforendpoints", + "community": 140, + "norm_label": "routingforendpoints()" }, { - "label": "DevWorkspaceWithConfig", + "label": "EndpointList", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L259", "_origin": "ast", - "community": 33, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_endpointlist", + "community": 140, + "norm_label": "endpointlist" }, { - "label": ".doStop()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L656", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L259", "_origin": "ast", - "community": 33, - "norm_label": ".dostop()", - "id": "workspace_devworkspacereconciler_dostop" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_devworkspacerouting", + "community": 140, + "norm_label": "devworkspacerouting" }, { - "label": ".failWorkspace()", + "label": "failingServiceGetClient", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L264", "_origin": "ast", - "community": 33, - "norm_label": ".failworkspace()", - "id": "workspace_devworkspacereconciler_failworkspace" + "id": "solvers_failingservicegetclient", + "community": 140, + "norm_label": "failingservicegetclient" }, { - "label": "FailureReason", + "label": "Client", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L265", "_origin": "ast", - "community": 33, - "norm_label": "failurereason", - "id": "controllers_workspace_devworkspace_controller_go_failurereason" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_client", + "community": 140, + "norm_label": "client" }, { - "label": "currentStatus", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "_origin": "ast", - "community": 33, - "norm_label": "currentstatus", - "id": "controllers_workspace_devworkspace_controller_go_currentstatus" + "id": "solvers_failingservicegetclient_get", + "community": 140, + "norm_label": ".get()" }, { - "label": ".checkDWError()", + "label": "Context", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "_origin": "ast", - "community": 33, - "norm_label": ".checkdwerror()", - "id": "workspace_devworkspacereconciler_checkdwerror" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_context", + "community": 140, + "norm_label": "context" }, { - "label": ".syncStartedAtToCluster()", + "label": "ObjectKey", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L740", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "_origin": "ast", - "community": 33, - "norm_label": ".syncstartedattocluster()", - "id": "workspace_devworkspacereconciler_syncstartedattocluster" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_objectkey", + "community": 140, + "norm_label": "objectkey" }, { - "label": ".removeStartedAtFromCluster()", + "label": "Object", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L761", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "_origin": "ast", - "community": 33, - "norm_label": ".removestartedatfromcluster()", - "id": "workspace_devworkspacereconciler_removestartedatfromcluster" + "id": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_object", + "community": 140, + "norm_label": "object" }, { - "label": ".getWorkspaceId()", + "label": "cluster_solver.go", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L782", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L1", "_origin": "ast", - "community": 33, - "norm_label": ".getworkspaceid()", - "id": "workspace_devworkspacereconciler_getworkspaceid" + "id": "solvers_cluster_solver", + "community": 0, + "norm_label": "cluster_solver.go" }, { - "label": ".SetupWithManager()", + "label": "ClusterSolver", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L806", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L33", "_origin": "ast", - "community": 118, - "norm_label": ".setupwithmanager()", - "id": "workspace_devworkspacereconciler_setupwithmanager" + "id": "solvers_clustersolver", + "community": 0, + "norm_label": "clustersolver" }, { - "label": "Manager", + "label": "Client", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L806", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L35", "_origin": "ast", - "community": 118, - "norm_label": "manager", - "id": "controllers_workspace_devworkspace_controller_go_manager" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_client", + "community": 0, + "norm_label": "client" }, { - "label": "devworkspace_controller_test.go", + "label": "NewClusterSolver()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller_test.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L41", "_origin": "ast", - "community": 11, - "norm_label": "devworkspace_controller_test.go", - "id": "workspace_devworkspace_controller_test" + "id": "solvers_cluster_solver_newclustersolver", + "community": 0, + "norm_label": "newclustersolver()" }, { - "label": "loadObjectFromFile()", + "label": ".FinalizerRequired()", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller_test.go", - "source_location": "L46", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L48", "_origin": "ast", - "community": 11, - "norm_label": "loadobjectfromfile()", - "id": "workspace_devworkspace_controller_test_loadobjectfromfile" + "id": "solvers_clustersolver_finalizerrequired", + "community": 0, + "norm_label": ".finalizerrequired()" }, { - "label": "Object", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/workspace/devworkspace_controller_test.go", - "source_location": "L46", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L48", "_origin": "ast", - "community": 11, - "norm_label": "object", - "id": "controllers_workspace_devworkspace_controller_test_go_object" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting", + "community": 0, + "norm_label": "devworkspacerouting" }, { - "label": "eventhandlers.go", + "label": ".Finalize()", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L52", "_origin": "ast", - "community": 133, - "norm_label": "eventhandlers.go", - "id": "workspace_eventhandlers" + "id": "solvers_clustersolver_finalize", + "community": 0, + "norm_label": ".finalize()" }, { - "label": "dwRelatedPodsHandler()", + "label": ".GetSpecObjects()", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L56", "_origin": "ast", - "community": 133, - "norm_label": "dwrelatedpodshandler()", - "id": "workspace_eventhandlers_dwrelatedpodshandler" + "id": "solvers_clustersolver_getspecobjects", + "community": 0, + "norm_label": ".getspecobjects()" }, { "label": "Context", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L56", "_origin": "ast", - "community": 133, - "norm_label": "context", - "id": "controllers_workspace_eventhandlers_go_context" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_context", + "community": 0, + "norm_label": "context" }, { - "label": "Object", + "label": "DevWorkspaceMetadata", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L56", "_origin": "ast", - "community": 133, - "norm_label": "object", - "id": "controllers_workspace_eventhandlers_go_object" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacemetadata", + "community": 0, + "norm_label": "devworkspacemetadata" }, { - "label": "Request", + "label": "RoutingObjects", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L56", "_origin": "ast", - "community": 133, - "norm_label": "request", - "id": "controllers_workspace_eventhandlers_go_request" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_routingobjects", + "community": 0, + "norm_label": "routingobjects" }, { - "label": "DevWorkspaceReconciler", + "label": ".GetExposedEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L51", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L103", "_origin": "ast", - "community": 133, - "norm_label": "devworkspacereconciler", - "id": "controllers_workspace_eventhandlers_go_workspace_devworkspacereconciler" + "id": "solvers_clustersolver_getexposedendpoints", + "community": 0, + "norm_label": ".getexposedendpoints()" }, { - "label": ".dwPVCHandler()", + "label": "EndpointList", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L51", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L103", "_origin": "ast", - "community": 133, - "norm_label": ".dwpvchandler()", - "id": "workspace_devworkspacereconciler_dwpvchandler" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpointlist", + "community": 0, + "norm_label": "endpointlist" }, { - "label": ".runningWorkspacesHandler()", + "label": "ExposedEndpointList", "file_type": "code", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L122", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L103", "_origin": "ast", - "community": 133, - "norm_label": ".runningworkspaceshandler()", - "id": "workspace_devworkspacereconciler_runningworkspaceshandler" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_exposedendpointlist", + "community": 0, + "norm_label": "exposedendpointlist" }, { - "label": "finalize.go", + "label": "resolveServiceHostnameForEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L130", "_origin": "ast", - "community": 292, - "norm_label": "finalize.go", - "id": "workspace_finalize" + "id": "solvers_cluster_solver_resolveservicehostnameforendpoint", + "community": 0, + "norm_label": "resolveservicehostnameforendpoint()" }, { - "label": "DevWorkspaceReconciler", + "label": "Endpoint", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L40", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L130", "_origin": "ast", - "community": 4, - "norm_label": "devworkspacereconciler", - "id": "controllers_workspace_finalize_go_workspace_devworkspacereconciler" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpoint", + "community": 0, + "norm_label": "endpoint" }, { - "label": ".workspaceNeedsFinalize()", + "label": "Service", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L40", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L130", "_origin": "ast", - "community": 4, - "norm_label": ".workspaceneedsfinalize()", - "id": "workspace_devworkspacereconciler_workspaceneedsfinalize" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_service", + "community": 0, + "norm_label": "service" }, { - "label": "DevWorkspaceWithConfig", + "label": "getHostnameFromService()", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L40", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L144", "_origin": "ast", - "community": 4, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_finalize_go_devworkspacewithconfig" + "id": "solvers_cluster_solver_gethostnamefromservice", + "community": 0, + "norm_label": "gethostnamefromservice()" }, { - "label": ".finalize()", + "label": "cluster_solver_test.go", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L1", "_origin": "ast", - "community": 4, - "norm_label": ".finalize()", - "id": "workspace_devworkspacereconciler_finalize" + "id": "solvers_cluster_solver_test", + "community": 0, + "norm_label": "cluster_solver_test.go" }, { - "label": "Context", + "label": "TestClusterSolverGetSpecObjectsServingCertMounts()", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L31", "_origin": "ast", - "community": 4, - "norm_label": "context", - "id": "controllers_workspace_finalize_go_context" + "id": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "community": 0, + "norm_label": "testclustersolvergetspecobjectsservingcertmounts()" }, { - "label": "Logger", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L31", "_origin": "ast", - "community": 4, - "norm_label": "logger", - "id": "controllers_workspace_finalize_go_logger" + "id": "controllers_controller_devworkspacerouting_solvers_cluster_solver_test_go_t", + "community": 0, + "norm_label": "t" }, { - "label": "Result", + "label": "TestClusterSolverGetSpecObjectsLongServingCertVolumeNames()", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L130", "_origin": "ast", - "community": 4, - "norm_label": "result", - "id": "controllers_workspace_finalize_go_result" + "id": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "community": 0, + "norm_label": "testclustersolvergetspecobjectslongservingcertvolumenames()" }, { - "label": ".finalizeStorage()", + "label": "common.go", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L1", "_origin": "ast", - "community": 4, - "norm_label": ".finalizestorage()", - "id": "workspace_devworkspacereconciler_finalizestorage" + "id": "solvers_common", + "community": 1, + "norm_label": "common.go" }, { - "label": "currentStatus", + "label": "DevWorkspaceMetadata", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L38", "_origin": "ast", - "community": 4, - "norm_label": "currentstatus", - "id": "controllers_workspace_finalize_go_currentstatus" + "id": "solvers_devworkspacemetadata", + "community": 1, + "norm_label": "devworkspacemetadata" }, { - "label": ".finalizeRBAC()", + "label": "UID", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L41", "_origin": "ast", - "community": 4, - "norm_label": ".finalizerbac()", - "id": "workspace_devworkspacereconciler_finalizerbac" + "id": "uid", + "community": 298, + "norm_label": "uid" }, { - "label": ".finalizeServiceAccount()", + "label": "GetDiscoverableServicesForEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "_origin": "ast", - "community": 4, - "norm_label": ".finalizeserviceaccount()", - "id": "workspace_devworkspacereconciler_finalizeserviceaccount" + "id": "solvers_common_getdiscoverableservicesforendpoints", + "community": 269, + "norm_label": "getdiscoverableservicesforendpoints()" }, { - "label": ".namespaceIsTerminating()", + "label": "Context", "file_type": "code", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L193", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "_origin": "ast", - "community": 4, - "norm_label": ".namespaceisterminating()", - "id": "workspace_devworkspacereconciler_namespaceisterminating" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_context", + "community": 269, + "norm_label": "context" }, { - "label": "http.go", + "label": "EndpointList", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "_origin": "ast", - "community": 147, - "norm_label": "http.go", - "id": "controllers_workspace_internal_testutil_http_go_testutil_http" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist", + "community": 1, + "norm_label": "endpointlist" }, { - "label": "TestRoundTripper", + "label": "Client", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L23", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "_origin": "ast", - "community": 147, - "norm_label": "testroundtripper", - "id": "testutil_testroundtripper" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_client", + "community": 269, + "norm_label": "client" }, { - "label": "TestResponse", + "label": "Service", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L24", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "_origin": "ast", - "community": 147, - "norm_label": "testresponse", - "id": "testresponse" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_service", + "community": 1, + "norm_label": "service" }, { - "label": "TestResponse", + "label": "GetServiceForEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L27", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L124", "_origin": "ast", - "community": 147, - "norm_label": "testresponse", - "id": "testutil_testresponse" + "id": "solvers_common_getserviceforendpoints", + "community": 1, + "norm_label": "getserviceforendpoints()" }, { - "label": ".RoundTrip()", + "label": "getServicesForEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L184", "_origin": "ast", - "community": 147, - "norm_label": ".roundtrip()", - "id": "testutil_testroundtripper_roundtrip" + "id": "solvers_common_getservicesforendpoints", + "community": 1, + "norm_label": "getservicesforendpoints()" }, { - "label": "Request", + "label": "getRoutesForSpec()", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L199", "_origin": "ast", - "community": 147, - "norm_label": "request", - "id": "controllers_workspace_internal_testutil_http_go_request" + "id": "solvers_common_getroutesforspec", + "community": 1, + "norm_label": "getroutesforspec()" }, { - "label": "Response", + "label": "Route", "file_type": "code", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L199", "_origin": "ast", - "community": 147, - "norm_label": "response", - "id": "controllers_workspace_internal_testutil_http_go_response" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_route", + "community": 1, + "norm_label": "route" }, { - "label": "deployment_provisioning.go", + "label": "getIngressesForSpec()", "file_type": "code", - "source_file": "controllers/workspace/metrics/deployment_provisioning.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L212", "_origin": "ast", - "community": 233, - "norm_label": "deployment_provisioning.go", - "id": "metrics_deployment_provisioning" + "id": "solvers_common_getingressesforspec", + "community": 1, + "norm_label": "getingressesforspec()" }, { - "label": "DetermineProvisioningFailureReason()", + "label": "Ingress", "file_type": "code", - "source_file": "controllers/workspace/metrics/deployment_provisioning.go", - "source_location": "L38", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L212", "_origin": "ast", - "community": 233, - "norm_label": "determineprovisioningfailurereason()", - "id": "metrics_deployment_provisioning_determineprovisioningfailurereason" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_ingress", + "community": 1, + "norm_label": "ingress" }, { - "label": "FailureReason", + "label": "getRouteForEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/metrics/deployment_provisioning.go", - "source_location": "L38", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L225", "_origin": "ast", - "community": 233, - "norm_label": "failurereason", - "id": "controllers_workspace_metrics_deployment_provisioning_go_failurereason" + "id": "solvers_common_getrouteforendpoint", + "community": 1, + "norm_label": "getrouteforendpoint()" }, { - "label": "failure_reason.go", + "label": "Endpoint", "file_type": "code", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L225", "_origin": "ast", - "community": 117, - "norm_label": "failure_reason.go", - "id": "metrics_failure_reason" + "id": "controllers_controller_devworkspacerouting_solvers_common_go_endpoint", + "community": 1, + "norm_label": "endpoint" }, { - "label": "FailureReason", + "label": "getIngressForEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L24", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L255", "_origin": "ast", - "community": 117, - "norm_label": "failurereason", - "id": "metrics_failurereason" + "id": "solvers_common_getingressforendpoint", + "community": 1, + "norm_label": "getingressforendpoint()" }, { - "label": "GetFailureReason()", + "label": "common_test.go", "file_type": "code", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L1", "_origin": "ast", - "community": 117, - "norm_label": "getfailurereason()", - "id": "metrics_failure_reason_getfailurereason" + "id": "solvers_common_test", + "community": 269, + "norm_label": "common_test.go" }, { - "label": "DevWorkspaceWithConfig", + "label": "TestGetDiscoverableServicesForEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L30", "_origin": "ast", - "community": 117, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_metrics_failure_reason_go_devworkspacewithconfig" + "id": "solvers_common_test_testgetdiscoverableservicesforendpoints", + "community": 269, + "norm_label": "testgetdiscoverableservicesforendpoints()" }, { - "label": "metrics.go", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/metrics/metrics.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L30", "_origin": "ast", - "community": 246, - "norm_label": "metrics.go", - "id": "metrics_metrics" + "id": "controllers_controller_devworkspacerouting_solvers_common_test_go_t", + "community": 269, + "norm_label": "t" }, { - "label": "init()", + "label": "TestGetDiscoverableServicesForEndpoints_MultipleEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/metrics/metrics.go", - "source_location": "L78", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L150", "_origin": "ast", - "community": 246, - "norm_label": "init()", - "id": "metrics_metrics_init" + "id": "solvers_common_test_testgetdiscoverableservicesforendpoints_multipleendpoints", + "community": 269, + "norm_label": "testgetdiscoverableservicesforendpoints_multipleendpoints()" }, { - "label": "update.go", + "label": "TestGetDiscoverableServicesForEndpoints_SameWorkspaceDuplicateName()", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L226", "_origin": "ast", - "community": 111, - "norm_label": "update.go", - "id": "metrics_update" + "id": "solvers_common_test_testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename", + "community": 269, + "norm_label": "testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename()" }, { - "label": "WorkspaceStarted()", + "label": "TestGetDiscoverableServicesForEndpoints_DuplicateNameOrderIsStable()", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L274", "_origin": "ast", - "community": 111, - "norm_label": "workspacestarted()", - "id": "metrics_update_workspacestarted" + "id": "solvers_common_test_testgetdiscoverableservicesforendpoints_duplicatenameorderisstable", + "community": 269, + "norm_label": "testgetdiscoverableservicesforendpoints_duplicatenameorderisstable()" }, { - "label": "DevWorkspaceWithConfig", + "label": "context_test.go", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L1", "_origin": "ast", - "community": 111, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "id": "solvers_context_test", + "community": 307, + "norm_label": "context_test.go" }, { - "label": "Logger", + "label": "TestDiscoverableServiceLookupPreservesCancellation()", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L31", "_origin": "ast", - "community": 111, - "norm_label": "logger", - "id": "controllers_workspace_metrics_update_go_logger" + "id": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "community": 80, + "norm_label": "testdiscoverableservicelookuppreservescancellation()" }, { - "label": "WorkspaceRunning()", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L40", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L31", "_origin": "ast", - "community": 111, - "norm_label": "workspacerunning()", - "id": "metrics_update_workspacerunning" + "id": "controllers_controller_devworkspacerouting_solvers_context_test_go_t", + "community": 80, + "norm_label": "t" }, { - "label": "WorkspaceFailed()", + "label": "lookupContextKey", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L50", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L90", "_origin": "ast", - "community": 111, - "norm_label": "workspacefailed()", - "id": "metrics_update_workspacefailed" + "id": "solvers_lookupcontextkey", + "community": 307, + "norm_label": "lookupcontextkey" }, { - "label": "incrementMetricForWorkspace()", + "label": "cancelingLookupClient", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L54", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L92", "_origin": "ast", - "community": 111, - "norm_label": "incrementmetricforworkspace()", - "id": "metrics_update_incrementmetricforworkspace" + "id": "solvers_cancelinglookupclient", + "community": 307, + "norm_label": "cancelinglookupclient" }, { - "label": "CounterVec", + "label": "Client", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L54", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L93", "_origin": "ast", - "community": 111, - "norm_label": "countervec", - "id": "countervec" + "id": "controllers_controller_devworkspacerouting_solvers_context_test_go_client", + "community": 307, + "norm_label": "client" }, { - "label": "incrementMetricForWorkspaceFailure()", + "label": "CancelFunc", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L70", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L94", "_origin": "ast", - "community": 111, - "norm_label": "incrementmetricforworkspacefailure()", - "id": "metrics_update_incrementmetricforworkspacefailure" + "id": "controllers_controller_devworkspacerouting_solvers_context_test_go_cancelfunc", + "community": 307, + "norm_label": "cancelfunc" }, { - "label": "incrementStartTimeBucketForWorkspace()", + "label": "Context", "file_type": "code", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L95", "_origin": "ast", - "community": 111, - "norm_label": "incrementstarttimebucketforworkspace()", - "id": "metrics_update_incrementstarttimebucketforworkspace" + "id": "controllers_controller_devworkspacerouting_solvers_context_test_go_context", + "community": 307, + "norm_label": "context" }, { - "label": "predicates.go", + "label": ".Get()", "file_type": "code", - "source_file": "controllers/workspace/predicates.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "_origin": "ast", - "community": 234, - "norm_label": "predicates.go", - "id": "workspace_predicates" + "id": "solvers_cancelinglookupclient_get", + "community": 307, + "norm_label": ".get()" }, { - "label": "objectIsAutomountResource()", + "label": "ObjectKey", "file_type": "code", - "source_file": "controllers/workspace/predicates.go", - "source_location": "L102", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "_origin": "ast", - "community": 234, - "norm_label": "objectisautomountresource()", - "id": "workspace_predicates_objectisautomountresource" + "id": "controllers_controller_devworkspacerouting_solvers_context_test_go_objectkey", + "community": 307, + "norm_label": "objectkey" }, { "label": "Object", "file_type": "code", - "source_file": "controllers/workspace/predicates.go", - "source_location": "L102", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "_origin": "ast", - "community": 234, - "norm_label": "object", - "id": "controllers_workspace_predicates_go_object" + "id": "controllers_controller_devworkspacerouting_solvers_context_test_go_object", + "community": 307, + "norm_label": "object" }, { - "label": "status.go", + "label": "errors.go", "file_type": "code", - "source_file": "controllers/workspace/status.go", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", "source_location": "L1", "_origin": "ast", - "community": 25, - "norm_label": "status.go", - "id": "workspace_status" + "id": "solvers_errors", + "community": 162, + "norm_label": "errors.go" }, { - "label": "currentStatus", + "label": "DuplicateEndpointError", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L55", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L37", "_origin": "ast", - "community": 25, - "norm_label": "currentstatus", - "id": "workspace_currentstatus" + "id": "solvers_duplicateendpointerror", + "community": 162, + "norm_label": "duplicateendpointerror" }, { - "label": "workspaceConditions", + "label": ".Error()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L56", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L43", "_origin": "ast", - "community": 25, - "norm_label": "workspaceconditions", - "id": "workspaceconditions" + "id": "solvers_duplicateendpointerror_error", + "community": 162, + "norm_label": ".error()" }, { - "label": "DevWorkspacePhase", + "label": "RoutingNotReady", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L58", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L52", "_origin": "ast", - "community": 25, - "norm_label": "devworkspacephase", - "id": "controllers_workspace_status_go_devworkspacephase" + "id": "solvers_routingnotready", + "community": 162, + "norm_label": "routingnotready" }, { - "label": "DevWorkspaceReconciler", + "label": "Duration", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L53", "_origin": "ast", - "community": 25, - "norm_label": "devworkspacereconciler", - "id": "controllers_workspace_status_go_workspace_devworkspacereconciler" + "id": "controllers_controller_devworkspacerouting_solvers_errors_go_duration", + "community": 162, + "norm_label": "duration" }, { - "label": ".updateWorkspaceStatus()", + "label": ".Error()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L56", "_origin": "ast", - "community": 25, - "norm_label": ".updateworkspacestatus()", - "id": "workspace_devworkspacereconciler_updateworkspacestatus" + "id": "solvers_routingnotready_error", + "community": 162, + "norm_label": ".error()" }, { - "label": "DevWorkspaceWithConfig", + "label": "RoutingInvalid", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L62", "_origin": "ast", - "community": 25, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_status_go_devworkspacewithconfig" + "id": "solvers_routinginvalid", + "community": 162, + "norm_label": "routinginvalid" }, { - "label": "Logger", + "label": ".Error()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L66", "_origin": "ast", - "community": 25, - "norm_label": "logger", - "id": "controllers_workspace_status_go_logger" + "id": "solvers_routinginvalid_error", + "community": 162, + "norm_label": ".error()" }, { - "label": "Result", + "label": "resolve_endpoints.go", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L1", "_origin": "ast", - "community": 25, - "norm_label": "result", - "id": "controllers_workspace_status_go_result" + "id": "solvers_resolve_endpoints", + "community": 7, + "norm_label": "resolve_endpoints.go" }, { - "label": "syncConditions()", + "label": "getExposedEndpoints()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L102", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "_origin": "ast", - "community": 25, - "norm_label": "syncconditions()", - "id": "workspace_status_syncconditions" + "id": "solvers_resolve_endpoints_getexposedendpoints", + "community": 7, + "norm_label": "getexposedendpoints()" }, { - "label": "DevWorkspaceStatus", + "label": "EndpointList", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L102", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "_origin": "ast", - "community": 25, - "norm_label": "devworkspacestatus", - "id": "controllers_workspace_status_go_devworkspacestatus" + "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpointlist", + "community": 7, + "norm_label": "endpointlist" }, { - "label": "syncWorkspaceMainURL()", + "label": "RoutingObjects", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "_origin": "ast", - "community": 25, - "norm_label": "syncworkspacemainurl()", - "id": "workspace_status_syncworkspacemainurl" + "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_routingobjects", + "community": 7, + "norm_label": "routingobjects" }, { "label": "ExposedEndpointList", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "_origin": "ast", - "community": 25, - "norm_label": "exposedendpointlist", - "id": "controllers_workspace_status_go_exposedendpointlist" + "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_exposedendpointlist", + "community": 7, + "norm_label": "exposedendpointlist" }, { - "label": "ClusterAPI", + "label": "resolveURLForEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L57", "_origin": "ast", - "community": 25, - "norm_label": "clusterapi", - "id": "controllers_workspace_status_go_clusterapi" + "id": "solvers_resolve_endpoints_resolveurlforendpoint", + "community": 7, + "norm_label": "resolveurlforendpoint()" }, { - "label": "checkServerStatus()", + "label": "Endpoint", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L202", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L57", "_origin": "ast", - "community": 25, - "norm_label": "checkserverstatus()", - "id": "workspace_status_checkserverstatus" + "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpoint", + "community": 7, + "norm_label": "endpoint" }, { - "label": "getMainUrl()", + "label": "getURLForEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L233", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L77", "_origin": "ast", - "community": 25, - "norm_label": "getmainurl()", - "id": "workspace_status_getmainurl" + "id": "solvers_resolve_endpoints_geturlforendpoint", + "community": 7, + "norm_label": "geturlforendpoint()" }, { - "label": "getInfoMessage()", + "label": "getSecureProtocol()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L244", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L118", "_origin": "ast", - "community": 25, - "norm_label": "getinfomessage()", - "id": "workspace_status_getinfomessage" + "id": "solvers_resolve_endpoints_getsecureprotocol", + "community": 7, + "norm_label": "getsecureprotocol()" }, { - "label": "updateMetricsForPhase()", + "label": "resolve_endpoints_test.go", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L279", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L1", "_origin": "ast", - "community": 25, - "norm_label": "updatemetricsforphase()", - "id": "workspace_status_updatemetricsforphase" + "id": "solvers_resolve_endpoints_test", + "community": 7, + "norm_label": "resolve_endpoints_test.go" }, { - "label": "checkForStartTimeout()", + "label": "TestGetUrlForEndpoint()", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L295", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L23", "_origin": "ast", - "community": 25, - "norm_label": "checkforstarttimeout()", - "id": "workspace_status_checkforstarttimeout" + "id": "solvers_resolve_endpoints_test_testgeturlforendpoint", + "community": 7, + "norm_label": "testgeturlforendpoint()" }, { - "label": "checkForFailingTimeout()", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L320", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L23", "_origin": "ast", - "community": 25, - "norm_label": "checkforfailingtimeout()", - "id": "workspace_status_checkforfailingtimeout" + "id": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_test_go_t", + "community": 7, + "norm_label": "t" }, { - "label": "fmtStartTimeoutMessage()", + "label": "service_names_test.go", "file_type": "code", - "source_file": "controllers/workspace/status.go", - "source_location": "L341", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L1", "_origin": "ast", - "community": 25, - "norm_label": "fmtstarttimeoutmessage()", - "id": "workspace_status_fmtstarttimeoutmessage" + "id": "solvers_service_names_test", + "community": 269, + "norm_label": "service_names_test.go" }, { - "label": "suite_test.go", + "label": "TestGetDiscoverableServicesForEndpointsRejectsEmptyServiceName()", "file_type": "code", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L30", "_origin": "ast", - "community": 163, - "norm_label": "suite_test.go", - "id": "workspace_suite_test" + "id": "solvers_service_names_test_testgetdiscoverableservicesforendpointsrejectsemptyservicename", + "community": 269, + "norm_label": "testgetdiscoverableservicesforendpointsrejectsemptyservicename()" }, { - "label": "TestAPIs()", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L72", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L30", "_origin": "ast", - "community": 163, - "norm_label": "testapis()", - "id": "workspace_suite_test_testapis" + "id": "controllers_controller_devworkspacerouting_solvers_service_names_test_go_t", + "community": 269, + "norm_label": "t" }, { - "label": "T", + "label": "TestClusterSolverRejectsDiscoverableEndpointUsingWorkspaceServiceName()", "file_type": "code", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L72", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L68", "_origin": "ast", - "community": 163, - "norm_label": "t", - "id": "controllers_workspace_suite_test_go_t" + "id": "solvers_service_names_test_testclustersolverrejectsdiscoverableendpointusingworkspaceservicename", + "community": 269, + "norm_label": "testclustersolverrejectsdiscoverableendpointusingworkspaceservicename()" }, { - "label": "setupEnvVars()", + "label": "solver.go", "file_type": "code", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L177", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L1", "_origin": "ast", - "community": 163, - "norm_label": "setupenvvars()", - "id": "workspace_suite_test_setupenvvars" + "id": "solvers_solver", + "community": 55, + "norm_label": "solver.go" }, { - "label": "getBasicTestHttpClient()", + "label": "RoutingObjects", "file_type": "code", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L207", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L31", "_origin": "ast", - "community": 163, - "norm_label": "getbasictesthttpclient()", - "id": "workspace_suite_test_getbasictesthttpclient" + "id": "solvers_routingobjects", + "community": 55, + "norm_label": "routingobjects" }, { - "label": "Client", + "label": "Service", "file_type": "code", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L207", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L32", "_origin": "ast", - "community": 163, - "norm_label": "client", - "id": "controllers_workspace_suite_test_go_client" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_service", + "community": 55, + "norm_label": "service" }, { - "label": "util_test.go", + "label": "Ingress", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L33", "_origin": "ast", - "community": 11, - "norm_label": "util_test.go", - "id": "workspace_util_test" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_ingress", + "community": 55, + "norm_label": "ingress" }, { - "label": "createDevWorkspace()", + "label": "Route", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L45", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L34", "_origin": "ast", - "community": 11, - "norm_label": "createdevworkspace()", - "id": "workspace_util_test_createdevworkspace" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_route", + "community": 55, + "norm_label": "route" }, { - "label": "createStartedDevWorkspace()", + "label": "PodAdditions", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L61", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L35", "_origin": "ast", - "community": 11, - "norm_label": "createstarteddevworkspace()", - "id": "workspace_util_test_createstarteddevworkspace" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_podadditions", + "community": 55, + "norm_label": "podadditions" }, { - "label": "getExistingDevWorkspace()", + "label": "RoutingSolver", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L38", "_origin": "ast", - "community": 11, - "norm_label": "getexistingdevworkspace()", - "id": "workspace_util_test_getexistingdevworkspace" + "id": "solvers_routingsolver", + "community": 55, + "norm_label": "routingsolver" }, { - "label": "DevWorkspace", + "label": "RoutingSolverGetter", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L65", "_origin": "ast", - "community": 11, - "norm_label": "devworkspace", - "id": "controllers_workspace_util_test_go_devworkspace" + "id": "solvers_routingsolvergetter", + "community": 55, + "norm_label": "routingsolvergetter" }, { - "label": "deleteDevWorkspace()", + "label": "SolverGetter", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L96", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L84", "_origin": "ast", - "community": 11, - "norm_label": "deletedevworkspace()", - "id": "workspace_util_test_deletedevworkspace" + "id": "solvers_solvergetter", + "community": 55, + "norm_label": "solvergetter" }, { - "label": "cleanupPVC()", + "label": ".HasSolver()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L136", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L88", "_origin": "ast", - "community": 11, - "norm_label": "cleanuppvc()", - "id": "workspace_util_test_cleanuppvc" + "id": "solvers_solvergetter_hassolver", + "community": 55, + "norm_label": ".hassolver()" }, { - "label": "createObject()", + "label": "DevWorkspaceRoutingClass", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L155", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L88", "_origin": "ast", - "community": 11, - "norm_label": "createobject()", - "id": "workspace_util_test_createobject" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_devworkspaceroutingclass", + "community": 55, + "norm_label": "devworkspaceroutingclass" }, { - "label": "Object", + "label": ".GetSolver()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L155", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L104", "_origin": "ast", - "community": 11, - "norm_label": "object", - "id": "controllers_workspace_util_test_go_object" + "id": "solvers_solvergetter_getsolver", + "community": 55, + "norm_label": ".getsolver()" }, { - "label": "deleteObject()", + "label": "Client", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L162", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L104", "_origin": "ast", - "community": 11, - "norm_label": "deleteobject()", - "id": "workspace_util_test_deleteobject" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_client", + "community": 55, + "norm_label": "client" }, { - "label": "markRoutingReady()", + "label": ".SetupControllerManager()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L170", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L122", "_origin": "ast", - "community": 11, - "norm_label": "markroutingready()", - "id": "workspace_util_test_markroutingready" + "id": "solvers_solvergetter_setupcontrollermanager", + "community": 55, + "norm_label": ".setupcontrollermanager()" }, { - "label": "markDeploymentReady()", + "label": "Builder", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L195", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L122", "_origin": "ast", - "community": 11, - "norm_label": "markdeploymentready()", - "id": "workspace_util_test_markdeploymentready" + "id": "controllers_controller_devworkspacerouting_solvers_solver_go_builder", + "community": 55, + "norm_label": "builder" }, { - "label": "scaleDeploymentToZero()", + "label": "status_context_test.go", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L211", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L1", "_origin": "ast", - "community": 11, - "norm_label": "scaledeploymenttozero()", - "id": "workspace_util_test_scaledeploymenttozero" + "id": "devworkspacerouting_status_context_test", + "community": 302, + "norm_label": "status_context_test.go" }, { - "label": "devworkspaceOwnerRef()", + "label": "TestReconcilePassesContextToRoutingStatusWrites()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L227", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L35", "_origin": "ast", - "community": 11, - "norm_label": "devworkspaceownerref()", - "id": "workspace_util_test_devworkspaceownerref" + "id": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "community": 302, + "norm_label": "testreconcilepassescontexttoroutingstatuswrites()" }, { - "label": "OwnerReference", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L227", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L35", "_origin": "ast", - "community": 11, - "norm_label": "ownerreference", - "id": "controllers_workspace_util_test_go_ownerreference" + "id": "controllers_controller_devworkspacerouting_status_context_test_go_t", + "community": 302, + "norm_label": "t" }, { - "label": "generateSecret()", + "label": "TestReconcileReturnsStatusContextErrorsWithoutPersistingStatus()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L238", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L131", "_origin": "ast", - "community": 11, - "norm_label": "generatesecret()", - "id": "workspace_util_test_generatesecret" + "id": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "community": 302, + "norm_label": "testreconcilereturnsstatuscontexterrorswithoutpersistingstatus()" }, { - "label": "SecretType", + "label": "suite_test.go", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L238", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L1", "_origin": "ast", - "community": 11, - "norm_label": "secrettype", - "id": "secrettype" + "id": "devworkspacerouting_suite_test", + "community": 198, + "norm_label": "suite_test.go" }, { - "label": "Secret", + "label": "TestAPIs()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L238", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L66", "_origin": "ast", - "community": 11, - "norm_label": "secret", - "id": "controllers_workspace_util_test_go_secret" + "id": "devworkspacerouting_suite_test_testapis", + "community": 198, + "norm_label": "testapis()" }, { - "label": "generateConfigMap()", + "label": "T", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L253", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L66", "_origin": "ast", - "community": 11, - "norm_label": "generateconfigmap()", - "id": "workspace_util_test_generateconfigmap" + "id": "controllers_controller_devworkspacerouting_suite_test_go_t", + "community": 198, + "norm_label": "t" }, { - "label": "ConfigMap", + "label": "setupEnvVars()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L253", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L170", "_origin": "ast", - "community": 11, - "norm_label": "configmap", - "id": "controllers_workspace_util_test_go_configmap" + "id": "devworkspacerouting_suite_test_setupenvvars", + "community": 198, + "norm_label": "setupenvvars()" }, { - "label": "volumeFromSecret()", + "label": "sync_ingresses.go", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L267", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L1", "_origin": "ast", - "community": 11, - "norm_label": "volumefromsecret()", - "id": "workspace_util_test_volumefromsecret" + "id": "devworkspacerouting_sync_ingresses", + "community": 2, + "norm_label": "sync_ingresses.go" }, { - "label": "Volume", + "label": "DevWorkspaceRoutingReconciler", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L267", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "_origin": "ast", - "community": 11, - "norm_label": "volume", - "id": "controllers_workspace_util_test_go_volume" + "id": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting_devworkspaceroutingreconciler", + "community": 2, + "norm_label": "devworkspaceroutingreconciler" }, { - "label": "volumeFromConfigMap()", + "label": ".syncIngresses()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L280", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "_origin": "ast", - "community": 11, - "norm_label": "volumefromconfigmap()", - "id": "workspace_util_test_volumefromconfigmap" + "id": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "community": 2, + "norm_label": ".syncingresses()" }, { - "label": "volumeMountFromSecret()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L293", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "_origin": "ast", - "community": 11, - "norm_label": "volumemountfromsecret()", - "id": "workspace_util_test_volumemountfromsecret" + "id": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting", + "community": 2, + "norm_label": "devworkspacerouting" }, { - "label": "VolumeMount", + "label": "Ingress", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L293", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "_origin": "ast", - "community": 11, - "norm_label": "volumemount", - "id": "controllers_workspace_util_test_go_volumemount" + "id": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress", + "community": 2, + "norm_label": "ingress" }, { - "label": "volumeMountFromConfigMap()", + "label": ".getClusterIngresses()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L305", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L76", "_origin": "ast", - "community": 11, - "norm_label": "volumemountfromconfigmap()", - "id": "workspace_util_test_volumemountfromconfigmap" + "id": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", + "community": 2, + "norm_label": ".getclusteringresses()" }, { - "label": "namespacedName()", + "label": "getIngressesToDelete()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L317", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L93", "_origin": "ast", - "community": 11, - "norm_label": "namespacedname()", - "id": "workspace_util_test_namespacedname" + "id": "devworkspacerouting_sync_ingresses_getingressestodelete", + "community": 2, + "norm_label": "getingressestodelete()" }, { - "label": "NamespacedName", + "label": "listContainsIngressByName()", "file_type": "code", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L317", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L103", "_origin": "ast", - "community": 11, - "norm_label": "namespacedname", - "id": "controllers_workspace_util_test_go_namespacedname" + "id": "devworkspacerouting_sync_ingresses_listcontainsingressbyname", + "community": 2, + "norm_label": "listcontainsingressbyname()" }, { - "label": "validation.go", + "label": "sync_routes.go", "file_type": "code", - "source_file": "controllers/workspace/validation.go", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", "source_location": "L1", "_origin": "ast", - "community": 294, - "norm_label": "validation.go", - "id": "workspace_validation" + "id": "devworkspacerouting_sync_routes", + "community": 132, + "norm_label": "sync_routes.go" }, { - "label": "DevWorkspaceReconciler", + "label": "DevWorkspaceRoutingReconciler", "file_type": "code", - "source_file": "controllers/workspace/validation.go", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", "source_location": "L31", "_origin": "ast", - "community": 148, - "norm_label": "devworkspacereconciler", - "id": "controllers_workspace_validation_go_workspace_devworkspacereconciler" + "id": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting_devworkspaceroutingreconciler", + "community": 132, + "norm_label": "devworkspaceroutingreconciler" }, { - "label": ".validateCreatorLabel()", + "label": ".syncRoutes()", "file_type": "code", - "source_file": "controllers/workspace/validation.go", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", "source_location": "L31", "_origin": "ast", - "community": 148, - "norm_label": ".validatecreatorlabel()", - "id": "workspace_devworkspacereconciler_validatecreatorlabel" + "id": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "community": 132, + "norm_label": ".syncroutes()" }, { - "label": "DevWorkspaceWithConfig", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "controllers/workspace/validation.go", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", "source_location": "L31", "_origin": "ast", - "community": 148, - "norm_label": "devworkspacewithconfig", - "id": "controllers_workspace_validation_go_devworkspacewithconfig" + "id": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting", + "community": 132, + "norm_label": "devworkspacerouting" }, { - "label": "image.go", + "label": "Route", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L31", "_origin": "ast", - "community": 74, - "norm_label": "image.go", - "id": "images_image" + "id": "controllers_controller_devworkspacerouting_sync_routes_go_route", + "community": 132, + "norm_label": "route" }, { - "label": "GetWebhookServerImage()", + "label": ".getClusterRoutes()", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L46", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L75", "_origin": "ast", - "community": 74, - "norm_label": "getwebhookserverimage()", - "id": "images_image_getwebhookserverimage" + "id": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", + "community": 132, + "norm_label": ".getclusterroutes()" }, { - "label": "GetPVCCleanupJobImage()", + "label": "getRoutesToDelete()", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L57", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L103", "_origin": "ast", - "community": 74, - "norm_label": "getpvccleanupjobimage()", - "id": "images_image_getpvccleanupjobimage" + "id": "devworkspacerouting_sync_routes_getroutestodelete", + "community": 132, + "norm_label": "getroutestodelete()" }, { - "label": "GetAsyncStorageServerImage()", + "label": "listContainsRouteByName()", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L66", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L113", "_origin": "ast", - "community": 74, - "norm_label": "getasyncstorageserverimage()", - "id": "images_image_getasyncstorageserverimage" + "id": "devworkspacerouting_sync_routes_listcontainsroutebyname", + "community": 132, + "norm_label": "listcontainsroutebyname()" }, { - "label": "GetAsyncStorageSidecarImage()", + "label": "sync_services.go", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L75", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L1", "_origin": "ast", - "community": 74, - "norm_label": "getasyncstoragesidecarimage()", - "id": "images_image_getasyncstoragesidecarimage" + "id": "devworkspacerouting_sync_services", + "community": 2, + "norm_label": "sync_services.go" }, { - "label": "GetProjectCloneImage()", + "label": "DevWorkspaceRoutingReconciler", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L84", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L32", "_origin": "ast", - "community": 74, - "norm_label": "getprojectcloneimage()", - "id": "images_image_getprojectcloneimage" + "id": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting_devworkspaceroutingreconciler", + "community": 2, + "norm_label": "devworkspaceroutingreconciler" }, { - "label": "GetProjectBackupImage()", + "label": ".syncServices()", "file_type": "code", - "source_file": "internal/images/image.go", - "source_location": "L93", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L32", "_origin": "ast", - "community": 74, - "norm_label": "getprojectbackupimage()", - "id": "images_image_getprojectbackupimage" + "id": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "community": 2, + "norm_label": ".syncservices()" }, { - "label": "map.go", + "label": "Context", "file_type": "code", - "source_file": "internal/map/map.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L32", "_origin": "ast", - "community": 47, - "norm_label": "map.go", - "id": "map_map" + "id": "controllers_controller_devworkspacerouting_sync_services_go_context", + "community": 2, + "norm_label": "context" }, { - "label": "Append()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "internal/map/map.go", - "source_location": "L18", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L32", "_origin": "ast", - "community": 47, - "norm_label": "append()", - "id": "map_map_append" + "id": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting", + "community": 2, + "norm_label": "devworkspacerouting" }, { - "label": "Equal()", + "label": "Service", "file_type": "code", - "source_file": "internal/map/map.go", - "source_location": "L28", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L32", "_origin": "ast", - "community": 18, - "norm_label": "equal()", - "id": "map_map_equal" + "id": "controllers_controller_devworkspacerouting_sync_services_go_service", + "community": 2, + "norm_label": "service" }, { - "label": "main.go", + "label": ".getClusterServices()", "file_type": "code", - "source_file": "main.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L80", "_origin": "ast", - "community": 48, - "norm_label": "main.go", - "id": "main" + "id": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", + "community": 2, + "norm_label": ".getclusterservices()" }, { - "label": "init()", + "label": "getServicesToDelete()", "file_type": "code", - "source_file": "main.go", - "source_location": "L71", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L97", "_origin": "ast", - "community": 48, - "norm_label": "init()", - "id": "main_init" + "id": "devworkspacerouting_sync_services_getservicestodelete", + "community": 2, + "norm_label": "getservicestodelete()" }, { - "label": "main()", + "label": "listContainsByName()", "file_type": "code", - "source_file": "main.go", - "source_location": "L99", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L107", "_origin": "ast", - "community": 48, - "norm_label": "main()", - "id": "main_main" + "id": "devworkspacerouting_sync_services_listcontainsbyname", + "community": 2, + "norm_label": "listcontainsbyname()" }, { - "label": "setupControllerConfig()", + "label": "sync_services_test.go", "file_type": "code", - "source_file": "main.go", - "source_location": "L269", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L1", "_origin": "ast", - "community": 48, - "norm_label": "setupcontrollerconfig()", - "id": "main_setupcontrollerconfig" + "id": "devworkspacerouting_sync_services_test", + "community": 171, + "norm_label": "sync_services_test.go" }, { - "label": "Manager", + "label": "TestReconcileMarksSynchronizationConflictFailed()", "file_type": "code", - "source_file": "main.go", - "source_location": "L269", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L43", "_origin": "ast", - "community": 48, - "norm_label": "manager", - "id": "main_go_manager" + "id": "devworkspacerouting_sync_services_test_testreconcilemarkssynchronizationconflictfailed", + "community": 171, + "norm_label": "testreconcilemarkssynchronizationconflictfailed()" }, { - "label": "make-release.sh", + "label": "T", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "file" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L43", "_origin": "ast", - "community": 103, - "norm_label": "make-release.sh", - "id": "make_release" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "community": 171, + "norm_label": "t" }, { - "label": "make-release.sh script", + "label": "TestReconcileIgnoresStaleForeignServiceFromCache()", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "bash_entrypoint" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L79", "_origin": "ast", - "community": 103, - "norm_label": "make-release.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_make_release_sh__entry" + "id": "devworkspacerouting_sync_services_test_testreconcileignoresstaleforeignservicefromcache", + "community": 171, + "norm_label": "testreconcileignoresstaleforeignservicefromcache()" }, { - "label": "usage()", + "label": "TestReconcileReturnsAuthoritativeServiceReadError()", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L31", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L117", "_origin": "ast", - "community": 103, - "norm_label": "usage()", - "id": "make_release_usage" + "id": "devworkspacerouting_sync_services_test_testreconcilereturnsauthoritativeservicereaderror", + "community": 171, + "norm_label": "testreconcilereturnsauthoritativeservicereaderror()" }, { - "label": "dryrun()", + "label": "TestReconcileFailsWithoutNonCachingClient()", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L65", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L137", "_origin": "ast", - "community": 103, - "norm_label": "dryrun()", - "id": "make_release_dryrun" + "id": "devworkspacerouting_sync_services_test_testreconcilefailswithoutnoncachingclient", + "community": 171, + "norm_label": "testreconcilefailswithoutnoncachingclient()" }, { - "label": "parse_args()", + "label": "routingTestScheme()", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L69", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L152", "_origin": "ast", - "community": 103, - "norm_label": "parse_args()", - "id": "make_release_parse_args" + "id": "devworkspacerouting_sync_services_test_routingtestscheme", + "community": 171, + "norm_label": "routingtestscheme()" }, { - "label": "update_version()", + "label": "Scheme", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L103", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L152", "_origin": "ast", - "community": 103, - "norm_label": "update_version()", - "id": "make_release_update_version" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_scheme", + "community": 171, + "norm_label": "scheme" }, { - "label": "update_images()", + "label": "testContextKey", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L124", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L163", "_origin": "ast", - "community": 103, - "norm_label": "update_images()", - "id": "make_release_update_images" + "id": "devworkspacerouting_testcontextkey", + "community": 171, + "norm_label": "testcontextkey" }, { - "label": "build_and_push_images()", + "label": "serviceReadErrorClient", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L161", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L165", "_origin": "ast", - "community": 103, - "norm_label": "build_and_push_images()", - "id": "make_release_build_and_push_images" + "id": "devworkspacerouting_servicereaderrorclient", + "community": 304, + "norm_label": "servicereaderrorclient" }, { - "label": "git_commit_and_push()", + "label": "Client", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L192", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L166", "_origin": "ast", - "community": 103, - "norm_label": "git_commit_and_push()", - "id": "make_release_git_commit_and_push" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_client", + "community": 304, + "norm_label": "client" }, { - "label": "prerelease()", + "label": ".Get()", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L231", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", "_origin": "ast", - "community": 103, - "norm_label": "prerelease()", - "id": "make_release_prerelease" + "id": "devworkspacerouting_servicereaderrorclient_get", + "community": 304, + "norm_label": ".get()" }, { - "label": "release()", + "label": "Context", "file_type": "code", - "source_file": "make-release.sh", - "source_location": "L272", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", "_origin": "ast", - "community": 103, - "norm_label": "release()", - "id": "make_release_release" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_context", + "community": 304, + "norm_label": "context" }, { - "label": "patch_crds.sh", + "label": "ObjectKey", "file_type": "code", - "source_file": "patch/patch_crds.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "file" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", "_origin": "ast", - "community": 237, - "norm_label": "patch_crds.sh", - "id": "patch_patch_crds" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_objectkey", + "community": 304, + "norm_label": "objectkey" }, { - "label": "patch_crds.sh script", + "label": "Object", "file_type": "code", - "source_file": "patch/patch_crds.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "bash_entrypoint" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", "_origin": "ast", - "community": 237, - "norm_label": "patch_crds.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_patch_patch_crds_sh__entry" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_object", + "community": 304, + "norm_label": "object" }, { - "label": "update_routings_crd()", + "label": "capturingSolverGetter", "file_type": "code", - "source_file": "patch/patch_crds.sh", - "source_location": "L44", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L177", "_origin": "ast", - "community": 237, - "norm_label": "update_routings_crd()", - "id": "patch_patch_crds_update_routings_crd" + "id": "devworkspacerouting_capturingsolvergetter", + "community": 311, + "norm_label": "capturingsolvergetter" }, { - "label": "cache.go", + "label": ".SetupControllerManager()", "file_type": "code", - "source_file": "pkg/cache/cache.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L181", "_origin": "ast", - "community": 48, - "norm_label": "cache.go", - "id": "cache_cache" + "id": "devworkspacerouting_capturingsolvergetter_setupcontrollermanager", + "community": 311, + "norm_label": ".setupcontrollermanager()" }, { - "label": "GetCacheFunc()", + "label": "Builder", "file_type": "code", - "source_file": "pkg/cache/cache.go", - "source_location": "L37", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L181", "_origin": "ast", - "community": 48, - "norm_label": "getcachefunc()", - "id": "cache_cache_getcachefunc" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_builder", + "community": 311, + "norm_label": "builder" }, { - "label": "NewCacheFunc", + "label": ".HasSolver()", "file_type": "code", - "source_file": "pkg/cache/cache.go", - "source_location": "L37", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L182", "_origin": "ast", - "community": 48, - "norm_label": "newcachefunc", - "id": "newcachefunc" + "id": "devworkspacerouting_capturingsolvergetter_hassolver", + "community": 311, + "norm_label": ".hassolver()" }, { - "label": "GetWebhooksCacheFunc()", + "label": "DevWorkspaceRoutingClass", "file_type": "code", - "source_file": "pkg/cache/cache.go", - "source_location": "L113", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L182", "_origin": "ast", - "community": 48, - "norm_label": "getwebhookscachefunc()", - "id": "cache_cache_getwebhookscachefunc" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_devworkspaceroutingclass", + "community": 311, + "norm_label": "devworkspaceroutingclass" }, { - "label": "naming.go", + "label": ".GetSolver()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L185", "_origin": "ast", - "community": 106, - "norm_label": "naming.go", - "id": "common_naming" + "id": "devworkspacerouting_capturingsolvergetter_getsolver", + "community": 311, + "norm_label": ".getsolver()" }, { - "label": "DevWorkspaceRoutingName()", + "label": "RoutingSolver", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L185", "_origin": "ast", - "community": 107, - "norm_label": "devworkspaceroutingname()", - "id": "common_naming_devworkspaceroutingname" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_routingsolver", + "community": 311, + "norm_label": "routingsolver" }, { - "label": "EndpointName()", + "label": "TestSyncServicesDoesNotDeleteForeignServiceWithWorkspaceLabel()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L34", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L191", "_origin": "ast", - "community": 1, - "norm_label": "endpointname()", - "id": "common_naming_endpointname" + "id": "devworkspacerouting_sync_services_test_testsyncservicesdoesnotdeleteforeignservicewithworkspacelabel", + "community": 171, + "norm_label": "testsyncservicesdoesnotdeleteforeignservicewithworkspacelabel()" }, { - "label": "PortName()", + "label": "TestSyncServicesDeletesOwnedService()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L210", "_origin": "ast", - "community": 58, - "norm_label": "portname()", - "id": "common_naming_portname" + "id": "devworkspacerouting_sync_services_test_testsyncservicesdeletesownedservice", + "community": 171, + "norm_label": "testsyncservicesdeletesownedservice()" }, { - "label": "Endpoint", + "label": "serviceLabelFilteredClient", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L229", "_origin": "ast", - "community": 58, - "norm_label": "endpoint", - "id": "pkg_common_naming_go_endpoint" + "id": "devworkspacerouting_servicelabelfilteredclient", + "community": 304, + "norm_label": "servicelabelfilteredclient" }, { - "label": "ServiceName()", + "label": ".Get()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L48", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L231", "_origin": "ast", - "community": 1, - "norm_label": "servicename()", - "id": "common_naming_servicename" + "id": "devworkspacerouting_servicelabelfilteredclient_get", + "community": 304, + "norm_label": ".get()" }, { - "label": "ServiceAccountName()", + "label": "staleServiceCacheClient", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L242", "_origin": "ast", - "community": 34, - "norm_label": "serviceaccountname()", - "id": "common_naming_serviceaccountname" + "id": "devworkspacerouting_staleservicecacheclient", + "community": 304, + "norm_label": "staleservicecacheclient" }, { - "label": "DevWorkspaceWithConfig", + "label": "Service", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L244", "_origin": "ast", - "community": 99, - "norm_label": "devworkspacewithconfig", - "id": "pkg_common_naming_go_devworkspacewithconfig" + "id": "controllers_controller_devworkspacerouting_sync_services_test_go_service", + "community": 304, + "norm_label": "service" }, { - "label": "ServiceAccountLabels()", + "label": ".Get()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L59", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L247", "_origin": "ast", - "community": 99, - "norm_label": "serviceaccountlabels()", - "id": "common_naming_serviceaccountlabels" + "id": "devworkspacerouting_staleservicecacheclient_get", + "community": 304, + "norm_label": ".get()" }, { - "label": "EndpointHostname()", + "label": "TestSyncServicesGuardsAggregateAndDiscoverableServices()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L73", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L255", "_origin": "ast", - "community": 1, - "norm_label": "endpointhostname()", - "id": "common_naming_endpointhostname" + "id": "devworkspacerouting_sync_services_test_testsyncservicesguardsaggregateanddiscoverableservices", + "community": 171, + "norm_label": "testsyncservicesguardsaggregateanddiscoverableservices()" }, { - "label": "WorkspaceHostname()", + "label": "util_test.go", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L1", "_origin": "ast", - "community": 1, - "norm_label": "workspacehostname()", - "id": "common_naming_workspacehostname" + "id": "devworkspacerouting_util_test", + "community": 146, + "norm_label": "util_test.go" }, { - "label": "EndpointPath()", + "label": "createDWR()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L91", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L60", "_origin": "ast", - "community": 1, - "norm_label": "endpointpath()", - "id": "common_naming_endpointpath" + "id": "devworkspacerouting_util_test_createdwr", + "community": 146, + "norm_label": "createdwr()" }, { - "label": "RouteName()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L95", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L60", "_origin": "ast", - "community": 1, - "norm_label": "routename()", - "id": "common_naming_routename" + "id": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting", + "community": 146, + "norm_label": "devworkspacerouting" }, { - "label": "DeploymentName()", + "label": "getExistingDevWorkspaceRouting()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L99", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L112", "_origin": "ast", - "community": 0, - "norm_label": "deploymentname()", - "id": "common_naming_deploymentname" + "id": "devworkspacerouting_util_test_getexistingdevworkspacerouting", + "community": 146, + "norm_label": "getexistingdevworkspacerouting()" }, { - "label": "ServingCertVolumeName()", + "label": "getReadyDevWorkspaceRouting()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L103", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L125", "_origin": "ast", - "community": 1, - "norm_label": "servingcertvolumename()", - "id": "common_naming_servingcertvolumename" + "id": "devworkspacerouting_util_test_getreadydevworkspacerouting", + "community": 146, + "norm_label": "getreadydevworkspacerouting()" }, { - "label": "PVCCleanupJobName()", + "label": "deleteService()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L107", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L137", "_origin": "ast", - "community": 53, - "norm_label": "pvccleanupjobname()", - "id": "common_naming_pvccleanupjobname" + "id": "devworkspacerouting_util_test_deleteservice", + "community": 146, + "norm_label": "deleteservice()" }, { - "label": "PerWorkspacePVCName()", + "label": "deleteRoute()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L111", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L147", "_origin": "ast", - "community": 4, - "norm_label": "perworkspacepvcname()", - "id": "common_naming_perworkspacepvcname" + "id": "devworkspacerouting_util_test_deleteroute", + "community": 146, + "norm_label": "deleteroute()" }, { - "label": "MetadataConfigMapName()", + "label": "deleteIngress()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L157", "_origin": "ast", - "community": 56, - "norm_label": "metadataconfigmapname()", - "id": "common_naming_metadataconfigmapname" + "id": "devworkspacerouting_util_test_deleteingress", + "community": 146, + "norm_label": "deleteingress()" }, { - "label": "AutoMountConfigMapVolumeName()", + "label": "deleteDevWorkspaceRouting()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L119", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L167", "_origin": "ast", - "community": 106, - "norm_label": "automountconfigmapvolumename()", - "id": "common_naming_automountconfigmapvolumename" + "id": "devworkspacerouting_util_test_deletedevworkspacerouting", + "community": 146, + "norm_label": "deletedevworkspacerouting()" }, { - "label": "AutoMountSecretVolumeName()", + "label": "devWorkspaceRoutingOwnerRef()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L123", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L185", "_origin": "ast", - "community": 106, - "norm_label": "automountsecretvolumename()", - "id": "common_naming_automountsecretvolumename" + "id": "devworkspacerouting_util_test_devworkspaceroutingownerref", + "community": 146, + "norm_label": "devworkspaceroutingownerref()" }, { - "label": "AutoMountPVCVolumeName()", + "label": "OwnerReference", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L127", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L185", "_origin": "ast", - "community": 106, - "norm_label": "automountpvcvolumename()", - "id": "common_naming_automountpvcvolumename" + "id": "controllers_controller_devworkspacerouting_util_test_go_ownerreference", + "community": 146, + "norm_label": "ownerreference" }, { - "label": "sanitizeVolumeName()", + "label": "deleteObject()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L139", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L196", "_origin": "ast", - "community": 106, - "norm_label": "sanitizevolumename()", - "id": "common_naming_sanitizevolumename" + "id": "devworkspacerouting_util_test_deleteobject", + "community": 146, + "norm_label": "deleteobject()" }, { - "label": "AutoMountProjectedVolumeName()", + "label": "Object", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L149", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L196", "_origin": "ast", - "community": 106, - "norm_label": "automountprojectedvolumename()", - "id": "common_naming_automountprojectedvolumename" + "id": "controllers_controller_devworkspacerouting_util_test_go_object", + "community": 146, + "norm_label": "object" }, { - "label": "ServiceAccountTokenProjectionName()", + "label": "namespacedName()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L156", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L204", "_origin": "ast", - "community": 106, - "norm_label": "serviceaccounttokenprojectionname()", - "id": "common_naming_serviceaccounttokenprojectionname" + "id": "devworkspacerouting_util_test_namespacedname", + "community": 146, + "norm_label": "namespacedname()" }, { - "label": "WorkspaceRoleName()", + "label": "NamespacedName", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L161", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L204", "_origin": "ast", - "community": 34, - "norm_label": "workspacerolename()", - "id": "common_naming_workspacerolename" + "id": "controllers_controller_devworkspacerouting_util_test_go_namespacedname", + "community": 146, + "norm_label": "namespacedname" }, { - "label": "WorkspaceRolebindingName()", + "label": "workspace_name_test.go", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L165", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L1", "_origin": "ast", - "community": 34, - "norm_label": "workspacerolebindingname()", - "id": "common_naming_workspacerolebindingname" + "id": "devworkspacerouting_workspace_name_test", + "community": 312, + "norm_label": "workspace_name_test.go" }, { - "label": "NetworkPolicyName()", + "label": "TestReconcileUsesDevWorkspaceOwnerName()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L169", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L41", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicyname()", - "id": "common_naming_networkpolicyname" + "id": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "community": 312, + "norm_label": "testreconcileusesdevworkspaceownername()" }, { - "label": "WorkspaceSCCRoleName()", + "label": "T", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L173", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L41", "_origin": "ast", - "community": 34, - "norm_label": "workspacesccrolename()", - "id": "common_naming_workspacesccrolename" + "id": "controllers_controller_devworkspacerouting_workspace_name_test_go_t", + "community": 312, + "norm_label": "t" }, { - "label": "WorkspaceSCCRolebindingName()", + "label": "TestReconcileRepairsOwnedDiscoverableServiceWithStaleWorkspaceID()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L177", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L86", "_origin": "ast", - "community": 34, - "norm_label": "workspacesccrolebindingname()", - "id": "common_naming_workspacesccrolebindingname" + "id": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "community": 312, + "norm_label": "testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid()" }, { - "label": "RegistryImagePullerRoleName()", + "label": "TestWorkspaceNameRequiresDevWorkspaceControllerOwner()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L181", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L172", "_origin": "ast", - "community": 34, - "norm_label": "registryimagepullerrolename()", - "id": "common_naming_registryimagepullerrolename" + "id": "devworkspacerouting_workspace_name_test_testworkspacenamerequiresdevworkspacecontrollerowner", + "community": 312, + "norm_label": "testworkspacenamerequiresdevworkspacecontrollerowner()" }, { - "label": "RegistryImageBuilderRoleName()", + "label": "workspaceNameTestRouting()", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L185", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L220", "_origin": "ast", - "community": 131, - "norm_label": "registryimagebuilderrolename()", - "id": "common_naming_registryimagebuilderrolename" + "id": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "community": 312, + "norm_label": "workspacenametestrouting()" }, { - "label": "RegistryImagePullerRolebindingName()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L189", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L220", "_origin": "ast", - "community": 32, - "norm_label": "registryimagepullerrolebindingname()", - "id": "common_naming_registryimagepullerrolebindingname" + "id": "controllers_controller_devworkspacerouting_workspace_name_test_go_devworkspacerouting", + "community": 312, + "norm_label": "devworkspacerouting" }, { - "label": "OldWorkspaceRoleName()", + "label": "cleanup.go", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L197", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L1", "_origin": "ast", - "community": 57, - "norm_label": "oldworkspacerolename()", - "id": "common_naming_oldworkspacerolename" + "id": "workspace_cleanup", + "community": 291, + "norm_label": "cleanup.go" }, { - "label": "OldWorkspaceRolebindingName()", + "label": "DevWorkspaceReconciler", "file_type": "code", - "source_file": "pkg/common/naming.go", - "source_location": "L205", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "_origin": "ast", - "community": 57, - "norm_label": "oldworkspacerolebindingname()", - "id": "common_naming_oldworkspacerolebindingname" + "id": "controllers_workspace_cleanup_go_workspace_devworkspacereconciler", + "community": 2, + "norm_label": "devworkspacereconciler" }, { - "label": "naming_test.go", + "label": ".deleteWorkspaceOwnedObjects()", "file_type": "code", - "source_file": "pkg/common/naming_test.go", - "source_location": "L1", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "_origin": "ast", - "community": 106, - "norm_label": "naming_test.go", - "id": "common_naming_test" + "id": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", + "community": 2, + "norm_label": ".deleteworkspaceownedobjects()" }, { - "label": "TestSanitizeVolumeName()", + "label": "Context", "file_type": "code", - "source_file": "pkg/common/naming_test.go", - "source_location": "L24", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "_origin": "ast", - "community": 106, - "norm_label": "testsanitizevolumename()", - "id": "common_naming_test_testsanitizevolumename" + "id": "controllers_workspace_cleanup_go_context", + "community": 2, + "norm_label": "context" }, { - "label": "T", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/common/naming_test.go", - "source_location": "L24", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "_origin": "ast", - "community": 106, - "norm_label": "t", - "id": "pkg_common_naming_test_go_t" + "id": "controllers_workspace_cleanup_go_devworkspacewithconfig", + "community": 2, + "norm_label": "devworkspacewithconfig" }, { - "label": "types.go", + "label": "condition.go", "file_type": "code", - "source_file": "pkg/common/types.go", + "source_file": "controllers/workspace/condition.go", "source_location": "L1", "_origin": "ast", - "community": 197, - "norm_label": "types.go", - "id": "common_types" + "id": "workspace_condition", + "community": 60, + "norm_label": "condition.go" }, { - "label": "DevWorkspaceWithConfig", + "label": "workspaceConditions", "file_type": "code", - "source_file": "pkg/common/types.go", - "source_location": "L21", + "source_file": "controllers/workspace/condition.go", + "source_location": "L40", "_origin": "ast", - "community": 197, - "norm_label": "devworkspacewithconfig", - "id": "common_devworkspacewithconfig" + "id": "workspace_workspaceconditions", + "community": 60, + "norm_label": "workspaceconditions" }, { - "label": "DevWorkspace", + "label": "DevWorkspaceConditionType", "file_type": "code", - "source_file": "pkg/common/types.go", - "source_location": "L22", + "source_file": "controllers/workspace/condition.go", + "source_location": "L41", "_origin": "ast", - "community": 197, - "norm_label": "devworkspace", - "id": "pkg_common_types_go_devworkspace" + "id": "controllers_workspace_condition_go_devworkspaceconditiontype", + "community": 60, + "norm_label": "devworkspaceconditiontype" }, { - "label": "OperatorConfiguration", + "label": "DevWorkspaceCondition", "file_type": "code", - "source_file": "pkg/common/types.go", - "source_location": "L23", + "source_file": "controllers/workspace/condition.go", + "source_location": "L41", "_origin": "ast", - "community": 197, - "norm_label": "operatorconfiguration", - "id": "pkg_common_types_go_operatorconfiguration" + "id": "controllers_workspace_condition_go_devworkspacecondition", + "community": 60, + "norm_label": "devworkspacecondition" }, { - "label": "conditions.go", + "label": "workspaceConditionsFromClusterObject()", "file_type": "code", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L1", + "source_file": "controllers/workspace/condition.go", + "source_location": "L45", "_origin": "ast", - "community": 117, - "norm_label": "conditions.go", - "id": "conditions_conditions" + "id": "workspace_condition_workspaceconditionsfromclusterobject", + "community": 60, + "norm_label": "workspaceconditionsfromclusterobject()" }, { - "label": "GetConditionByType()", + "label": ".setConditionTrue()", "file_type": "code", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L33", + "source_file": "controllers/workspace/condition.go", + "source_location": "L59", "_origin": "ast", - "community": 117, - "norm_label": "getconditionbytype()", - "id": "conditions_conditions_getconditionbytype" + "id": "workspace_workspaceconditions_setconditiontrue", + "community": 60, + "norm_label": ".setconditiontrue()" }, { - "label": "DevWorkspaceCondition", + "label": ".setConditionTrueWithReason()", "file_type": "code", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L33", + "source_file": "controllers/workspace/condition.go", + "source_location": "L63", "_origin": "ast", - "community": 117, - "norm_label": "devworkspacecondition", - "id": "pkg_conditions_conditions_go_devworkspacecondition" + "id": "workspace_workspaceconditions_setconditiontruewithreason", + "community": 60, + "norm_label": ".setconditiontruewithreason()" }, { - "label": "DevWorkspaceConditionType", + "label": ".setCondition()", "file_type": "code", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L33", + "source_file": "controllers/workspace/condition.go", + "source_location": "L75", "_origin": "ast", - "community": 117, - "norm_label": "devworkspaceconditiontype", - "id": "pkg_conditions_conditions_go_devworkspaceconditiontype" + "id": "workspace_workspaceconditions_setcondition", + "community": 60, + "norm_label": ".setcondition()" }, { - "label": "CountWarningConditions()", + "label": ".setConditionFalse()", "file_type": "code", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L42", + "source_file": "controllers/workspace/condition.go", + "source_location": "L83", "_origin": "ast", - "community": 117, - "norm_label": "countwarningconditions()", - "id": "conditions_conditions_countwarningconditions" + "id": "workspace_workspaceconditions_setconditionfalse", + "community": 60, + "norm_label": ".setconditionfalse()" }, { - "label": "common_test.go", + "label": ".addWarning()", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L1", + "source_file": "controllers/workspace/condition.go", + "source_location": "L94", "_origin": "ast", - "community": 161, - "norm_label": "common_test.go", - "id": "config_common_test" + "id": "workspace_workspaceconditions_addwarning", + "community": 60, + "norm_label": ".addwarning()" }, { - "label": "init()", + "label": ".addWarningWithReason()", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L44", + "source_file": "controllers/workspace/condition.go", + "source_location": "L98", "_origin": "ast", - "community": 161, - "norm_label": "init()", - "id": "config_common_test_init" + "id": "workspace_workspaceconditions_addwarningwithreason", + "community": 60, + "norm_label": ".addwarningwithreason()" }, { - "label": "setupForTest()", + "label": ".getFirstFalse()", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L52", + "source_file": "controllers/workspace/condition.go", + "source_location": "L108", "_origin": "ast", - "community": 18, - "norm_label": "setupfortest()", - "id": "config_common_test_setupfortest" + "id": "workspace_workspaceconditions_getfirstfalse", + "community": 60, + "norm_label": ".getfirstfalse()" }, { - "label": "T", + "label": ".getLastTrue()", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L52", + "source_file": "controllers/workspace/condition.go", + "source_location": "L117", "_origin": "ast", - "community": 18, - "norm_label": "t", - "id": "pkg_config_common_test_go_t" + "id": "workspace_workspaceconditions_getlasttrue", + "community": 60, + "norm_label": ".getlasttrue()" }, { - "label": "buildConfig()", + "label": "getConditionIndexInOrder()", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L69", + "source_file": "controllers/workspace/condition.go", + "source_location": "L127", "_origin": "ast", - "community": 161, - "norm_label": "buildconfig()", - "id": "config_common_test_buildconfig" + "id": "workspace_condition_getconditionindexinorder", + "community": 25, + "norm_label": "getconditionindexinorder()" }, { - "label": "OperatorConfiguration", + "label": "capitalizeMessage()", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L69", + "source_file": "controllers/workspace/condition.go", + "source_location": "L137", "_origin": "ast", - "community": 161, - "norm_label": "operatorconfiguration", - "id": "pkg_config_common_test_go_operatorconfiguration" + "id": "workspace_condition_capitalizemessage", + "community": 60, + "norm_label": "capitalizemessage()" }, { - "label": "DevWorkspaceOperatorConfig", + "label": "devworkspace_controller.go", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L69", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L1", "_origin": "ast", - "community": 161, - "norm_label": "devworkspaceoperatorconfig", - "id": "pkg_config_common_test_go_devworkspaceoperatorconfig" + "id": "workspace_devworkspace_controller", + "community": 33, + "norm_label": "devworkspace_controller.go" }, { - "label": "buildExternalConfig()", + "label": "DevWorkspaceReconciler", "file_type": "code", - "source_file": "pkg/config/common_test.go", - "source_location": "L79", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L80", "_origin": "ast", - "community": 161, - "norm_label": "buildexternalconfig()", - "id": "config_common_test_buildexternalconfig" + "id": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "community": 33, + "norm_label": "devworkspacereconciler" }, { - "label": "config.go", + "label": "Client", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L1", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L81", "_origin": "ast", - "community": 41, - "norm_label": "config.go", - "id": "configmap_config" + "id": "controllers_workspace_devworkspace_controller_go_client", + "community": 33, + "norm_label": "client" }, { - "label": "ControllerConfig", + "label": "Logger", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L44", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L83", "_origin": "ast", - "community": 41, - "norm_label": "controllerconfig", - "id": "configmap_controllerconfig" + "id": "controllers_workspace_devworkspace_controller_go_logger", + "community": 33, + "norm_label": "logger" }, { - "label": "ConfigMap", + "label": "Scheme", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L45", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L84", "_origin": "ast", - "community": 41, - "norm_label": "configmap", - "id": "pkg_config_configmap_config_go_configmap" + "id": "controllers_workspace_devworkspace_controller_go_scheme", + "community": 33, + "norm_label": "scheme" }, { - "label": ".update()", + "label": ".Reconcile()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L48", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "_origin": "ast", - "community": 41, - "norm_label": ".update()", - "id": "configmap_controllerconfig_update" + "id": "workspace_devworkspacereconciler_reconcile", + "community": 33, + "norm_label": ".reconcile()" }, { - "label": ".GetWorkspacePVCName()", + "label": "Context", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L53", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "_origin": "ast", - "community": 41, - "norm_label": ".getworkspacepvcname()", - "id": "configmap_controllerconfig_getworkspacepvcname" + "id": "controllers_workspace_devworkspace_controller_go_context", + "community": 33, + "norm_label": "context" }, { - "label": ".GetDefaultRoutingClass()", + "label": "Request", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L57", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "_origin": "ast", - "community": 41, - "norm_label": ".getdefaultroutingclass()", - "id": "configmap_controllerconfig_getdefaultroutingclass" + "id": "controllers_workspace_devworkspace_controller_go_request", + "community": 33, + "norm_label": "request" }, { - "label": ".GetClusterRoutingSuffix()", + "label": "Result", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L61", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "_origin": "ast", - "community": 41, - "norm_label": ".getclusterroutingsuffix()", - "id": "configmap_controllerconfig_getclusterroutingsuffix" + "id": "controllers_workspace_devworkspace_controller_go_result", + "community": 33, + "norm_label": "result" }, { - "label": ".GetExperimentalFeaturesEnabled()", + "label": ".stopWorkspace()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L68", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", "_origin": "ast", - "community": 41, - "norm_label": ".getexperimentalfeaturesenabled()", - "id": "configmap_controllerconfig_getexperimentalfeaturesenabled" + "id": "workspace_devworkspacereconciler_stopworkspace", + "community": 33, + "norm_label": ".stopworkspace()" }, { - "label": ".GetPVCStorageClassName()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L72", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", "_origin": "ast", - "community": 41, - "norm_label": ".getpvcstorageclassname()", - "id": "configmap_controllerconfig_getpvcstorageclassname" + "id": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig", + "community": 33, + "norm_label": "devworkspacewithconfig" }, { - "label": ".GetSidecarPullPolicy()", + "label": ".doStop()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L76", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L656", "_origin": "ast", - "community": 41, - "norm_label": ".getsidecarpullpolicy()", - "id": "configmap_controllerconfig_getsidecarpullpolicy" + "id": "workspace_devworkspacereconciler_dostop", + "community": 33, + "norm_label": ".dostop()" }, { - "label": ".GetProperty()", + "label": ".failWorkspace()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L80", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "_origin": "ast", - "community": 41, - "norm_label": ".getproperty()", - "id": "configmap_controllerconfig_getproperty" + "id": "workspace_devworkspacereconciler_failworkspace", + "community": 33, + "norm_label": ".failworkspace()" }, { - "label": ".Validate()", + "label": "FailureReason", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L88", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "_origin": "ast", - "community": 41, - "norm_label": ".validate()", - "id": "configmap_controllerconfig_validate" + "id": "controllers_workspace_devworkspace_controller_go_failurereason", + "community": 33, + "norm_label": "failurereason" }, { - "label": ".GetWorkspaceIdleTimeout()", + "label": "currentStatus", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L92", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "_origin": "ast", - "community": 41, - "norm_label": ".getworkspaceidletimeout()", - "id": "configmap_controllerconfig_getworkspaceidletimeout" + "id": "controllers_workspace_devworkspace_controller_go_currentstatus", + "community": 33, + "norm_label": "currentstatus" }, { - "label": "syncConfigmapFromCluster()", + "label": ".checkDWError()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L96", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", "_origin": "ast", - "community": 41, - "norm_label": "syncconfigmapfromcluster()", - "id": "configmap_config_syncconfigmapfromcluster" + "id": "workspace_devworkspacereconciler_checkdwerror", + "community": 33, + "norm_label": ".checkdwerror()" }, { - "label": "Client", + "label": ".syncStartedAtToCluster()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L96", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L740", "_origin": "ast", - "community": 41, - "norm_label": "client", - "id": "pkg_config_configmap_config_go_client" + "id": "workspace_devworkspacereconciler_syncstartedattocluster", + "community": 33, + "norm_label": ".syncstartedattocluster()" }, { - "label": "Object", + "label": ".removeStartedAtFromCluster()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L96", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L761", "_origin": "ast", - "community": 41, - "norm_label": "object", - "id": "pkg_config_configmap_config_go_object" + "id": "workspace_devworkspacereconciler_removestartedatfromcluster", + "community": 33, + "norm_label": ".removestartedatfromcluster()" }, { - "label": "LoadControllerConfig()", + "label": ".getWorkspaceId()", "file_type": "code", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L107", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L782", "_origin": "ast", - "community": 41, - "norm_label": "loadcontrollerconfig()", - "id": "configmap_config_loadcontrollerconfig" + "id": "workspace_devworkspacereconciler_getworkspaceid", + "community": 33, + "norm_label": ".getworkspaceid()" }, { - "label": "doc.go", + "label": ".SetupWithManager()", "file_type": "code", - "source_file": "pkg/config/configmap/doc.go", - "source_location": "L1", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L806", "_origin": "ast", - "community": 263, - "norm_label": "doc.go", - "id": "configmap_doc" + "id": "workspace_devworkspacereconciler_setupwithmanager", + "community": 35, + "norm_label": ".setupwithmanager()" }, { - "label": "property.go", + "label": "Manager", "file_type": "code", - "source_file": "pkg/config/configmap/property.go", - "source_location": "L1", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L806", "_origin": "ast", - "community": 264, - "norm_label": "property.go", - "id": "configmap_property" + "id": "controllers_workspace_devworkspace_controller_go_manager", + "community": 35, + "norm_label": "manager" }, { - "label": "defaults.go", + "label": "devworkspace_controller_test.go", "file_type": "code", - "source_file": "pkg/config/defaults.go", + "source_file": "controllers/workspace/devworkspace_controller_test.go", "source_location": "L1", "_origin": "ast", - "community": 80, - "norm_label": "defaults.go", - "id": "config_defaults" + "id": "workspace_devworkspace_controller_test", + "community": 11, + "norm_label": "devworkspace_controller_test.go" }, { - "label": "setDefaultPodSecurityContext()", + "label": "loadObjectFromFile()", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L186", + "source_file": "controllers/workspace/devworkspace_controller_test.go", + "source_location": "L46", "_origin": "ast", - "community": 80, - "norm_label": "setdefaultpodsecuritycontext()", - "id": "config_defaults_setdefaultpodsecuritycontext" + "id": "workspace_devworkspace_controller_test_loadobjectfromfile", + "community": 11, + "norm_label": "loadobjectfromfile()" }, { - "label": "setDefaultContainerSecurityContext()", + "label": "Object", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L198", + "source_file": "controllers/workspace/devworkspace_controller_test.go", + "source_location": "L46", "_origin": "ast", - "community": 80, - "norm_label": "setdefaultcontainersecuritycontext()", - "id": "config_defaults_setdefaultcontainersecuritycontext" + "id": "controllers_workspace_devworkspace_controller_test_go_object", + "community": 11, + "norm_label": "object" }, { - "label": "setDefaultOverrideConfig()", + "label": "eventhandlers.go", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L210", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L1", "_origin": "ast", - "community": 80, - "norm_label": "setdefaultoverrideconfig()", - "id": "config_defaults_setdefaultoverrideconfig" + "id": "workspace_eventhandlers", + "community": 133, + "norm_label": "eventhandlers.go" }, { - "label": "setDefaultNetworkPolicy()", + "label": "dwRelatedPodsHandler()", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L222", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "_origin": "ast", - "community": 80, - "norm_label": "setdefaultnetworkpolicy()", - "id": "config_defaults_setdefaultnetworkpolicy" + "id": "workspace_eventhandlers_dwrelatedpodshandler", + "community": 133, + "norm_label": "dwrelatedpodshandler()" }, { - "label": "GetDefaultNetworkPolicy()", + "label": "Context", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L247", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "_origin": "ast", - "community": 80, - "norm_label": "getdefaultnetworkpolicy()", - "id": "config_defaults_getdefaultnetworkpolicy" + "id": "controllers_workspace_eventhandlers_go_context", + "community": 133, + "norm_label": "context" }, { - "label": "NetworkPolicyIngressRule", + "label": "Object", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L247", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "_origin": "ast", - "community": 80, - "norm_label": "networkpolicyingressrule", - "id": "pkg_config_defaults_go_networkpolicyingressrule" + "id": "controllers_workspace_eventhandlers_go_object", + "community": 133, + "norm_label": "object" }, { - "label": "NetworkPolicyEgressRule", + "label": "Request", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L247", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "_origin": "ast", - "community": 80, - "norm_label": "networkpolicyegressrule", - "id": "pkg_config_defaults_go_networkpolicyegressrule" + "id": "controllers_workspace_eventhandlers_go_request", + "community": 133, + "norm_label": "request" }, { - "label": "deepCopyIngressRules()", + "label": "DevWorkspaceReconciler", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L276", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L51", "_origin": "ast", - "community": 80, - "norm_label": "deepcopyingressrules()", - "id": "config_defaults_deepcopyingressrules" + "id": "controllers_workspace_eventhandlers_go_workspace_devworkspacereconciler", + "community": 133, + "norm_label": "devworkspacereconciler" }, { - "label": "deepCopyEgressRules()", + "label": ".dwPVCHandler()", "file_type": "code", - "source_file": "pkg/config/defaults.go", - "source_location": "L287", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L51", "_origin": "ast", - "community": 80, - "norm_label": "deepcopyegressrules()", - "id": "config_defaults_deepcopyegressrules" + "id": "workspace_devworkspacereconciler_dwpvchandler", + "community": 133, + "norm_label": ".dwpvchandler()" }, { - "label": "env.go", + "label": ".runningWorkspacesHandler()", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L1", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L122", "_origin": "ast", - "community": 59, - "norm_label": "env.go", - "id": "config_env" + "id": "workspace_devworkspacereconciler_runningworkspaceshandler", + "community": 133, + "norm_label": ".runningworkspaceshandler()" }, { - "label": "ControllerEnv", + "label": "finalize.go", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L27", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L1", "_origin": "ast", - "community": 59, - "norm_label": "controllerenv", - "id": "config_controllerenv" + "id": "workspace_finalize", + "community": 292, + "norm_label": "finalize.go" }, { - "label": "GetWebhooksSecretName()", + "label": "DevWorkspaceReconciler", "file_type": "code", - "source_file": "pkg/config/env.go", + "source_file": "controllers/workspace/finalize.go", "source_location": "L40", "_origin": "ast", - "community": 59, - "norm_label": "getwebhookssecretname()", - "id": "config_env_getwebhookssecretname" + "id": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "community": 4, + "norm_label": "devworkspacereconciler" }, { - "label": "GetDevModeEnabled()", + "label": ".workspaceNeedsFinalize()", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L48", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L40", "_origin": "ast", - "community": 48, - "norm_label": "getdevmodeenabled()", - "id": "config_env_getdevmodeenabled" + "id": "workspace_devworkspacereconciler_workspaceneedsfinalize", + "community": 4, + "norm_label": ".workspaceneedsfinalize()" }, { - "label": "GetMaxConcurrentReconciles()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L52", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L40", "_origin": "ast", - "community": 118, - "norm_label": "getmaxconcurrentreconciles()", - "id": "config_env_getmaxconcurrentreconciles" + "id": "controllers_workspace_finalize_go_devworkspacewithconfig", + "community": 4, + "norm_label": "devworkspacewithconfig" }, { - "label": "GetResourceQuantityFromEnvVar()", + "label": ".finalize()", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L64", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", "_origin": "ast", - "community": 59, - "norm_label": "getresourcequantityfromenvvar()", - "id": "config_env_getresourcequantityfromenvvar" + "id": "workspace_devworkspacereconciler_finalize", + "community": 4, + "norm_label": ".finalize()" }, { - "label": "Quantity", + "label": "Context", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L64", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", "_origin": "ast", - "community": 59, - "norm_label": "quantity", - "id": "pkg_config_env_go_quantity" + "id": "controllers_workspace_finalize_go_context", + "community": 4, + "norm_label": "context" }, { - "label": "GetWorkspaceControllerSA()", + "label": "Logger", "file_type": "code", - "source_file": "pkg/config/env.go", - "source_location": "L76", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", "_origin": "ast", - "community": 59, - "norm_label": "getworkspacecontrollersa()", - "id": "config_env_getworkspacecontrollersa" + "id": "controllers_workspace_finalize_go_logger", + "community": 4, + "norm_label": "logger" }, { - "label": "migrate.go", + "label": "Result", "file_type": "code", - "source_file": "pkg/config/migrate.go", - "source_location": "L1", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", "_origin": "ast", - "community": 40, - "norm_label": "migrate.go", - "id": "config_migrate" + "id": "controllers_workspace_finalize_go_result", + "community": 4, + "norm_label": "result" }, { - "label": "MigrateConfigFromConfigMap()", + "label": ".finalizeStorage()", "file_type": "code", - "source_file": "pkg/config/migrate.go", - "source_location": "L33", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", "_origin": "ast", - "community": 40, - "norm_label": "migrateconfigfromconfigmap()", - "id": "config_migrate_migrateconfigfromconfigmap" + "id": "workspace_devworkspacereconciler_finalizestorage", + "community": 4, + "norm_label": ".finalizestorage()" }, { - "label": "Client", + "label": "currentStatus", "file_type": "code", - "source_file": "pkg/config/migrate.go", - "source_location": "L33", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", "_origin": "ast", - "community": 40, - "norm_label": "client", - "id": "pkg_config_migrate_go_client" + "id": "controllers_workspace_finalize_go_currentstatus", + "community": 4, + "norm_label": "currentstatus" }, { - "label": "deleteMigratedConfigmap()", + "label": ".finalizeRBAC()", "file_type": "code", - "source_file": "pkg/config/migrate.go", - "source_location": "L70", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", "_origin": "ast", - "community": 40, - "norm_label": "deletemigratedconfigmap()", - "id": "config_migrate_deletemigratedconfigmap" + "id": "workspace_devworkspacereconciler_finalizerbac", + "community": 4, + "norm_label": ".finalizerbac()" }, { - "label": "convertConfigMapToConfigCRD()", + "label": ".finalizeServiceAccount()", "file_type": "code", - "source_file": "pkg/config/migrate.go", - "source_location": "L84", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", "_origin": "ast", - "community": 40, - "norm_label": "convertconfigmaptoconfigcrd()", - "id": "config_migrate_convertconfigmaptoconfigcrd" + "id": "workspace_devworkspacereconciler_finalizeserviceaccount", + "community": 4, + "norm_label": ".finalizeserviceaccount()" }, { - "label": "DevWorkspaceOperatorConfig", + "label": ".namespaceIsTerminating()", "file_type": "code", - "source_file": "pkg/config/migrate.go", - "source_location": "L84", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L193", "_origin": "ast", - "community": 40, - "norm_label": "devworkspaceoperatorconfig", - "id": "pkg_config_migrate_go_devworkspaceoperatorconfig" + "id": "workspace_devworkspacereconciler_namespaceisterminating", + "community": 4, + "norm_label": ".namespaceisterminating()" }, { - "label": "migrate_test.go", + "label": "http.go", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", + "source_file": "controllers/workspace/internal/testutil/http.go", "source_location": "L1", "_origin": "ast", - "community": 40, - "norm_label": "migrate_test.go", - "id": "config_migrate_test" + "id": "controllers_workspace_internal_testutil_http_go_testutil_http", + "community": 147, + "norm_label": "http.go" }, { - "label": "TestMigrateConfigDoesNothingWhenNoConfigMap()", + "label": "TestRoundTripper", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L34", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L23", "_origin": "ast", - "community": 40, - "norm_label": "testmigrateconfigdoesnothingwhennoconfigmap()", - "id": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap" + "id": "testutil_testroundtripper", + "community": 147, + "norm_label": "testroundtripper" }, { - "label": "T", + "label": "TestResponse", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L34", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L24", "_origin": "ast", - "community": 40, - "norm_label": "t", - "id": "pkg_config_migrate_test_go_t" + "id": "testresponse", + "community": 147, + "norm_label": "testresponse" }, { - "label": "TestMigrateConfigErrorWhenConfigAndConfigMapPresent()", + "label": "TestResponse", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L50", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L27", "_origin": "ast", - "community": 40, - "norm_label": "testmigrateconfigerrorwhenconfigandconfigmappresent()", - "id": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent" + "id": "testutil_testresponse", + "community": 147, + "norm_label": "testresponse" }, { - "label": "TestMigrateConfigDeletesConfigMapWhenAlreadyMigrated()", + "label": ".RoundTrip()", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L72", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L33", "_origin": "ast", - "community": 40, - "norm_label": "testmigrateconfigdeletesconfigmapwhenalreadymigrated()", - "id": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated" + "id": "testutil_testroundtripper_roundtrip", + "community": 147, + "norm_label": ".roundtrip()" }, { - "label": "TestMigrateConfigCreatesCRFromConfigMap()", + "label": "Request", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L102", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L33", "_origin": "ast", - "community": 40, - "norm_label": "testmigrateconfigcreatescrfromconfigmap()", - "id": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap" + "id": "controllers_workspace_internal_testutil_http_go_request", + "community": 147, + "norm_label": "request" }, { - "label": "TestMigrateConfigSucceedsWhenCRDHasAllValuesFromConfigMap()", + "label": "Response", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L155", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L33", "_origin": "ast", - "community": 40, - "norm_label": "testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap()", - "id": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap" + "id": "controllers_workspace_internal_testutil_http_go_response", + "community": 147, + "norm_label": "response" }, { - "label": "TestConvertConfigMapDoesNothingWhenNoConfigmap()", + "label": "deployment_provisioning.go", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L205", + "source_file": "controllers/workspace/metrics/deployment_provisioning.go", + "source_location": "L1", "_origin": "ast", - "community": 40, - "norm_label": "testconvertconfigmapdoesnothingwhennoconfigmap()", - "id": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap" + "id": "metrics_deployment_provisioning", + "community": 233, + "norm_label": "deployment_provisioning.go" }, { - "label": "TestConvertConfigMapGetsAllOldConfigValues()", + "label": "DetermineProvisioningFailureReason()", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L213", + "source_file": "controllers/workspace/metrics/deployment_provisioning.go", + "source_location": "L38", "_origin": "ast", - "community": 40, - "norm_label": "testconvertconfigmapgetsalloldconfigvalues()", - "id": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues" + "id": "metrics_deployment_provisioning_determineprovisioningfailurereason", + "community": 233, + "norm_label": "determineprovisioningfailurereason()" }, { - "label": "TestConvertConfigMapIgnoresValuesThatAreDefault()", + "label": "FailureReason", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L254", + "source_file": "controllers/workspace/metrics/deployment_provisioning.go", + "source_location": "L38", "_origin": "ast", - "community": 40, - "norm_label": "testconvertconfigmapignoresvaluesthataredefault()", - "id": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault" + "id": "controllers_workspace_metrics_deployment_provisioning_go_failurereason", + "community": 233, + "norm_label": "failurereason" }, { - "label": "TestConvertConfigMapReturnsNilWhenAllDefault()", + "label": "failure_reason.go", "file_type": "code", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L289", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L1", "_origin": "ast", - "community": 40, - "norm_label": "testconvertconfigmapreturnsnilwhenalldefault()", - "id": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault" + "id": "metrics_failure_reason", + "community": 117, + "norm_label": "failure_reason.go" }, { - "label": "predicates.go", + "label": "FailureReason", "file_type": "code", - "source_file": "pkg/config/predicates.go", - "source_location": "L1", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L24", "_origin": "ast", - "community": 232, - "norm_label": "predicates.go", - "id": "config_predicates" + "id": "metrics_failurereason", + "community": 117, + "norm_label": "failurereason" }, { - "label": "Predicates()", + "label": "GetFailureReason()", "file_type": "code", - "source_file": "pkg/config/predicates.go", - "source_location": "L25", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L41", "_origin": "ast", - "community": 232, - "norm_label": "predicates()", - "id": "config_predicates_predicates" + "id": "metrics_failure_reason_getfailurereason", + "community": 117, + "norm_label": "getfailurereason()" }, { - "label": "Predicate", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/config/predicates.go", - "source_location": "L25", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L41", "_origin": "ast", - "community": 232, - "norm_label": "predicate", - "id": "predicate" + "id": "controllers_workspace_metrics_failure_reason_go_devworkspacewithconfig", + "community": 117, + "norm_label": "devworkspacewithconfig" }, { - "label": "openshift.go", + "label": "metrics.go", "file_type": "code", - "source_file": "pkg/config/proxy/openshift.go", + "source_file": "controllers/workspace/metrics/metrics.go", "source_location": "L1", "_origin": "ast", - "community": 124, - "norm_label": "openshift.go", - "id": "proxy_openshift" + "id": "metrics_metrics", + "community": 246, + "norm_label": "metrics.go" }, { - "label": "GetClusterProxyConfig()", + "label": "init()", "file_type": "code", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L35", + "source_file": "controllers/workspace/metrics/metrics.go", + "source_location": "L78", "_origin": "ast", - "community": 124, - "norm_label": "getclusterproxyconfig()", - "id": "proxy_openshift_getclusterproxyconfig" + "id": "metrics_metrics_init", + "community": 246, + "norm_label": "init()" }, { - "label": "Client", + "label": "update.go", "file_type": "code", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L35", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L1", "_origin": "ast", - "community": 124, - "norm_label": "client", - "id": "pkg_config_proxy_openshift_go_client" + "id": "metrics_update", + "community": 111, + "norm_label": "update.go" }, { - "label": "Proxy", + "label": "WorkspaceStarted()", "file_type": "code", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L35", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L30", "_origin": "ast", - "community": 124, - "norm_label": "proxy", - "id": "pkg_config_proxy_openshift_go_proxy" + "id": "metrics_update_workspacestarted", + "community": 111, + "norm_label": "workspacestarted()" }, { - "label": "MergeProxyConfigs()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L64", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L30", "_origin": "ast", - "community": 124, - "norm_label": "mergeproxyconfigs()", - "id": "proxy_openshift_mergeproxyconfigs" + "id": "controllers_workspace_metrics_update_go_devworkspacewithconfig", + "community": 111, + "norm_label": "devworkspacewithconfig" }, { - "label": "removeEmptyStrings()", + "label": "Logger", "file_type": "code", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L99", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L30", "_origin": "ast", - "community": 124, - "norm_label": "removeemptystrings()", - "id": "proxy_openshift_removeemptystrings" + "id": "controllers_workspace_metrics_update_go_logger", + "community": 111, + "norm_label": "logger" }, { - "label": "openshift_test.go", + "label": "WorkspaceRunning()", "file_type": "code", - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L1", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L40", "_origin": "ast", - "community": 124, - "norm_label": "openshift_test.go", - "id": "proxy_openshift_test" + "id": "metrics_update_workspacerunning", + "community": 111, + "norm_label": "workspacerunning()" }, { - "label": "TestMergeProxyConfigs()", + "label": "WorkspaceFailed()", "file_type": "code", - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L24", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L50", "_origin": "ast", - "community": 124, - "norm_label": "testmergeproxyconfigs()", - "id": "proxy_openshift_test_testmergeproxyconfigs" + "id": "metrics_update_workspacefailed", + "community": 111, + "norm_label": "workspacefailed()" }, { - "label": "T", + "label": "incrementMetricForWorkspace()", "file_type": "code", - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L24", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L54", "_origin": "ast", - "community": 124, - "norm_label": "t", - "id": "pkg_config_proxy_openshift_test_go_t" + "id": "metrics_update_incrementmetricforworkspace", + "community": 111, + "norm_label": "incrementmetricforworkspace()" }, { - "label": "sync.go", + "label": "CounterVec", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L1", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L54", "_origin": "ast", - "community": 19, - "norm_label": "sync.go", - "id": "config_sync" + "id": "countervec", + "community": 111, + "norm_label": "countervec" }, { - "label": "GetGlobalConfig()", + "label": "incrementMetricForWorkspaceFailure()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L55", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L70", "_origin": "ast", - "community": 19, - "norm_label": "getglobalconfig()", - "id": "config_sync_getglobalconfig" + "id": "metrics_update_incrementmetricforworkspacefailure", + "community": 111, + "norm_label": "incrementmetricforworkspacefailure()" }, { - "label": "OperatorConfiguration", + "label": "incrementStartTimeBucketForWorkspace()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L55", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L83", "_origin": "ast", - "community": 19, - "norm_label": "operatorconfiguration", - "id": "pkg_config_sync_go_operatorconfiguration" + "id": "metrics_update_incrementstarttimebucketforworkspace", + "community": 111, + "norm_label": "incrementstarttimebucketforworkspace()" }, { - "label": "ResolveConfigForWorkspace()", + "label": "predicates.go", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "controllers/workspace/predicates.go", + "source_location": "L1", "_origin": "ast", - "community": 19, - "norm_label": "resolveconfigforworkspace()", - "id": "config_sync_resolveconfigforworkspace" + "id": "workspace_predicates", + "community": 234, + "norm_label": "predicates.go" }, { - "label": "DevWorkspace", + "label": "objectIsAutomountResource()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "controllers/workspace/predicates.go", + "source_location": "L102", "_origin": "ast", - "community": 19, - "norm_label": "devworkspace", - "id": "pkg_config_sync_go_devworkspace" + "id": "workspace_predicates_objectisautomountresource", + "community": 234, + "norm_label": "objectisautomountresource()" }, { - "label": "Client", + "label": "Object", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "controllers/workspace/predicates.go", + "source_location": "L102", "_origin": "ast", - "community": 19, - "norm_label": "client", - "id": "pkg_config_sync_go_client" + "id": "controllers_workspace_predicates_go_object", + "community": 234, + "norm_label": "object" }, { - "label": "GetConfigForTesting()", + "label": "status.go", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L91", + "source_file": "controllers/workspace/status.go", + "source_location": "L1", "_origin": "ast", - "community": 19, - "norm_label": "getconfigfortesting()", - "id": "config_sync_getconfigfortesting" + "id": "workspace_status", + "community": 25, + "norm_label": "status.go" }, { - "label": "SetGlobalConfigForTesting()", + "label": "currentStatus", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L99", + "source_file": "controllers/workspace/status.go", + "source_location": "L55", "_origin": "ast", - "community": 80, - "norm_label": "setglobalconfigfortesting()", - "id": "config_sync_setglobalconfigfortesting" + "id": "workspace_currentstatus", + "community": 25, + "norm_label": "currentstatus" }, { - "label": "SetupControllerConfig()", + "label": "workspaceConditions", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L110", + "source_file": "controllers/workspace/status.go", + "source_location": "L56", "_origin": "ast", - "community": 19, - "norm_label": "setupcontrollerconfig()", - "id": "config_sync_setupcontrollerconfig" + "id": "workspaceconditions", + "community": 25, + "norm_label": "workspaceconditions" }, { - "label": "IsSetUp()", + "label": "DevWorkspacePhase", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L164", + "source_file": "controllers/workspace/status.go", + "source_location": "L58", "_origin": "ast", - "community": 19, - "norm_label": "issetup()", - "id": "config_sync_issetup" + "id": "controllers_workspace_status_go_devworkspacephase", + "community": 25, + "norm_label": "devworkspacephase" }, { - "label": "ExperimentalFeaturesEnabled()", + "label": "DevWorkspaceReconciler", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L168", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "_origin": "ast", - "community": 48, - "norm_label": "experimentalfeaturesenabled()", - "id": "config_sync_experimentalfeaturesenabled" + "id": "controllers_workspace_status_go_workspace_devworkspacereconciler", + "community": 25, + "norm_label": "devworkspacereconciler" }, { - "label": "getClusterConfig()", + "label": ".updateWorkspaceStatus()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L175", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "_origin": "ast", - "community": 19, - "norm_label": "getclusterconfig()", - "id": "config_sync_getclusterconfig" + "id": "workspace_devworkspacereconciler_updateworkspacestatus", + "community": 25, + "norm_label": ".updateworkspacestatus()" }, { - "label": "DevWorkspaceOperatorConfig", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L175", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "_origin": "ast", - "community": 19, - "norm_label": "devworkspaceoperatorconfig", - "id": "pkg_config_sync_go_devworkspaceoperatorconfig" + "id": "controllers_workspace_status_go_devworkspacewithconfig", + "community": 25, + "norm_label": "devworkspacewithconfig" }, { - "label": "getMergedConfig()", + "label": "Logger", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L186", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "_origin": "ast", - "community": 19, - "norm_label": "getmergedconfig()", - "id": "config_sync_getmergedconfig" + "id": "controllers_workspace_status_go_logger", + "community": 25, + "norm_label": "logger" }, { - "label": "syncConfigFrom()", + "label": "Result", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L193", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "_origin": "ast", - "community": 18, - "norm_label": "syncconfigfrom()", - "id": "config_sync_syncconfigfrom" + "id": "controllers_workspace_status_go_result", + "community": 25, + "norm_label": "result" }, { - "label": "restoreDefaultConfig()", + "label": "syncConditions()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L204", + "source_file": "controllers/workspace/status.go", + "source_location": "L102", "_origin": "ast", - "community": 19, - "norm_label": "restoredefaultconfig()", - "id": "config_sync_restoredefaultconfig" + "id": "workspace_status_syncconditions", + "community": 25, + "norm_label": "syncconditions()" }, { - "label": "discoverRouteSuffix()", + "label": "DevWorkspaceStatus", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L214", + "source_file": "controllers/workspace/status.go", + "source_location": "L102", "_origin": "ast", - "community": 19, - "norm_label": "discoverroutesuffix()", - "id": "config_sync_discoverroutesuffix" + "id": "controllers_workspace_status_go_devworkspacestatus", + "community": 25, + "norm_label": "devworkspacestatus" }, { - "label": "mergeConfig()", + "label": "syncWorkspaceMainURL()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L253", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "_origin": "ast", - "community": 19, - "norm_label": "mergeconfig()", - "id": "config_sync_mergeconfig" + "id": "workspace_status_syncworkspacemainurl", + "community": 25, + "norm_label": "syncworkspacemainurl()" }, { - "label": "mergePodSecurityContext()", + "label": "ExposedEndpointList", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L545", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "_origin": "ast", - "community": 19, - "norm_label": "mergepodsecuritycontext()", - "id": "config_sync_mergepodsecuritycontext" + "id": "controllers_workspace_status_go_exposedendpointlist", + "community": 25, + "norm_label": "exposedendpointlist" }, { - "label": "PodSecurityContext", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L545", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "_origin": "ast", - "community": 19, - "norm_label": "podsecuritycontext", - "id": "pkg_config_sync_go_podsecuritycontext" + "id": "controllers_workspace_status_go_clusterapi", + "community": 25, + "norm_label": "clusterapi" }, { - "label": "mergeContainerSecurityContext()", + "label": "checkServerStatus()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L569", + "source_file": "controllers/workspace/status.go", + "source_location": "L202", "_origin": "ast", - "community": 19, - "norm_label": "mergecontainersecuritycontext()", - "id": "config_sync_mergecontainersecuritycontext" + "id": "workspace_status_checkserverstatus", + "community": 25, + "norm_label": "checkserverstatus()" }, { - "label": "SecurityContext", + "label": "getMainUrl()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L569", + "source_file": "controllers/workspace/status.go", + "source_location": "L233", "_origin": "ast", - "community": 19, - "norm_label": "securitycontext", - "id": "pkg_config_sync_go_securitycontext" + "id": "workspace_status_getmainurl", + "community": 25, + "norm_label": "getmainurl()" }, { - "label": "mergeTLSCertificateConfigmapRef()", + "label": "getInfoMessage()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L593", + "source_file": "controllers/workspace/status.go", + "source_location": "L244", "_origin": "ast", - "community": 19, - "norm_label": "mergetlscertificateconfigmapref()", - "id": "config_sync_mergetlscertificateconfigmapref" + "id": "workspace_status_getinfomessage", + "community": 25, + "norm_label": "getinfomessage()" }, { - "label": "ConfigmapReference", + "label": "updateMetricsForPhase()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L593", + "source_file": "controllers/workspace/status.go", + "source_location": "L279", "_origin": "ast", - "community": 19, - "norm_label": "configmapreference", - "id": "pkg_config_sync_go_configmapreference" + "id": "workspace_status_updatemetricsforphase", + "community": 25, + "norm_label": "updatemetricsforphase()" }, { - "label": "mergeResources()", + "label": "checkForStartTimeout()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L615", + "source_file": "controllers/workspace/status.go", + "source_location": "L295", "_origin": "ast", - "community": 19, - "norm_label": "mergeresources()", - "id": "config_sync_mergeresources" + "id": "workspace_status_checkforstarttimeout", + "community": 25, + "norm_label": "checkforstarttimeout()" }, { - "label": "ResourceRequirements", + "label": "checkForFailingTimeout()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L615", + "source_file": "controllers/workspace/status.go", + "source_location": "L320", "_origin": "ast", - "community": 19, - "norm_label": "resourcerequirements", - "id": "pkg_config_sync_go_resourcerequirements" + "id": "workspace_status_checkforfailingtimeout", + "community": 25, + "norm_label": "checkforfailingtimeout()" }, { - "label": "GetCurrentConfigString()", + "label": "fmtStartTimeoutMessage()", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L642", + "source_file": "controllers/workspace/status.go", + "source_location": "L341", "_origin": "ast", - "community": 19, - "norm_label": "getcurrentconfigstring()", - "id": "config_sync_getcurrentconfigstring" + "id": "workspace_status_fmtstarttimeoutmessage", + "community": 25, + "norm_label": "fmtstarttimeoutmessage()" }, { - "label": "logCurrentConfig()", + "label": "suite_test.go", "file_type": "code", - "source_file": "pkg/config/sync.go", - "source_location": "L843", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L1", "_origin": "ast", - "community": 19, - "norm_label": "logcurrentconfig()", - "id": "config_sync_logcurrentconfig" + "id": "workspace_suite_test", + "community": 163, + "norm_label": "suite_test.go" }, { - "label": "sync_test.go", + "label": "TestAPIs()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L1", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L72", "_origin": "ast", - "community": 18, - "norm_label": "sync_test.go", - "id": "config_sync_test" + "id": "workspace_suite_test_testapis", + "community": 163, + "norm_label": "testapis()" }, { - "label": "TestSetupControllerConfigUsesDefault()", + "label": "T", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L45", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L72", "_origin": "ast", - "community": 18, - "norm_label": "testsetupcontrollerconfigusesdefault()", - "id": "config_sync_test_testsetupcontrollerconfigusesdefault" + "id": "controllers_workspace_suite_test_go_t", + "community": 163, + "norm_label": "t" }, { - "label": "T", + "label": "setupEnvVars()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L45", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L177", "_origin": "ast", - "community": 18, - "norm_label": "t", - "id": "pkg_config_sync_test_go_t" + "id": "workspace_suite_test_setupenvvars", + "community": 163, + "norm_label": "setupenvvars()" }, { - "label": "TestSetupControllerConfigFailsWhenAlreadySetup()", + "label": "getBasicTestHttpClient()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L55", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L207", "_origin": "ast", - "community": 18, - "norm_label": "testsetupcontrollerconfigfailswhenalreadysetup()", - "id": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup" + "id": "workspace_suite_test_getbasictesthttpclient", + "community": 163, + "norm_label": "getbasictesthttpclient()" }, { - "label": "TestSetupControllerMergesClusterConfig()", + "label": "Client", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L69", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L207", "_origin": "ast", - "community": 18, - "norm_label": "testsetupcontrollermergesclusterconfig()", - "id": "config_sync_test_testsetupcontrollermergesclusterconfig" + "id": "controllers_workspace_suite_test_go_client", + "community": 163, + "norm_label": "client" }, { - "label": "TestMergesAllFieldsFromClusterConfig()", + "label": "util_test.go", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L97", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L1", "_origin": "ast", - "community": 18, - "norm_label": "testmergesallfieldsfromclusterconfig()", - "id": "config_sync_test_testmergesallfieldsfromclusterconfig" + "id": "workspace_util_test", + "community": 11, + "norm_label": "util_test.go" }, { - "label": "TestCatchesNonExistentExternalDWOC()", + "label": "createDevWorkspace()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L136", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L45", "_origin": "ast", - "community": 18, - "norm_label": "testcatchesnonexistentexternaldwoc()", - "id": "config_sync_test_testcatchesnonexistentexternaldwoc" + "id": "workspace_util_test_createdevworkspace", + "community": 11, + "norm_label": "createdevworkspace()" }, { - "label": "TestMergeExternalConfig()", + "label": "createStartedDevWorkspace()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L158", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L61", "_origin": "ast", - "community": 18, - "norm_label": "testmergeexternalconfig()", - "id": "config_sync_test_testmergeexternalconfig" + "id": "workspace_util_test_createstarteddevworkspace", + "community": 11, + "norm_label": "createstarteddevworkspace()" }, { - "label": "TestSetupControllerAlwaysSetsDefaultClusterRoutingSuffix()", + "label": "getExistingDevWorkspace()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L226", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L82", "_origin": "ast", - "community": 18, - "norm_label": "testsetupcontrolleralwayssetsdefaultclusterroutingsuffix()", - "id": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix" + "id": "workspace_util_test_getexistingdevworkspace", + "community": 11, + "norm_label": "getexistingdevworkspace()" }, { - "label": "TestDetectsOpenShiftRouteSuffix()", + "label": "DevWorkspace", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L252", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L82", "_origin": "ast", - "community": 18, - "norm_label": "testdetectsopenshiftroutesuffix()", - "id": "config_sync_test_testdetectsopenshiftroutesuffix" + "id": "controllers_workspace_util_test_go_devworkspace", + "community": 11, + "norm_label": "devworkspace" }, { - "label": "TestSyncConfigFromIgnoresOtherConfigInOtherNamespaces()", + "label": "deleteDevWorkspace()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L272", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L96", "_origin": "ast", - "community": 18, - "norm_label": "testsyncconfigfromignoresotherconfiginothernamespaces()", - "id": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces" + "id": "workspace_util_test_deletedevworkspace", + "community": 11, + "norm_label": "deletedevworkspace()" }, { - "label": "TestSyncConfigFromIgnoresOtherConfigWithOtherName()", + "label": "cleanupPVC()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L285", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L136", "_origin": "ast", - "community": 18, - "norm_label": "testsyncconfigfromignoresotherconfigwithothername()", - "id": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername" + "id": "workspace_util_test_cleanuppvc", + "community": 11, + "norm_label": "cleanuppvc()" }, { - "label": "TestSyncConfigDoesNotChangeDefaults()", + "label": "createObject()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L298", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L155", "_origin": "ast", - "community": 18, - "norm_label": "testsyncconfigdoesnotchangedefaults()", - "id": "config_sync_test_testsyncconfigdoesnotchangedefaults" + "id": "workspace_util_test_createobject", + "community": 11, + "norm_label": "createobject()" }, { - "label": "TestSyncConfigRestoresClusterRoutingSuffix()", + "label": "Object", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L317", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L155", "_origin": "ast", - "community": 18, - "norm_label": "testsyncconfigrestoresclusterroutingsuffix()", - "id": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix" + "id": "controllers_workspace_util_test_go_object", + "community": 11, + "norm_label": "object" }, { - "label": "TestSyncConfigDoesNotEraseClusterRoutingSuffix()", + "label": "deleteObject()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L332", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L162", "_origin": "ast", - "community": 18, - "norm_label": "testsyncconfigdoesnoteraseclusterroutingsuffix()", - "id": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix" + "id": "workspace_util_test_deleteobject", + "community": 11, + "norm_label": "deleteobject()" }, { - "label": "TestMergeConfigHandlesProxySettings()", + "label": "markRoutingReady()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L364", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L170", "_origin": "ast", - "community": 18, - "norm_label": "testmergeconfighandlesproxysettings()", - "id": "config_sync_test_testmergeconfighandlesproxysettings" + "id": "workspace_util_test_markroutingready", + "community": 11, + "norm_label": "markroutingready()" }, { - "label": "TestMergeConfigLooksAtAllFields()", + "label": "markDeploymentReady()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L433", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L195", "_origin": "ast", - "community": 18, - "norm_label": "testmergeconfiglooksatallfields()", - "id": "config_sync_test_testmergeconfiglooksatallfields" + "id": "workspace_util_test_markdeploymentready", + "community": 11, + "norm_label": "markdeploymentready()" }, { - "label": "TestMergeConfigMergesStorageAccessMode()", + "label": "scaleDeploymentToZero()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L449", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L211", "_origin": "ast", - "community": 18, - "norm_label": "testmergeconfigmergesstorageaccessmode()", - "id": "config_sync_test_testmergeconfigmergesstorageaccessmode" + "id": "workspace_util_test_scaledeploymenttozero", + "community": 11, + "norm_label": "scaledeploymenttozero()" }, { - "label": "TestMergeConfigMergesStorageClassName()", + "label": "devworkspaceOwnerRef()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L467", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L227", "_origin": "ast", - "community": 18, - "norm_label": "testmergeconfigmergesstorageclassname()", - "id": "config_sync_test_testmergeconfigmergesstorageclassname" + "id": "workspace_util_test_devworkspaceownerref", + "community": 11, + "norm_label": "devworkspaceownerref()" }, { - "label": "TestMergeConfigMergesRuntimeClassName()", + "label": "OwnerReference", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L543", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L227", "_origin": "ast", - "community": 18, - "norm_label": "testmergeconfigmergesruntimeclassname()", - "id": "config_sync_test_testmergeconfigmergesruntimeclassname" + "id": "controllers_workspace_util_test_go_ownerreference", + "community": 11, + "norm_label": "ownerreference" }, { - "label": "TestResolveConfigForWorkspaceWithNetworkPolicy()", + "label": "generateSecret()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L619", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L238", "_origin": "ast", - "community": 18, - "norm_label": "testresolveconfigforworkspacewithnetworkpolicy()", - "id": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy" + "id": "workspace_util_test_generatesecret", + "community": 11, + "norm_label": "generatesecret()" }, { - "label": "fuzzQuantity()", + "label": "SecretType", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L684", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L238", "_origin": "ast", - "community": 108, - "norm_label": "fuzzquantity()", - "id": "config_sync_test_fuzzquantity" + "id": "secrettype", + "community": 11, + "norm_label": "secrettype" }, { - "label": "Quantity", + "label": "Secret", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L684", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L238", "_origin": "ast", - "community": 108, - "norm_label": "quantity", - "id": "pkg_config_sync_test_go_quantity" + "id": "controllers_workspace_util_test_go_secret", + "community": 11, + "norm_label": "secret" }, { - "label": "Continue", + "label": "generateConfigMap()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L684", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L253", "_origin": "ast", - "community": 108, - "norm_label": "continue", - "id": "continue" + "id": "workspace_util_test_generateconfigmap", + "community": 11, + "norm_label": "generateconfigmap()" }, { - "label": "fuzzResourceList()", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L690", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L253", "_origin": "ast", - "community": 108, - "norm_label": "fuzzresourcelist()", - "id": "config_sync_test_fuzzresourcelist" + "id": "controllers_workspace_util_test_go_configmap", + "community": 11, + "norm_label": "configmap" }, { - "label": "ResourceList", + "label": "volumeFromSecret()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L690", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L267", "_origin": "ast", - "community": 108, - "norm_label": "resourcelist", - "id": "pkg_config_sync_test_go_resourcelist" + "id": "workspace_util_test_volumefromsecret", + "community": 11, + "norm_label": "volumefromsecret()" }, { - "label": "fuzzResourceRequirements()", + "label": "Volume", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L701", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L267", "_origin": "ast", - "community": 108, - "norm_label": "fuzzresourcerequirements()", - "id": "config_sync_test_fuzzresourcerequirements" + "id": "controllers_workspace_util_test_go_volume", + "community": 11, + "norm_label": "volume" }, { - "label": "ResourceRequirements", + "label": "volumeFromConfigMap()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L701", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L280", "_origin": "ast", - "community": 108, - "norm_label": "resourcerequirements", - "id": "pkg_config_sync_test_go_resourcerequirements" + "id": "workspace_util_test_volumefromconfigmap", + "community": 11, + "norm_label": "volumefromconfigmap()" }, { - "label": "fuzzIntOrString()", + "label": "volumeMountFromSecret()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L712", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L293", "_origin": "ast", - "community": 108, - "norm_label": "fuzzintorstring()", - "id": "config_sync_test_fuzzintorstring" + "id": "workspace_util_test_volumemountfromsecret", + "community": 11, + "norm_label": "volumemountfromsecret()" }, { - "label": "IntOrString", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L712", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L293", "_origin": "ast", - "community": 108, - "norm_label": "intorstring", - "id": "intorstring" + "id": "controllers_workspace_util_test_go_volumemount", + "community": 11, + "norm_label": "volumemount" }, { - "label": "fuzzStringPtr()", + "label": "volumeMountFromConfigMap()", "file_type": "code", - "source_file": "pkg/config/sync_test.go", - "source_location": "L716", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L305", "_origin": "ast", - "community": 108, - "norm_label": "fuzzstringptr()", - "id": "config_sync_test_fuzzstringptr" + "id": "workspace_util_test_volumemountfromconfigmap", + "community": 11, + "norm_label": "volumemountfromconfigmap()" }, { - "label": "attributes.go", + "label": "namespacedName()", "file_type": "code", - "source_file": "pkg/constants/attributes.go", - "source_location": "L1", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L317", "_origin": "ast", - "community": 265, - "norm_label": "attributes.go", - "id": "constants_attributes" + "id": "workspace_util_test_namespacedname", + "community": 11, + "norm_label": "namespacedname()" }, { - "label": "constants.go", + "label": "NamespacedName", "file_type": "code", - "source_file": "pkg/constants/constants.go", - "source_location": "L1", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L317", "_origin": "ast", - "community": 278, - "norm_label": "constants.go", - "id": "pkg_constants_constants_go_constants_constants" + "id": "controllers_workspace_util_test_go_namespacedname", + "community": 11, + "norm_label": "namespacedname" }, { - "label": "env.go", + "label": "validation.go", "file_type": "code", - "source_file": "pkg/constants/env.go", + "source_file": "controllers/workspace/validation.go", "source_location": "L1", "_origin": "ast", - "community": 266, - "norm_label": "env.go", - "id": "constants_env" + "id": "workspace_validation", + "community": 294, + "norm_label": "validation.go" }, { - "label": "finalizers.go", + "label": "DevWorkspaceReconciler", "file_type": "code", - "source_file": "pkg/constants/finalizers.go", - "source_location": "L1", + "source_file": "controllers/workspace/validation.go", + "source_location": "L31", "_origin": "ast", - "community": 267, - "norm_label": "finalizers.go", - "id": "constants_finalizers" + "id": "controllers_workspace_validation_go_workspace_devworkspacereconciler", + "community": 148, + "norm_label": "devworkspacereconciler" }, { - "label": "metadata.go", + "label": ".validateCreatorLabel()", "file_type": "code", - "source_file": "pkg/constants/metadata.go", - "source_location": "L1", + "source_file": "controllers/workspace/validation.go", + "source_location": "L31", "_origin": "ast", - "community": 268, - "norm_label": "metadata.go", - "id": "constants_metadata" + "id": "workspace_devworkspacereconciler_validatecreatorlabel", + "community": 148, + "norm_label": ".validatecreatorlabel()" }, { - "label": "errors.go", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L1", + "source_file": "controllers/workspace/validation.go", + "source_location": "L31", "_origin": "ast", - "community": 113, - "norm_label": "errors.go", - "id": "dwerrors_errors" + "id": "controllers_workspace_validation_go_devworkspacewithconfig", + "community": 148, + "norm_label": "devworkspacewithconfig" }, { - "label": "RetryError", + "label": "image.go", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L23", + "source_file": "internal/images/image.go", + "source_location": "L1", "_origin": "ast", - "community": 113, - "norm_label": "retryerror", - "id": "dwerrors_retryerror" + "id": "images_image", + "community": 74, + "norm_label": "image.go" }, { - "label": "Duration", + "label": "GetWebhookServerImage()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L30", + "source_file": "internal/images/image.go", + "source_location": "L46", "_origin": "ast", - "community": 113, - "norm_label": "duration", - "id": "pkg_dwerrors_errors_go_duration" + "id": "images_image_getwebhookserverimage", + "community": 59, + "norm_label": "getwebhookserverimage()" }, { - "label": ".Error()", + "label": "GetPVCCleanupJobImage()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L33", + "source_file": "internal/images/image.go", + "source_location": "L57", "_origin": "ast", - "community": 113, - "norm_label": ".error()", - "id": "dwerrors_retryerror_error" + "id": "images_image_getpvccleanupjobimage", + "community": 74, + "norm_label": "getpvccleanupjobimage()" }, { - "label": ".Unwrap()", + "label": "GetAsyncStorageServerImage()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L43", + "source_file": "internal/images/image.go", + "source_location": "L66", "_origin": "ast", - "community": 113, - "norm_label": ".unwrap()", - "id": "dwerrors_retryerror_unwrap" + "id": "images_image_getasyncstorageserverimage", + "community": 74, + "norm_label": "getasyncstorageserverimage()" }, { - "label": "FailError", + "label": "GetAsyncStorageSidecarImage()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L47", + "source_file": "internal/images/image.go", + "source_location": "L75", "_origin": "ast", - "community": 113, - "norm_label": "failerror", - "id": "dwerrors_failerror" + "id": "images_image_getasyncstoragesidecarimage", + "community": 74, + "norm_label": "getasyncstoragesidecarimage()" }, { - "label": ".Error()", + "label": "GetProjectCloneImage()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L54", + "source_file": "internal/images/image.go", + "source_location": "L84", "_origin": "ast", - "community": 113, - "norm_label": ".error()", - "id": "dwerrors_failerror_error" + "id": "images_image_getprojectcloneimage", + "community": 74, + "norm_label": "getprojectcloneimage()" }, { - "label": ".Unwrap()", + "label": "GetProjectBackupImage()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L64", + "source_file": "internal/images/image.go", + "source_location": "L93", "_origin": "ast", - "community": 113, - "norm_label": ".unwrap()", - "id": "dwerrors_failerror_unwrap" + "id": "images_image_getprojectbackupimage", + "community": 74, + "norm_label": "getprojectbackupimage()" }, { - "label": "WarningError", + "label": "map.go", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L68", + "source_file": "internal/map/map.go", + "source_location": "L1", "_origin": "ast", - "community": 113, - "norm_label": "warningerror", - "id": "dwerrors_warningerror" + "id": "map_map", + "community": 18, + "norm_label": "map.go" }, { - "label": ".Error()", + "label": "Append()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L73", + "source_file": "internal/map/map.go", + "source_location": "L18", "_origin": "ast", - "community": 113, - "norm_label": ".error()", - "id": "dwerrors_warningerror_error" + "id": "map_map_append", + "community": 13, + "norm_label": "append()" }, { - "label": "WrapSyncError()", + "label": "Equal()", "file_type": "code", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L77", + "source_file": "internal/map/map.go", + "source_location": "L28", "_origin": "ast", - "community": 99, - "norm_label": "wrapsyncerror()", - "id": "dwerrors_errors_wrapsyncerror" + "id": "map_map_equal", + "community": 18, + "norm_label": "equal()" }, { - "label": "http.go", + "label": "main.go", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", + "source_file": "main.go", "source_location": "L1", "_origin": "ast", - "community": 26, - "norm_label": "http.go", - "id": "httpfactory_http" + "id": "main", + "community": 80, + "norm_label": "main.go" }, { - "label": "HttpClientsFactory", + "label": "init()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L40", + "source_file": "main.go", + "source_location": "L71", "_origin": "ast", - "community": 26, - "norm_label": "httpclientsfactory", - "id": "httpfactory_httpclientsfactory" + "id": "main_init", + "community": 80, + "norm_label": "init()" }, { - "label": "DefaultHttpClientsFactory", + "label": "main()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L54", + "source_file": "main.go", + "source_location": "L99", "_origin": "ast", - "community": 26, - "norm_label": "defaulthttpclientsfactory", - "id": "httpfactory_defaulthttpclientsfactory" + "id": "main_main", + "community": 80, + "norm_label": "main()" }, { - "label": "Client", + "label": "setupControllerConfig()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L55", + "source_file": "main.go", + "source_location": "L269", "_origin": "ast", - "community": 26, - "norm_label": "client", - "id": "pkg_httpfactory_http_go_client" + "id": "main_setupcontrollerconfig", + "community": 80, + "norm_label": "setupcontrollerconfig()" }, { - "label": "Logger", + "label": "Manager", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L56", + "source_file": "main.go", + "source_location": "L269", "_origin": "ast", - "community": 26, - "norm_label": "logger", - "id": "pkg_httpfactory_http_go_logger" + "id": "main_go_manager", + "community": 80, + "norm_label": "manager" }, { - "label": "RWMutex", + "label": "make-release.sh", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L61", + "source_file": "make-release.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "file" + }, "_origin": "ast", - "community": 26, - "norm_label": "rwmutex", - "id": "rwmutex" + "id": "make_release", + "community": 103, + "norm_label": "make-release.sh" }, { - "label": "ConfigmapReference", + "label": "make-release.sh script", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L63", + "source_file": "make-release.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "bash_entrypoint" + }, "_origin": "ast", - "community": 26, - "norm_label": "configmapreference", - "id": "pkg_httpfactory_http_go_configmapreference" + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_make_release_sh__entry", + "community": 103, + "norm_label": "make-release.sh script" }, { - "label": "CertPool", + "label": "usage()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L66", + "source_file": "make-release.sh", + "source_location": "L31", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "certpool", - "id": "pkg_httpfactory_http_go_certpool" + "id": "make_release_usage", + "community": 103, + "norm_label": "usage()" }, { - "label": "Request", + "label": "dryrun()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L67", + "source_file": "make-release.sh", + "source_location": "L65", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "request", - "id": "pkg_httpfactory_http_go_request" + "id": "make_release_dryrun", + "community": 103, + "norm_label": "dryrun()" }, { - "label": "URL", + "label": "parse_args()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L67", + "source_file": "make-release.sh", + "source_location": "L69", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "url", - "id": "url" + "id": "make_release_parse_args", + "community": 103, + "norm_label": "parse_args()" }, { - "label": "SetupHttpClientsFactory()", + "label": "update_version()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L70", + "source_file": "make-release.sh", + "source_location": "L103", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "setuphttpclientsfactory()", - "id": "httpfactory_http_setuphttpclientsfactory" + "id": "make_release_update_version", + "community": 103, + "norm_label": "update_version()" }, { - "label": ".GetHttpClient()", + "label": "update_images()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "make-release.sh", + "source_location": "L124", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": ".gethttpclient()", - "id": "httpfactory_defaulthttpclientsfactory_gethttpclient" + "id": "make_release_update_images", + "community": 103, + "norm_label": "update_images()" }, { - "label": "Context", + "label": "build_and_push_images()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "make-release.sh", + "source_location": "L161", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "context", - "id": "pkg_httpfactory_http_go_context" + "id": "make_release_build_and_push_images", + "community": 103, + "norm_label": "build_and_push_images()" }, { - "label": "RoutingConfig", + "label": "git_commit_and_push()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "make-release.sh", + "source_location": "L192", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "routingconfig", - "id": "pkg_httpfactory_http_go_routingconfig" + "id": "make_release_git_commit_and_push", + "community": 103, + "norm_label": "git_commit_and_push()" }, { - "label": ".createHttpClient()", + "label": "prerelease()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L132", + "source_file": "make-release.sh", + "source_location": "L231", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": ".createhttpclient()", - "id": "httpfactory_defaulthttpclientsfactory_createhttpclient" + "id": "make_release_prerelease", + "community": 103, + "norm_label": "prerelease()" }, { - "label": "ConfigMap", + "label": "release()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L132", + "source_file": "make-release.sh", + "source_location": "L272", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "configmap", - "id": "pkg_httpfactory_http_go_configmap" + "id": "make_release_release", + "community": 103, + "norm_label": "release()" }, { - "label": ".shouldCreateHttpClient()", + "label": "patch_crds.sh", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L148", + "source_file": "patch/patch_crds.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "file" + }, "_origin": "ast", - "community": 26, - "norm_label": ".shouldcreatehttpclient()", - "id": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient" + "id": "patch_patch_crds", + "community": 237, + "norm_label": "patch_crds.sh" }, { - "label": ".GetHealthCheckHttpClient()", + "label": "patch_crds.sh script", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L168", + "source_file": "patch/patch_crds.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "bash_entrypoint" + }, "_origin": "ast", - "community": 26, - "norm_label": ".gethealthcheckhttpclient()", - "id": "httpfactory_defaulthttpclientsfactory_gethealthcheckhttpclient" + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_patch_patch_crds_sh__entry", + "community": 237, + "norm_label": "patch_crds.sh script" }, { - "label": "getProxyFunc()", + "label": "update_routings_crd()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L178", + "source_file": "patch/patch_crds.sh", + "source_location": "L44", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 26, - "norm_label": "getproxyfunc()", - "id": "httpfactory_http_getproxyfunc" + "id": "patch_patch_crds_update_routings_crd", + "community": 237, + "norm_label": "update_routings_crd()" }, { - "label": ".getCaCertPool()", + "label": "cache.go", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L208", + "source_file": "pkg/cache/cache.go", + "source_location": "L1", "_origin": "ast", - "community": 26, - "norm_label": ".getcacertpool()", - "id": "httpfactory_defaulthttpclientsfactory_getcacertpool" + "id": "cache_cache", + "community": 2, + "norm_label": "cache.go" }, { - "label": ".readCertificates()", + "label": "GetCacheFunc()", "file_type": "code", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L224", + "source_file": "pkg/cache/cache.go", + "source_location": "L37", "_origin": "ast", - "community": 26, - "norm_label": ".readcertificates()", - "id": "httpfactory_defaulthttpclientsfactory_readcertificates" + "id": "cache_cache_getcachefunc", + "community": 2, + "norm_label": "getcachefunc()" }, { - "label": "http_test.go", + "label": "NewCacheFunc", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L1", + "source_file": "pkg/cache/cache.go", + "source_location": "L37", "_origin": "ast", - "community": 112, - "norm_label": "http_test.go", - "id": "httpfactory_http_test" + "id": "newcachefunc", + "community": 2, + "norm_label": "newcachefunc" }, { - "label": "TestHealthCheckHttpClient()", + "label": "GetWebhooksCacheFunc()", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L43", + "source_file": "pkg/cache/cache.go", + "source_location": "L113", "_origin": "ast", - "community": 112, - "norm_label": "testhealthcheckhttpclient()", - "id": "httpfactory_http_test_testhealthcheckhttpclient" + "id": "cache_cache_getwebhookscachefunc", + "community": 2, + "norm_label": "getwebhookscachefunc()" }, { - "label": "T", + "label": "naming.go", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L43", + "source_file": "pkg/common/naming.go", + "source_location": "L1", "_origin": "ast", - "community": 112, - "norm_label": "t", - "id": "pkg_httpfactory_http_test_go_t" + "id": "common_naming", + "community": 34, + "norm_label": "naming.go" }, { - "label": "TestGetHttpClient()", + "label": "DevWorkspaceRoutingName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L62", + "source_file": "pkg/common/naming.go", + "source_location": "L31", "_origin": "ast", - "community": 112, - "norm_label": "testgethttpclient()", - "id": "httpfactory_http_test_testgethttpclient" + "id": "common_naming_devworkspaceroutingname", + "community": 11, + "norm_label": "devworkspaceroutingname()" }, { - "label": "generateTestCACert()", + "label": "EndpointName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L158", + "source_file": "pkg/common/naming.go", + "source_location": "L35", "_origin": "ast", - "community": 112, - "norm_label": "generatetestcacert()", - "id": "httpfactory_http_test_generatetestcacert" + "id": "common_naming_endpointname", + "community": 106, + "norm_label": "endpointname()" }, { - "label": "newTestFactory()", + "label": "PortName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L178", + "source_file": "pkg/common/naming.go", + "source_location": "L63", "_origin": "ast", - "community": 112, - "norm_label": "newtestfactory()", - "id": "httpfactory_http_test_newtestfactory" + "id": "common_naming_portname", + "community": 58, + "norm_label": "portname()" }, { - "label": "DefaultHttpClientsFactory", + "label": "Endpoint", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L178", + "source_file": "pkg/common/naming.go", + "source_location": "L63", "_origin": "ast", - "community": 112, - "norm_label": "defaulthttpclientsfactory", - "id": "defaulthttpclientsfactory" + "id": "pkg_common_naming_go_endpoint", + "community": 58, + "norm_label": "endpoint" }, { - "label": "routingConfigWithProxy()", + "label": "ServiceName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L205", + "source_file": "pkg/common/naming.go", + "source_location": "L70", "_origin": "ast", - "community": 112, - "norm_label": "routingconfigwithproxy()", - "id": "httpfactory_http_test_routingconfigwithproxy" + "id": "common_naming_servicename", + "community": 0, + "norm_label": "servicename()" }, { - "label": "RoutingConfig", + "label": "ServiceAccountName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L205", + "source_file": "pkg/common/naming.go", + "source_location": "L74", "_origin": "ast", - "community": 112, - "norm_label": "routingconfig", - "id": "pkg_httpfactory_http_test_go_routingconfig" + "id": "common_naming_serviceaccountname", + "community": 34, + "norm_label": "serviceaccountname()" }, { - "label": "routingConfigWithCerts()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L215", + "source_file": "pkg/common/naming.go", + "source_location": "L74", "_origin": "ast", - "community": 112, - "norm_label": "routingconfigwithcerts()", - "id": "httpfactory_http_test_routingconfigwithcerts" + "id": "pkg_common_naming_go_devworkspacewithconfig", + "community": 99, + "norm_label": "devworkspacewithconfig" }, { - "label": "http_testing.go", + "label": "ServiceAccountLabels()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L1", + "source_file": "pkg/common/naming.go", + "source_location": "L81", "_origin": "ast", - "community": 30, - "norm_label": "http_testing.go", - "id": "httpfactory_http_testing" + "id": "common_naming_serviceaccountlabels", + "community": 99, + "norm_label": "serviceaccountlabels()" }, { - "label": "TestHttpClientsFactory", + "label": "EndpointHostname()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L23", + "source_file": "pkg/common/naming.go", + "source_location": "L95", "_origin": "ast", - "community": 30, - "norm_label": "testhttpclientsfactory", - "id": "httpfactory_testhttpclientsfactory" + "id": "common_naming_endpointhostname", + "community": 1, + "norm_label": "endpointhostname()" }, { - "label": "Client", + "label": "WorkspaceHostname()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L24", + "source_file": "pkg/common/naming.go", + "source_location": "L105", "_origin": "ast", - "community": 30, - "norm_label": "client", - "id": "pkg_httpfactory_http_testing_go_client" + "id": "common_naming_workspacehostname", + "community": 1, + "norm_label": "workspacehostname()" }, { - "label": ".GetHttpClient()", + "label": "EndpointPath()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/common/naming.go", + "source_location": "L113", "_origin": "ast", - "community": 30, - "norm_label": ".gethttpclient()", - "id": "httpfactory_testhttpclientsfactory_gethttpclient" + "id": "common_naming_endpointpath", + "community": 1, + "norm_label": "endpointpath()" }, { - "label": "Context", + "label": "RouteName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/common/naming.go", + "source_location": "L117", "_origin": "ast", - "community": 30, - "norm_label": "context", - "id": "pkg_httpfactory_http_testing_go_context" + "id": "common_naming_routename", + "community": 146, + "norm_label": "routename()" }, { - "label": "RoutingConfig", + "label": "DeploymentName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/common/naming.go", + "source_location": "L121", "_origin": "ast", - "community": 30, - "norm_label": "routingconfig", - "id": "pkg_httpfactory_http_testing_go_routingconfig" + "id": "common_naming_deploymentname", + "community": 0, + "norm_label": "deploymentname()" }, { - "label": ".GetHealthCheckHttpClient()", + "label": "ServingCertVolumeName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L32", + "source_file": "pkg/common/naming.go", + "source_location": "L125", "_origin": "ast", - "community": 30, - "norm_label": ".gethealthcheckhttpclient()", - "id": "httpfactory_testhttpclientsfactory_gethealthcheckhttpclient" + "id": "common_naming_servingcertvolumename", + "community": 0, + "norm_label": "servingcertvolumename()" }, { - "label": "SetupHttpClientsForTesting()", + "label": "PVCCleanupJobName()", "file_type": "code", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L36", + "source_file": "pkg/common/naming.go", + "source_location": "L135", "_origin": "ast", - "community": 30, - "norm_label": "setuphttpclientsfortesting()", - "id": "httpfactory_http_testing_setuphttpclientsfortesting" + "id": "common_naming_pvccleanupjobname", + "community": 53, + "norm_label": "pvccleanupjobname()" }, { - "label": "cluster.go", + "label": "PerWorkspacePVCName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L1", + "source_file": "pkg/common/naming.go", + "source_location": "L139", "_origin": "ast", - "community": 140, - "norm_label": "cluster.go", - "id": "infrastructure_cluster" + "id": "common_naming_perworkspacepvcname", + "community": 4, + "norm_label": "perworkspacepvcname()" }, { - "label": "Type", + "label": "MetadataConfigMapName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L27", + "source_file": "pkg/common/naming.go", + "source_location": "L143", "_origin": "ast", - "community": 140, - "norm_label": "type", - "id": "infrastructure_type" + "id": "common_naming_metadataconfigmapname", + "community": 56, + "norm_label": "metadataconfigmapname()" }, { - "label": "Initialize()", + "label": "AutoMountConfigMapVolumeName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L44", + "source_file": "pkg/common/naming.go", + "source_location": "L147", "_origin": "ast", - "community": 140, - "norm_label": "initialize()", - "id": "infrastructure_cluster_initialize" + "id": "common_naming_automountconfigmapvolumename", + "community": 9, + "norm_label": "automountconfigmapvolumename()" }, { - "label": "InitializeForTesting()", + "label": "AutoMountSecretVolumeName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L58", + "source_file": "pkg/common/naming.go", + "source_location": "L151", "_origin": "ast", - "community": 32, - "norm_label": "initializefortesting()", - "id": "infrastructure_cluster_initializefortesting" + "id": "common_naming_automountsecretvolumename", + "community": 9, + "norm_label": "automountsecretvolumename()" }, { - "label": "IsInitialized()", + "label": "AutoMountPVCVolumeName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L63", + "source_file": "pkg/common/naming.go", + "source_location": "L155", "_origin": "ast", - "community": 80, - "norm_label": "isinitialized()", - "id": "infrastructure_cluster_isinitialized" + "id": "common_naming_automountpvcvolumename", + "community": 9, + "norm_label": "automountpvcvolumename()" }, { - "label": "IsOpenShift()", + "label": "sanitizeVolumeName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L68", + "source_file": "pkg/common/naming.go", + "source_location": "L167", "_origin": "ast", - "community": 80, - "norm_label": "isopenshift()", - "id": "infrastructure_cluster_isopenshift" + "id": "common_naming_sanitizevolumename", + "community": 9, + "norm_label": "sanitizevolumename()" }, { - "label": "detect()", + "label": "AutoMountProjectedVolumeName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L75", + "source_file": "pkg/common/naming.go", + "source_location": "L177", "_origin": "ast", - "community": 140, - "norm_label": "detect()", - "id": "infrastructure_cluster_detect" + "id": "common_naming_automountprojectedvolumename", + "community": 47, + "norm_label": "automountprojectedvolumename()" }, { - "label": "findAPIGroup()", + "label": "ServiceAccountTokenProjectionName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L99", + "source_file": "pkg/common/naming.go", + "source_location": "L184", "_origin": "ast", - "community": 140, - "norm_label": "findapigroup()", - "id": "infrastructure_cluster_findapigroup" + "id": "common_naming_serviceaccounttokenprojectionname", + "community": 34, + "norm_label": "serviceaccounttokenprojectionname()" }, { - "label": "APIGroup", + "label": "WorkspaceRoleName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L99", + "source_file": "pkg/common/naming.go", + "source_location": "L189", "_origin": "ast", - "community": 140, - "norm_label": "apigroup", - "id": "apigroup" + "id": "common_naming_workspacerolename", + "community": 34, + "norm_label": "workspacerolename()" }, { - "label": "findAPIResources()", + "label": "WorkspaceRolebindingName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L108", + "source_file": "pkg/common/naming.go", + "source_location": "L193", "_origin": "ast", - "community": 98, - "norm_label": "findapiresources()", - "id": "infrastructure_cluster_findapiresources" + "id": "common_naming_workspacerolebindingname", + "community": 34, + "norm_label": "workspacerolebindingname()" }, { - "label": "APIResourceList", + "label": "NetworkPolicyName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L108", + "source_file": "pkg/common/naming.go", + "source_location": "L197", "_origin": "ast", - "community": 98, - "norm_label": "apiresourcelist", - "id": "apiresourcelist" + "id": "common_naming_networkpolicyname", + "community": 12, + "norm_label": "networkpolicyname()" }, { - "label": "APIResource", + "label": "WorkspaceSCCRoleName()", "file_type": "code", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L108", + "source_file": "pkg/common/naming.go", + "source_location": "L201", "_origin": "ast", - "community": 98, - "norm_label": "apiresource", - "id": "apiresource" + "id": "common_naming_workspacesccrolename", + "community": 34, + "norm_label": "workspacesccrolename()" }, { - "label": "namespace.go", + "label": "WorkspaceSCCRolebindingName()", "file_type": "code", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L1", + "source_file": "pkg/common/naming.go", + "source_location": "L205", "_origin": "ast", - "community": 62, - "norm_label": "namespace.go", - "id": "infrastructure_namespace" + "id": "common_naming_workspacesccrolebindingname", + "community": 34, + "norm_label": "workspacesccrolebindingname()" }, { - "label": "GetOperatorNamespace()", + "label": "RegistryImagePullerRoleName()", "file_type": "code", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L31", + "source_file": "pkg/common/naming.go", + "source_location": "L209", "_origin": "ast", - "community": 62, - "norm_label": "getoperatornamespace()", - "id": "infrastructure_namespace_getoperatornamespace" + "id": "common_naming_registryimagepullerrolename", + "community": 34, + "norm_label": "registryimagepullerrolename()" }, { - "label": "GetWatchNamespace()", + "label": "RegistryImageBuilderRoleName()", "file_type": "code", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L46", + "source_file": "pkg/common/naming.go", + "source_location": "L213", "_origin": "ast", - "community": 62, - "norm_label": "getwatchnamespace()", - "id": "infrastructure_namespace_getwatchnamespace" + "id": "common_naming_registryimagebuilderrolename", + "community": 131, + "norm_label": "registryimagebuilderrolename()" }, { - "label": "GetNamespace()", + "label": "RegistryImagePullerRolebindingName()", "file_type": "code", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L56", + "source_file": "pkg/common/naming.go", + "source_location": "L217", "_origin": "ast", - "community": 62, - "norm_label": "getnamespace()", - "id": "infrastructure_namespace_getnamespace" + "id": "common_naming_registryimagepullerrolebindingname", + "community": 34, + "norm_label": "registryimagepullerrolebindingname()" }, { - "label": "webhook.go", + "label": "OldWorkspaceRoleName()", "file_type": "code", - "source_file": "pkg/infrastructure/webhook.go", - "source_location": "L1", + "source_file": "pkg/common/naming.go", + "source_location": "L225", "_origin": "ast", - "community": 98, - "norm_label": "webhook.go", - "id": "infrastructure_webhook" + "id": "common_naming_oldworkspacerolename", + "community": 57, + "norm_label": "oldworkspacerolename()" }, { - "label": "IsWebhookConfigurationEnabled()", + "label": "OldWorkspaceRolebindingName()", "file_type": "code", - "source_file": "pkg/infrastructure/webhook.go", - "source_location": "L24", + "source_file": "pkg/common/naming.go", + "source_location": "L233", "_origin": "ast", - "community": 98, - "norm_label": "iswebhookconfigurationenabled()", - "id": "infrastructure_webhook_iswebhookconfigurationenabled" + "id": "common_naming_oldworkspacerolebindingname", + "community": 57, + "norm_label": "oldworkspacerolebindingname()" }, { - "label": "annotations.go", + "label": "naming_test.go", "file_type": "code", - "source_file": "pkg/library/annotate/annotations.go", + "source_file": "pkg/common/naming_test.go", "source_location": "L1", "_origin": "ast", - "community": 252, - "norm_label": "annotations.go", - "id": "annotate_annotations" + "id": "common_naming_test", + "community": 106, + "norm_label": "naming_test.go" }, { - "label": "plugins.go", + "label": "TestSanitizeVolumeName()", "file_type": "code", - "source_file": "pkg/library/annotate/plugins.go", - "source_location": "L1", + "source_file": "pkg/common/naming_test.go", + "source_location": "L26", "_origin": "ast", - "community": 200, - "norm_label": "plugins.go", - "id": "annotate_plugins" + "id": "common_naming_test_testsanitizevolumename", + "community": 106, + "norm_label": "testsanitizevolumename()" }, { - "label": "AddSourceAttributesForTemplate()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/annotate/plugins.go", - "source_location": "L27", + "source_file": "pkg/common/naming_test.go", + "source_location": "L26", "_origin": "ast", - "community": 200, - "norm_label": "addsourceattributesfortemplate()", - "id": "annotate_plugins_addsourceattributesfortemplate" + "id": "pkg_common_naming_test_go_t", + "community": 106, + "norm_label": "t" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "TestEndpointName()", "file_type": "code", - "source_file": "pkg/library/annotate/plugins.go", - "source_location": "L27", + "source_file": "pkg/common/naming_test.go", + "source_location": "L84", "_origin": "ast", - "community": 200, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_annotate_plugins_go_devworkspacetemplatespec" + "id": "common_naming_test_testendpointname", + "community": 106, + "norm_label": "testendpointname()" }, { - "label": "urls.go", + "label": "TestEndpointNameRepeatedHyphensAllocations()", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L1", + "source_file": "pkg/common/naming_test.go", + "source_location": "L133", "_origin": "ast", - "community": 139, - "norm_label": "urls.go", - "id": "annotate_urls" + "id": "common_naming_test_testendpointnamerepeatedhyphensallocations", + "community": 106, + "norm_label": "testendpointnamerepeatedhyphensallocations()" }, { - "label": "AddURLAttributesToEndpoints()", + "label": "FuzzEndpointName()", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L26", + "source_file": "pkg/common/naming_test.go", + "source_location": "L146", "_origin": "ast", - "community": 139, - "norm_label": "addurlattributestoendpoints()", - "id": "annotate_urls_addurlattributestoendpoints" + "id": "common_naming_test_fuzzendpointname", + "community": 106, + "norm_label": "fuzzendpointname()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "F", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L26", + "source_file": "pkg/common/naming_test.go", + "source_location": "L146", "_origin": "ast", - "community": 139, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_annotate_urls_go_devworkspacetemplatespec" + "id": "f", + "community": 106, + "norm_label": "f" }, { - "label": "ExposedEndpointList", + "label": "scheduling.go", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", + "source_file": "pkg/common/scheduling.go", + "source_location": "L1", + "_origin": "ast", + "id": "common_scheduling", + "community": 308, + "norm_label": "scheduling.go" + }, + { + "label": "GetWorkspacePodAffinity()", + "file_type": "code", + "source_file": "pkg/common/scheduling.go", "source_location": "L26", "_origin": "ast", - "community": 139, - "norm_label": "exposedendpointlist", - "id": "pkg_library_annotate_urls_go_exposedendpointlist" + "id": "common_scheduling_getworkspacepodaffinity", + "community": 308, + "norm_label": "getworkspacepodaffinity()" }, { - "label": "getContainerEndpointByName()", + "label": "WorkspaceConfig", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L44", + "source_file": "pkg/common/scheduling.go", + "source_location": "L26", "_origin": "ast", - "community": 139, - "norm_label": "getcontainerendpointbyname()", - "id": "annotate_urls_getcontainerendpointbyname" + "id": "pkg_common_scheduling_go_workspaceconfig", + "community": 308, + "norm_label": "workspaceconfig" }, { - "label": "ContainerComponent", + "label": "Affinity", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L44", + "source_file": "pkg/common/scheduling.go", + "source_location": "L26", "_origin": "ast", - "community": 139, - "norm_label": "containercomponent", - "id": "pkg_library_annotate_urls_go_containercomponent" + "id": "affinity", + "community": 308, + "norm_label": "affinity" }, { - "label": "Endpoint", + "label": "GetWorkspacePodAffinityWithNodeAffinity()", "file_type": "code", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L44", + "source_file": "pkg/common/scheduling.go", + "source_location": "L40", "_origin": "ast", - "community": 139, - "norm_label": "endpoint", - "id": "pkg_library_annotate_urls_go_endpoint" + "id": "common_scheduling_getworkspacepodaffinitywithnodeaffinity", + "community": 308, + "norm_label": "getworkspacepodaffinitywithnodeaffinity()" }, { - "label": "constants.go", + "label": "NodeAffinity", "file_type": "code", - "source_file": "pkg/library/constants/constants.go", - "source_location": "L1", + "source_file": "pkg/common/scheduling.go", + "source_location": "L40", "_origin": "ast", - "community": 279, - "norm_label": "constants.go", - "id": "pkg_library_constants_constants_go_constants_constants" + "id": "pkg_common_scheduling_go_nodeaffinity", + "community": 308, + "norm_label": "nodeaffinity" }, { - "label": "container.go", + "label": "types.go", "file_type": "code", - "source_file": "pkg/library/container/container.go", + "source_file": "pkg/common/types.go", "source_location": "L1", "_origin": "ast", - "community": 109, - "norm_label": "container.go", - "id": "container_container" + "id": "common_types", + "community": 197, + "norm_label": "types.go" }, { - "label": "GetKubeContainersFromDevfile()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/common/types.go", + "source_location": "L21", "_origin": "ast", - "community": 109, - "norm_label": "getkubecontainersfromdevfile()", - "id": "container_container_getkubecontainersfromdevfile" + "id": "common_devworkspacewithconfig", + "community": 197, + "norm_label": "devworkspacewithconfig" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "DevWorkspace", "file_type": "code", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/common/types.go", + "source_location": "L22", "_origin": "ast", - "community": 109, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_container_container_go_devworkspacetemplatespec" + "id": "pkg_common_types_go_devworkspace", + "community": 197, + "norm_label": "devworkspace" }, { - "label": "SecurityContext", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/common/types.go", + "source_location": "L23", "_origin": "ast", - "community": 109, - "norm_label": "securitycontext", - "id": "pkg_library_container_container_go_securitycontext" + "id": "pkg_common_types_go_operatorconfiguration", + "community": 197, + "norm_label": "operatorconfiguration" }, { - "label": "ResourceRequirements", + "label": "conditions.go", "file_type": "code", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L1", "_origin": "ast", - "community": 109, - "norm_label": "resourcerequirements", - "id": "pkg_library_container_container_go_resourcerequirements" + "id": "conditions_conditions", + "community": 117, + "norm_label": "conditions.go" }, { - "label": "PodAdditions", + "label": "GetConditionByType()", "file_type": "code", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L33", "_origin": "ast", - "community": 109, - "norm_label": "podadditions", - "id": "pkg_library_container_container_go_podadditions" + "id": "conditions_conditions_getconditionbytype", + "community": 117, + "norm_label": "getconditionbytype()" }, { - "label": "container_test.go", + "label": "DevWorkspaceCondition", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L1", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L33", "_origin": "ast", - "community": 110, - "norm_label": "container_test.go", - "id": "container_container_test" + "id": "pkg_conditions_conditions_go_devworkspacecondition", + "community": 117, + "norm_label": "devworkspacecondition" }, { - "label": "testCase", + "label": "DevWorkspaceConditionType", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", + "source_file": "pkg/conditions/conditions.go", "source_location": "L33", "_origin": "ast", - "community": 110, - "norm_label": "testcase", - "id": "container_testcase" + "id": "pkg_conditions_conditions_go_devworkspaceconditiontype", + "community": 117, + "norm_label": "devworkspaceconditiontype" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "CountWarningConditions()", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L35", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L42", "_origin": "ast", - "community": 110, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_container_container_test_go_devworkspacetemplatespec" + "id": "conditions_conditions_countwarningconditions", + "community": 117, + "norm_label": "countwarningconditions()" }, { - "label": "testOutput", + "label": "common_test.go", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L36", + "source_file": "pkg/config/common_test.go", + "source_location": "L1", "_origin": "ast", - "community": 110, - "norm_label": "testoutput", - "id": "pkg_library_container_container_test_go_testoutput" + "id": "config_common_test", + "community": 161, + "norm_label": "common_test.go" }, { - "label": "testOutput", + "label": "init()", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L39", + "source_file": "pkg/config/common_test.go", + "source_location": "L44", "_origin": "ast", - "community": 110, - "norm_label": "testoutput", - "id": "container_testoutput" + "id": "config_common_test_init", + "community": 161, + "norm_label": "init()" }, { - "label": "PodAdditions", + "label": "setupForTest()", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L40", + "source_file": "pkg/config/common_test.go", + "source_location": "L52", "_origin": "ast", - "community": 110, - "norm_label": "podadditions", - "id": "pkg_library_container_container_test_go_podadditions" + "id": "config_common_test_setupfortest", + "community": 18, + "norm_label": "setupfortest()" }, { - "label": "loadAllTestCasesOrPanic()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L55", + "source_file": "pkg/config/common_test.go", + "source_location": "L52", "_origin": "ast", - "community": 110, - "norm_label": "loadalltestcasesorpanic()", - "id": "container_container_test_loadalltestcasesorpanic" + "id": "pkg_config_common_test_go_t", + "community": 18, + "norm_label": "t" }, { - "label": "T", + "label": "buildConfig()", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L55", + "source_file": "pkg/config/common_test.go", + "source_location": "L69", "_origin": "ast", - "community": 110, - "norm_label": "t", - "id": "pkg_library_container_container_test_go_t" + "id": "config_common_test_buildconfig", + "community": 161, + "norm_label": "buildconfig()" }, { - "label": "loadTestCaseOrPanic()", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L71", + "source_file": "pkg/config/common_test.go", + "source_location": "L69", "_origin": "ast", - "community": 110, - "norm_label": "loadtestcaseorpanic()", - "id": "container_container_test_loadtestcaseorpanic" + "id": "pkg_config_common_test_go_operatorconfiguration", + "community": 161, + "norm_label": "operatorconfiguration" }, { - "label": "TestGetKubeContainersFromDevfile()", + "label": "DevWorkspaceOperatorConfig", "file_type": "code", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L83", + "source_file": "pkg/config/common_test.go", + "source_location": "L69", "_origin": "ast", - "community": 110, - "norm_label": "testgetkubecontainersfromdevfile()", - "id": "container_container_test_testgetkubecontainersfromdevfile" + "id": "pkg_config_common_test_go_devworkspaceoperatorconfig", + "community": 161, + "norm_label": "devworkspaceoperatorconfig" }, { - "label": "conversion.go", + "label": "buildExternalConfig()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L1", + "source_file": "pkg/config/common_test.go", + "source_location": "L79", "_origin": "ast", - "community": 58, - "norm_label": "conversion.go", - "id": "container_conversion" + "id": "config_common_test_buildexternalconfig", + "community": 161, + "norm_label": "buildexternalconfig()" }, { - "label": "convertContainerToK8s()", + "label": "config.go", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L1", "_origin": "ast", - "community": 58, - "norm_label": "convertcontainertok8s()", - "id": "container_conversion_convertcontainertok8s" + "id": "configmap_config", + "community": 306, + "norm_label": "config.go" }, { - "label": "Component", + "label": "ControllerConfig", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L44", "_origin": "ast", - "community": 58, - "norm_label": "component", - "id": "pkg_library_container_conversion_go_component" + "id": "configmap_controllerconfig", + "community": 41, + "norm_label": "controllerconfig" }, { - "label": "SecurityContext", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L45", "_origin": "ast", - "community": 58, - "norm_label": "securitycontext", - "id": "pkg_library_container_conversion_go_securitycontext" + "id": "pkg_config_configmap_config_go_configmap", + "community": 41, + "norm_label": "configmap" }, { - "label": "ResourceRequirements", + "label": ".update()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L48", "_origin": "ast", - "community": 58, - "norm_label": "resourcerequirements", - "id": "pkg_library_container_conversion_go_resourcerequirements" + "id": "configmap_controllerconfig_update", + "community": 41, + "norm_label": ".update()" }, { - "label": "Container", + "label": ".GetWorkspacePVCName()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L53", "_origin": "ast", - "community": 58, - "norm_label": "container", - "id": "pkg_library_container_conversion_go_container" + "id": "configmap_controllerconfig_getworkspacepvcname", + "community": 41, + "norm_label": ".getworkspacepvcname()" }, { - "label": "devfileEndpointsToContainerPorts()", + "label": ".GetDefaultRoutingClass()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L59", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L57", "_origin": "ast", - "community": 58, - "norm_label": "devfileendpointstocontainerports()", - "id": "container_conversion_devfileendpointstocontainerports" + "id": "configmap_controllerconfig_getdefaultroutingclass", + "community": 41, + "norm_label": ".getdefaultroutingclass()" }, { - "label": "Endpoint", + "label": ".GetClusterRoutingSuffix()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L59", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L61", "_origin": "ast", - "community": 58, - "norm_label": "endpoint", - "id": "pkg_library_container_conversion_go_endpoint" + "id": "configmap_controllerconfig_getclusterroutingsuffix", + "community": 41, + "norm_label": ".getclusterroutingsuffix()" }, { - "label": "ContainerPort", + "label": ".GetExperimentalFeaturesEnabled()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L59", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L68", "_origin": "ast", - "community": 58, - "norm_label": "containerport", - "id": "containerport" + "id": "configmap_controllerconfig_getexperimentalfeaturesenabled", + "community": 41, + "norm_label": ".getexperimentalfeaturesenabled()" }, { - "label": "devfileVolumeMountsToContainerVolumeMounts()", + "label": ".GetPVCStorageClassName()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L77", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L72", "_origin": "ast", - "community": 58, - "norm_label": "devfilevolumemountstocontainervolumemounts()", - "id": "container_conversion_devfilevolumemountstocontainervolumemounts" + "id": "configmap_controllerconfig_getpvcstorageclassname", + "community": 41, + "norm_label": ".getpvcstorageclassname()" }, { - "label": "VolumeMount", + "label": ".GetSidecarPullPolicy()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L77", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L76", "_origin": "ast", - "community": 58, - "norm_label": "volumemount", - "id": "pkg_library_container_conversion_go_volumemount" + "id": "configmap_controllerconfig_getsidecarpullpolicy", + "community": 41, + "norm_label": ".getsidecarpullpolicy()" }, { - "label": "devfileEnvToContainerEnv()", + "label": ".GetProperty()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L93", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L80", "_origin": "ast", - "community": 58, - "norm_label": "devfileenvtocontainerenv()", - "id": "container_conversion_devfileenvtocontainerenv" + "id": "configmap_controllerconfig_getproperty", + "community": 41, + "norm_label": ".getproperty()" }, { - "label": "EnvVar", + "label": ".Validate()", "file_type": "code", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L93", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L88", "_origin": "ast", - "community": 58, - "norm_label": "envvar", - "id": "pkg_library_container_conversion_go_envvar" + "id": "configmap_controllerconfig_validate", + "community": 41, + "norm_label": ".validate()" }, { - "label": "mountSources.go", + "label": ".GetWorkspaceIdleTimeout()", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L1", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L92", "_origin": "ast", - "community": 100, - "norm_label": "mountsources.go", - "id": "container_mountsources" + "id": "configmap_controllerconfig_getworkspaceidletimeout", + "community": 41, + "norm_label": ".getworkspaceidletimeout()" }, { - "label": "HasMountSources()", + "label": "syncConfigmapFromCluster()", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L34", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L96", "_origin": "ast", - "community": 100, - "norm_label": "hasmountsources()", - "id": "container_mountsources_hasmountsources" + "id": "configmap_config_syncconfigmapfromcluster", + "community": 306, + "norm_label": "syncconfigmapfromcluster()" }, { - "label": "ContainerComponent", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L34", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L96", "_origin": "ast", - "community": 100, - "norm_label": "containercomponent", - "id": "pkg_library_container_mountsources_go_containercomponent" + "id": "pkg_config_configmap_config_go_client", + "community": 306, + "norm_label": "client" }, { - "label": "AnyMountSources()", + "label": "Object", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L46", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L96", "_origin": "ast", - "community": 100, - "norm_label": "anymountsources()", - "id": "container_mountsources_anymountsources" + "id": "pkg_config_configmap_config_go_object", + "community": 306, + "norm_label": "object" }, { - "label": "Component", + "label": "LoadControllerConfig()", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L46", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L107", "_origin": "ast", - "community": 100, - "norm_label": "component", - "id": "pkg_library_container_mountsources_go_component" + "id": "configmap_config_loadcontrollerconfig", + "community": 306, + "norm_label": "loadcontrollerconfig()" }, { - "label": "handleMountSources()", + "label": "doc.go", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "source_file": "pkg/config/configmap/doc.go", + "source_location": "L1", "_origin": "ast", - "community": 100, - "norm_label": "handlemountsources()", - "id": "container_mountsources_handlemountsources" + "id": "configmap_doc", + "community": 263, + "norm_label": "doc.go" }, { - "label": "Container", + "label": "property.go", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "source_file": "pkg/config/configmap/property.go", + "source_location": "L1", "_origin": "ast", - "community": 100, - "norm_label": "container", - "id": "pkg_library_container_mountsources_go_container" + "id": "configmap_property", + "community": 264, + "norm_label": "property.go" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "defaults.go", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "source_file": "pkg/config/defaults.go", + "source_location": "L1", "_origin": "ast", - "community": 100, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_container_mountsources_go_devworkspacetemplatespec" + "id": "config_defaults", + "community": 80, + "norm_label": "defaults.go" }, { - "label": "getProjectSourcePath()", + "label": "setDefaultPodSecurityContext()", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L112", + "source_file": "pkg/config/defaults.go", + "source_location": "L192", "_origin": "ast", - "community": 100, - "norm_label": "getprojectsourcepath()", - "id": "container_mountsources_getprojectsourcepath" + "id": "config_defaults_setdefaultpodsecuritycontext", + "community": 80, + "norm_label": "setdefaultpodsecuritycontext()" }, { - "label": "getProjectsVolumeMount()", + "label": "setDefaultContainerSecurityContext()", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L138", + "source_file": "pkg/config/defaults.go", + "source_location": "L204", "_origin": "ast", - "community": 100, - "norm_label": "getprojectsvolumemount()", - "id": "container_mountsources_getprojectsvolumemount" + "id": "config_defaults_setdefaultcontainersecuritycontext", + "community": 80, + "norm_label": "setdefaultcontainersecuritycontext()" }, { - "label": "VolumeMount", + "label": "setDefaultOverrideConfig()", "file_type": "code", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L138", + "source_file": "pkg/config/defaults.go", + "source_location": "L216", "_origin": "ast", - "community": 100, - "norm_label": "volumemount", - "id": "pkg_library_container_mountsources_go_volumemount" + "id": "config_defaults_setdefaultoverrideconfig", + "community": 80, + "norm_label": "setdefaultoverrideconfig()" }, { - "label": "helper.go", + "label": "setDefaultNetworkPolicy()", "file_type": "code", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L1", + "source_file": "pkg/config/defaults.go", + "source_location": "L228", "_origin": "ast", - "community": 149, - "norm_label": "helper.go", - "id": "defaults_helper" + "id": "config_defaults_setdefaultnetworkpolicy", + "community": 80, + "norm_label": "setdefaultnetworkpolicy()" }, { - "label": "ApplyDefaultTemplate()", + "label": "GetDefaultNetworkPolicy()", "file_type": "code", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L25", + "source_file": "pkg/config/defaults.go", + "source_location": "L253", "_origin": "ast", - "community": 149, - "norm_label": "applydefaulttemplate()", - "id": "defaults_helper_applydefaulttemplate" + "id": "config_defaults_getdefaultnetworkpolicy", + "community": 80, + "norm_label": "getdefaultnetworkpolicy()" }, { - "label": "DevWorkspaceWithConfig", + "label": "NetworkPolicyIngressRule", "file_type": "code", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L25", + "source_file": "pkg/config/defaults.go", + "source_location": "L253", "_origin": "ast", - "community": 149, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_defaults_helper_go_devworkspacewithconfig" + "id": "pkg_config_defaults_go_networkpolicyingressrule", + "community": 80, + "norm_label": "networkpolicyingressrule" }, { - "label": "NeedsDefaultTemplate()", + "label": "NetworkPolicyEgressRule", "file_type": "code", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L37", + "source_file": "pkg/config/defaults.go", + "source_location": "L253", "_origin": "ast", - "community": 149, - "norm_label": "needsdefaulttemplate()", - "id": "defaults_helper_needsdefaulttemplate" + "id": "pkg_config_defaults_go_networkpolicyegressrule", + "community": 80, + "norm_label": "networkpolicyegressrule" }, { - "label": "common.go", + "label": "deepCopyIngressRules()", "file_type": "code", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L1", + "source_file": "pkg/config/defaults.go", + "source_location": "L282", "_origin": "ast", - "community": 109, - "norm_label": "common.go", - "id": "flatten_common" + "id": "config_defaults_deepcopyingressrules", + "community": 80, + "norm_label": "deepcopyingressrules()" }, { - "label": "DevWorkspaceIsFlattened()", + "label": "deepCopyEgressRules()", "file_type": "code", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L20", + "source_file": "pkg/config/defaults.go", + "source_location": "L293", "_origin": "ast", - "community": 109, - "norm_label": "devworkspaceisflattened()", - "id": "flatten_common_devworkspaceisflattened" + "id": "config_defaults_deepcopyegressrules", + "community": 80, + "norm_label": "deepcopyegressrules()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "env.go", "file_type": "code", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L20", + "source_file": "pkg/config/env.go", + "source_location": "L1", "_origin": "ast", - "community": 109, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_flatten_common_go_devworkspacetemplatespec" + "id": "config_env", + "community": 59, + "norm_label": "env.go" }, { - "label": "ComponentContribution", + "label": "ControllerEnv", "file_type": "code", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L20", + "source_file": "pkg/config/env.go", + "source_location": "L27", "_origin": "ast", - "community": 109, - "norm_label": "componentcontribution", - "id": "pkg_library_flatten_common_go_componentcontribution" + "id": "config_controllerenv", + "community": 59, + "norm_label": "controllerenv" }, { - "label": "flatten.go", + "label": "GetWebhooksSecretName()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L1", + "source_file": "pkg/config/env.go", + "source_location": "L40", "_origin": "ast", - "community": 23, - "norm_label": "flatten.go", - "id": "flatten_flatten" + "id": "config_env_getwebhookssecretname", + "community": 59, + "norm_label": "getwebhookssecretname()" }, { - "label": "ResolverTools", + "label": "GetDevModeEnabled()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L47", + "source_file": "pkg/config/env.go", + "source_location": "L48", "_origin": "ast", - "community": 23, - "norm_label": "resolvertools", - "id": "flatten_resolvertools" + "id": "config_env_getdevmodeenabled", + "community": 59, + "norm_label": "getdevmodeenabled()" }, { - "label": "Context", + "label": "GetMaxConcurrentReconciles()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L49", + "source_file": "pkg/config/env.go", + "source_location": "L52", "_origin": "ast", - "community": 23, - "norm_label": "context", - "id": "pkg_library_flatten_flatten_go_context" + "id": "config_env_getmaxconcurrentreconciles", + "community": 35, + "norm_label": "getmaxconcurrentreconciles()" }, { - "label": "Client", + "label": "GetResourceQuantityFromEnvVar()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L50", + "source_file": "pkg/config/env.go", + "source_location": "L64", "_origin": "ast", - "community": 23, - "norm_label": "client", - "id": "pkg_library_flatten_flatten_go_client" + "id": "config_env_getresourcequantityfromenvvar", + "community": 59, + "norm_label": "getresourcequantityfromenvvar()" }, { - "label": "HTTPGetter", + "label": "Quantity", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L51", + "source_file": "pkg/config/env.go", + "source_location": "L64", "_origin": "ast", - "community": 23, - "norm_label": "httpgetter", - "id": "httpgetter" + "id": "pkg_config_env_go_quantity", + "community": 59, + "norm_label": "quantity" }, { - "label": "ResourceRequirements", + "label": "GetWorkspaceControllerSA()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L52", + "source_file": "pkg/config/env.go", + "source_location": "L76", "_origin": "ast", - "community": 23, - "norm_label": "resourcerequirements", - "id": "pkg_library_flatten_flatten_go_resourcerequirements" + "id": "config_env_getworkspacecontrollersa", + "community": 59, + "norm_label": "getworkspacecontrollersa()" }, { - "label": "ResolveDevWorkspace()", + "label": "migrate.go", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "source_file": "pkg/config/migrate.go", + "source_location": "L1", "_origin": "ast", - "community": 23, - "norm_label": "resolvedevworkspace()", - "id": "flatten_flatten_resolvedevworkspace" + "id": "config_migrate", + "community": 40, + "norm_label": "migrate.go" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "MigrateConfigFromConfigMap()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "source_file": "pkg/config/migrate.go", + "source_location": "L33", "_origin": "ast", - "community": 23, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "id": "config_migrate_migrateconfigfromconfigmap", + "community": 40, + "norm_label": "migrateconfigfromconfigmap()" }, { - "label": "ComponentContribution", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "source_file": "pkg/config/migrate.go", + "source_location": "L33", "_origin": "ast", - "community": 23, - "norm_label": "componentcontribution", - "id": "pkg_library_flatten_flatten_go_componentcontribution" + "id": "pkg_config_migrate_go_client", + "community": 40, + "norm_label": "client" }, { - "label": "VariableWarning", + "label": "deleteMigratedConfigmap()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "source_file": "pkg/config/migrate.go", + "source_location": "L70", "_origin": "ast", - "community": 23, - "norm_label": "variablewarning", - "id": "variablewarning" + "id": "config_migrate_deletemigratedconfigmap", + "community": 40, + "norm_label": "deletemigratedconfigmap()" }, { - "label": "recursiveResolve()", + "label": "convertConfigMapToConfigCRD()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "source_file": "pkg/config/migrate.go", + "source_location": "L84", "_origin": "ast", - "community": 23, - "norm_label": "recursiveresolve()", - "id": "flatten_flatten_recursiveresolve" + "id": "config_migrate_convertconfigmaptoconfigcrd", + "community": 40, + "norm_label": "convertconfigmaptoconfigcrd()" }, { - "label": "resolutionContextTree", + "label": "DevWorkspaceOperatorConfig", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "source_file": "pkg/config/migrate.go", + "source_location": "L84", "_origin": "ast", - "community": 23, - "norm_label": "resolutioncontexttree", - "id": "resolutioncontexttree" + "id": "pkg_config_migrate_go_devworkspaceoperatorconfig", + "community": 40, + "norm_label": "devworkspaceoperatorconfig" }, { - "label": "resolveParentComponent()", + "label": "migrate_test.go", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L161", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L1", "_origin": "ast", - "community": 23, - "norm_label": "resolveparentcomponent()", - "id": "flatten_flatten_resolveparentcomponent" + "id": "config_migrate_test", + "community": 40, + "norm_label": "migrate_test.go" }, { - "label": "Parent", + "label": "TestMigrateConfigDoesNothingWhenNoConfigMap()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L161", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L34", "_origin": "ast", - "community": 23, - "norm_label": "parent", - "id": "parent" + "id": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", + "community": 40, + "norm_label": "testmigrateconfigdoesnothingwhennoconfigmap()" }, { - "label": "resolvePluginComponent()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L192", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L34", "_origin": "ast", - "community": 23, - "norm_label": "resolveplugincomponent()", - "id": "flatten_flatten_resolveplugincomponent" + "id": "pkg_config_migrate_test_go_t", + "community": 40, + "norm_label": "t" }, { - "label": "PluginComponent", + "label": "TestMigrateConfigErrorWhenConfigAndConfigMapPresent()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L192", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L50", "_origin": "ast", - "community": 23, - "norm_label": "plugincomponent", - "id": "pkg_library_flatten_flatten_go_plugincomponent" + "id": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", + "community": 40, + "norm_label": "testmigrateconfigerrorwhenconfigandconfigmappresent()" }, { - "label": "resolveElementByKubernetesImport()", + "label": "TestMigrateConfigDeletesConfigMapWhenAlreadyMigrated()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L226", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L72", "_origin": "ast", - "community": 23, - "norm_label": "resolveelementbykubernetesimport()", - "id": "flatten_flatten_resolveelementbykubernetesimport" + "id": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", + "community": 40, + "norm_label": "testmigrateconfigdeletesconfigmapwhenalreadymigrated()" }, { - "label": "KubernetesCustomResourceImportReference", + "label": "TestMigrateConfigCreatesCRFromConfigMap()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L226", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L102", "_origin": "ast", - "community": 23, - "norm_label": "kubernetescustomresourceimportreference", - "id": "kubernetescustomresourceimportreference" + "id": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", + "community": 40, + "norm_label": "testmigrateconfigcreatescrfromconfigmap()" }, { - "label": "resolveElementById()", + "label": "TestMigrateConfigSucceedsWhenCRDHasAllValuesFromConfigMap()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L267", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L155", "_origin": "ast", - "community": 23, - "norm_label": "resolveelementbyid()", - "id": "flatten_flatten_resolveelementbyid" + "id": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", + "community": 40, + "norm_label": "testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap()" }, { - "label": "resolveElementByURI()", + "label": "TestConvertConfigMapDoesNothingWhenNoConfigmap()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L298", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L205", "_origin": "ast", - "community": 23, - "norm_label": "resolveelementbyuri()", - "id": "flatten_flatten_resolveelementbyuri" + "id": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", + "community": 40, + "norm_label": "testconvertconfigmapdoesnothingwhennoconfigmap()" }, { - "label": "canImportDWT()", + "label": "TestConvertConfigMapGetsAllOldConfigValues()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L317", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L213", "_origin": "ast", - "community": 23, - "norm_label": "canimportdwt()", - "id": "flatten_flatten_canimportdwt" + "id": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", + "community": 40, + "norm_label": "testconvertconfigmapgetsalloldconfigvalues()" }, { - "label": "DevWorkspaceTemplate", + "label": "TestConvertConfigMapIgnoresValuesThatAreDefault()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L317", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L254", "_origin": "ast", - "community": 23, - "norm_label": "devworkspacetemplate", - "id": "pkg_library_flatten_flatten_go_devworkspacetemplate" + "id": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", + "community": 40, + "norm_label": "testconvertconfigmapignoresvaluesthataredefault()" }, { - "label": "FormatVariablesWarning()", + "label": "TestConvertConfigMapReturnsNilWhenAllDefault()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L341", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L289", "_origin": "ast", - "community": 23, - "norm_label": "formatvariableswarning()", - "id": "flatten_flatten_formatvariableswarning" + "id": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", + "community": 40, + "norm_label": "testconvertconfigmapreturnsnilwhenalldefault()" }, { - "label": "flatten_test.go", + "label": "predicates.go", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", + "source_file": "pkg/config/predicates.go", "source_location": "L1", "_origin": "ast", - "community": 36, - "norm_label": "flatten_test.go", - "id": "flatten_flatten_test" + "id": "config_predicates", + "community": 35, + "norm_label": "predicates.go" }, { - "label": "TestResolveDevWorkspaceKubernetesReference()", + "label": "Predicates()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L29", + "source_file": "pkg/config/predicates.go", + "source_location": "L25", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspacekubernetesreference()", - "id": "flatten_flatten_test_testresolvedevworkspacekubernetesreference" + "id": "config_predicates_predicates", + "community": 35, + "norm_label": "predicates()" }, { - "label": "T", + "label": "Predicate", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L29", + "source_file": "pkg/config/predicates.go", + "source_location": "L25", "_origin": "ast", - "community": 36, - "norm_label": "t", - "id": "pkg_library_flatten_flatten_test_go_t" + "id": "predicate", + "community": 35, + "norm_label": "predicate" }, { - "label": "TestResolveDevWorkspacePluginRegistry()", + "label": "openshift.go", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L51", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L1", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspacepluginregistry()", - "id": "flatten_flatten_test_testresolvedevworkspacepluginregistry" + "id": "proxy_openshift", + "community": 124, + "norm_label": "openshift.go" }, { - "label": "TestResolveDevWorkspacePluginURI()", + "label": "GetClusterProxyConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L74", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L35", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspacepluginuri()", - "id": "flatten_flatten_test_testresolvedevworkspacepluginuri" + "id": "proxy_openshift_getclusterproxyconfig", + "community": 124, + "norm_label": "getclusterproxyconfig()" }, { - "label": "TestResolveDevWorkspaceParents()", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L97", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L35", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspaceparents()", - "id": "flatten_flatten_test_testresolvedevworkspaceparents" + "id": "pkg_config_proxy_openshift_go_client", + "community": 124, + "norm_label": "client" }, { - "label": "TestResolveDevWorkspaceMissingDefaults()", + "label": "Proxy", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L120", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L35", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspacemissingdefaults()", - "id": "flatten_flatten_test_testresolvedevworkspacemissingdefaults" + "id": "pkg_config_proxy_openshift_go_proxy", + "community": 124, + "norm_label": "proxy" }, { - "label": "TestResolveDevWorkspaceAnnotations()", + "label": "MergeProxyConfigs()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L146", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L64", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspaceannotations()", - "id": "flatten_flatten_test_testresolvedevworkspaceannotations" + "id": "proxy_openshift_mergeproxyconfigs", + "community": 124, + "norm_label": "mergeproxyconfigs()" }, { - "label": "TestResolveDevWorkspaceTemplateNamespaceRestriction()", + "label": "removeEmptyStrings()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L169", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L99", "_origin": "ast", - "community": 36, - "norm_label": "testresolvedevworkspacetemplatenamespacerestriction()", - "id": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction" + "id": "proxy_openshift_removeemptystrings", + "community": 124, + "norm_label": "removeemptystrings()" }, { - "label": "TestMergesDuplicateVolumeComponents()", + "label": "openshift_test.go", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L192", + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L1", "_origin": "ast", - "community": 36, - "norm_label": "testmergesduplicatevolumecomponents()", - "id": "flatten_flatten_test_testmergesduplicatevolumecomponents" + "id": "proxy_openshift_test", + "community": 124, + "norm_label": "openshift_test.go" }, { - "label": "TestMergeContainerContributions()", + "label": "TestMergeProxyConfigs()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L215", + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L24", "_origin": "ast", - "community": 36, - "norm_label": "testmergecontainercontributions()", - "id": "flatten_flatten_test_testmergecontainercontributions" + "id": "proxy_openshift_test_testmergeproxyconfigs", + "community": 124, + "norm_label": "testmergeproxyconfigs()" }, { - "label": "TestMergeImplicitContainerContributions()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L238", + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L24", "_origin": "ast", - "community": 36, - "norm_label": "testmergeimplicitcontainercontributions()", - "id": "flatten_flatten_test_testmergeimplicitcontainercontributions" + "id": "pkg_config_proxy_openshift_test_go_t", + "community": 124, + "norm_label": "t" }, { - "label": "TestMergeSpecContributions()", + "label": "sync.go", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L261", + "source_file": "pkg/config/sync.go", + "source_location": "L1", "_origin": "ast", - "community": 36, - "norm_label": "testmergespeccontributions()", - "id": "flatten_flatten_test_testmergespeccontributions" + "id": "config_sync", + "community": 19, + "norm_label": "sync.go" }, { - "label": "TestMergeImplicitSpecContributions()", + "label": "GetGlobalConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L282", + "source_file": "pkg/config/sync.go", + "source_location": "L55", "_origin": "ast", - "community": 36, - "norm_label": "testmergeimplicitspeccontributions()", - "id": "flatten_flatten_test_testmergeimplicitspeccontributions" + "id": "config_sync_getglobalconfig", + "community": 19, + "norm_label": "getglobalconfig()" }, { - "label": "getTestingTools()", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L303", + "source_file": "pkg/config/sync.go", + "source_location": "L55", "_origin": "ast", - "community": 36, - "norm_label": "gettestingtools()", - "id": "flatten_flatten_test_gettestingtools" + "id": "pkg_config_sync_go_operatorconfiguration", + "community": 19, + "norm_label": "operatorconfiguration" }, { - "label": "TestInput", + "label": "ResolveConfigForWorkspace()", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L303", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "_origin": "ast", - "community": 36, - "norm_label": "testinput", - "id": "pkg_library_flatten_flatten_test_go_testinput" + "id": "config_sync_resolveconfigforworkspace", + "community": 19, + "norm_label": "resolveconfigforworkspace()" }, { - "label": "ResolverTools", + "label": "DevWorkspace", "file_type": "code", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L303", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "_origin": "ast", - "community": 36, - "norm_label": "resolvertools", - "id": "resolvertools" + "id": "pkg_config_sync_go_devworkspace", + "community": 19, + "norm_label": "devworkspace" }, { - "label": "helper.go", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L1", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "_origin": "ast", - "community": 150, - "norm_label": "helper.go", - "id": "flatten_helper" + "id": "pkg_config_sync_go_client", + "community": 19, + "norm_label": "client" }, { - "label": "resolutionContextTree", + "label": "GetConfigForTesting()", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L27", + "source_file": "pkg/config/sync.go", + "source_location": "L91", "_origin": "ast", - "community": 150, - "norm_label": "resolutioncontexttree", - "id": "flatten_resolutioncontexttree" + "id": "config_sync_getconfigfortesting", + "community": 27, + "norm_label": "getconfigfortesting()" }, { - "label": "ImportReference", + "label": "SetGlobalConfigForTesting()", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L29", + "source_file": "pkg/config/sync.go", + "source_location": "L99", "_origin": "ast", - "community": 150, - "norm_label": "importreference", - "id": "importreference" + "id": "config_sync_setglobalconfigfortesting", + "community": 80, + "norm_label": "setglobalconfigfortesting()" }, { - "label": ".addPlugin()", + "label": "SetupControllerConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L34", + "source_file": "pkg/config/sync.go", + "source_location": "L110", "_origin": "ast", - "community": 150, - "norm_label": ".addplugin()", - "id": "flatten_resolutioncontexttree_addplugin" + "id": "config_sync_setupcontrollerconfig", + "community": 19, + "norm_label": "setupcontrollerconfig()" }, { - "label": "PluginComponent", + "label": "IsSetUp()", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L34", + "source_file": "pkg/config/sync.go", + "source_location": "L164", "_origin": "ast", - "community": 150, - "norm_label": "plugincomponent", - "id": "pkg_library_flatten_helper_go_plugincomponent" + "id": "config_sync_issetup", + "community": 19, + "norm_label": "issetup()" }, { - "label": ".hasCycle()", + "label": "ExperimentalFeaturesEnabled()", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L44", + "source_file": "pkg/config/sync.go", + "source_location": "L168", "_origin": "ast", - "community": 150, - "norm_label": ".hascycle()", - "id": "flatten_resolutioncontexttree_hascycle" + "id": "config_sync_experimentalfeaturesenabled", + "community": 80, + "norm_label": "experimentalfeaturesenabled()" }, { - "label": "formatImportCycle()", + "label": "getClusterConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L59", + "source_file": "pkg/config/sync.go", + "source_location": "L175", "_origin": "ast", - "community": 150, - "norm_label": "formatimportcycle()", - "id": "flatten_helper_formatimportcycle" + "id": "config_sync_getclusterconfig", + "community": 19, + "norm_label": "getclusterconfig()" }, { - "label": "common.go", + "label": "DevWorkspaceOperatorConfig", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L1", + "source_file": "pkg/config/sync.go", + "source_location": "L175", "_origin": "ast", - "community": 71, - "norm_label": "common.go", - "id": "testutil_common" + "id": "pkg_config_sync_go_devworkspaceoperatorconfig", + "community": 19, + "norm_label": "devworkspaceoperatorconfig" }, { - "label": "TestCase", + "label": "getMergedConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L53", + "source_file": "pkg/config/sync.go", + "source_location": "L186", "_origin": "ast", - "community": 71, - "norm_label": "testcase", - "id": "testutil_testcase" + "id": "config_sync_getmergedconfig", + "community": 19, + "norm_label": "getmergedconfig()" }, { - "label": "TestInput", + "label": "syncConfigFrom()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L55", + "source_file": "pkg/config/sync.go", + "source_location": "L193", "_origin": "ast", - "community": 71, - "norm_label": "testinput", - "id": "pkg_library_flatten_internal_testutil_common_go_testinput" + "id": "config_sync_syncconfigfrom", + "community": 19, + "norm_label": "syncconfigfrom()" }, { - "label": "TestOutput", + "label": "restoreDefaultConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L56", + "source_file": "pkg/config/sync.go", + "source_location": "L204", "_origin": "ast", - "community": 71, - "norm_label": "testoutput", - "id": "pkg_library_flatten_internal_testutil_common_go_testoutput" + "id": "config_sync_restoredefaultconfig", + "community": 19, + "norm_label": "restoredefaultconfig()" }, { - "label": "TestInput", + "label": "discoverRouteSuffix()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L60", + "source_file": "pkg/config/sync.go", + "source_location": "L214", "_origin": "ast", - "community": 71, - "norm_label": "testinput", - "id": "testutil_testinput" + "id": "config_sync_discoverroutesuffix", + "community": 19, + "norm_label": "discoverroutesuffix()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "mergeConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L62", + "source_file": "pkg/config/sync.go", + "source_location": "L253", "_origin": "ast", - "community": 71, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplatespec" + "id": "config_sync_mergeconfig", + "community": 18, + "norm_label": "mergeconfig()" }, { - "label": "ComponentContribution", + "label": "mergePodSecurityContext()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L64", + "source_file": "pkg/config/sync.go", + "source_location": "L558", "_origin": "ast", - "community": 71, - "norm_label": "componentcontribution", - "id": "pkg_library_flatten_internal_testutil_common_go_componentcontribution" + "id": "config_sync_mergepodsecuritycontext", + "community": 19, + "norm_label": "mergepodsecuritycontext()" }, { - "label": "DevWorkspaceTemplate", + "label": "PodSecurityContext", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L66", + "source_file": "pkg/config/sync.go", + "source_location": "L558", "_origin": "ast", - "community": 71, - "norm_label": "devworkspacetemplate", - "id": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplate" + "id": "pkg_config_sync_go_podsecuritycontext", + "community": 19, + "norm_label": "podsecuritycontext" }, { - "label": "Devfile", + "label": "mergeContainerSecurityContext()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L68", + "source_file": "pkg/config/sync.go", + "source_location": "L582", "_origin": "ast", - "community": 71, - "norm_label": "devfile", - "id": "pkg_library_flatten_internal_testutil_common_go_devfile" + "id": "config_sync_mergecontainersecuritycontext", + "community": 19, + "norm_label": "mergecontainersecuritycontext()" }, { - "label": "TestPluginError", + "label": "SecurityContext", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L70", + "source_file": "pkg/config/sync.go", + "source_location": "L582", "_origin": "ast", - "community": 71, - "norm_label": "testpluginerror", - "id": "pkg_library_flatten_internal_testutil_common_go_testpluginerror" + "id": "pkg_config_sync_go_securitycontext", + "community": 19, + "norm_label": "securitycontext" }, { - "label": "TestPluginError", + "label": "mergeTLSCertificateConfigmapRef()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L73", + "source_file": "pkg/config/sync.go", + "source_location": "L606", "_origin": "ast", - "community": 71, - "norm_label": "testpluginerror", - "id": "testutil_testpluginerror" + "id": "config_sync_mergetlscertificateconfigmapref", + "community": 19, + "norm_label": "mergetlscertificateconfigmapref()" }, { - "label": "TestOutput", + "label": "ConfigmapReference", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L82", + "source_file": "pkg/config/sync.go", + "source_location": "L606", "_origin": "ast", - "community": 71, - "norm_label": "testoutput", - "id": "testutil_testoutput" + "id": "pkg_config_sync_go_configmapreference", + "community": 19, + "norm_label": "configmapreference" }, { - "label": "LoadTestCaseOrPanic()", + "label": "mergeResources()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L87", + "source_file": "pkg/config/sync.go", + "source_location": "L628", "_origin": "ast", - "community": 71, - "norm_label": "loadtestcaseorpanic()", - "id": "testutil_common_loadtestcaseorpanic" + "id": "config_sync_mergeresources", + "community": 19, + "norm_label": "mergeresources()" }, { - "label": "T", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L87", + "source_file": "pkg/config/sync.go", + "source_location": "L628", "_origin": "ast", - "community": 71, - "norm_label": "t", - "id": "pkg_library_flatten_internal_testutil_common_go_t" + "id": "pkg_config_sync_go_resourcerequirements", + "community": 19, + "norm_label": "resourcerequirements" }, { - "label": "LoadAllTestsOrPanic()", + "label": "GetCurrentConfigString()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L100", + "source_file": "pkg/config/sync.go", + "source_location": "L655", "_origin": "ast", - "community": 36, - "norm_label": "loadalltestsorpanic()", - "id": "testutil_common_loadalltestsorpanic" + "id": "config_sync_getcurrentconfigstring", + "community": 19, + "norm_label": "getcurrentconfigstring()" }, { - "label": "http.go", + "label": "logCurrentConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L1", + "source_file": "pkg/config/sync.go", + "source_location": "L865", "_origin": "ast", - "community": 115, - "norm_label": "http.go", - "id": "pkg_library_flatten_internal_testutil_http_go_testutil_http" + "id": "config_sync_logcurrentconfig", + "community": 19, + "norm_label": "logcurrentconfig()" }, { - "label": "FakeHTTPGetter", + "label": "sync_test.go", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L31", + "source_file": "pkg/config/sync_test.go", + "source_location": "L1", "_origin": "ast", - "community": 115, - "norm_label": "fakehttpgetter", - "id": "testutil_fakehttpgetter" + "id": "config_sync_test", + "community": 18, + "norm_label": "sync_test.go" }, { - "label": "Devfile", + "label": "TestSetupControllerConfigUsesDefault()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L32", + "source_file": "pkg/config/sync_test.go", + "source_location": "L45", "_origin": "ast", - "community": 115, - "norm_label": "devfile", - "id": "pkg_library_flatten_internal_testutil_http_go_devfile" + "id": "config_sync_test_testsetupcontrollerconfigusesdefault", + "community": 18, + "norm_label": "testsetupcontrollerconfigusesdefault()" }, { - "label": "DevWorkspaceTemplate", + "label": "T", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L33", + "source_file": "pkg/config/sync_test.go", + "source_location": "L45", "_origin": "ast", - "community": 115, - "norm_label": "devworkspacetemplate", - "id": "pkg_library_flatten_internal_testutil_http_go_devworkspacetemplate" + "id": "pkg_config_sync_test_go_t", + "community": 18, + "norm_label": "t" }, { - "label": "TestPluginError", + "label": "TestSetupControllerConfigFailsWhenAlreadySetup()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L34", + "source_file": "pkg/config/sync_test.go", + "source_location": "L55", "_origin": "ast", - "community": 115, - "norm_label": "testpluginerror", - "id": "pkg_library_flatten_internal_testutil_http_go_testpluginerror" + "id": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup", + "community": 18, + "norm_label": "testsetupcontrollerconfigfailswhenalreadysetup()" }, { - "label": "fakeRespBody", + "label": "TestSetupControllerMergesClusterConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L39", + "source_file": "pkg/config/sync_test.go", + "source_location": "L69", "_origin": "ast", - "community": 115, - "norm_label": "fakerespbody", - "id": "testutil_fakerespbody" + "id": "config_sync_test_testsetupcontrollermergesclusterconfig", + "community": 18, + "norm_label": "testsetupcontrollermergesclusterconfig()" }, { - "label": "Reader", + "label": "TestMergesAllFieldsFromClusterConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L40", + "source_file": "pkg/config/sync_test.go", + "source_location": "L97", "_origin": "ast", - "community": 115, - "norm_label": "reader", - "id": "reader" + "id": "config_sync_test_testmergesallfieldsfromclusterconfig", + "community": 18, + "norm_label": "testmergesallfieldsfromclusterconfig()" }, { - "label": ".Close()", + "label": "TestCatchesNonExistentExternalDWOC()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L43", + "source_file": "pkg/config/sync_test.go", + "source_location": "L136", "_origin": "ast", - "community": 115, - "norm_label": ".close()", - "id": "testutil_fakerespbody_close" + "id": "config_sync_test_testcatchesnonexistentexternaldwoc", + "community": 18, + "norm_label": "testcatchesnonexistentexternaldwoc()" }, { - "label": ".Get()", + "label": "TestMergeExternalConfig()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L45", + "source_file": "pkg/config/sync_test.go", + "source_location": "L158", "_origin": "ast", - "community": 115, - "norm_label": ".get()", - "id": "testutil_fakehttpgetter_get" + "id": "config_sync_test_testmergeexternalconfig", + "community": 18, + "norm_label": "testmergeexternalconfig()" }, { - "label": "Response", + "label": "TestSetupControllerAlwaysSetsDefaultClusterRoutingSuffix()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L45", + "source_file": "pkg/config/sync_test.go", + "source_location": "L226", "_origin": "ast", - "community": 115, - "norm_label": "response", - "id": "pkg_library_flatten_internal_testutil_http_go_response" + "id": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", + "community": 18, + "norm_label": "testsetupcontrolleralwayssetsdefaultclusterroutingsuffix()" }, { - "label": "k8sClient.go", + "label": "TestDetectsOpenShiftRouteSuffix()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L1", + "source_file": "pkg/config/sync_test.go", + "source_location": "L252", "_origin": "ast", - "community": 123, - "norm_label": "k8sclient.go", - "id": "testutil_k8sclient" + "id": "config_sync_test_testdetectsopenshiftroutesuffix", + "community": 18, + "norm_label": "testdetectsopenshiftroutesuffix()" }, { - "label": "FakeK8sClient", + "label": "TestSyncConfigFromIgnoresOtherConfigInOtherNamespaces()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L29", + "source_file": "pkg/config/sync_test.go", + "source_location": "L272", "_origin": "ast", - "community": 123, - "norm_label": "fakek8sclient", - "id": "testutil_fakek8sclient" + "id": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", + "community": 18, + "norm_label": "testsyncconfigfromignoresotherconfiginothernamespaces()" }, { - "label": "Client", + "label": "TestSyncConfigFromIgnoresOtherConfigWithOtherName()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L30", + "source_file": "pkg/config/sync_test.go", + "source_location": "L285", "_origin": "ast", - "community": 123, - "norm_label": "client", - "id": "pkg_library_flatten_internal_testutil_k8sclient_go_client" + "id": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", + "community": 18, + "norm_label": "testsyncconfigfromignoresotherconfigwithothername()" }, { - "label": "DevWorkspaceTemplate", + "label": "TestSyncConfigDoesNotChangeDefaults()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L31", + "source_file": "pkg/config/sync_test.go", + "source_location": "L298", "_origin": "ast", - "community": 123, - "norm_label": "devworkspacetemplate", - "id": "pkg_library_flatten_internal_testutil_k8sclient_go_devworkspacetemplate" + "id": "config_sync_test_testsyncconfigdoesnotchangedefaults", + "community": 18, + "norm_label": "testsyncconfigdoesnotchangedefaults()" }, { - "label": "TestPluginError", + "label": "TestSyncConfigRestoresClusterRoutingSuffix()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L32", + "source_file": "pkg/config/sync_test.go", + "source_location": "L317", "_origin": "ast", - "community": 123, - "norm_label": "testpluginerror", - "id": "pkg_library_flatten_internal_testutil_k8sclient_go_testpluginerror" + "id": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", + "community": 18, + "norm_label": "testsyncconfigrestoresclusterroutingsuffix()" }, { - "label": ".Get()", + "label": "TestSyncConfigDoesNotEraseClusterRoutingSuffix()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/config/sync_test.go", + "source_location": "L332", "_origin": "ast", - "community": 123, - "norm_label": ".get()", - "id": "testutil_fakek8sclient_get" + "id": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", + "community": 18, + "norm_label": "testsyncconfigdoesnoteraseclusterroutingsuffix()" }, { - "label": "Context", + "label": "TestMergeConfigHandlesProxySettings()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/config/sync_test.go", + "source_location": "L364", "_origin": "ast", - "community": 123, - "norm_label": "context", - "id": "pkg_library_flatten_internal_testutil_k8sclient_go_context" + "id": "config_sync_test_testmergeconfighandlesproxysettings", + "community": 18, + "norm_label": "testmergeconfighandlesproxysettings()" }, { - "label": "ObjectKey", + "label": "TestMergeConfigLooksAtAllFields()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/config/sync_test.go", + "source_location": "L433", "_origin": "ast", - "community": 123, - "norm_label": "objectkey", - "id": "objectkey" + "id": "config_sync_test_testmergeconfiglooksatallfields", + "community": 18, + "norm_label": "testmergeconfiglooksatallfields()" }, { - "label": "Object", + "label": "TestMergeConfigMergesSchedulingFields()", "file_type": "code", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/config/sync_test.go", + "source_location": "L449", "_origin": "ast", - "community": 123, - "norm_label": "object", - "id": "pkg_library_flatten_internal_testutil_k8sclient_go_object" + "id": "config_sync_test_testmergeconfigmergesschedulingfields", + "community": 18, + "norm_label": "testmergeconfigmergesschedulingfields()" }, { - "label": "merge.go", + "label": "TestMergeConfigMergesStorageAccessMode()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L1", + "source_file": "pkg/config/sync_test.go", + "source_location": "L522", "_origin": "ast", - "community": 91, - "norm_label": "merge.go", - "id": "flatten_merge" + "id": "config_sync_test_testmergeconfigmergesstorageaccessmode", + "community": 18, + "norm_label": "testmergeconfigmergesstorageaccessmode()" }, { - "label": "mergeDevWorkspaceElements()", + "label": "TestMergeConfigMergesStorageClassName()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L36", + "source_file": "pkg/config/sync_test.go", + "source_location": "L540", "_origin": "ast", - "community": 91, - "norm_label": "mergedevworkspaceelements()", - "id": "flatten_merge_mergedevworkspaceelements" + "id": "config_sync_test_testmergeconfigmergesstorageclassname", + "community": 18, + "norm_label": "testmergeconfigmergesstorageclassname()" }, { - "label": "DevWorkspaceTemplateSpecContent", + "label": "TestMergeConfigMergesRuntimeClassName()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L36", + "source_file": "pkg/config/sync_test.go", + "source_location": "L616", "_origin": "ast", - "community": 91, - "norm_label": "devworkspacetemplatespeccontent", - "id": "pkg_library_flatten_merge_go_devworkspacetemplatespeccontent" + "id": "config_sync_test_testmergeconfigmergesruntimeclassname", + "community": 18, + "norm_label": "testmergeconfigmergesruntimeclassname()" }, { - "label": "mergeVolumeComponents()", + "label": "TestResolveConfigForWorkspaceWithNetworkPolicy()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L55", + "source_file": "pkg/config/sync_test.go", + "source_location": "L692", "_origin": "ast", - "community": 91, - "norm_label": "mergevolumecomponents()", - "id": "flatten_merge_mergevolumecomponents" + "id": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", + "community": 18, + "norm_label": "testresolveconfigforworkspacewithnetworkpolicy()" }, { - "label": "mergeVolume()", + "label": "fuzzQuantity()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L99", + "source_file": "pkg/config/sync_test.go", + "source_location": "L757", "_origin": "ast", - "community": 91, - "norm_label": "mergevolume()", - "id": "flatten_merge_mergevolume" + "id": "config_sync_test_fuzzquantity", + "community": 108, + "norm_label": "fuzzquantity()" }, { - "label": "VolumeComponent", + "label": "Quantity", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L99", + "source_file": "pkg/config/sync_test.go", + "source_location": "L757", "_origin": "ast", - "community": 91, - "norm_label": "volumecomponent", - "id": "pkg_library_flatten_merge_go_volumecomponent" + "id": "pkg_config_sync_test_go_quantity", + "community": 108, + "norm_label": "quantity" }, { - "label": "needsContainerContributionMerge()", + "label": "Continue", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L138", + "source_file": "pkg/config/sync_test.go", + "source_location": "L757", "_origin": "ast", - "community": 91, - "norm_label": "needscontainercontributionmerge()", - "id": "flatten_merge_needscontainercontributionmerge" + "id": "continue", + "community": 108, + "norm_label": "continue" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "fuzzResourceList()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L138", + "source_file": "pkg/config/sync_test.go", + "source_location": "L763", "_origin": "ast", - "community": 91, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_flatten_merge_go_devworkspacetemplatespec" + "id": "config_sync_test_fuzzresourcelist", + "community": 108, + "norm_label": "fuzzresourcelist()" }, { - "label": "mergeContainerContributions()", + "label": "ResourceList", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L178", + "source_file": "pkg/config/sync_test.go", + "source_location": "L763", "_origin": "ast", - "community": 91, - "norm_label": "mergecontainercontributions()", - "id": "flatten_merge_mergecontainercontributions" + "id": "pkg_config_sync_test_go_resourcelist", + "community": 108, + "norm_label": "resourcelist" }, { - "label": "ResourceRequirements", + "label": "fuzzResourceRequirements()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L178", + "source_file": "pkg/config/sync_test.go", + "source_location": "L774", "_origin": "ast", - "community": 61, - "norm_label": "resourcerequirements", - "id": "pkg_library_flatten_merge_go_resourcerequirements" + "id": "config_sync_test_fuzzresourcerequirements", + "community": 108, + "norm_label": "fuzzresourcerequirements()" }, { - "label": "findMergeTarget()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L236", + "source_file": "pkg/config/sync_test.go", + "source_location": "L774", "_origin": "ast", - "community": 91, - "norm_label": "findmergetarget()", - "id": "flatten_merge_findmergetarget" + "id": "pkg_config_sync_test_go_resourcerequirements", + "community": 108, + "norm_label": "resourcerequirements" }, { - "label": "mergeContributionsInto()", + "label": "fuzzIntOrString()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L272", + "source_file": "pkg/config/sync_test.go", + "source_location": "L785", "_origin": "ast", - "community": 61, - "norm_label": "mergecontributionsinto()", - "id": "flatten_merge_mergecontributionsinto" + "id": "config_sync_test_fuzzintorstring", + "community": 108, + "norm_label": "fuzzintorstring()" }, { - "label": "Component", + "label": "IntOrString", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L272", + "source_file": "pkg/config/sync_test.go", + "source_location": "L785", "_origin": "ast", - "community": 61, - "norm_label": "component", - "id": "pkg_library_flatten_merge_go_component" + "id": "intorstring", + "community": 108, + "norm_label": "intorstring" }, { - "label": "updateCommandTargetsAfterMerge()", + "label": "fuzzStringPtr()", "file_type": "code", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L350", + "source_file": "pkg/config/sync_test.go", + "source_location": "L789", "_origin": "ast", - "community": 91, - "norm_label": "updatecommandtargetsaftermerge()", - "id": "flatten_merge_updatecommandtargetsaftermerge" + "id": "config_sync_test_fuzzstringptr", + "community": 108, + "norm_label": "fuzzstringptr()" }, { - "label": "devfile.go", + "label": "attributes.go", "file_type": "code", - "source_file": "pkg/library/flatten/network/devfile.go", + "source_file": "pkg/constants/attributes.go", "source_location": "L1", "_origin": "ast", - "community": 136, - "norm_label": "devfile.go", - "id": "network_devfile" + "id": "constants_attributes", + "community": 265, + "norm_label": "attributes.go" }, { - "label": "ConvertDevfileToDevWorkspaceTemplate()", + "label": "constants.go", "file_type": "code", - "source_file": "pkg/library/flatten/network/devfile.go", - "source_location": "L27", + "source_file": "pkg/constants/constants.go", + "source_location": "L1", "_origin": "ast", - "community": 136, - "norm_label": "convertdevfiletodevworkspacetemplate()", - "id": "network_devfile_convertdevfiletodevworkspacetemplate" + "id": "pkg_constants_constants_go_constants_constants", + "community": 278, + "norm_label": "constants.go" }, { - "label": "Devfile", + "label": "env.go", "file_type": "code", - "source_file": "pkg/library/flatten/network/devfile.go", - "source_location": "L27", + "source_file": "pkg/constants/env.go", + "source_location": "L1", "_origin": "ast", - "community": 136, - "norm_label": "devfile", - "id": "pkg_library_flatten_network_devfile_go_devfile" + "id": "constants_env", + "community": 266, + "norm_label": "env.go" }, { - "label": "DevWorkspaceTemplate", + "label": "finalizers.go", "file_type": "code", - "source_file": "pkg/library/flatten/network/devfile.go", - "source_location": "L27", + "source_file": "pkg/constants/finalizers.go", + "source_location": "L1", "_origin": "ast", - "community": 136, - "norm_label": "devworkspacetemplate", - "id": "pkg_library_flatten_network_devfile_go_devworkspacetemplate" + "id": "constants_finalizers", + "community": 267, + "norm_label": "finalizers.go" }, { - "label": "fetch.go", + "label": "metadata.go", "file_type": "code", - "source_file": "pkg/library/flatten/network/fetch.go", + "source_file": "pkg/constants/metadata.go", "source_location": "L1", "_origin": "ast", - "community": 136, - "norm_label": "fetch.go", - "id": "network_fetch" + "id": "constants_metadata", + "community": 268, + "norm_label": "metadata.go" }, { - "label": "HTTPGetter", + "label": "errors.go", "file_type": "code", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L27", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L1", "_origin": "ast", - "community": 136, - "norm_label": "httpgetter", - "id": "network_httpgetter" + "id": "dwerrors_errors", + "community": 113, + "norm_label": "errors.go" }, { - "label": "FetchDevWorkspaceTemplate()", + "label": "RetryError", "file_type": "code", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L31", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L23", "_origin": "ast", - "community": 136, - "norm_label": "fetchdevworkspacetemplate()", - "id": "network_fetch_fetchdevworkspacetemplate" + "id": "dwerrors_retryerror", + "community": 113, + "norm_label": "retryerror" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "Duration", "file_type": "code", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L31", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L30", "_origin": "ast", - "community": 136, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_flatten_network_fetch_go_devworkspacetemplatespec" + "id": "pkg_dwerrors_errors_go_duration", + "community": 113, + "norm_label": "duration" }, { - "label": "custom_init_test.go", + "label": ".Error()", "file_type": "code", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L1", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L33", "_origin": "ast", - "community": 8, - "norm_label": "custom_init_test.go", - "id": "home_custom_init_test" + "id": "dwerrors_retryerror_error", + "community": 113, + "norm_label": ".error()" }, { - "label": "TestCustomInitPersistentHome()", + "label": ".Unwrap()", "file_type": "code", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L31", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L43", "_origin": "ast", - "community": 8, - "norm_label": "testcustominitpersistenthome()", - "id": "home_custom_init_test_testcustominitpersistenthome" + "id": "dwerrors_retryerror_unwrap", + "community": 113, + "norm_label": ".unwrap()" }, { - "label": "T", + "label": "FailError", "file_type": "code", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L31", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L47", "_origin": "ast", - "community": 8, - "norm_label": "t", - "id": "pkg_library_home_custom_init_test_go_t" + "id": "dwerrors_failerror", + "community": 113, + "norm_label": "failerror" }, { - "label": "TestInferWorkspaceImage()", + "label": ".Error()", "file_type": "code", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L222", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L54", "_origin": "ast", - "community": 8, - "norm_label": "testinferworkspaceimage()", - "id": "home_custom_init_test_testinferworkspaceimage" + "id": "dwerrors_failerror_error", + "community": 113, + "norm_label": ".error()" }, { - "label": "persistentHome.go", + "label": ".Unwrap()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L1", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L64", "_origin": "ast", - "community": 8, - "norm_label": "persistenthome.go", - "id": "home_persistenthome" + "id": "dwerrors_failerror_unwrap", + "community": 113, + "norm_label": ".unwrap()" }, { - "label": "AddPersistentHomeVolume()", + "label": "WarningError", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L52", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L68", "_origin": "ast", - "community": 8, - "norm_label": "addpersistenthomevolume()", - "id": "home_persistenthome_addpersistenthomevolume" + "id": "dwerrors_warningerror", + "community": 113, + "norm_label": "warningerror" }, { - "label": "DevWorkspaceWithConfig", + "label": ".Error()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L52", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L73", "_origin": "ast", - "community": 8, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_home_persistenthome_go_devworkspacewithconfig" + "id": "dwerrors_warningerror_error", + "community": 113, + "norm_label": ".error()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "WrapSyncError()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L52", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L77", "_origin": "ast", - "community": 8, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "id": "dwerrors_errors_wrapsyncerror", + "community": 38, + "norm_label": "wrapsyncerror()" }, { - "label": "NeedsPersistentHomeDirectory()", + "label": "http.go", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L94", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L1", "_origin": "ast", - "community": 8, - "norm_label": "needspersistenthomedirectory()", - "id": "home_persistenthome_needspersistenthomedirectory" + "id": "httpfactory_http", + "community": 26, + "norm_label": "http.go" }, { - "label": "PersistUserHomeEnabled()", + "label": "HttpClientsFactory", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L127", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L40", "_origin": "ast", - "community": 8, - "norm_label": "persistuserhomeenabled()", - "id": "home_persistenthome_persistuserhomeenabled" + "id": "httpfactory_httpclientsfactory", + "community": 26, + "norm_label": "httpclientsfactory" }, { - "label": "hasInitPersistentHomeInConfig()", + "label": "DefaultHttpClientsFactory", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L131", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L54", "_origin": "ast", - "community": 8, - "norm_label": "hasinitpersistenthomeinconfig()", - "id": "home_persistenthome_hasinitpersistenthomeinconfig" + "id": "httpfactory_defaulthttpclientsfactory", + "community": 26, + "norm_label": "defaulthttpclientsfactory" }, { - "label": "addInitContainer()", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L145", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L55", "_origin": "ast", - "community": 8, - "norm_label": "addinitcontainer()", - "id": "home_persistenthome_addinitcontainer" + "id": "pkg_httpfactory_http_go_client", + "community": 26, + "norm_label": "client" }, { - "label": "initComponentExists()", + "label": "Logger", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L188", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L56", "_origin": "ast", - "community": 8, - "norm_label": "initcomponentexists()", - "id": "home_persistenthome_initcomponentexists" + "id": "pkg_httpfactory_http_go_logger", + "community": 26, + "norm_label": "logger" }, { - "label": "initCommandExists()", + "label": "RWMutex", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L201", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L61", "_origin": "ast", - "community": 8, - "norm_label": "initcommandexists()", - "id": "home_persistenthome_initcommandexists" + "id": "rwmutex", + "community": 26, + "norm_label": "rwmutex" }, { - "label": "initEventExists()", + "label": "ConfigmapReference", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L213", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L63", "_origin": "ast", - "community": 8, - "norm_label": "initeventexists()", - "id": "home_persistenthome_initeventexists" + "id": "pkg_httpfactory_http_go_configmapreference", + "community": 26, + "norm_label": "configmapreference" }, { - "label": "addInitContainerComponent()", + "label": "CertPool", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L226", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L66", "_origin": "ast", - "community": 8, - "norm_label": "addinitcontainercomponent()", - "id": "home_persistenthome_addinitcontainercomponent" + "id": "pkg_httpfactory_http_go_certpool", + "community": 26, + "norm_label": "certpool" }, { - "label": "Container", + "label": "Request", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L226", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L67", "_origin": "ast", - "community": 8, - "norm_label": "container", - "id": "pkg_library_home_persistenthome_go_container" + "id": "pkg_httpfactory_http_go_request", + "community": 26, + "norm_label": "request" }, { - "label": "inferInitContainer()", + "label": "URL", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L238", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L67", "_origin": "ast", - "community": 8, - "norm_label": "inferinitcontainer()", - "id": "home_persistenthome_inferinitcontainer" + "id": "url", + "community": 26, + "norm_label": "url" }, { - "label": "EnsureHomeInitContainerFields()", + "label": "SetupHttpClientsFactory()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L252", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L70", "_origin": "ast", - "community": 8, - "norm_label": "ensurehomeinitcontainerfields()", - "id": "home_persistenthome_ensurehomeinitcontainerfields" + "id": "httpfactory_http_setuphttpclientsfactory", + "community": 26, + "norm_label": "setuphttpclientsfactory()" }, { - "label": "persistentHome_test.go", + "label": ".GetHttpClient()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L1", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "_origin": "ast", - "community": 8, - "norm_label": "persistenthome_test.go", - "id": "home_persistenthome_test" + "id": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "community": 26, + "norm_label": ".gethttpclient()" }, { - "label": "testCase", + "label": "Context", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L32", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "_origin": "ast", - "community": 8, - "norm_label": "testcase", - "id": "home_testcase" + "id": "pkg_httpfactory_http_go_context", + "community": 26, + "norm_label": "context" }, { - "label": "testInput", + "label": "RoutingConfig", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L34", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "_origin": "ast", - "community": 8, - "norm_label": "testinput", - "id": "pkg_library_home_persistenthome_test_go_testinput" + "id": "pkg_httpfactory_http_go_routingconfig", + "community": 26, + "norm_label": "routingconfig" }, { - "label": "testOutput", + "label": ".createHttpClient()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L35", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L132", "_origin": "ast", - "community": 8, - "norm_label": "testoutput", - "id": "pkg_library_home_persistenthome_test_go_testoutput" + "id": "httpfactory_defaulthttpclientsfactory_createhttpclient", + "community": 26, + "norm_label": ".createhttpclient()" }, { - "label": "testInput", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L38", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L132", "_origin": "ast", - "community": 8, - "norm_label": "testinput", - "id": "home_testinput" + "id": "pkg_httpfactory_http_go_configmap", + "community": 26, + "norm_label": "configmap" }, { - "label": "DevWorkspaceTemplateSpec", + "label": ".shouldCreateHttpClient()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L40", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L148", "_origin": "ast", - "community": 8, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_home_persistenthome_test_go_devworkspacetemplatespec" + "id": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient", + "community": 26, + "norm_label": ".shouldcreatehttpclient()" }, { - "label": "OperatorConfiguration", + "label": ".GetHealthCheckHttpClient()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L41", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L168", "_origin": "ast", - "community": 8, - "norm_label": "operatorconfiguration", - "id": "pkg_library_home_persistenthome_test_go_operatorconfiguration" + "id": "httpfactory_defaulthttpclientsfactory_gethealthcheckhttpclient", + "community": 26, + "norm_label": ".gethealthcheckhttpclient()" }, { - "label": "testOutput", + "label": "getProxyFunc()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L44", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L178", "_origin": "ast", - "community": 8, - "norm_label": "testoutput", - "id": "home_testoutput" + "id": "httpfactory_http_getproxyfunc", + "community": 26, + "norm_label": "getproxyfunc()" }, { - "label": "loadTestCaseOrPanic()", + "label": ".getCaCertPool()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L49", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L208", "_origin": "ast", - "community": 8, - "norm_label": "loadtestcaseorpanic()", - "id": "home_persistenthome_test_loadtestcaseorpanic" + "id": "httpfactory_defaulthttpclientsfactory_getcacertpool", + "community": 26, + "norm_label": ".getcacertpool()" }, { - "label": "T", + "label": ".readCertificates()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L49", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L224", "_origin": "ast", - "community": 8, - "norm_label": "t", - "id": "pkg_library_home_persistenthome_test_go_t" + "id": "httpfactory_defaulthttpclientsfactory_readcertificates", + "community": 26, + "norm_label": ".readcertificates()" }, { - "label": "loadAllTestCasesOrPanic()", + "label": "http_test.go", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L61", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L1", "_origin": "ast", - "community": 8, - "norm_label": "loadalltestcasesorpanic()", - "id": "home_persistenthome_test_loadalltestcasesorpanic" + "id": "httpfactory_http_test", + "community": 112, + "norm_label": "http_test.go" }, { - "label": "getDevWorkspaceWithConfig()", + "label": "TestHealthCheckHttpClient()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L76", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L43", "_origin": "ast", - "community": 8, - "norm_label": "getdevworkspacewithconfig()", - "id": "home_persistenthome_test_getdevworkspacewithconfig" + "id": "httpfactory_http_test_testhealthcheckhttpclient", + "community": 112, + "norm_label": "testhealthcheckhttpclient()" }, { - "label": "DevWorkspaceWithConfig", + "label": "T", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L76", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L43", "_origin": "ast", - "community": 8, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_home_persistenthome_test_go_devworkspacewithconfig" + "id": "pkg_httpfactory_http_test_go_t", + "community": 112, + "norm_label": "t" }, { - "label": "TestPersistentHomeVolume()", + "label": "TestGetHttpClient()", "file_type": "code", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L87", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L62", "_origin": "ast", - "community": 8, - "norm_label": "testpersistenthomevolume()", - "id": "home_persistenthome_test_testpersistenthomevolume" + "id": "httpfactory_http_test_testgethttpclient", + "community": 112, + "norm_label": "testgethttpclient()" }, { - "label": "util.go", + "label": "generateTestCACert()", "file_type": "code", - "source_file": "pkg/library/home/util.go", - "source_location": "L1", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L158", "_origin": "ast", - "community": 8, - "norm_label": "util.go", - "id": "home_util" + "id": "httpfactory_http_test_generatetestcacert", + "community": 112, + "norm_label": "generatetestcacert()" }, { - "label": "InferWorkspaceImage()", + "label": "newTestFactory()", "file_type": "code", - "source_file": "pkg/library/home/util.go", - "source_location": "L27", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L178", "_origin": "ast", - "community": 8, - "norm_label": "inferworkspaceimage()", - "id": "home_util_inferworkspaceimage" + "id": "httpfactory_http_test_newtestfactory", + "community": 112, + "norm_label": "newtestfactory()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "DefaultHttpClientsFactory", "file_type": "code", - "source_file": "pkg/library/home/util.go", - "source_location": "L27", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L178", "_origin": "ast", - "community": 8, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_home_util_go_devworkspacetemplatespec" + "id": "defaulthttpclientsfactory", + "community": 112, + "norm_label": "defaulthttpclientsfactory" }, { - "label": "merge.go", + "label": "routingConfigWithProxy()", "file_type": "code", - "source_file": "pkg/library/initcontainers/merge.go", - "source_location": "L1", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L205", "_origin": "ast", - "community": 167, - "norm_label": "merge.go", - "id": "initcontainers_merge" + "id": "httpfactory_http_test_routingconfigwithproxy", + "community": 112, + "norm_label": "routingconfigwithproxy()" }, { - "label": "MergeInitContainers()", + "label": "RoutingConfig", "file_type": "code", - "source_file": "pkg/library/initcontainers/merge.go", - "source_location": "L30", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L205", "_origin": "ast", - "community": 167, - "norm_label": "mergeinitcontainers()", - "id": "initcontainers_merge_mergeinitcontainers" + "id": "pkg_httpfactory_http_test_go_routingconfig", + "community": 112, + "norm_label": "routingconfig" }, { - "label": "Container", + "label": "routingConfigWithCerts()", "file_type": "code", - "source_file": "pkg/library/initcontainers/merge.go", - "source_location": "L30", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L215", "_origin": "ast", - "community": 167, - "norm_label": "container", - "id": "pkg_library_initcontainers_merge_go_container" + "id": "httpfactory_http_test_routingconfigwithcerts", + "community": 112, + "norm_label": "routingconfigwithcerts()" }, { - "label": "merge_test.go", + "label": "http_testing.go", "file_type": "code", - "source_file": "pkg/library/initcontainers/merge_test.go", + "source_file": "pkg/httpfactory/http_testing.go", "source_location": "L1", "_origin": "ast", - "community": 167, - "norm_label": "merge_test.go", - "id": "initcontainers_merge_test" + "id": "httpfactory_http_testing", + "community": 30, + "norm_label": "http_testing.go" }, { - "label": "TestMergeInitContainers()", + "label": "TestHttpClientsFactory", "file_type": "code", - "source_file": "pkg/library/initcontainers/merge_test.go", - "source_location": "L25", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L23", "_origin": "ast", - "community": 167, - "norm_label": "testmergeinitcontainers()", - "id": "initcontainers_merge_test_testmergeinitcontainers" + "id": "httpfactory_testhttpclientsfactory", + "community": 30, + "norm_label": "testhttpclientsfactory" }, { - "label": "T", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/initcontainers/merge_test.go", - "source_location": "L25", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L24", "_origin": "ast", - "community": 167, - "norm_label": "t", - "id": "pkg_library_initcontainers_merge_test_go_t" + "id": "pkg_httpfactory_http_testing_go_client", + "community": 30, + "norm_label": "client" }, { - "label": "common_test.go", + "label": ".GetHttpClient()", "file_type": "code", - "source_file": "pkg/library/kubernetes/common_test.go", - "source_location": "L1", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", "_origin": "ast", - "community": 244, - "norm_label": "common_test.go", - "id": "kubernetes_common_test" + "id": "httpfactory_testhttpclientsfactory_gethttpclient", + "community": 30, + "norm_label": ".gethttpclient()" }, { - "label": "init()", + "label": "Context", "file_type": "code", - "source_file": "pkg/library/kubernetes/common_test.go", - "source_location": "L32", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", "_origin": "ast", - "community": 244, - "norm_label": "init()", - "id": "kubernetes_common_test_init" + "id": "pkg_httpfactory_http_testing_go_context", + "community": 30, + "norm_label": "context" }, { - "label": "deserialize.go", + "label": "RoutingConfig", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L1", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", "_origin": "ast", - "community": 13, - "norm_label": "deserialize.go", - "id": "kubernetes_deserialize" + "id": "pkg_httpfactory_http_testing_go_routingconfig", + "community": 30, + "norm_label": "routingconfig" }, { - "label": "InitializeDeserializer()", + "label": ".GetHealthCheckHttpClient()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L30", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L32", "_origin": "ast", - "community": 13, - "norm_label": "initializedeserializer()", - "id": "kubernetes_deserialize_initializedeserializer" + "id": "httpfactory_testhttpclientsfactory_gethealthcheckhttpclient", + "community": 30, + "norm_label": ".gethealthcheckhttpclient()" }, { - "label": "Scheme", + "label": "SetupHttpClientsForTesting()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L30", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L36", "_origin": "ast", - "community": 13, - "norm_label": "scheme", - "id": "pkg_library_kubernetes_deserialize_go_scheme" + "id": "httpfactory_http_testing_setuphttpclientsfortesting", + "community": 30, + "norm_label": "setuphttpclientsfortesting()" }, { - "label": "DeserializeToObject()", + "label": "cluster.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L40", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "deserializetoobject()", - "id": "kubernetes_deserialize_deserializetoobject" + "id": "infrastructure_cluster", + "community": 80, + "norm_label": "cluster.go" }, { - "label": "Object", + "label": "Type", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L40", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L27", "_origin": "ast", - "community": 13, - "norm_label": "object", - "id": "pkg_library_kubernetes_deserialize_go_object" + "id": "infrastructure_type", + "community": 80, + "norm_label": "type" }, { - "label": "deserialize_test.go", + "label": "Initialize()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L1", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L44", "_origin": "ast", - "community": 186, - "norm_label": "deserialize_test.go", - "id": "kubernetes_deserialize_test" + "id": "infrastructure_cluster_initialize", + "community": 80, + "norm_label": "initialize()" }, { - "label": "TestDeserializeObject()", + "label": "InitializeForTesting()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L28", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L58", "_origin": "ast", - "community": 186, - "norm_label": "testdeserializeobject()", - "id": "kubernetes_deserialize_test_testdeserializeobject" + "id": "infrastructure_cluster_initializefortesting", + "community": 32, + "norm_label": "initializefortesting()" }, { - "label": "T", + "label": "IsInitialized()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L28", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L63", "_origin": "ast", - "community": 186, - "norm_label": "t", - "id": "pkg_library_kubernetes_deserialize_test_go_t" + "id": "infrastructure_cluster_isinitialized", + "community": 80, + "norm_label": "isinitialized()" }, { - "label": "TestErrorIfDeserializerNotInitialized()", + "label": "IsOpenShift()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L93", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L68", "_origin": "ast", - "community": 186, - "norm_label": "testerrorifdeserializernotinitialized()", - "id": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized" + "id": "infrastructure_cluster_isopenshift", + "community": 80, + "norm_label": "isopenshift()" }, { - "label": "readBytesFromFile()", + "label": "detect()", "file_type": "code", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L99", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L75", "_origin": "ast", - "community": 186, - "norm_label": "readbytesfromfile()", - "id": "kubernetes_deserialize_test_readbytesfromfile" + "id": "infrastructure_cluster_detect", + "community": 80, + "norm_label": "detect()" }, { - "label": "provision.go", + "label": "findAPIGroup()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L1", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L99", "_origin": "ast", - "community": 37, - "norm_label": "provision.go", - "id": "kubernetes_provision" + "id": "infrastructure_cluster_findapigroup", + "community": 80, + "norm_label": "findapigroup()" }, { - "label": "HandleKubernetesComponents()", + "label": "APIGroup", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L44", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L99", "_origin": "ast", - "community": 37, - "norm_label": "handlekubernetescomponents()", - "id": "kubernetes_provision_handlekubernetescomponents" + "id": "apigroup", + "community": 80, + "norm_label": "apigroup" }, { - "label": "DevWorkspaceWithConfig", + "label": "findAPIResources()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L44", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L108", "_origin": "ast", - "community": 37, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" + "id": "infrastructure_cluster_findapiresources", + "community": 98, + "norm_label": "findapiresources()" }, { - "label": "ClusterAPI", + "label": "APIResourceList", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L44", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L108", "_origin": "ast", - "community": 37, - "norm_label": "clusterapi", - "id": "pkg_library_kubernetes_provision_go_clusterapi" + "id": "apiresourcelist", + "community": 98, + "norm_label": "apiresourcelist" }, { - "label": "checkForExistingObject()", + "label": "APIResource", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L102", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L108", "_origin": "ast", - "community": 37, - "norm_label": "checkforexistingobject()", - "id": "kubernetes_provision_checkforexistingobject" + "id": "apiresource", + "community": 98, + "norm_label": "apiresource" }, { - "label": "Object", + "label": "namespace.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L102", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L1", "_origin": "ast", - "community": 37, - "norm_label": "object", - "id": "pkg_library_kubernetes_provision_go_object" + "id": "infrastructure_namespace", + "community": 306, + "norm_label": "namespace.go" }, { - "label": "addMetadata()", + "label": "GetOperatorNamespace()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L126", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L31", "_origin": "ast", - "community": 37, - "norm_label": "addmetadata()", - "id": "kubernetes_provision_addmetadata" + "id": "infrastructure_namespace_getoperatornamespace", + "community": 306, + "norm_label": "getoperatornamespace()" }, { - "label": "restrictK8sComponent()", + "label": "GetWatchNamespace()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L147", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L46", "_origin": "ast", - "community": 37, - "norm_label": "restrictk8scomponent()", - "id": "kubernetes_provision_restrictk8scomponent" + "id": "infrastructure_namespace_getwatchnamespace", + "community": 306, + "norm_label": "getwatchnamespace()" }, { - "label": "restrictPodSpec()", + "label": "GetNamespace()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L176", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L56", "_origin": "ast", - "community": 37, - "norm_label": "restrictpodspec()", - "id": "kubernetes_provision_restrictpodspec" + "id": "infrastructure_namespace_getnamespace", + "community": 306, + "norm_label": "getnamespace()" }, { - "label": "provision_test.go", + "label": "webhook.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", + "source_file": "pkg/infrastructure/webhook.go", "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "provision_test.go", - "id": "kubernetes_provision_test" + "id": "infrastructure_webhook", + "community": 98, + "norm_label": "webhook.go" }, { - "label": "testCase", + "label": "IsWebhookConfigurationEnabled()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L43", + "source_file": "pkg/infrastructure/webhook.go", + "source_location": "L24", "_origin": "ast", - "community": 13, - "norm_label": "testcase", - "id": "kubernetes_testcase" + "id": "infrastructure_webhook_iswebhookconfigurationenabled", + "community": 98, + "norm_label": "iswebhookconfigurationenabled()" }, { - "label": "testInput", + "label": "annotations.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L45", + "source_file": "pkg/library/annotate/annotations.go", + "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "testinput", - "id": "pkg_library_kubernetes_provision_test_go_testinput" + "id": "annotate_annotations", + "community": 252, + "norm_label": "annotations.go" }, { - "label": "testOutput", + "label": "plugins.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L46", + "source_file": "pkg/library/annotate/plugins.go", + "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "testoutput", - "id": "pkg_library_kubernetes_provision_test_go_testoutput" + "id": "annotate_plugins", + "community": 200, + "norm_label": "plugins.go" }, { - "label": "testInput", + "label": "AddSourceAttributesForTemplate()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L50", + "source_file": "pkg/library/annotate/plugins.go", + "source_location": "L27", "_origin": "ast", - "community": 196, - "norm_label": "testinput", - "id": "kubernetes_testinput" + "id": "annotate_plugins_addsourceattributesfortemplate", + "community": 200, + "norm_label": "addsourceattributesfortemplate()" }, { - "label": "Component", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L51", + "source_file": "pkg/library/annotate/plugins.go", + "source_location": "L27", "_origin": "ast", - "community": 196, - "norm_label": "component", - "id": "pkg_library_kubernetes_provision_test_go_component" + "id": "pkg_library_annotate_plugins_go_devworkspacetemplatespec", + "community": 200, + "norm_label": "devworkspacetemplatespec" }, { - "label": "clusterObjects", + "label": "urls.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L52", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L1", "_origin": "ast", - "community": 196, - "norm_label": "clusterobjects", - "id": "clusterobjects" + "id": "annotate_urls", + "community": 139, + "norm_label": "urls.go" }, { - "label": "testOutput", + "label": "AddURLAttributesToEndpoints()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L55", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L26", "_origin": "ast", - "community": 196, - "norm_label": "testoutput", - "id": "kubernetes_testoutput" + "id": "annotate_urls_addurlattributestoendpoints", + "community": 139, + "norm_label": "addurlattributestoendpoints()" }, { - "label": "clusterObjects", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L60", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L26", "_origin": "ast", - "community": 185, - "norm_label": "clusterobjects", - "id": "kubernetes_clusterobjects" + "id": "pkg_library_annotate_urls_go_devworkspacetemplatespec", + "community": 139, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Pod", + "label": "ExposedEndpointList", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L61", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L26", "_origin": "ast", - "community": 185, - "norm_label": "pod", - "id": "pkg_library_kubernetes_provision_test_go_pod" + "id": "pkg_library_annotate_urls_go_exposedendpointlist", + "community": 139, + "norm_label": "exposedendpointlist" }, { - "label": "Service", + "label": "getContainerEndpointByName()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L62", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L44", "_origin": "ast", - "community": 185, - "norm_label": "service", - "id": "pkg_library_kubernetes_provision_test_go_service" + "id": "annotate_urls_getcontainerendpointbyname", + "community": 139, + "norm_label": "getcontainerendpointbyname()" }, { - "label": "TestHandleKubernetesComponents()", + "label": "ContainerComponent", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L92", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L44", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponents()", - "id": "kubernetes_provision_test_testhandlekubernetescomponents" + "id": "pkg_library_annotate_urls_go_containercomponent", + "community": 139, + "norm_label": "containercomponent" }, { - "label": "T", + "label": "Endpoint", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L92", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L44", "_origin": "ast", - "community": 13, - "norm_label": "t", - "id": "pkg_library_kubernetes_provision_test_go_t" + "id": "pkg_library_annotate_urls_go_endpoint", + "community": 139, + "norm_label": "endpoint" }, { - "label": "TestSecretAndConfigMapProvisioning()", + "label": "constants.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L152", + "source_file": "pkg/library/constants/constants.go", + "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "testsecretandconfigmapprovisioning()", - "id": "kubernetes_provision_test_testsecretandconfigmapprovisioning" + "id": "pkg_library_constants_constants_go_constants_constants", + "community": 279, + "norm_label": "constants.go" }, { - "label": "TestHasKubelikeComponent()", + "label": "container.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L225", + "source_file": "pkg/library/container/container.go", + "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "testhaskubelikecomponent()", - "id": "kubernetes_provision_test_testhaskubelikecomponent" + "id": "container_container", + "community": 109, + "norm_label": "container.go" }, { - "label": "TestHandleKubernetesComponentsRestrictsPodFields()", + "label": "GetKubeContainersFromDevfile()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L241", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentsrestrictspodfields()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields" + "id": "container_container_getkubecontainersfromdevfile", + "community": 109, + "norm_label": "getkubecontainersfromdevfile()" }, { - "label": "TestHandleKubernetesComponentsRestrictsContainerFields()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L289", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentsrestrictscontainerfields()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields" + "id": "pkg_library_container_container_go_devworkspacetemplatespec", + "community": 109, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestHandleKubernetesComponentsAllowsNonRestrictedFields()", + "label": "SecurityContext", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L337", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentsallowsnonrestrictedfields()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields" + "id": "pkg_library_container_container_go_securitycontext", + "community": 109, + "norm_label": "securitycontext" }, { - "label": "TestHandleKubernetesComponentsNoRestrictionsConfigured()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L389", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentsnorestrictionsconfigured()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured" + "id": "pkg_library_container_container_go_resourcerequirements", + "community": 109, + "norm_label": "resourcerequirements" }, { - "label": "TestHandleKubernetesComponentsRejectsRBACObjects()", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L433", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentsrejectsrbacobjects()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects" + "id": "pkg_library_container_container_go_podadditions", + "community": 109, + "norm_label": "podadditions" }, { - "label": "TestHandleKubernetesComponentsWithoutAnnotation()", + "label": "container_test.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L499", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L1", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentswithoutannotation()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation" + "id": "container_container_test", + "community": 110, + "norm_label": "container_test.go" }, { - "label": "TestHandleKubernetesComponentsRejectsMalformedAnnotation()", + "label": "testCase", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L541", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L33", "_origin": "ast", - "community": 13, - "norm_label": "testhandlekubernetescomponentsrejectsmalformedannotation()", - "id": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation" + "id": "container_testcase", + "community": 110, + "norm_label": "testcase" }, { - "label": "TestRestrictK8sComponentAllowsValidatedResource()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L578", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L35", "_origin": "ast", - "community": 13, - "norm_label": "testrestrictk8scomponentallowsvalidatedresource()", - "id": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource" + "id": "pkg_library_container_container_test_go_devworkspacetemplatespec", + "community": 110, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestRestrictK8sComponentRejectsNonValidatedResource()", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L595", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L36", "_origin": "ast", - "community": 13, - "norm_label": "testrestrictk8scomponentrejectsnonvalidatedresource()", - "id": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource" + "id": "pkg_library_container_container_test_go_testoutput", + "community": 110, + "norm_label": "testoutput" }, { - "label": "TestRestrictK8sComponentRejectsRBACEvenWhenValidated()", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L612", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L39", "_origin": "ast", - "community": 13, - "norm_label": "testrestrictk8scomponentrejectsrbacevenwhenvalidated()", - "id": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated" + "id": "container_testoutput", + "community": 110, + "norm_label": "testoutput" }, { - "label": "TestRestrictK8sComponentSkipsValidationWhenAnnotationAbsent()", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L629", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L40", "_origin": "ast", - "community": 13, - "norm_label": "testrestrictk8scomponentskipsvalidationwhenannotationabsent()", - "id": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent" + "id": "pkg_library_container_container_test_go_podadditions", + "community": 110, + "norm_label": "podadditions" }, { - "label": "TestRestrictK8sComponentRejectsRBACEvenWhenAnnotationAbsent()", + "label": "loadAllTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L647", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L55", "_origin": "ast", - "community": 13, - "norm_label": "testrestrictk8scomponentrejectsrbacevenwhenannotationabsent()", - "id": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent" + "id": "container_container_test_loadalltestcasesorpanic", + "community": 110, + "norm_label": "loadalltestcasesorpanic()" }, { - "label": "TestRestrictK8sComponentAllowsMultipleValidatedResources()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L666", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L55", "_origin": "ast", - "community": 13, - "norm_label": "testrestrictk8scomponentallowsmultiplevalidatedresources()", - "id": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources" + "id": "pkg_library_container_container_test_go_t", + "community": 110, + "norm_label": "t" }, { - "label": "loadAllTestCasesOrPanic()", + "label": "loadTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L687", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L71", "_origin": "ast", - "community": 13, - "norm_label": "loadalltestcasesorpanic()", - "id": "kubernetes_provision_test_loadalltestcasesorpanic" + "id": "container_container_test_loadtestcaseorpanic", + "community": 110, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "loadTestCaseOrPanic()", + "label": "TestGetKubeContainersFromDevfile()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L703", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L83", "_origin": "ast", - "community": 13, - "norm_label": "loadtestcaseorpanic()", - "id": "kubernetes_provision_test_loadtestcaseorpanic" + "id": "container_container_test_testgetkubecontainersfromdevfile", + "community": 110, + "norm_label": "testgetkubecontainersfromdevfile()" }, { - "label": "collectClusterObj()", + "label": "conversion.go", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L716", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L1", "_origin": "ast", - "community": 185, - "norm_label": "collectclusterobj()", - "id": "kubernetes_provision_test_collectclusterobj" + "id": "container_conversion", + "community": 58, + "norm_label": "conversion.go" }, { - "label": "Object", + "label": "convertContainerToK8s()", "file_type": "code", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L716", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "_origin": "ast", - "community": 185, - "norm_label": "object", - "id": "pkg_library_kubernetes_provision_test_go_object" + "id": "container_conversion_convertcontainertok8s", + "community": 58, + "norm_label": "convertcontainertok8s()" }, { - "label": "util.go", + "label": "Component", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L1", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "_origin": "ast", - "community": 37, - "norm_label": "util.go", - "id": "kubernetes_util" + "id": "pkg_library_container_conversion_go_component", + "community": 58, + "norm_label": "component" }, { - "label": "HasKubelikeComponent()", + "label": "SecurityContext", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L24", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "_origin": "ast", - "community": 37, - "norm_label": "haskubelikecomponent()", - "id": "kubernetes_util_haskubelikecomponent" + "id": "pkg_library_container_conversion_go_securitycontext", + "community": 58, + "norm_label": "securitycontext" }, { - "label": "DevWorkspaceWithConfig", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L24", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "_origin": "ast", - "community": 37, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_kubernetes_util_go_devworkspacewithconfig" + "id": "pkg_library_container_conversion_go_resourcerequirements", + "community": 58, + "norm_label": "resourcerequirements" }, { - "label": "filterForKubeLikeComponents()", + "label": "Container", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L33", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "_origin": "ast", - "community": 37, - "norm_label": "filterforkubelikecomponents()", - "id": "kubernetes_util_filterforkubelikecomponents" + "id": "pkg_library_container_conversion_go_container", + "community": 58, + "norm_label": "container" }, { - "label": "Component", + "label": "devfileEndpointsToContainerPorts()", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L33", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L59", "_origin": "ast", - "community": 37, - "norm_label": "component", - "id": "pkg_library_kubernetes_util_go_component" + "id": "container_conversion_devfileendpointstocontainerports", + "community": 58, + "norm_label": "devfileendpointstocontainerports()" }, { - "label": "getK8sLikeComponent()", + "label": "Endpoint", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L67", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L59", "_origin": "ast", - "community": 37, - "norm_label": "getk8slikecomponent()", - "id": "kubernetes_util_getk8slikecomponent" + "id": "pkg_library_container_conversion_go_endpoint", + "community": 58, + "norm_label": "endpoint" }, { - "label": "K8sLikeComponent", + "label": "ContainerPort", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L67", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L59", "_origin": "ast", - "community": 37, - "norm_label": "k8slikecomponent", - "id": "pkg_library_kubernetes_util_go_k8slikecomponent" + "id": "containerport", + "community": 58, + "norm_label": "containerport" }, { - "label": "checkOwnerrefs()", + "label": "devfileVolumeMountsToContainerVolumeMounts()", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L78", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L77", "_origin": "ast", - "community": 37, - "norm_label": "checkownerrefs()", - "id": "kubernetes_util_checkownerrefs" + "id": "container_conversion_devfilevolumemountstocontainervolumemounts", + "community": 58, + "norm_label": "devfilevolumemountstocontainervolumemounts()" }, { - "label": "OwnerReference", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L78", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L77", "_origin": "ast", - "community": 37, - "norm_label": "ownerreference", - "id": "pkg_library_kubernetes_util_go_ownerreference" + "id": "pkg_library_container_conversion_go_volumemount", + "community": 58, + "norm_label": "volumemount" }, { - "label": "command.go", + "label": "devfileEnvToContainerEnv()", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L1", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L93", "_origin": "ast", - "community": 39, - "norm_label": "command.go", - "id": "lifecycle_command" + "id": "container_conversion_devfileenvtocontainerenv", + "community": 58, + "norm_label": "devfileenvtocontainerenv()" }, { - "label": "getCommandType()", + "label": "EnvVar", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L24", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L93", "_origin": "ast", - "community": 39, - "norm_label": "getcommandtype()", - "id": "lifecycle_command_getcommandtype" + "id": "pkg_library_container_conversion_go_envvar", + "community": 58, + "norm_label": "envvar" }, { - "label": "Command", + "label": "mountSources.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L24", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L1", "_origin": "ast", - "community": 39, - "norm_label": "command", - "id": "pkg_library_lifecycle_command_go_command" + "id": "container_mountsources", + "community": 100, + "norm_label": "mountsources.go" }, { - "label": "CommandType", + "label": "HasMountSources()", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L24", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L34", "_origin": "ast", - "community": 39, - "norm_label": "commandtype", - "id": "commandtype" + "id": "container_mountsources_hasmountsources", + "community": 100, + "norm_label": "hasmountsources()" }, { - "label": "getCommandsForKeys()", + "label": "ContainerComponent", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L32", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L34", "_origin": "ast", - "community": 39, - "norm_label": "getcommandsforkeys()", - "id": "lifecycle_command_getcommandsforkeys" + "id": "pkg_library_container_mountsources_go_containercomponent", + "community": 100, + "norm_label": "containercomponent" }, { - "label": "getCommandByKey()", + "label": "AnyMountSources()", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", + "source_file": "pkg/library/container/mountSources.go", "source_location": "L46", "_origin": "ast", - "community": 39, - "norm_label": "getcommandbykey()", - "id": "lifecycle_command_getcommandbykey" + "id": "container_mountsources_anymountsources", + "community": 100, + "norm_label": "anymountsources()" }, { - "label": "commandListToComponentKeys()", + "label": "Component", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L56", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L46", "_origin": "ast", - "community": 39, - "norm_label": "commandlisttocomponentkeys()", - "id": "lifecycle_command_commandlisttocomponentkeys" + "id": "pkg_library_container_mountsources_go_component", + "community": 100, + "norm_label": "component" }, { - "label": "removeCommandsByKeys()", + "label": "handleMountSources()", "file_type": "code", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L77", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "_origin": "ast", - "community": 39, - "norm_label": "removecommandsbykeys()", - "id": "lifecycle_command_removecommandsbykeys" + "id": "container_mountsources_handlemountsources", + "community": 100, + "norm_label": "handlemountsources()" }, { - "label": "common.go", + "label": "Container", "file_type": "code", - "source_file": "pkg/library/lifecycle/common.go", - "source_location": "L1", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "_origin": "ast", - "community": 39, - "norm_label": "common.go", - "id": "lifecycle_common" + "id": "pkg_library_container_mountsources_go_container", + "community": 100, + "norm_label": "container" }, { - "label": "listContains()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/lifecycle/common.go", - "source_location": "L18", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "_origin": "ast", - "community": 39, - "norm_label": "listcontains()", - "id": "lifecycle_common_listcontains" + "id": "pkg_library_container_mountsources_go_devworkspacetemplatespec", + "community": 100, + "norm_label": "devworkspacetemplatespec" }, { - "label": "poststart.go", + "label": "getProjectSourcePath()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L1", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L112", "_origin": "ast", - "community": 121, - "norm_label": "poststart.go", - "id": "lifecycle_poststart" + "id": "container_mountsources_getprojectsourcepath", + "community": 100, + "norm_label": "getprojectsourcepath()" }, { - "label": "AddPostStartLifecycleHooks()", + "label": "getProjectsVolumeMount()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L49", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L138", "_origin": "ast", - "community": 168, - "norm_label": "addpoststartlifecyclehooks()", - "id": "lifecycle_poststart_addpoststartlifecyclehooks" + "id": "container_mountsources_getprojectsvolumemount", + "community": 100, + "norm_label": "getprojectsvolumemount()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L49", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L138", "_origin": "ast", - "community": 168, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_lifecycle_poststart_go_devworkspacetemplatespec" + "id": "pkg_library_container_mountsources_go_volumemount", + "community": 100, + "norm_label": "volumemount" }, { - "label": "Container", + "label": "helper.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L49", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L1", "_origin": "ast", - "community": 168, - "norm_label": "container", - "id": "pkg_library_lifecycle_poststart_go_container" + "id": "defaults_helper", + "community": 149, + "norm_label": "helper.go" }, { - "label": "processCommandsForPostStart()", + "label": "ApplyDefaultTemplate()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L93", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L25", "_origin": "ast", - "community": 121, - "norm_label": "processcommandsforpoststart()", - "id": "lifecycle_poststart_processcommandsforpoststart" + "id": "defaults_helper_applydefaulttemplate", + "community": 149, + "norm_label": "applydefaulttemplate()" }, { - "label": "Command", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L93", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L25", "_origin": "ast", - "community": 121, - "norm_label": "command", - "id": "pkg_library_lifecycle_poststart_go_command" + "id": "pkg_library_defaults_helper_go_devworkspacewithconfig", + "community": 149, + "norm_label": "devworkspacewithconfig" }, { - "label": "LifecycleHandler", + "label": "NeedsDefaultTemplate()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L93", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L37", "_origin": "ast", - "community": 121, - "norm_label": "lifecyclehandler", - "id": "pkg_library_lifecycle_poststart_go_lifecyclehandler" + "id": "defaults_helper_needsdefaulttemplate", + "community": 149, + "norm_label": "needsdefaulttemplate()" }, { - "label": "processCommandsWithoutTimeoutFallback()", + "label": "common.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L136", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L1", "_origin": "ast", - "community": 121, - "norm_label": "processcommandswithouttimeoutfallback()", - "id": "lifecycle_poststart_processcommandswithouttimeoutfallback" + "id": "flatten_common", + "community": 109, + "norm_label": "common.go" }, { - "label": "buildUserScript()", + "label": "DevWorkspaceIsFlattened()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L182", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L20", "_origin": "ast", - "community": 121, - "norm_label": "builduserscript()", - "id": "lifecycle_poststart_builduserscript" + "id": "flatten_common_devworkspaceisflattened", + "community": 109, + "norm_label": "devworkspaceisflattened()" }, { - "label": "generateScriptWithTimeout()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L212", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L20", "_origin": "ast", - "community": 121, - "norm_label": "generatescriptwithtimeout()", - "id": "lifecycle_poststart_generatescriptwithtimeout" + "id": "pkg_library_flatten_common_go_devworkspacetemplatespec", + "community": 109, + "norm_label": "devworkspacetemplatespec" }, { - "label": "parsePostStartFailureDebugSleepDurationToSeconds()", + "label": "ComponentContribution", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L274", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L20", "_origin": "ast", - "community": 121, - "norm_label": "parsepoststartfailuredebugsleepdurationtoseconds()", - "id": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" + "id": "pkg_library_flatten_common_go_componentcontribution", + "community": 109, + "norm_label": "componentcontribution" }, { - "label": "Logger", + "label": "flatten.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L274", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L1", "_origin": "ast", - "community": 121, - "norm_label": "logger", - "id": "pkg_library_lifecycle_poststart_go_logger" + "id": "flatten_flatten", + "community": 23, + "norm_label": "flatten.go" }, { - "label": "poststart_test.go", + "label": "ResolverTools", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L47", "_origin": "ast", - "community": 64, - "norm_label": "poststart_test.go", - "id": "lifecycle_poststart_test" + "id": "flatten_resolvertools", + "community": 23, + "norm_label": "resolvertools" }, { - "label": "postStartTestCase", + "label": "Context", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L30", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L49", "_origin": "ast", - "community": 64, - "norm_label": "poststarttestcase", - "id": "lifecycle_poststarttestcase" + "id": "pkg_library_flatten_flatten_go_context", + "community": 23, + "norm_label": "context" }, { - "label": "postStartTestInput", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L32", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L50", "_origin": "ast", - "community": 64, - "norm_label": "poststarttestinput", - "id": "poststarttestinput" + "id": "pkg_library_flatten_flatten_go_client", + "community": 23, + "norm_label": "client" }, { - "label": "postStartTestOutput", + "label": "HTTPGetter", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L33", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L51", "_origin": "ast", - "community": 64, - "norm_label": "poststarttestoutput", - "id": "poststarttestoutput" + "id": "httpgetter", + "community": 23, + "norm_label": "httpgetter" }, { - "label": "postStartTestInput", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L37", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L52", "_origin": "ast", - "community": 64, - "norm_label": "poststarttestinput", - "id": "lifecycle_poststarttestinput" + "id": "pkg_library_flatten_flatten_go_resourcerequirements", + "community": 23, + "norm_label": "resourcerequirements" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "ResolveDevWorkspace()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L38", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "_origin": "ast", - "community": 64, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_lifecycle_poststart_test_go_devworkspacetemplatespec" + "id": "flatten_flatten_resolvedevworkspace", + "community": 23, + "norm_label": "resolvedevworkspace()" }, { - "label": "Container", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L40", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "_origin": "ast", - "community": 64, - "norm_label": "container", - "id": "pkg_library_lifecycle_poststart_test_go_container" + "id": "pkg_library_flatten_flatten_go_devworkspacetemplatespec", + "community": 23, + "norm_label": "devworkspacetemplatespec" }, { - "label": "postStartTestOutput", + "label": "ComponentContribution", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L43", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "_origin": "ast", - "community": 64, - "norm_label": "poststarttestoutput", - "id": "lifecycle_poststarttestoutput" + "id": "pkg_library_flatten_flatten_go_componentcontribution", + "community": 23, + "norm_label": "componentcontribution" }, { - "label": "loadPostStartTestCaseOrPanic()", + "label": "VariableWarning", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L48", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "_origin": "ast", - "community": 64, - "norm_label": "loadpoststarttestcaseorpanic()", - "id": "lifecycle_poststart_test_loadpoststarttestcaseorpanic" + "id": "variablewarning", + "community": 23, + "norm_label": "variablewarning" }, { - "label": "T", + "label": "recursiveResolve()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L48", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "_origin": "ast", - "community": 64, - "norm_label": "t", - "id": "pkg_library_lifecycle_poststart_test_go_t" + "id": "flatten_flatten_recursiveresolve", + "community": 23, + "norm_label": "recursiveresolve()" }, { - "label": "loadAllPostStartTestCasesOrPanic()", + "label": "resolutionContextTree", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L61", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "_origin": "ast", - "community": 64, - "norm_label": "loadallpoststarttestcasesorpanic()", - "id": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic" + "id": "resolutioncontexttree", + "community": 23, + "norm_label": "resolutioncontexttree" }, { - "label": "TestAddPostStartLifecycleHooks()", + "label": "resolveParentComponent()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L77", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L161", "_origin": "ast", - "community": 64, - "norm_label": "testaddpoststartlifecyclehooks()", - "id": "lifecycle_poststart_test_testaddpoststartlifecyclehooks" + "id": "flatten_flatten_resolveparentcomponent", + "community": 23, + "norm_label": "resolveparentcomponent()" }, { - "label": "TestBuildUserScript()", + "label": "Parent", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L95", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L161", "_origin": "ast", - "community": 64, - "norm_label": "testbuilduserscript()", - "id": "lifecycle_poststart_test_testbuilduserscript" + "id": "parent", + "community": 23, + "norm_label": "parent" }, { - "label": "TestGenerateScriptWithTimeout()", + "label": "resolvePluginComponent()", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L300", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L192", "_origin": "ast", - "community": 64, - "norm_label": "testgeneratescriptwithtimeout()", - "id": "lifecycle_poststart_test_testgeneratescriptwithtimeout" + "id": "flatten_flatten_resolveplugincomponent", + "community": 23, + "norm_label": "resolveplugincomponent()" }, { - "label": "TestParsePostStartFailureDebugSleepDurationToSeconds()", + "label": "PluginComponent", "file_type": "code", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L632", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L192", "_origin": "ast", - "community": 64, - "norm_label": "testparsepoststartfailuredebugsleepdurationtoseconds()", - "id": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds" + "id": "pkg_library_flatten_flatten_go_plugincomponent", + "community": 23, + "norm_label": "plugincomponent" }, { - "label": "prestart.go", + "label": "resolveElementByKubernetesImport()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L226", "_origin": "ast", - "community": 39, - "norm_label": "prestart.go", - "id": "lifecycle_prestart" + "id": "flatten_flatten_resolveelementbykubernetesimport", + "community": 23, + "norm_label": "resolveelementbykubernetesimport()" }, { - "label": "GetInitContainers()", + "label": "KubernetesCustomResourceImportReference", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L226", "_origin": "ast", - "community": 39, - "norm_label": "getinitcontainers()", - "id": "lifecycle_prestart_getinitcontainers" + "id": "kubernetescustomresourceimportreference", + "community": 23, + "norm_label": "kubernetescustomresourceimportreference" }, { - "label": "DevWorkspaceTemplateSpecContent", + "label": "resolveElementById()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L267", "_origin": "ast", - "community": 39, - "norm_label": "devworkspacetemplatespeccontent", - "id": "pkg_library_lifecycle_prestart_go_devworkspacetemplatespeccontent" + "id": "flatten_flatten_resolveelementbyid", + "community": 23, + "norm_label": "resolveelementbyid()" }, { - "label": "Component", + "label": "resolveElementByURI()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L298", "_origin": "ast", - "community": 39, - "norm_label": "component", - "id": "pkg_library_lifecycle_prestart_go_component" + "id": "flatten_flatten_resolveelementbyuri", + "community": 23, + "norm_label": "resolveelementbyuri()" }, { - "label": "setHomeInitContainerToFront()", + "label": "canImportDWT()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L84", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L317", "_origin": "ast", - "community": 39, - "norm_label": "sethomeinitcontainertofront()", - "id": "lifecycle_prestart_sethomeinitcontainertofront" + "id": "flatten_flatten_canimportdwt", + "community": 23, + "norm_label": "canimportdwt()" }, { - "label": "checkPreStartEventCommandsValidity()", + "label": "DevWorkspaceTemplate", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L94", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L317", "_origin": "ast", - "community": 39, - "norm_label": "checkprestarteventcommandsvalidity()", - "id": "lifecycle_prestart_checkprestarteventcommandsvalidity" + "id": "pkg_library_flatten_flatten_go_devworkspacetemplate", + "community": 23, + "norm_label": "devworkspacetemplate" }, { - "label": "Command", + "label": "FormatVariablesWarning()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L94", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L341", "_origin": "ast", - "community": 39, - "norm_label": "command", - "id": "pkg_library_lifecycle_prestart_go_command" + "id": "flatten_flatten_formatvariableswarning", + "community": 23, + "norm_label": "formatvariableswarning()" }, { - "label": "prestart_test.go", + "label": "flatten_test.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_file": "pkg/library/flatten/flatten_test.go", "source_location": "L1", "_origin": "ast", - "community": 122, - "norm_label": "prestart_test.go", - "id": "lifecycle_prestart_test" + "id": "flatten_flatten_test", + "community": 36, + "norm_label": "flatten_test.go" }, { - "label": "preStartTestCase", + "label": "TestResolveDevWorkspaceKubernetesReference()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L29", "_origin": "ast", - "community": 122, - "norm_label": "prestarttestcase", - "id": "lifecycle_prestarttestcase" + "id": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", + "community": 36, + "norm_label": "testresolvedevworkspacekubernetesreference()" }, { - "label": "DevWorkspaceTemplateSpecContent", + "label": "T", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L30", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L29", "_origin": "ast", - "community": 122, - "norm_label": "devworkspacetemplatespeccontent", - "id": "pkg_library_lifecycle_prestart_test_go_devworkspacetemplatespeccontent" + "id": "pkg_library_flatten_flatten_test_go_t", + "community": 36, + "norm_label": "t" }, { - "label": "preStartTestOutput", + "label": "TestResolveDevWorkspacePluginRegistry()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L31", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L51", "_origin": "ast", - "community": 122, - "norm_label": "prestarttestoutput", - "id": "prestarttestoutput" + "id": "flatten_flatten_test_testresolvedevworkspacepluginregistry", + "community": 36, + "norm_label": "testresolvedevworkspacepluginregistry()" }, { - "label": "preStartTestOutput", + "label": "TestResolveDevWorkspacePluginURI()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L34", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L74", "_origin": "ast", - "community": 122, - "norm_label": "prestarttestoutput", - "id": "lifecycle_prestarttestoutput" + "id": "flatten_flatten_test_testresolvedevworkspacepluginuri", + "community": 36, + "norm_label": "testresolvedevworkspacepluginuri()" }, { - "label": "Component", + "label": "TestResolveDevWorkspaceParents()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L35", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L97", "_origin": "ast", - "community": 122, - "norm_label": "component", - "id": "pkg_library_lifecycle_prestart_test_go_component" + "id": "flatten_flatten_test_testresolvedevworkspaceparents", + "community": 36, + "norm_label": "testresolvedevworkspaceparents()" }, { - "label": "loadPreStartTestCaseOrPanic()", + "label": "TestResolveDevWorkspaceMissingDefaults()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L40", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L120", "_origin": "ast", - "community": 122, - "norm_label": "loadprestarttestcaseorpanic()", - "id": "lifecycle_prestart_test_loadprestarttestcaseorpanic" + "id": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", + "community": 36, + "norm_label": "testresolvedevworkspacemissingdefaults()" }, { - "label": "T", + "label": "TestResolveDevWorkspaceAnnotations()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L40", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L146", "_origin": "ast", - "community": 122, - "norm_label": "t", - "id": "pkg_library_lifecycle_prestart_test_go_t" + "id": "flatten_flatten_test_testresolvedevworkspaceannotations", + "community": 36, + "norm_label": "testresolvedevworkspaceannotations()" }, { - "label": "TestGetInitContainers()", + "label": "TestResolveDevWorkspaceTemplateNamespaceRestriction()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L53", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L169", "_origin": "ast", - "community": 122, - "norm_label": "testgetinitcontainers()", - "id": "lifecycle_prestart_test_testgetinitcontainers" + "id": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", + "community": 36, + "norm_label": "testresolvedevworkspacetemplatenamespacerestriction()" }, { - "label": "prestop.go", + "label": "TestMergesDuplicateVolumeComponents()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L192", "_origin": "ast", - "community": 152, - "norm_label": "prestop.go", - "id": "lifecycle_prestop" + "id": "flatten_flatten_test_testmergesduplicatevolumecomponents", + "community": 36, + "norm_label": "testmergesduplicatevolumecomponents()" }, { - "label": "AddPreStopLifecycleHooks()", + "label": "TestMergeContainerContributions()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L29", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L215", "_origin": "ast", - "community": 152, - "norm_label": "addprestoplifecyclehooks()", - "id": "lifecycle_prestop_addprestoplifecyclehooks" + "id": "flatten_flatten_test_testmergecontainercontributions", + "community": 36, + "norm_label": "testmergecontainercontributions()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "TestMergeImplicitContainerContributions()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L29", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L238", "_origin": "ast", - "community": 152, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_lifecycle_prestop_go_devworkspacetemplatespec" + "id": "flatten_flatten_test_testmergeimplicitcontainercontributions", + "community": 36, + "norm_label": "testmergeimplicitcontainercontributions()" }, { - "label": "Container", + "label": "TestMergeSpecContributions()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L29", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L261", "_origin": "ast", - "community": 152, - "norm_label": "container", - "id": "pkg_library_lifecycle_prestop_go_container" + "id": "flatten_flatten_test_testmergespeccontributions", + "community": 36, + "norm_label": "testmergespeccontributions()" }, { - "label": "processCommandsForPreStop()", + "label": "TestMergeImplicitSpecContributions()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L82", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L282", "_origin": "ast", - "community": 152, - "norm_label": "processcommandsforprestop()", - "id": "lifecycle_prestop_processcommandsforprestop" + "id": "flatten_flatten_test_testmergeimplicitspeccontributions", + "community": 36, + "norm_label": "testmergeimplicitspeccontributions()" }, { - "label": "Command", + "label": "getTestingTools()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L82", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L303", "_origin": "ast", - "community": 152, - "norm_label": "command", - "id": "pkg_library_lifecycle_prestop_go_command" + "id": "flatten_flatten_test_gettestingtools", + "community": 36, + "norm_label": "gettestingtools()" }, { - "label": "LifecycleHandler", + "label": "TestInput", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L82", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L303", "_origin": "ast", - "community": 152, - "norm_label": "lifecyclehandler", - "id": "pkg_library_lifecycle_prestop_go_lifecyclehandler" + "id": "pkg_library_flatten_flatten_test_go_testinput", + "community": 36, + "norm_label": "testinput" }, { - "label": "prestop_test.go", + "label": "ResolverTools", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L303", "_origin": "ast", - "community": 93, - "norm_label": "prestop_test.go", - "id": "lifecycle_prestop_test" + "id": "resolvertools", + "community": 36, + "norm_label": "resolvertools" }, { - "label": "preStopTestCase", + "label": "helper.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L1", "_origin": "ast", - "community": 93, - "norm_label": "prestoptestcase", - "id": "lifecycle_prestoptestcase" + "id": "flatten_helper", + "community": 150, + "norm_label": "helper.go" }, { - "label": "preStopTestInput", + "label": "resolutionContextTree", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L30", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L27", "_origin": "ast", - "community": 93, - "norm_label": "prestoptestinput", - "id": "prestoptestinput" + "id": "flatten_resolutioncontexttree", + "community": 150, + "norm_label": "resolutioncontexttree" }, { - "label": "preStopTestOutput", + "label": "ImportReference", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L31", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L29", "_origin": "ast", - "community": 93, - "norm_label": "prestoptestoutput", - "id": "prestoptestoutput" + "id": "importreference", + "community": 150, + "norm_label": "importreference" }, { - "label": "preStopTestInput", + "label": ".addPlugin()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L35", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L34", "_origin": "ast", - "community": 93, - "norm_label": "prestoptestinput", - "id": "lifecycle_prestoptestinput" + "id": "flatten_resolutioncontexttree_addplugin", + "community": 150, + "norm_label": ".addplugin()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "PluginComponent", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L36", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L34", "_origin": "ast", - "community": 93, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_lifecycle_prestop_test_go_devworkspacetemplatespec" + "id": "pkg_library_flatten_helper_go_plugincomponent", + "community": 150, + "norm_label": "plugincomponent" }, { - "label": "Container", + "label": ".hasCycle()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L37", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L44", "_origin": "ast", - "community": 93, - "norm_label": "container", - "id": "pkg_library_lifecycle_prestop_test_go_container" + "id": "flatten_resolutioncontexttree_hascycle", + "community": 150, + "norm_label": ".hascycle()" }, { - "label": "preStopTestOutput", + "label": "formatImportCycle()", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L40", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L59", "_origin": "ast", - "community": 93, - "norm_label": "prestoptestoutput", - "id": "lifecycle_prestoptestoutput" + "id": "flatten_helper_formatimportcycle", + "community": 150, + "norm_label": "formatimportcycle()" }, { - "label": "loadPreStopTestCaseOrPanic()", + "label": "common.go", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L45", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L1", "_origin": "ast", - "community": 93, - "norm_label": "loadprestoptestcaseorpanic()", - "id": "lifecycle_prestop_test_loadprestoptestcaseorpanic" + "id": "testutil_common", + "community": 71, + "norm_label": "common.go" }, { - "label": "T", + "label": "TestCase", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L45", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L53", "_origin": "ast", - "community": 93, - "norm_label": "t", - "id": "pkg_library_lifecycle_prestop_test_go_t" + "id": "testutil_testcase", + "community": 71, + "norm_label": "testcase" }, { - "label": "loadAllPreStopTestCasesOrPanic()", + "label": "TestInput", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L58", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L55", "_origin": "ast", - "community": 93, - "norm_label": "loadallprestoptestcasesorpanic()", - "id": "lifecycle_prestop_test_loadallprestoptestcasesorpanic" + "id": "pkg_library_flatten_internal_testutil_common_go_testinput", + "community": 71, + "norm_label": "testinput" }, { - "label": "TestAddPreStopLifecycleHooks()", + "label": "TestOutput", "file_type": "code", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L74", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L56", "_origin": "ast", - "community": 93, - "norm_label": "testaddprestoplifecyclehooks()", - "id": "lifecycle_prestop_test_testaddprestoplifecyclehooks" + "id": "pkg_library_flatten_internal_testutil_common_go_testoutput", + "community": 71, + "norm_label": "testoutput" }, { - "label": "util.go", + "label": "TestInput", "file_type": "code", - "source_file": "pkg/library/lifecycle/util.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L60", "_origin": "ast", - "community": 168, - "norm_label": "util.go", - "id": "lifecycle_util" + "id": "testutil_testinput", + "community": 71, + "norm_label": "testinput" }, { - "label": "getContainerWithName()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/lifecycle/util.go", - "source_location": "L22", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L62", "_origin": "ast", - "community": 168, - "norm_label": "getcontainerwithname()", - "id": "lifecycle_util_getcontainerwithname" + "id": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplatespec", + "community": 71, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Container", + "label": "ComponentContribution", "file_type": "code", - "source_file": "pkg/library/lifecycle/util.go", - "source_location": "L22", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L64", "_origin": "ast", - "community": 168, - "norm_label": "container", - "id": "pkg_library_lifecycle_util_go_container" + "id": "pkg_library_flatten_internal_testutil_common_go_componentcontribution", + "community": 71, + "norm_label": "componentcontribution" }, { - "label": "containers.go", + "label": "DevWorkspaceTemplate", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L66", "_origin": "ast", - "community": 6, - "norm_label": "containers.go", - "id": "overrides_containers" + "id": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplate", + "community": 71, + "norm_label": "devworkspacetemplate" }, { - "label": "NeedsContainerOverride()", + "label": "Devfile", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L38", - "_origin": "ast", - "community": 6, - "norm_label": "needscontaineroverride()", - "id": "overrides_containers_needscontaineroverride" + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L68", + "_origin": "ast", + "id": "pkg_library_flatten_internal_testutil_common_go_devfile", + "community": 71, + "norm_label": "devfile" }, { - "label": "Component", + "label": "TestPluginError", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L38", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L70", "_origin": "ast", - "community": 6, - "norm_label": "component", - "id": "pkg_library_overrides_containers_go_component" + "id": "pkg_library_flatten_internal_testutil_common_go_testpluginerror", + "community": 71, + "norm_label": "testpluginerror" }, { - "label": "ApplyContainerOverrides()", + "label": "TestPluginError", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L42", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L73", "_origin": "ast", - "community": 6, - "norm_label": "applycontaineroverrides()", - "id": "overrides_containers_applycontaineroverrides" + "id": "testutil_testpluginerror", + "community": 71, + "norm_label": "testpluginerror" }, { - "label": "Container", + "label": "TestOutput", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L42", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L82", "_origin": "ast", - "community": 6, - "norm_label": "container", - "id": "pkg_library_overrides_containers_go_container" + "id": "testutil_testoutput", + "community": 71, + "norm_label": "testoutput" }, { - "label": "restrictContainerOverride()", + "label": "LoadTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L78", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L87", "_origin": "ast", - "community": 6, - "norm_label": "restrictcontaineroverride()", - "id": "overrides_containers_restrictcontaineroverride" + "id": "testutil_common_loadtestcaseorpanic", + "community": 71, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "handleDefaultedContainerFields()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L107", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L87", "_origin": "ast", - "community": 6, - "norm_label": "handledefaultedcontainerfields()", - "id": "overrides_containers_handledefaultedcontainerfields" + "id": "pkg_library_flatten_internal_testutil_common_go_t", + "community": 71, + "norm_label": "t" }, { - "label": "containers_test.go", + "label": "LoadAllTestsOrPanic()", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L100", "_origin": "ast", - "community": 6, - "norm_label": "containers_test.go", - "id": "overrides_containers_test" + "id": "testutil_common_loadalltestsorpanic", + "community": 36, + "norm_label": "loadalltestsorpanic()" }, { - "label": "TestApplyContainerOverrides()", + "label": "http.go", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L34", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L1", "_origin": "ast", - "community": 6, - "norm_label": "testapplycontaineroverrides()", - "id": "overrides_containers_test_testapplycontaineroverrides" + "id": "pkg_library_flatten_internal_testutil_http_go_testutil_http", + "community": 115, + "norm_label": "http.go" }, { - "label": "T", + "label": "FakeHTTPGetter", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L34", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L31", "_origin": "ast", - "community": 6, - "norm_label": "t", - "id": "pkg_library_overrides_containers_test_go_t" + "id": "testutil_fakehttpgetter", + "community": 115, + "norm_label": "fakehttpgetter" }, { - "label": "TestRestrictContainerOverride()", + "label": "Devfile", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L53", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L32", "_origin": "ast", - "community": 6, - "norm_label": "testrestrictcontaineroverride()", - "id": "overrides_containers_test_testrestrictcontaineroverride" + "id": "pkg_library_flatten_internal_testutil_http_go_devfile", + "community": 115, + "norm_label": "devfile" }, { - "label": "TestApplyContainerOverridesStripsUnknownFields()", + "label": "DevWorkspaceTemplate", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L116", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L33", "_origin": "ast", - "community": 6, - "norm_label": "testapplycontaineroverridesstripsunknownfields()", - "id": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields" + "id": "pkg_library_flatten_internal_testutil_http_go_devworkspacetemplate", + "community": 115, + "norm_label": "devworkspacetemplate" }, { - "label": "containerTestCase", + "label": "TestPluginError", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L145", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L34", "_origin": "ast", - "community": 6, - "norm_label": "containertestcase", - "id": "overrides_containertestcase" + "id": "pkg_library_flatten_internal_testutil_http_go_testpluginerror", + "community": 115, + "norm_label": "testpluginerror" }, { - "label": "containerTestInput", + "label": "fakeRespBody", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L147", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L39", "_origin": "ast", - "community": 6, - "norm_label": "containertestinput", - "id": "containertestinput" + "id": "testutil_fakerespbody", + "community": 115, + "norm_label": "fakerespbody" }, { - "label": "containerTestOutput", + "label": "Reader", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L148", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L40", "_origin": "ast", - "community": 6, - "norm_label": "containertestoutput", - "id": "containertestoutput" + "id": "reader", + "community": 115, + "norm_label": "reader" }, { - "label": "containerTestInput", + "label": ".Close()", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L152", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L43", "_origin": "ast", - "community": 6, - "norm_label": "containertestinput", - "id": "overrides_containertestinput" + "id": "testutil_fakerespbody_close", + "community": 115, + "norm_label": ".close()" }, { - "label": "Component", + "label": ".Get()", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L153", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L45", "_origin": "ast", - "community": 6, - "norm_label": "component", - "id": "pkg_library_overrides_containers_test_go_component" + "id": "testutil_fakehttpgetter_get", + "community": 115, + "norm_label": ".get()" }, { - "label": "Container", + "label": "Response", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L154", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L45", "_origin": "ast", - "community": 6, - "norm_label": "container", - "id": "pkg_library_overrides_containers_test_go_container" + "id": "pkg_library_flatten_internal_testutil_http_go_response", + "community": 115, + "norm_label": "response" }, { - "label": "containerTestOutput", + "label": "k8sClient.go", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L157", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L1", "_origin": "ast", - "community": 6, - "norm_label": "containertestoutput", - "id": "overrides_containertestoutput" + "id": "testutil_k8sclient", + "community": 123, + "norm_label": "k8sclient.go" }, { - "label": "loadAllContainerTestCasesOrPanic()", + "label": "FakeK8sClient", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L162", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L29", "_origin": "ast", - "community": 6, - "norm_label": "loadallcontainertestcasesorpanic()", - "id": "overrides_containers_test_loadallcontainertestcasesorpanic" + "id": "testutil_fakek8sclient", + "community": 123, + "norm_label": "fakek8sclient" }, { - "label": "loadContainerTestCaseOrPanic()", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L178", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L30", "_origin": "ast", - "community": 6, - "norm_label": "loadcontainertestcaseorpanic()", - "id": "overrides_containers_test_loadcontainertestcaseorpanic" + "id": "pkg_library_flatten_internal_testutil_k8sclient_go_client", + "community": 123, + "norm_label": "client" }, { - "label": "pods.go", + "label": "DevWorkspaceTemplate", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L31", "_origin": "ast", - "community": 0, - "norm_label": "pods.go", - "id": "overrides_pods" + "id": "pkg_library_flatten_internal_testutil_k8sclient_go_devworkspacetemplate", + "community": 123, + "norm_label": "devworkspacetemplate" }, { - "label": "NeedsPodOverrides()", + "label": "TestPluginError", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L33", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L32", "_origin": "ast", - "community": 0, - "norm_label": "needspodoverrides()", - "id": "overrides_pods_needspodoverrides" + "id": "pkg_library_flatten_internal_testutil_k8sclient_go_testpluginerror", + "community": 123, + "norm_label": "testpluginerror" }, { - "label": "DevWorkspaceWithConfig", + "label": ".Get()", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L33", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "_origin": "ast", - "community": 0, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_overrides_pods_go_devworkspacewithconfig" + "id": "testutil_fakek8sclient_get", + "community": 123, + "norm_label": ".get()" }, { - "label": "ApplyPodOverrides()", + "label": "Context", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L45", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "_origin": "ast", - "community": 0, - "norm_label": "applypodoverrides()", - "id": "overrides_pods_applypodoverrides" + "id": "pkg_library_flatten_internal_testutil_k8sclient_go_context", + "community": 123, + "norm_label": "context" }, { - "label": "Deployment", + "label": "ObjectKey", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L45", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "_origin": "ast", - "community": 0, - "norm_label": "deployment", - "id": "pkg_library_overrides_pods_go_deployment" + "id": "pkg_library_flatten_internal_testutil_k8sclient_go_objectkey", + "community": 123, + "norm_label": "objectkey" }, { - "label": "GetVolumesFromOverrides()", + "label": "Object", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L79", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "_origin": "ast", - "community": 0, - "norm_label": "getvolumesfromoverrides()", - "id": "overrides_pods_getvolumesfromoverrides" + "id": "pkg_library_flatten_internal_testutil_k8sclient_go_object", + "community": 123, + "norm_label": "object" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "merge.go", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L79", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_overrides_pods_go_devworkspacetemplatespec" + "id": "flatten_merge", + "community": 91, + "norm_label": "merge.go" }, { - "label": "getPodOverrides()", + "label": "mergeDevWorkspaceElements()", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L106", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L36", "_origin": "ast", - "community": 0, - "norm_label": "getpodoverrides()", - "id": "overrides_pods_getpodoverrides" + "id": "flatten_merge_mergedevworkspaceelements", + "community": 91, + "norm_label": "mergedevworkspaceelements()" }, { - "label": "JSON", + "label": "DevWorkspaceTemplateSpecContent", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L106", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L36", "_origin": "ast", - "community": 0, - "norm_label": "json", - "id": "json" + "id": "pkg_library_flatten_merge_go_devworkspacetemplatespeccontent", + "community": 91, + "norm_label": "devworkspacetemplatespeccontent" }, { - "label": "restrictPodOverride()", + "label": "mergeVolumeComponents()", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L138", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L55", "_origin": "ast", - "community": 0, - "norm_label": "restrictpodoverride()", - "id": "overrides_pods_restrictpodoverride" + "id": "flatten_merge_mergevolumecomponents", + "community": 91, + "norm_label": "mergevolumecomponents()" }, { - "label": "PodSpec", + "label": "mergeVolume()", "file_type": "code", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L138", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L99", "_origin": "ast", - "community": 0, - "norm_label": "podspec", - "id": "pkg_library_overrides_pods_go_podspec" + "id": "flatten_merge_mergevolume", + "community": 91, + "norm_label": "mergevolume()" }, { - "label": "pods_test.go", + "label": "VolumeComponent", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L99", "_origin": "ast", - "community": 0, - "norm_label": "pods_test.go", - "id": "overrides_pods_test" + "id": "pkg_library_flatten_merge_go_volumecomponent", + "community": 91, + "norm_label": "volumecomponent" }, { - "label": "TestApplyPodOverrides()", + "label": "needsContainerContributionMerge()", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L36", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L138", "_origin": "ast", - "community": 0, - "norm_label": "testapplypodoverrides()", - "id": "overrides_pods_test_testapplypodoverrides" + "id": "flatten_merge_needscontainercontributionmerge", + "community": 91, + "norm_label": "needscontainercontributionmerge()" }, { - "label": "T", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L36", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L138", "_origin": "ast", - "community": 0, - "norm_label": "t", - "id": "pkg_library_overrides_pods_test_go_t" + "id": "pkg_library_flatten_merge_go_devworkspacetemplatespec", + "community": 91, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestNeedsPodOverride()", + "label": "mergeContainerContributions()", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L60", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L178", "_origin": "ast", - "community": 0, - "norm_label": "testneedspodoverride()", - "id": "overrides_pods_test_testneedspodoverride" + "id": "flatten_merge_mergecontainercontributions", + "community": 91, + "norm_label": "mergecontainercontributions()" }, { - "label": "TestRestrictPodOverride()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", + "source_file": "pkg/library/flatten/merge.go", "source_location": "L178", "_origin": "ast", - "community": 0, - "norm_label": "testrestrictpodoverride()", - "id": "overrides_pods_test_testrestrictpodoverride" + "id": "pkg_library_flatten_merge_go_resourcerequirements", + "community": 91, + "norm_label": "resourcerequirements" }, { - "label": "TestApplyPodOverridesStripsUnknownFields()", + "label": "findMergeTarget()", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L217", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L236", "_origin": "ast", - "community": 0, - "norm_label": "testapplypodoverridesstripsunknownfields()", - "id": "overrides_pods_test_testapplypodoverridesstripsunknownfields" + "id": "flatten_merge_findmergetarget", + "community": 91, + "norm_label": "findmergetarget()" }, { - "label": "podTestCase", + "label": "mergeContributionsInto()", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L254", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L272", "_origin": "ast", - "community": 0, - "norm_label": "podtestcase", - "id": "overrides_podtestcase" + "id": "flatten_merge_mergecontributionsinto", + "community": 91, + "norm_label": "mergecontributionsinto()" }, { - "label": "podTestInput", + "label": "Component", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L256", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L272", "_origin": "ast", - "community": 0, - "norm_label": "podtestinput", - "id": "podtestinput" + "id": "pkg_library_flatten_merge_go_component", + "community": 91, + "norm_label": "component" }, { - "label": "podTestOutput", + "label": "updateCommandTargetsAfterMerge()", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L257", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L350", "_origin": "ast", - "community": 0, - "norm_label": "podtestoutput", - "id": "podtestoutput" + "id": "flatten_merge_updatecommandtargetsaftermerge", + "community": 91, + "norm_label": "updatecommandtargetsaftermerge()" }, { - "label": "podTestInput", + "label": "devfile.go", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L261", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "podtestinput", - "id": "overrides_podtestinput" + "id": "network_devfile", + "community": 136, + "norm_label": "devfile.go" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "ConvertDevfileToDevWorkspaceTemplate()", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L262", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L27", "_origin": "ast", - "community": 0, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_overrides_pods_test_go_devworkspacetemplatespec" + "id": "network_devfile_convertdevfiletodevworkspacetemplate", + "community": 136, + "norm_label": "convertdevfiletodevworkspacetemplate()" }, { - "label": "PodTemplateSpec", + "label": "Devfile", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L263", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L27", "_origin": "ast", - "community": 0, - "norm_label": "podtemplatespec", - "id": "podtemplatespec" + "id": "pkg_library_flatten_network_devfile_go_devfile", + "community": 136, + "norm_label": "devfile" }, { - "label": "podTestOutput", + "label": "DevWorkspaceTemplate", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L266", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L27", "_origin": "ast", - "community": 0, - "norm_label": "podtestoutput", - "id": "overrides_podtestoutput" + "id": "pkg_library_flatten_network_devfile_go_devworkspacetemplate", + "community": 136, + "norm_label": "devworkspacetemplate" }, { - "label": "loadAllPodTestCasesOrPanic()", + "label": "fetch.go", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L271", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "loadallpodtestcasesorpanic()", - "id": "overrides_pods_test_loadallpodtestcasesorpanic" + "id": "network_fetch", + "community": 136, + "norm_label": "fetch.go" }, { - "label": "loadPodTestCaseOrPanic()", + "label": "HTTPGetter", "file_type": "code", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L287", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L27", "_origin": "ast", - "community": 0, - "norm_label": "loadpodtestcaseorpanic()", - "id": "overrides_pods_test_loadpodtestcaseorpanic" + "id": "network_httpgetter", + "community": 136, + "norm_label": "httpgetter" }, { - "label": "container_restrictions.go", + "label": "FetchDevWorkspaceTemplate()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L1", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L31", "_origin": "ast", - "community": 6, - "norm_label": "container_restrictions.go", - "id": "restrictions_container_restrictions" + "id": "network_fetch_fetchdevworkspacetemplate", + "community": 136, + "norm_label": "fetchdevworkspacetemplate()" }, { - "label": "getContainerRestrictionErr()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L23", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L31", "_origin": "ast", - "community": 6, - "norm_label": "getcontainerrestrictionerr()", - "id": "restrictions_container_restrictions_getcontainerrestrictionerr" + "id": "pkg_library_flatten_network_fetch_go_devworkspacetemplatespec", + "community": 136, + "norm_label": "devworkspacetemplatespec" }, { - "label": "RestrictContainer()", + "label": "custom_init_test.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L27", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L1", "_origin": "ast", - "community": 6, - "norm_label": "restrictcontainer()", - "id": "restrictions_container_restrictions_restrictcontainer" + "id": "home_custom_init_test", + "community": 313, + "norm_label": "custom_init_test.go" }, { - "label": "Container", + "label": "TestCustomInitPersistentHome()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L27", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L31", "_origin": "ast", - "community": 6, - "norm_label": "container", - "id": "pkg_library_overrides_restrictions_container_restrictions_go_container" + "id": "home_custom_init_test_testcustominitpersistenthome", + "community": 313, + "norm_label": "testcustominitpersistenthome()" }, { - "label": "checkContainer()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L50", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L31", "_origin": "ast", - "community": 6, - "norm_label": "checkcontainer()", - "id": "restrictions_container_restrictions_checkcontainer" + "id": "pkg_library_home_custom_init_test_go_t", + "community": 313, + "norm_label": "t" }, { - "label": "FieldRestriction", + "label": "TestInferWorkspaceImage()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L50", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L222", "_origin": "ast", - "community": 6, - "norm_label": "fieldrestriction", - "id": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "id": "home_custom_init_test_testinferworkspaceimage", + "community": 313, + "norm_label": "testinferworkspaceimage()" }, { - "label": "checkEnvsFrom()", + "label": "persistentHome.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L134", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L1", "_origin": "ast", - "community": 6, - "norm_label": "checkenvsfrom()", - "id": "restrictions_container_restrictions_checkenvsfrom" + "id": "home_persistenthome", + "community": 8, + "norm_label": "persistenthome.go" }, { - "label": "EnvFromSource", + "label": "AddPersistentHomeVolume()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L134", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L52", "_origin": "ast", - "community": 6, - "norm_label": "envfromsource", - "id": "pkg_library_overrides_restrictions_container_restrictions_go_envfromsource" + "id": "home_persistenthome_addpersistenthomevolume", + "community": 8, + "norm_label": "addpersistenthomevolume()" }, { - "label": "checkEnvFrom()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L150", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L52", "_origin": "ast", - "community": 6, - "norm_label": "checkenvfrom()", - "id": "restrictions_container_restrictions_checkenvfrom" + "id": "pkg_library_home_persistenthome_go_devworkspacewithconfig", + "community": 8, + "norm_label": "devworkspacewithconfig" }, { - "label": "checkConfigMapRef()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L175", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L52", "_origin": "ast", - "community": 6, - "norm_label": "checkconfigmapref()", - "id": "restrictions_container_restrictions_checkconfigmapref" + "id": "pkg_library_home_persistenthome_go_devworkspacetemplatespec", + "community": 8, + "norm_label": "devworkspacetemplatespec" }, { - "label": "ConfigMapEnvSource", + "label": "NeedsPersistentHomeDirectory()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L175", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L94", "_origin": "ast", - "community": 6, - "norm_label": "configmapenvsource", - "id": "configmapenvsource" + "id": "home_persistenthome_needspersistenthomedirectory", + "community": 8, + "norm_label": "needspersistenthomedirectory()" }, { - "label": "checkSecretRef()", + "label": "PersistUserHomeEnabled()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L187", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L127", "_origin": "ast", - "community": 6, - "norm_label": "checksecretref()", - "id": "restrictions_container_restrictions_checksecretref" + "id": "home_persistenthome_persistuserhomeenabled", + "community": 8, + "norm_label": "persistuserhomeenabled()" }, { - "label": "SecretEnvSource", + "label": "hasInitPersistentHomeInConfig()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L187", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L131", "_origin": "ast", - "community": 6, - "norm_label": "secretenvsource", - "id": "secretenvsource" + "id": "home_persistenthome_hasinitpersistenthomeinconfig", + "community": 8, + "norm_label": "hasinitpersistenthomeinconfig()" }, { - "label": "checkVolumeMounts()", + "label": "addInitContainer()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L199", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L145", "_origin": "ast", - "community": 6, - "norm_label": "checkvolumemounts()", - "id": "restrictions_container_restrictions_checkvolumemounts" + "id": "home_persistenthome_addinitcontainer", + "community": 8, + "norm_label": "addinitcontainer()" }, { - "label": "VolumeMount", + "label": "initComponentExists()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L199", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L188", "_origin": "ast", - "community": 6, - "norm_label": "volumemount", - "id": "pkg_library_overrides_restrictions_container_restrictions_go_volumemount" + "id": "home_persistenthome_initcomponentexists", + "community": 8, + "norm_label": "initcomponentexists()" }, { - "label": "checkVolumeMount()", + "label": "initCommandExists()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L213", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L201", "_origin": "ast", - "community": 6, - "norm_label": "checkvolumemount()", - "id": "restrictions_container_restrictions_checkvolumemount" + "id": "home_persistenthome_initcommandexists", + "community": 8, + "norm_label": "initcommandexists()" }, { - "label": "checkVolumeDevices()", + "label": "initEventExists()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L234", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L213", "_origin": "ast", - "community": 6, - "norm_label": "checkvolumedevices()", - "id": "restrictions_container_restrictions_checkvolumedevices" + "id": "home_persistenthome_initeventexists", + "community": 8, + "norm_label": "initeventexists()" }, { - "label": "VolumeDevice", + "label": "addInitContainerComponent()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L234", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L226", "_origin": "ast", - "community": 6, - "norm_label": "volumedevice", - "id": "volumedevice" + "id": "home_persistenthome_addinitcontainercomponent", + "community": 8, + "norm_label": "addinitcontainercomponent()" }, { - "label": "checkVolumeDevice()", + "label": "Container", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L248", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L226", "_origin": "ast", - "community": 6, - "norm_label": "checkvolumedevice()", - "id": "restrictions_container_restrictions_checkvolumedevice" + "id": "pkg_library_home_persistenthome_go_container", + "community": 8, + "norm_label": "container" }, { - "label": "checkContainerSecurityContext()", + "label": "inferInitContainer()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L259", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L238", "_origin": "ast", - "community": 6, - "norm_label": "checkcontainersecuritycontext()", - "id": "restrictions_container_restrictions_checkcontainersecuritycontext" + "id": "home_persistenthome_inferinitcontainer", + "community": 8, + "norm_label": "inferinitcontainer()" }, { - "label": "SecurityContext", + "label": "EnsureHomeInitContainerFields()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L259", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L252", "_origin": "ast", - "community": 6, - "norm_label": "securitycontext", - "id": "pkg_library_overrides_restrictions_container_restrictions_go_securitycontext" + "id": "home_persistenthome_ensurehomeinitcontainerfields", + "community": 8, + "norm_label": "ensurehomeinitcontainerfields()" }, { - "label": "checkCapabilities()", + "label": "persistentHome_test.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L311", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L1", "_origin": "ast", - "community": 6, - "norm_label": "checkcapabilities()", - "id": "restrictions_container_restrictions_checkcapabilities" + "id": "home_persistenthome_test", + "community": 276, + "norm_label": "persistenthome_test.go" }, { - "label": "Capabilities", + "label": "testCase", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L311", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L32", "_origin": "ast", - "community": 6, - "norm_label": "capabilities", - "id": "capabilities" + "id": "home_testcase", + "community": 276, + "norm_label": "testcase" }, { - "label": "container_restrictions_test.go", + "label": "testInput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L1", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L34", "_origin": "ast", - "community": 6, - "norm_label": "container_restrictions_test.go", - "id": "restrictions_container_restrictions_test" + "id": "pkg_library_home_persistenthome_test_go_testinput", + "community": 276, + "norm_label": "testinput" }, { - "label": "TestRestrictContainer()", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L35", "_origin": "ast", - "community": 6, - "norm_label": "testrestrictcontainer()", - "id": "restrictions_container_restrictions_test_testrestrictcontainer" + "id": "pkg_library_home_persistenthome_test_go_testoutput", + "community": 276, + "norm_label": "testoutput" }, { - "label": "T", + "label": "testInput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L38", "_origin": "ast", - "community": 6, - "norm_label": "t", - "id": "pkg_library_overrides_restrictions_container_restrictions_test_go_t" + "id": "home_testinput", + "community": 276, + "norm_label": "testinput" }, { - "label": "pod_restrictions.go", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L1", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L40", "_origin": "ast", - "community": 5, - "norm_label": "pod_restrictions.go", - "id": "restrictions_pod_restrictions" + "id": "pkg_library_home_persistenthome_test_go_devworkspacetemplatespec", + "community": 276, + "norm_label": "devworkspacetemplatespec" }, { - "label": "getPodRestrictionErr()", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L23", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L41", "_origin": "ast", - "community": 5, - "norm_label": "getpodrestrictionerr()", - "id": "restrictions_pod_restrictions_getpodrestrictionerr" + "id": "pkg_library_home_persistenthome_test_go_operatorconfiguration", + "community": 276, + "norm_label": "operatorconfiguration" }, { - "label": "RestrictPod()", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L27", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L44", "_origin": "ast", - "community": 5, - "norm_label": "restrictpod()", - "id": "restrictions_pod_restrictions_restrictpod" + "id": "home_testoutput", + "community": 276, + "norm_label": "testoutput" }, { - "label": "PodSpec", + "label": "loadTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L27", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L49", "_origin": "ast", - "community": 5, - "norm_label": "podspec", - "id": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" + "id": "home_persistenthome_test_loadtestcaseorpanic", + "community": 276, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "RestrictPodAndContainers()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L50", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L49", "_origin": "ast", - "community": 5, - "norm_label": "restrictpodandcontainers()", - "id": "restrictions_pod_restrictions_restrictpodandcontainers" + "id": "pkg_library_home_persistenthome_test_go_t", + "community": 276, + "norm_label": "t" }, { - "label": "checkPodField()", + "label": "loadAllTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L74", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L61", "_origin": "ast", - "community": 5, - "norm_label": "checkpodfield()", - "id": "restrictions_pod_restrictions_checkpodfield" + "id": "home_persistenthome_test_loadalltestcasesorpanic", + "community": 276, + "norm_label": "loadalltestcasesorpanic()" }, { - "label": "FieldRestriction", + "label": "getDevWorkspaceWithConfig()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L74", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L76", "_origin": "ast", - "community": 5, - "norm_label": "fieldrestriction", - "id": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "id": "home_persistenthome_test_getdevworkspacewithconfig", + "community": 276, + "norm_label": "getdevworkspacewithconfig()" }, { - "label": "checkVolumes()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L214", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L76", "_origin": "ast", - "community": 5, - "norm_label": "checkvolumes()", - "id": "restrictions_pod_restrictions_checkvolumes" + "id": "pkg_library_home_persistenthome_test_go_devworkspacewithconfig", + "community": 276, + "norm_label": "devworkspacewithconfig" }, { - "label": "Volume", + "label": "TestPersistentHomeVolume()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L214", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L87", "_origin": "ast", - "community": 5, - "norm_label": "volume", - "id": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" + "id": "home_persistenthome_test_testpersistenthomevolume", + "community": 276, + "norm_label": "testpersistenthomevolume()" }, { - "label": "checkVolume()", + "label": "util.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L228", + "source_file": "pkg/library/home/util.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "checkvolume()", - "id": "restrictions_pod_restrictions_checkvolume" + "id": "home_util", + "community": 313, + "norm_label": "util.go" }, { - "label": "checkPodSecurityContext()", + "label": "InferWorkspaceImage()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L242", + "source_file": "pkg/library/home/util.go", + "source_location": "L27", "_origin": "ast", - "community": 5, - "norm_label": "checkpodsecuritycontext()", - "id": "restrictions_pod_restrictions_checkpodsecuritycontext" + "id": "home_util_inferworkspaceimage", + "community": 313, + "norm_label": "inferworkspaceimage()" }, { - "label": "PodSecurityContext", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L242", + "source_file": "pkg/library/home/util.go", + "source_location": "L27", "_origin": "ast", - "community": 5, - "norm_label": "podsecuritycontext", - "id": "pkg_library_overrides_restrictions_pod_restrictions_go_podsecuritycontext" + "id": "pkg_library_home_util_go_devworkspacetemplatespec", + "community": 313, + "norm_label": "devworkspacetemplatespec" }, { - "label": "checkSysctls()", + "label": "merge.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L285", + "source_file": "pkg/library/initcontainers/merge.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "checksysctls()", - "id": "restrictions_pod_restrictions_checksysctls" + "id": "initcontainers_merge", + "community": 167, + "norm_label": "merge.go" }, { - "label": "Sysctl", + "label": "MergeInitContainers()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L285", + "source_file": "pkg/library/initcontainers/merge.go", + "source_location": "L30", "_origin": "ast", - "community": 5, - "norm_label": "sysctl", - "id": "sysctl" + "id": "initcontainers_merge_mergeinitcontainers", + "community": 167, + "norm_label": "mergeinitcontainers()" }, { - "label": "checkSupplementalGroups()", + "label": "Container", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L305", + "source_file": "pkg/library/initcontainers/merge.go", + "source_location": "L30", "_origin": "ast", - "community": 5, - "norm_label": "checksupplementalgroups()", - "id": "restrictions_pod_restrictions_checksupplementalgroups" + "id": "pkg_library_initcontainers_merge_go_container", + "community": 167, + "norm_label": "container" }, { - "label": "checkResourceClaims()", + "label": "merge_test.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L325", + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "checkresourceclaims()", - "id": "restrictions_pod_restrictions_checkresourceclaims" + "id": "initcontainers_merge_test", + "community": 167, + "norm_label": "merge_test.go" }, { - "label": "PodResourceClaim", + "label": "TestMergeInitContainers()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L325", + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L25", "_origin": "ast", - "community": 5, - "norm_label": "podresourceclaim", - "id": "podresourceclaim" + "id": "initcontainers_merge_test_testmergeinitcontainers", + "community": 167, + "norm_label": "testmergeinitcontainers()" }, { - "label": "checkResourceClaim()", + "label": "T", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L339", + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L25", "_origin": "ast", - "community": 5, - "norm_label": "checkresourceclaim()", - "id": "restrictions_pod_restrictions_checkresourceclaim" + "id": "pkg_library_initcontainers_merge_test_go_t", + "community": 167, + "norm_label": "t" }, { - "label": "checkImagePullSecrets()", + "label": "common_test.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L352", + "source_file": "pkg/library/kubernetes/common_test.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "checkimagepullsecrets()", - "id": "restrictions_pod_restrictions_checkimagepullsecrets" + "id": "kubernetes_common_test", + "community": 244, + "norm_label": "common_test.go" }, { - "label": "LocalObjectReference", + "label": "init()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L352", + "source_file": "pkg/library/kubernetes/common_test.go", + "source_location": "L32", "_origin": "ast", - "community": 5, - "norm_label": "localobjectreference", - "id": "pkg_library_overrides_restrictions_pod_restrictions_go_localobjectreference" + "id": "kubernetes_common_test_init", + "community": 244, + "norm_label": "init()" }, { - "label": "volumeSourceType()", + "label": "deserialize.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L368", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "volumesourcetype()", - "id": "restrictions_pod_restrictions_volumesourcetype" + "id": "kubernetes_deserialize", + "community": 186, + "norm_label": "deserialize.go" }, { - "label": "pod_restrictions_test.go", + "label": "InitializeDeserializer()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L30", "_origin": "ast", - "community": 5, - "norm_label": "pod_restrictions_test.go", - "id": "restrictions_pod_restrictions_test" + "id": "kubernetes_deserialize_initializedeserializer", + "community": 13, + "norm_label": "initializedeserializer()" }, { - "label": "TestRestrictPod()", + "label": "Scheme", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L30", "_origin": "ast", - "community": 5, - "norm_label": "testrestrictpod()", - "id": "restrictions_pod_restrictions_test_testrestrictpod" + "id": "pkg_library_kubernetes_deserialize_go_scheme", + "community": 13, + "norm_label": "scheme" }, { - "label": "T", + "label": "DeserializeToObject()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L40", "_origin": "ast", - "community": 5, - "norm_label": "t", - "id": "pkg_library_overrides_restrictions_pod_restrictions_test_go_t" + "id": "kubernetes_deserialize_deserializetoobject", + "community": 186, + "norm_label": "deserializetoobject()" }, { - "label": "preemptionPolicyPtr()", + "label": "Object", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1440", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L40", "_origin": "ast", - "community": 5, - "norm_label": "preemptionpolicyptr()", - "id": "restrictions_pod_restrictions_test_preemptionpolicyptr" + "id": "pkg_library_kubernetes_deserialize_go_object", + "community": 186, + "norm_label": "object" }, { - "label": "PreemptionPolicy", + "label": "deserialize_test.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1440", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "preemptionpolicy", - "id": "preemptionpolicy" + "id": "kubernetes_deserialize_test", + "community": 186, + "norm_label": "deserialize_test.go" }, { - "label": "supplementalGroupsPolicyPtr()", + "label": "TestDeserializeObject()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1444", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L28", "_origin": "ast", - "community": 5, - "norm_label": "supplementalgroupspolicyptr()", - "id": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr" + "id": "kubernetes_deserialize_test_testdeserializeobject", + "community": 186, + "norm_label": "testdeserializeobject()" }, { - "label": "SupplementalGroupsPolicy", + "label": "T", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1444", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L28", "_origin": "ast", - "community": 5, - "norm_label": "supplementalgroupspolicy", - "id": "supplementalgroupspolicy" + "id": "pkg_library_kubernetes_deserialize_test_go_t", + "community": 186, + "norm_label": "t" }, { - "label": "fsGroupChangePolicyPtr()", + "label": "TestErrorIfDeserializerNotInitialized()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1448", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L93", "_origin": "ast", - "community": 5, - "norm_label": "fsgroupchangepolicyptr()", - "id": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr" + "id": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", + "community": 186, + "norm_label": "testerrorifdeserializernotinitialized()" }, { - "label": "PodFSGroupChangePolicy", + "label": "readBytesFromFile()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1448", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L99", "_origin": "ast", - "community": 5, - "norm_label": "podfsgroupchangepolicy", - "id": "podfsgroupchangepolicy" + "id": "kubernetes_deserialize_test_readbytesfromfile", + "community": 186, + "norm_label": "readbytesfromfile()" }, { - "label": "seLinuxChangePolicyPtr()", + "label": "provision.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1452", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": "selinuxchangepolicyptr()", - "id": "restrictions_pod_restrictions_test_selinuxchangepolicyptr" + "id": "kubernetes_provision", + "community": 37, + "norm_label": "provision.go" }, { - "label": "PodSELinuxChangePolicy", + "label": "HandleKubernetesComponents()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1452", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L46", "_origin": "ast", - "community": 5, - "norm_label": "podselinuxchangepolicy", - "id": "podselinuxchangepolicy" + "id": "kubernetes_provision_handlekubernetescomponents", + "community": 37, + "norm_label": "handlekubernetescomponents()" }, { - "label": "restrictions.go", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L1", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L46", "_origin": "ast", - "community": 5, - "norm_label": "restrictions.go", - "id": "restrictions_restrictions" + "id": "pkg_library_kubernetes_provision_go_devworkspacewithconfig", + "community": 37, + "norm_label": "devworkspacewithconfig" }, { - "label": "FieldRestriction", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L24", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L46", "_origin": "ast", - "community": 5, - "norm_label": "fieldrestriction", - "id": "restrictions_fieldrestriction" + "id": "pkg_library_kubernetes_provision_go_clusterapi", + "community": 37, + "norm_label": "clusterapi" }, { - "label": ".checkAny()", + "label": "checkForExistingObject()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L30", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L108", "_origin": "ast", - "community": 5, - "norm_label": ".checkany()", - "id": "restrictions_fieldrestriction_checkany" + "id": "kubernetes_provision_checkforexistingobject", + "community": 37, + "norm_label": "checkforexistingobject()" }, { - "label": ".checkString()", + "label": "Object", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L39", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L108", "_origin": "ast", - "community": 5, - "norm_label": ".checkstring()", - "id": "restrictions_fieldrestriction_checkstring" + "id": "pkg_library_kubernetes_provision_go_object", + "community": 37, + "norm_label": "object" }, { - "label": ".checkBool()", + "label": "addMetadata()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L54", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L132", "_origin": "ast", - "community": 5, - "norm_label": ".checkbool()", - "id": "restrictions_fieldrestriction_checkbool" + "id": "kubernetes_provision_addmetadata", + "community": 37, + "norm_label": "addmetadata()" }, { - "label": ".checkInt32()", + "label": "restrictK8sComponent()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L68", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L153", "_origin": "ast", - "community": 5, - "norm_label": ".checkint32()", - "id": "restrictions_fieldrestriction_checkint32" + "id": "kubernetes_provision_restrictk8scomponent", + "community": 37, + "norm_label": "restrictk8scomponent()" }, { - "label": ".checkInt64()", + "label": "restrictPodSpec()", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L82", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L182", "_origin": "ast", - "community": 5, - "norm_label": ".checkint64()", - "id": "restrictions_fieldrestriction_checkint64" + "id": "kubernetes_provision_restrictpodspec", + "community": 37, + "norm_label": "restrictpodspec()" }, { - "label": ".checkRestrictedValue()", + "label": "provision_test.go", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L95", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L1", "_origin": "ast", - "community": 5, - "norm_label": ".checkrestrictedvalue()", - "id": "restrictions_fieldrestriction_checkrestrictedvalue" + "id": "kubernetes_provision_test", + "community": 13, + "norm_label": "provision_test.go" }, { - "label": "GetRestrictedContainerFields()", + "label": "testCase", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L103", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L47", "_origin": "ast", - "community": 5, - "norm_label": "getrestrictedcontainerfields()", - "id": "restrictions_restrictions_getrestrictedcontainerfields" + "id": "kubernetes_testcase", + "community": 317, + "norm_label": "testcase" }, { - "label": "DevWorkspaceWithConfig", + "label": "testInput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L103", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L49", "_origin": "ast", - "community": 5, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_overrides_restrictions_restrictions_go_devworkspacewithconfig" + "id": "pkg_library_kubernetes_provision_test_go_testinput", + "community": 317, + "norm_label": "testinput" }, { - "label": "GetRestrictedPodFields()", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L111", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L50", "_origin": "ast", - "community": 5, - "norm_label": "getrestrictedpodfields()", - "id": "restrictions_restrictions_getrestrictedpodfields" + "id": "pkg_library_kubernetes_provision_test_go_testoutput", + "community": 317, + "norm_label": "testoutput" }, { - "label": "checkResources()", + "label": "testInput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L119", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L54", "_origin": "ast", - "community": 5, - "norm_label": "checkresources()", - "id": "restrictions_restrictions_checkresources" + "id": "kubernetes_testinput", + "community": 196, + "norm_label": "testinput" }, { - "label": "ResourceRequirements", + "label": "Component", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L119", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L55", "_origin": "ast", - "community": 5, - "norm_label": "resourcerequirements", - "id": "pkg_library_overrides_restrictions_restrictions_go_resourcerequirements" + "id": "pkg_library_kubernetes_provision_test_go_component", + "community": 196, + "norm_label": "component" }, { - "label": "checkResourceList()", + "label": "clusterObjects", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L155", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L56", "_origin": "ast", - "community": 5, - "norm_label": "checkresourcelist()", - "id": "restrictions_restrictions_checkresourcelist" + "id": "clusterobjects", + "community": 196, + "norm_label": "clusterobjects" }, { - "label": "ResourceList", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L155", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L59", "_origin": "ast", - "community": 5, - "norm_label": "resourcelist", - "id": "pkg_library_overrides_restrictions_restrictions_go_resourcelist" + "id": "kubernetes_testoutput", + "community": 196, + "norm_label": "testoutput" }, { - "label": "checkContainerResourceClaims()", + "label": "clusterObjects", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L171", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L64", "_origin": "ast", - "community": 5, - "norm_label": "checkcontainerresourceclaims()", - "id": "restrictions_restrictions_checkcontainerresourceclaims" + "id": "kubernetes_clusterobjects", + "community": 185, + "norm_label": "clusterobjects" }, { - "label": "ResourceClaim", + "label": "Pod", "file_type": "code", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L171", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L65", "_origin": "ast", - "community": 5, - "norm_label": "resourceclaim", - "id": "resourceclaim" + "id": "pkg_library_kubernetes_provision_test_go_pod", + "community": 185, + "norm_label": "pod" }, { - "label": "clone.go", + "label": "Service", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L1", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L66", "_origin": "ast", - "community": 83, - "norm_label": "clone.go", - "id": "projects_clone" + "id": "pkg_library_kubernetes_provision_test_go_service", + "community": 185, + "norm_label": "service" }, { - "label": "Options", + "label": "TestHandleKubernetesComponents()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L37", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L96", "_origin": "ast", - "community": 83, - "norm_label": "options", - "id": "projects_options" + "id": "kubernetes_provision_test_testhandlekubernetescomponents", + "community": 13, + "norm_label": "testhandlekubernetescomponents()" }, { - "label": "PullPolicy", + "label": "T", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L39", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L96", "_origin": "ast", - "community": 83, - "norm_label": "pullpolicy", - "id": "pkg_library_projects_clone_go_pullpolicy" + "id": "pkg_library_kubernetes_provision_test_go_t", + "community": 13, + "norm_label": "t" }, { - "label": "ResourceRequirements", + "label": "TestHandleKubernetesComponentsUsesGuardedSyncForRoutingServices()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L40", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L156", "_origin": "ast", - "community": 83, - "norm_label": "resourcerequirements", - "id": "pkg_library_projects_clone_go_resourcerequirements" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "community": 13, + "norm_label": "testhandlekubernetescomponentsusesguardedsyncforroutingservices()" }, { - "label": "EnvVar", + "label": "TestHandleKubernetesComponentsUsesCachedSyncForOrdinaryService()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L41", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L218", "_origin": "ast", - "community": 83, - "norm_label": "envvar", - "id": "pkg_library_projects_clone_go_envvar" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "community": 13, + "norm_label": "testhandlekubernetescomponentsusescachedsyncforordinaryservice()" }, { - "label": "ValidateAllProjects()", + "label": "TestHandleKubernetesComponentsRecoversOwnedHiddenServiceCollision()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L46", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L259", "_origin": "ast", - "community": 83, - "norm_label": "validateallprojects()", - "id": "projects_clone_validateallprojects" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "community": 13, + "norm_label": "testhandlekubernetescomponentsrecoversownedhiddenservicecollision()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "TestHandleKubernetesComponentsFailsHiddenForeignServiceCollision()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L46", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L325", "_origin": "ast", - "community": 83, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_projects_clone_go_devworkspacetemplatespec" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "community": 13, + "norm_label": "testhandlekubernetescomponentsfailshiddenforeignservicecollision()" }, { - "label": "GetProjectCloneInitContainer()", + "label": "serviceComponent()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L383", "_origin": "ast", - "community": 83, - "norm_label": "getprojectcloneinitcontainer()", - "id": "projects_clone_getprojectcloneinitcontainer" + "id": "kubernetes_provision_test_servicecomponent", + "community": 13, + "norm_label": "servicecomponent()" }, { - "label": "Proxy", + "label": "serviceGetCountingClient", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L397", "_origin": "ast", - "community": 83, - "norm_label": "proxy", - "id": "pkg_library_projects_clone_go_proxy" + "id": "kubernetes_servicegetcountingclient", + "community": 185, + "norm_label": "servicegetcountingclient" }, { - "label": "Container", + "label": "Client", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L398", "_origin": "ast", - "community": 83, - "norm_label": "container", - "id": "pkg_library_projects_clone_go_container" + "id": "pkg_library_kubernetes_provision_test_go_client", + "community": 185, + "norm_label": "client" }, { - "label": "GetStarterProject()", + "label": ".Get()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L135", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "_origin": "ast", - "community": 83, - "norm_label": "getstarterproject()", - "id": "projects_clone_getstarterproject" + "id": "kubernetes_servicegetcountingclient_get", + "community": 13, + "norm_label": ".get()" }, { - "label": "StarterProject", + "label": "Context", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L135", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "_origin": "ast", - "community": 83, - "norm_label": "starterproject", - "id": "pkg_library_projects_clone_go_starterproject" + "id": "pkg_library_kubernetes_provision_test_go_context", + "community": 185, + "norm_label": "context" }, { - "label": "GetClonePath()", + "label": "ObjectKey", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L154", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "_origin": "ast", - "community": 42, - "norm_label": "getclonepath()", - "id": "projects_clone_getclonepath" + "id": "pkg_library_kubernetes_provision_test_go_objectkey", + "community": 13, + "norm_label": "objectkey" }, { - "label": "Project", + "label": "Object", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L154", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "_origin": "ast", - "community": 42, - "norm_label": "project", - "id": "pkg_library_projects_clone_go_project" + "id": "pkg_library_kubernetes_provision_test_go_object", + "community": 185, + "norm_label": "object" }, { - "label": "hasContainerComponents()", + "label": ".Create()", "file_type": "code", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L161", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L422", "_origin": "ast", - "community": 83, - "norm_label": "hascontainercomponents()", - "id": "projects_clone_hascontainercomponents" + "id": "kubernetes_servicegetcountingclient_create", + "community": 185, + "norm_label": ".create()" }, { - "label": "helper.go", + "label": ".Update()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L1", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L430", "_origin": "ast", - "community": 61, - "norm_label": "helper.go", - "id": "resources_helper" + "id": "kubernetes_servicegetcountingclient_update", + "community": 185, + "norm_label": ".update()" }, { - "label": "ParseResourcesFromComponent()", + "label": ".Delete()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L33", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L439", "_origin": "ast", - "community": 61, - "norm_label": "parseresourcesfromcomponent()", - "id": "resources_helper_parseresourcesfromcomponent" + "id": "kubernetes_servicegetcountingclient_delete", + "community": 185, + "norm_label": ".delete()" }, { - "label": "Component", + "label": "TestSecretAndConfigMapProvisioning()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L33", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L446", "_origin": "ast", - "community": 61, - "norm_label": "component", - "id": "pkg_library_resources_helper_go_component" + "id": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "community": 13, + "norm_label": "testsecretandconfigmapprovisioning()" }, { - "label": "ResourceRequirements", + "label": "TestHasKubelikeComponent()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L33", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L519", "_origin": "ast", - "community": 61, - "norm_label": "resourcerequirements", - "id": "pkg_library_resources_helper_go_resourcerequirements" + "id": "kubernetes_provision_test_testhaskubelikecomponent", + "community": 13, + "norm_label": "testhaskubelikecomponent()" }, { - "label": "AddResourceRequirements()", + "label": "TestHandleKubernetesComponentsRestrictsPodFields()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L88", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L535", "_origin": "ast", - "community": 61, - "norm_label": "addresourcerequirements()", - "id": "resources_helper_addresourcerequirements" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", + "community": 13, + "norm_label": "testhandlekubernetescomponentsrestrictspodfields()" }, { - "label": "ApplyResourceRequirementsToComponent()", + "label": "TestHandleKubernetesComponentsRestrictsContainerFields()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L111", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L583", "_origin": "ast", - "community": 61, - "norm_label": "applyresourcerequirementstocomponent()", - "id": "resources_helper_applyresourcerequirementstocomponent" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", + "community": 13, + "norm_label": "testhandlekubernetescomponentsrestrictscontainerfields()" }, { - "label": "ContainerComponent", + "label": "TestHandleKubernetesComponentsAllowsNonRestrictedFields()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L111", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L631", "_origin": "ast", - "community": 61, - "norm_label": "containercomponent", - "id": "pkg_library_resources_helper_go_containercomponent" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", + "community": 13, + "norm_label": "testhandlekubernetescomponentsallowsnonrestrictedfields()" }, { - "label": "FilterResources()", + "label": "TestHandleKubernetesComponentsNoRestrictionsConfigured()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L136", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L683", "_origin": "ast", - "community": 61, - "norm_label": "filterresources()", - "id": "resources_helper_filterresources" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", + "community": 13, + "norm_label": "testhandlekubernetescomponentsnorestrictionsconfigured()" }, { - "label": "ApplyDefaults()", + "label": "TestHandleKubernetesComponentsRejectsRBACObjects()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L162", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L727", "_origin": "ast", - "community": 61, - "norm_label": "applydefaults()", - "id": "resources_helper_applydefaults" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", + "community": 13, + "norm_label": "testhandlekubernetescomponentsrejectsrbacobjects()" }, { - "label": "ApplyCaps()", + "label": "TestHandleKubernetesComponentsWithoutAnnotation()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L223", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L793", "_origin": "ast", - "community": 61, - "norm_label": "applycaps()", - "id": "resources_helper_applycaps" + "id": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", + "community": 13, + "norm_label": "testhandlekubernetescomponentswithoutannotation()" }, { - "label": "handleCapsEdgeCase()", + "label": "TestHandleKubernetesComponentsRejectsMalformedAnnotation()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L257", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L835", "_origin": "ast", - "community": 61, - "norm_label": "handlecapsedgecase()", - "id": "resources_helper_handlecapsedgecase" + "id": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", + "community": 13, + "norm_label": "testhandlekubernetescomponentsrejectsmalformedannotation()" }, { - "label": "ResourceName", + "label": "TestRestrictK8sComponentAllowsValidatedResource()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L257", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L872", "_origin": "ast", - "community": 61, - "norm_label": "resourcename", - "id": "resourcename" + "id": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", + "community": 13, + "norm_label": "testrestrictk8scomponentallowsvalidatedresource()" }, { - "label": "ValidateResources()", + "label": "TestRestrictK8sComponentRejectsNonValidatedResource()", "file_type": "code", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L297", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L889", "_origin": "ast", - "community": 109, - "norm_label": "validateresources()", - "id": "resources_helper_validateresources" + "id": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", + "community": 13, + "norm_label": "testrestrictk8scomponentrejectsnonvalidatedresource()" }, { - "label": "helper_test.go", + "label": "TestRestrictK8sComponentRejectsRBACEvenWhenValidated()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L1", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L906", "_origin": "ast", - "community": 84, - "norm_label": "helper_test.go", - "id": "resources_helper_test" + "id": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", + "community": 13, + "norm_label": "testrestrictk8scomponentrejectsrbacevenwhenvalidated()" }, { - "label": "TestParseResourcesFromComponent()", + "label": "TestRestrictK8sComponentSkipsValidationWhenAnnotationAbsent()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L26", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L923", "_origin": "ast", - "community": 84, - "norm_label": "testparseresourcesfromcomponent()", - "id": "resources_helper_test_testparseresourcesfromcomponent" + "id": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", + "community": 186, + "norm_label": "testrestrictk8scomponentskipsvalidationwhenannotationabsent()" }, { - "label": "T", + "label": "TestRestrictK8sComponentRejectsRBACEvenWhenAnnotationAbsent()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L26", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L941", "_origin": "ast", - "community": 84, - "norm_label": "t", - "id": "pkg_library_resources_helper_test_go_t" + "id": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", + "community": 13, + "norm_label": "testrestrictk8scomponentrejectsrbacevenwhenannotationabsent()" }, { - "label": "TestAddResourceRequirements()", + "label": "TestRestrictK8sComponentAllowsMultipleValidatedResources()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L85", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L960", "_origin": "ast", - "community": 84, - "norm_label": "testaddresourcerequirements()", - "id": "resources_helper_test_testaddresourcerequirements" + "id": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", + "community": 13, + "norm_label": "testrestrictk8scomponentallowsmultiplevalidatedresources()" }, { - "label": "TestApplyResourceRequirementsToComponent()", + "label": "loadAllTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L126", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L981", "_origin": "ast", - "community": 84, - "norm_label": "testapplyresourcerequirementstocomponent()", - "id": "resources_helper_test_testapplyresourcerequirementstocomponent" + "id": "kubernetes_provision_test_loadalltestcasesorpanic", + "community": 13, + "norm_label": "loadalltestcasesorpanic()" }, { - "label": "TestFilterResources()", + "label": "loadTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L167", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L997", "_origin": "ast", - "community": 84, - "norm_label": "testfilterresources()", - "id": "resources_helper_test_testfilterresources" + "id": "kubernetes_provision_test_loadtestcaseorpanic", + "community": 13, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "TestApplyDefaults()", + "label": "collectClusterObj()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L238", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L1010", "_origin": "ast", - "community": 84, - "norm_label": "testapplydefaults()", - "id": "resources_helper_test_testapplydefaults" + "id": "kubernetes_provision_test_collectclusterobj", + "community": 185, + "norm_label": "collectclusterobj()" }, { - "label": "TestApplyCaps()", + "label": "util.go", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L307", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L1", "_origin": "ast", - "community": 84, - "norm_label": "testapplycaps()", - "id": "resources_helper_test_testapplycaps" + "id": "kubernetes_util", + "community": 37, + "norm_label": "util.go" }, { - "label": "TestValidate()", + "label": "HasKubelikeComponent()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L377", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L24", "_origin": "ast", - "community": 84, - "norm_label": "testvalidate()", - "id": "resources_helper_test_testvalidate" + "id": "kubernetes_util_haskubelikecomponent", + "community": 37, + "norm_label": "haskubelikecomponent()" }, { - "label": "getResourceRequirements()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L413", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L24", "_origin": "ast", - "community": 84, - "norm_label": "getresourcerequirements()", - "id": "resources_helper_test_getresourcerequirements" + "id": "pkg_library_kubernetes_util_go_devworkspacewithconfig", + "community": 37, + "norm_label": "devworkspacewithconfig" }, { - "label": "ResourceRequirements", + "label": "filterForKubeLikeComponents()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L413", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L33", "_origin": "ast", - "community": 84, - "norm_label": "resourcerequirements", - "id": "pkg_library_resources_helper_test_go_resourcerequirements" + "id": "kubernetes_util_filterforkubelikecomponents", + "community": 37, + "norm_label": "filterforkubelikecomponents()" }, { - "label": "getContainerComponent()", + "label": "Component", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L434", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L33", "_origin": "ast", - "community": 84, - "norm_label": "getcontainercomponent()", - "id": "resources_helper_test_getcontainercomponent" + "id": "pkg_library_kubernetes_util_go_component", + "community": 37, + "norm_label": "component" }, { - "label": "ContainerComponent", + "label": "getK8sLikeComponent()", "file_type": "code", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L434", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L67", "_origin": "ast", - "community": 84, - "norm_label": "containercomponent", - "id": "pkg_library_resources_helper_test_go_containercomponent" + "id": "kubernetes_util_getk8slikecomponent", + "community": 37, + "norm_label": "getk8slikecomponent()" }, { - "label": "restore.go", + "label": "K8sLikeComponent", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L1", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L67", "_origin": "ast", - "community": 50, - "norm_label": "restore.go", - "id": "restore_restore" + "id": "pkg_library_kubernetes_util_go_k8slikecomponent", + "community": 37, + "norm_label": "k8slikecomponent" }, { - "label": "Options", + "label": "checkOwnerrefs()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L42", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L78", "_origin": "ast", - "community": 50, - "norm_label": "options", - "id": "restore_options" + "id": "kubernetes_util_checkownerrefs", + "community": 37, + "norm_label": "checkownerrefs()" }, { - "label": "PullPolicy", + "label": "OwnerReference", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L44", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L78", "_origin": "ast", - "community": 50, - "norm_label": "pullpolicy", - "id": "pkg_library_restore_restore_go_pullpolicy" + "id": "pkg_library_kubernetes_util_go_ownerreference", + "community": 37, + "norm_label": "ownerreference" }, { - "label": "ResourceRequirements", + "label": "command.go", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L45", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L1", "_origin": "ast", - "community": 50, - "norm_label": "resourcerequirements", - "id": "pkg_library_restore_restore_go_resourcerequirements" + "id": "lifecycle_command", + "community": 39, + "norm_label": "command.go" }, { - "label": "EnvVar", + "label": "getCommandType()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L46", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L24", "_origin": "ast", - "community": 50, - "norm_label": "envvar", - "id": "pkg_library_restore_restore_go_envvar" + "id": "lifecycle_command_getcommandtype", + "community": 39, + "norm_label": "getcommandtype()" }, { - "label": "IsWorkspaceRestoreRequested()", + "label": "Command", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L49", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L24", "_origin": "ast", - "community": 50, - "norm_label": "isworkspacerestorerequested()", - "id": "restore_restore_isworkspacerestorerequested" + "id": "pkg_library_lifecycle_command_go_command", + "community": 39, + "norm_label": "command" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "CommandType", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L49", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L24", "_origin": "ast", - "community": 50, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_restore_restore_go_devworkspacetemplatespec" + "id": "commandtype", + "community": 39, + "norm_label": "commandtype" }, { - "label": "GetWorkspaceRestoreInitContainer()", + "label": "getCommandsForKeys()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L32", "_origin": "ast", - "community": 50, - "norm_label": "getworkspacerestoreinitcontainer()", - "id": "restore_restore_getworkspacerestoreinitcontainer" + "id": "lifecycle_command_getcommandsforkeys", + "community": 39, + "norm_label": "getcommandsforkeys()" }, { - "label": "Context", + "label": "getCommandByKey()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L46", "_origin": "ast", - "community": 50, - "norm_label": "context", - "id": "pkg_library_restore_restore_go_context" + "id": "lifecycle_command_getcommandbykey", + "community": 39, + "norm_label": "getcommandbykey()" }, { - "label": "DevWorkspaceWithConfig", + "label": "commandListToComponentKeys()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L56", "_origin": "ast", - "community": 50, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_restore_restore_go_devworkspacewithconfig" + "id": "lifecycle_command_commandlisttocomponentkeys", + "community": 39, + "norm_label": "commandlisttocomponentkeys()" }, { - "label": "Client", + "label": "removeCommandsByKeys()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L77", "_origin": "ast", - "community": 50, - "norm_label": "client", - "id": "pkg_library_restore_restore_go_client" + "id": "lifecycle_command_removecommandsbykeys", + "community": 39, + "norm_label": "removecommandsbykeys()" }, { - "label": "Scheme", + "label": "common.go", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/common.go", + "source_location": "L1", "_origin": "ast", - "community": 50, - "norm_label": "scheme", - "id": "pkg_library_restore_restore_go_scheme" + "id": "lifecycle_common", + "community": 39, + "norm_label": "common.go" }, { - "label": "Logger", + "label": "listContains()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/common.go", + "source_location": "L18", "_origin": "ast", - "community": 50, - "norm_label": "logger", - "id": "pkg_library_restore_restore_go_logger" + "id": "lifecycle_common_listcontains", + "community": 39, + "norm_label": "listcontains()" }, { - "label": "Container", + "label": "poststart.go", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L1", "_origin": "ast", - "community": 50, - "norm_label": "container", - "id": "pkg_library_restore_restore_go_container" + "id": "lifecycle_poststart", + "community": 121, + "norm_label": "poststart.go" }, { - "label": "Secret", + "label": "AddPostStartLifecycleHooks()", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L49", "_origin": "ast", - "community": 50, - "norm_label": "secret", - "id": "pkg_library_restore_restore_go_secret" + "id": "lifecycle_poststart_addpoststartlifecyclehooks", + "community": 121, + "norm_label": "addpoststartlifecyclehooks()" }, { - "label": "hasContainerComponents()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L146", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L49", "_origin": "ast", - "community": 50, - "norm_label": "hascontainercomponents()", - "id": "restore_restore_hascontainercomponents" + "id": "pkg_library_lifecycle_poststart_go_devworkspacetemplatespec", + "community": 121, + "norm_label": "devworkspacetemplatespec" }, { - "label": "event.go", + "label": "Container", "file_type": "code", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L1", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L49", "_origin": "ast", - "community": 187, - "norm_label": "event.go", - "id": "ssh_event" + "id": "pkg_library_lifecycle_poststart_go_container", + "community": 121, + "norm_label": "container" }, { - "label": "AddSshAgentPostStartEvent()", + "label": "processCommandsForPostStart()", "file_type": "code", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L42", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L93", "_origin": "ast", - "community": 187, - "norm_label": "addsshagentpoststartevent()", - "id": "ssh_event_addsshagentpoststartevent" + "id": "lifecycle_poststart_processcommandsforpoststart", + "community": 121, + "norm_label": "processcommandsforpoststart()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "Command", "file_type": "code", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L42", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L93", "_origin": "ast", - "community": 187, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_library_ssh_event_go_devworkspacetemplatespec" + "id": "pkg_library_lifecycle_poststart_go_command", + "community": 121, + "norm_label": "command" }, { - "label": "NeedsSSHPostStartEvent()", + "label": "LifecycleHandler", "file_type": "code", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L75", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L93", "_origin": "ast", - "community": 187, - "norm_label": "needssshpoststartevent()", - "id": "ssh_event_needssshpoststartevent" + "id": "pkg_library_lifecycle_poststart_go_lifecyclehandler", + "community": 121, + "norm_label": "lifecyclehandler" }, { - "label": "ClusterAPI", + "label": "processCommandsWithoutTimeoutFallback()", "file_type": "code", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L75", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L136", "_origin": "ast", - "community": 187, - "norm_label": "clusterapi", - "id": "pkg_library_ssh_event_go_clusterapi" + "id": "lifecycle_poststart_processcommandswithouttimeoutfallback", + "community": 121, + "norm_label": "processcommandswithouttimeoutfallback()" }, { - "label": "check.go", + "label": "buildUserScript()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L1", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L182", "_origin": "ast", - "community": 0, - "norm_label": "check.go", - "id": "status_check" + "id": "lifecycle_poststart_builduserscript", + "community": 121, + "norm_label": "builduserscript()" }, { - "label": "CheckDeploymentStatus()", + "label": "generateScriptWithTimeout()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L75", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L212", "_origin": "ast", - "community": 0, - "norm_label": "checkdeploymentstatus()", - "id": "status_check_checkdeploymentstatus" + "id": "lifecycle_poststart_generatescriptwithtimeout", + "community": 121, + "norm_label": "generatescriptwithtimeout()" }, { - "label": "Deployment", + "label": "parsePostStartFailureDebugSleepDurationToSeconds()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L75", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L274", "_origin": "ast", - "community": 0, - "norm_label": "deployment", - "id": "pkg_library_status_check_go_deployment" + "id": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds", + "community": 121, + "norm_label": "parsepoststartfailuredebugsleepdurationtoseconds()" }, { - "label": "DevWorkspaceWithConfig", + "label": "Logger", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L75", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L274", "_origin": "ast", - "community": 0, - "norm_label": "devworkspacewithconfig", - "id": "pkg_library_status_check_go_devworkspacewithconfig" + "id": "pkg_library_lifecycle_poststart_go_logger", + "community": 121, + "norm_label": "logger" }, { - "label": "checkRollingUpdateDeploymentStatus()", + "label": "poststart_test.go", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L82", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "checkrollingupdatedeploymentstatus()", - "id": "status_check_checkrollingupdatedeploymentstatus" + "id": "lifecycle_poststart_test", + "community": 64, + "norm_label": "poststart_test.go" }, { - "label": "CheckDeploymentConditions()", + "label": "postStartTestCase", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L98", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L30", "_origin": "ast", - "community": 0, - "norm_label": "checkdeploymentconditions()", - "id": "status_check_checkdeploymentconditions" + "id": "lifecycle_poststarttestcase", + "community": 64, + "norm_label": "poststarttestcase" }, { - "label": "CheckPodsState()", + "label": "postStartTestInput", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L114", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L32", "_origin": "ast", - "community": 0, - "norm_label": "checkpodsstate()", - "id": "status_check_checkpodsstate" + "id": "poststarttestinput", + "community": 64, + "norm_label": "poststarttestinput" }, { - "label": "MatchingLabels", + "label": "postStartTestOutput", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L114", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L33", "_origin": "ast", - "community": 0, - "norm_label": "matchinglabels", - "id": "matchinglabels" + "id": "poststarttestoutput", + "community": 64, + "norm_label": "poststarttestoutput" }, { - "label": "ClusterAPI", + "label": "postStartTestInput", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L114", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L37", "_origin": "ast", - "community": 0, - "norm_label": "clusterapi", - "id": "pkg_library_status_check_go_clusterapi" + "id": "lifecycle_poststarttestinput", + "community": 64, + "norm_label": "poststarttestinput" }, { - "label": "CheckPodEvents()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L141", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L38", "_origin": "ast", - "community": 0, - "norm_label": "checkpodevents()", - "id": "status_check_checkpodevents" + "id": "pkg_library_lifecycle_poststart_test_go_devworkspacetemplatespec", + "community": 64, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Pod", + "label": "Container", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L141", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L40", "_origin": "ast", - "community": 0, - "norm_label": "pod", - "id": "pkg_library_status_check_go_pod" + "id": "pkg_library_lifecycle_poststart_test_go_container", + "community": 64, + "norm_label": "container" }, { - "label": "getConcisePostStartFailureMessage()", + "label": "postStartTestOutput", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L185", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L43", "_origin": "ast", - "community": 0, - "norm_label": "getconcisepoststartfailuremessage()", - "id": "status_check_getconcisepoststartfailuremessage" + "id": "lifecycle_poststarttestoutput", + "community": 64, + "norm_label": "poststarttestoutput" }, { - "label": "CheckContainerStatusForFailure()", + "label": "loadPostStartTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L237", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L48", "_origin": "ast", - "community": 0, - "norm_label": "checkcontainerstatusforfailure()", - "id": "status_check_checkcontainerstatusforfailure" + "id": "lifecycle_poststart_test_loadpoststarttestcaseorpanic", + "community": 64, + "norm_label": "loadpoststarttestcaseorpanic()" }, { - "label": "ContainerStatus", + "label": "T", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L237", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L48", "_origin": "ast", - "community": 0, - "norm_label": "containerstatus", - "id": "containerstatus" + "id": "pkg_library_lifecycle_poststart_test_go_t", + "community": 64, + "norm_label": "t" }, { - "label": "CheckForIgnoredWorkspacePodEvents()", + "label": "loadAllPostStartTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L268", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L61", "_origin": "ast", - "community": 0, - "norm_label": "checkforignoredworkspacepodevents()", - "id": "status_check_checkforignoredworkspacepodevents" + "id": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", + "community": 64, + "norm_label": "loadallpoststarttestcasesorpanic()" }, { - "label": "checkIfUnrecoverableEventIgnored()", + "label": "TestAddPostStartLifecycleHooks()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L281", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L77", "_origin": "ast", - "community": 0, - "norm_label": "checkifunrecoverableeventignored()", - "id": "status_check_checkifunrecoverableeventignored" + "id": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", + "community": 64, + "norm_label": "testaddpoststartlifecyclehooks()" }, { - "label": "getEventCount()", + "label": "TestBuildUserScript()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L302", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L95", "_origin": "ast", - "community": 0, - "norm_label": "geteventcount()", - "id": "status_check_geteventcount" + "id": "lifecycle_poststart_test_testbuilduserscript", + "community": 64, + "norm_label": "testbuilduserscript()" }, { - "label": "Event", + "label": "TestGenerateScriptWithTimeout()", "file_type": "code", - "source_file": "pkg/library/status/check.go", - "source_location": "L302", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L300", "_origin": "ast", - "community": 0, - "norm_label": "event", - "id": "event" + "id": "lifecycle_poststart_test_testgeneratescriptwithtimeout", + "community": 64, + "norm_label": "testgeneratescriptwithtimeout()" }, { - "label": "check_test.go", + "label": "TestParsePostStartFailureDebugSleepDurationToSeconds()", "file_type": "code", - "source_file": "pkg/library/status/check_test.go", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L632", + "_origin": "ast", + "id": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds", + "community": 64, + "norm_label": "testparsepoststartfailuredebugsleepdurationtoseconds()" + }, + { + "label": "prestart.go", + "file_type": "code", + "source_file": "pkg/library/lifecycle/prestart.go", "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "check_test.go", - "id": "status_check_test" + "id": "lifecycle_prestart", + "community": 39, + "norm_label": "prestart.go" }, { - "label": "TestGetConcisePostStartFailureMessage()", + "label": "GetInitContainers()", "file_type": "code", - "source_file": "pkg/library/status/check_test.go", - "source_location": "L20", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L28", "_origin": "ast", - "community": 0, - "norm_label": "testgetconcisepoststartfailuremessage()", - "id": "status_check_test_testgetconcisepoststartfailuremessage" + "id": "lifecycle_prestart_getinitcontainers", + "community": 39, + "norm_label": "getinitcontainers()" }, { - "label": "T", + "label": "DevWorkspaceTemplateSpecContent", "file_type": "code", - "source_file": "pkg/library/status/check_test.go", - "source_location": "L20", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L28", "_origin": "ast", - "community": 0, - "norm_label": "t", - "id": "pkg_library_status_check_test_go_t" + "id": "pkg_library_lifecycle_prestart_go_devworkspacetemplatespeccontent", + "community": 39, + "norm_label": "devworkspacetemplatespeccontent" }, { - "label": "storage.go", + "label": "Component", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L1", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L28", "_origin": "ast", - "community": 4, - "norm_label": "storage.go", - "id": "storage_storage" + "id": "pkg_library_lifecycle_prestart_go_component", + "community": 39, + "norm_label": "component" }, { - "label": "GetWorkspacePVCInfo()", + "label": "setHomeInitContainerToFront()", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L84", "_origin": "ast", - "community": 4, - "norm_label": "getworkspacepvcinfo()", - "id": "storage_storage_getworkspacepvcinfo" + "id": "lifecycle_prestart_sethomeinitcontainertofront", + "community": 39, + "norm_label": "sethomeinitcontainertofront()" }, { - "label": "Context", + "label": "checkPreStartEventCommandsValidity()", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L94", "_origin": "ast", - "community": 4, - "norm_label": "context", - "id": "pkg_library_storage_storage_go_context" + "id": "lifecycle_prestart_checkprestarteventcommandsvalidity", + "community": 39, + "norm_label": "checkprestarteventcommandsvalidity()" }, { - "label": "DevWorkspace", + "label": "Command", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L94", "_origin": "ast", - "community": 4, - "norm_label": "devworkspace", - "id": "pkg_library_storage_storage_go_devworkspace" + "id": "pkg_library_lifecycle_prestart_go_command", + "community": 39, + "norm_label": "command" }, { - "label": "OperatorConfiguration", + "label": "prestart_test.go", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L1", "_origin": "ast", - "community": 4, - "norm_label": "operatorconfiguration", - "id": "pkg_library_storage_storage_go_operatorconfiguration" + "id": "lifecycle_prestart_test", + "community": 122, + "norm_label": "prestart_test.go" }, { - "label": "Client", + "label": "preStartTestCase", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L28", "_origin": "ast", - "community": 4, - "norm_label": "client", - "id": "pkg_library_storage_storage_go_client" + "id": "lifecycle_prestarttestcase", + "community": 122, + "norm_label": "prestarttestcase" }, { - "label": "Logger", + "label": "DevWorkspaceTemplateSpecContent", "file_type": "code", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L30", "_origin": "ast", - "community": 4, - "norm_label": "logger", - "id": "pkg_library_storage_storage_go_logger" + "id": "pkg_library_lifecycle_prestart_test_go_devworkspacetemplatespeccontent", + "community": 122, + "norm_label": "devworkspacetemplatespeccontent" }, { - "label": "common.go", + "label": "preStartTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L1", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L31", "_origin": "ast", - "community": 16, - "norm_label": "common.go", - "id": "automount_common" + "id": "prestarttestoutput", + "community": 122, + "norm_label": "prestarttestoutput" }, { - "label": "Resources", + "label": "preStartTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L40", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L34", "_origin": "ast", - "community": 16, - "norm_label": "resources", - "id": "automount_resources" + "id": "lifecycle_prestarttestoutput", + "community": 122, + "norm_label": "prestarttestoutput" }, { - "label": "Volume", + "label": "Component", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L41", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L35", "_origin": "ast", - "community": 16, - "norm_label": "volume", - "id": "pkg_provision_automount_common_go_volume" + "id": "pkg_library_lifecycle_prestart_test_go_component", + "community": 122, + "norm_label": "component" }, { - "label": "VolumeMount", + "label": "loadPreStartTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L42", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L40", "_origin": "ast", - "community": 16, - "norm_label": "volumemount", - "id": "pkg_provision_automount_common_go_volumemount" + "id": "lifecycle_prestart_test_loadprestarttestcaseorpanic", + "community": 122, + "norm_label": "loadprestarttestcaseorpanic()" }, { - "label": "EnvFromSource", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L43", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L40", "_origin": "ast", - "community": 16, - "norm_label": "envfromsource", - "id": "pkg_provision_automount_common_go_envfromsource" + "id": "pkg_library_lifecycle_prestart_test_go_t", + "community": 122, + "norm_label": "t" }, { - "label": "ProvisionAutoMountResourcesInto()", + "label": "TestGetInitContainers()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L53", "_origin": "ast", - "community": 9, - "norm_label": "provisionautomountresourcesinto()", - "id": "automount_common_provisionautomountresourcesinto" + "id": "lifecycle_prestart_test_testgetinitcontainers", + "community": 122, + "norm_label": "testgetinitcontainers()" }, { - "label": "PodAdditions", + "label": "prestop.go", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L1", "_origin": "ast", - "community": 16, - "norm_label": "podadditions", - "id": "pkg_provision_automount_common_go_podadditions" + "id": "lifecycle_prestop", + "community": 152, + "norm_label": "prestop.go" }, { - "label": "ClusterAPI", + "label": "AddPreStopLifecycleHooks()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L29", "_origin": "ast", - "community": 16, - "norm_label": "clusterapi", - "id": "pkg_provision_automount_common_go_clusterapi" + "id": "lifecycle_prestop_addprestoplifecyclehooks", + "community": 152, + "norm_label": "addprestoplifecyclehooks()" }, { - "label": "Deployment", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L29", "_origin": "ast", - "community": 16, - "norm_label": "deployment", - "id": "pkg_provision_automount_common_go_deployment" + "id": "pkg_library_lifecycle_prestop_go_devworkspacetemplatespec", + "community": 152, + "norm_label": "devworkspacetemplatespec" }, { - "label": "getAutomountResources()", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L87", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L29", "_origin": "ast", - "community": 16, - "norm_label": "getautomountresources()", - "id": "automount_common_getautomountresources" + "id": "pkg_library_lifecycle_prestop_go_container", + "community": 152, + "norm_label": "container" }, { - "label": "checkAutomountVolumesForCollision()", + "label": "processCommandsForPreStop()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L128", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L82", "_origin": "ast", - "community": 16, - "norm_label": "checkautomountvolumesforcollision()", - "id": "automount_common_checkautomountvolumesforcollision" + "id": "lifecycle_prestop_processcommandsforprestop", + "community": 152, + "norm_label": "processcommandsforprestop()" }, { - "label": "getVolumeDescriptionFromVolumeMount()", + "label": "Command", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L182", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L82", "_origin": "ast", - "community": 16, - "norm_label": "getvolumedescriptionfromvolumemount()", - "id": "automount_common_getvolumedescriptionfromvolumemount" + "id": "pkg_library_lifecycle_prestop_go_command", + "community": 152, + "norm_label": "command" }, { - "label": "formatVolumeDescription()", + "label": "LifecycleHandler", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L194", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L82", "_origin": "ast", - "community": 16, - "norm_label": "formatvolumedescription()", - "id": "automount_common_formatvolumedescription" + "id": "pkg_library_lifecycle_prestop_go_lifecyclehandler", + "community": 152, + "norm_label": "lifecyclehandler" }, { - "label": "mergeAutomountResources()", + "label": "prestop_test.go", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L205", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L1", "_origin": "ast", - "community": 16, - "norm_label": "mergeautomountresources()", - "id": "automount_common_mergeautomountresources" + "id": "lifecycle_prestop_test", + "community": 93, + "norm_label": "prestop_test.go" }, { - "label": "flattenAutomountResources()", + "label": "preStopTestCase", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L218", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L28", "_origin": "ast", - "community": 130, - "norm_label": "flattenautomountresources()", - "id": "automount_common_flattenautomountresources" + "id": "lifecycle_prestoptestcase", + "community": 93, + "norm_label": "prestoptestcase" }, { - "label": "findGitconfigAutomount()", + "label": "preStopTestInput", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L232", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L30", "_origin": "ast", - "community": 16, - "norm_label": "findgitconfigautomount()", - "id": "automount_common_findgitconfigautomount" + "id": "prestoptestinput", + "community": 93, + "norm_label": "prestoptestinput" }, { - "label": "filterGitconfigAutomountVolume()", + "label": "preStopTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L296", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L31", "_origin": "ast", - "community": 16, - "norm_label": "filtergitconfigautomountvolume()", - "id": "automount_common_filtergitconfigautomountvolume" + "id": "prestoptestoutput", + "community": 93, + "norm_label": "prestoptestoutput" }, { - "label": "checkAutomountVolumeForPotentialError()", + "label": "preStopTestInput", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L322", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L35", "_origin": "ast", - "community": 16, - "norm_label": "checkautomountvolumeforpotentialerror()", - "id": "automount_common_checkautomountvolumeforpotentialerror" + "id": "lifecycle_prestoptestinput", + "community": 93, + "norm_label": "prestoptestinput" }, { - "label": "Object", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L322", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L36", "_origin": "ast", - "community": 16, - "norm_label": "object", - "id": "pkg_provision_automount_common_go_object" + "id": "pkg_library_lifecycle_prestop_test_go_devworkspacetemplatespec", + "community": 93, + "norm_label": "devworkspacetemplatespec" }, { - "label": "getAccessModeForAutomount()", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L357", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L37", "_origin": "ast", - "community": 16, - "norm_label": "getaccessmodeforautomount()", - "id": "automount_common_getaccessmodeforautomount" + "id": "pkg_library_lifecycle_prestop_test_go_container", + "community": 93, + "norm_label": "container" }, { - "label": "dropItemsFieldFromVolumes()", + "label": "preStopTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L377", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L40", "_origin": "ast", - "community": 16, - "norm_label": "dropitemsfieldfromvolumes()", - "id": "automount_common_dropitemsfieldfromvolumes" + "id": "lifecycle_prestoptestoutput", + "community": 93, + "norm_label": "prestoptestoutput" }, { - "label": "sortSecrets()", + "label": "loadPreStopTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L387", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L45", "_origin": "ast", - "community": 69, - "norm_label": "sortsecrets()", - "id": "automount_common_sortsecrets" + "id": "lifecycle_prestop_test_loadprestoptestcaseorpanic", + "community": 93, + "norm_label": "loadprestoptestcaseorpanic()" }, { - "label": "Secret", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L387", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L45", "_origin": "ast", - "community": 69, - "norm_label": "secret", - "id": "pkg_provision_automount_common_go_secret" + "id": "pkg_library_lifecycle_prestop_test_go_t", + "community": 93, + "norm_label": "t" }, { - "label": "sortConfigmaps()", + "label": "loadAllPreStopTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L393", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L58", "_origin": "ast", - "community": 116, - "norm_label": "sortconfigmaps()", - "id": "automount_common_sortconfigmaps" + "id": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", + "community": 93, + "norm_label": "loadallprestoptestcasesorpanic()" }, { - "label": "ConfigMap", + "label": "TestAddPreStopLifecycleHooks()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L393", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L74", "_origin": "ast", - "community": 116, - "norm_label": "configmap", - "id": "pkg_provision_automount_common_go_configmap" + "id": "lifecycle_prestop_test_testaddprestoplifecyclehooks", + "community": 93, + "norm_label": "testaddprestoplifecyclehooks()" }, { - "label": "isMountOnStart()", + "label": "util.go", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L399", + "source_file": "pkg/library/lifecycle/util.go", + "source_location": "L1", "_origin": "ast", - "community": 16, - "norm_label": "ismountonstart()", - "id": "automount_common_ismountonstart" + "id": "lifecycle_util", + "community": 152, + "norm_label": "util.go" }, { - "label": "canMountWithoutRestart()", + "label": "getContainerWithName()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L406", + "source_file": "pkg/library/lifecycle/util.go", + "source_location": "L22", "_origin": "ast", - "community": 16, - "norm_label": "canmountwithoutrestart()", - "id": "automount_common_canmountwithoutrestart" + "id": "lifecycle_util_getcontainerwithname", + "community": 152, + "norm_label": "getcontainerwithname()" }, { - "label": "existsInDeployment()", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L425", + "source_file": "pkg/library/lifecycle/util.go", + "source_location": "L22", "_origin": "ast", - "community": 16, - "norm_label": "existsindeployment()", - "id": "automount_common_existsindeployment" + "id": "pkg_library_lifecycle_util_go_container", + "community": 152, + "norm_label": "container" }, { - "label": "isVolumeMountExistsInDeployment()", + "label": "containers.go", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L434", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L1", "_origin": "ast", - "community": 16, - "norm_label": "isvolumemountexistsindeployment()", - "id": "automount_common_isvolumemountexistsindeployment" + "id": "overrides_containers", + "community": 109, + "norm_label": "containers.go" }, { - "label": "isEnvFromSourceExistsInDeployment()", + "label": "NeedsContainerOverride()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L448", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L38", "_origin": "ast", - "community": 16, - "norm_label": "isenvfromsourceexistsindeployment()", - "id": "automount_common_isenvfromsourceexistsindeployment" + "id": "overrides_containers_needscontaineroverride", + "community": 109, + "norm_label": "needscontaineroverride()" }, { - "label": "MatchesWorkspaceTarget()", + "label": "Component", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L474", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L38", "_origin": "ast", - "community": 16, - "norm_label": "matchesworkspacetarget()", - "id": "automount_common_matchesworkspacetarget" + "id": "pkg_library_overrides_containers_go_component", + "community": 109, + "norm_label": "component" }, { - "label": "matchesAnyPattern()", + "label": "ApplyContainerOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L489", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L42", "_origin": "ast", - "community": 16, - "norm_label": "matchesanypattern()", - "id": "automount_common_matchesanypattern" + "id": "overrides_containers_applycontaineroverrides", + "community": 109, + "norm_label": "applycontaineroverrides()" }, { - "label": "common_persistenthome_test.go", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L1", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L42", "_origin": "ast", - "community": 226, - "norm_label": "common_persistenthome_test.go", - "id": "automount_common_persistenthome_test" + "id": "pkg_library_overrides_containers_go_container", + "community": 109, + "norm_label": "container" }, { - "label": "TestProvisionAutomountResourcesIntoPersistentHomeEnabled()", + "label": "restrictContainerOverride()", "file_type": "code", - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L31", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L78", "_origin": "ast", - "community": 226, - "norm_label": "testprovisionautomountresourcesintopersistenthomeenabled()", - "id": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled" + "id": "overrides_containers_restrictcontaineroverride", + "community": 109, + "norm_label": "restrictcontaineroverride()" }, { - "label": "T", + "label": "handleDefaultedContainerFields()", "file_type": "code", - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L31", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L107", "_origin": "ast", - "community": 226, - "norm_label": "t", - "id": "pkg_provision_automount_common_persistenthome_test_go_t" + "id": "overrides_containers_handledefaultedcontainerfields", + "community": 109, + "norm_label": "handledefaultedcontainerfields()" }, { - "label": "common_test.go", + "label": "containers_test.go", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", + "source_file": "pkg/library/overrides/containers_test.go", "source_location": "L1", "_origin": "ast", - "community": 9, - "norm_label": "common_test.go", - "id": "automount_common_test" + "id": "overrides_containers_test", + "community": 6, + "norm_label": "containers_test.go" }, { - "label": "mountedVolumeType", + "label": "TestApplyContainerOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L41", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L34", "_origin": "ast", - "community": 9, - "norm_label": "mountedvolumetype", - "id": "automount_mountedvolumetype" + "id": "overrides_containers_test_testapplycontaineroverrides", + "community": 6, + "norm_label": "testapplycontaineroverrides()" }, { - "label": "testCase", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L54", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L34", "_origin": "ast", - "community": 9, - "norm_label": "testcase", - "id": "automount_testcase" + "id": "pkg_library_overrides_containers_test_go_t", + "community": 6, + "norm_label": "t" }, { - "label": "Secret", + "label": "TestRestrictContainerOverride()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L53", "_origin": "ast", - "community": 9, - "norm_label": "secret", - "id": "pkg_provision_automount_common_test_go_secret" + "id": "overrides_containers_test_testrestrictcontaineroverride", + "community": 6, + "norm_label": "testrestrictcontaineroverride()" }, { - "label": "ConfigMap", + "label": "TestApplyContainerOverridesStripsUnknownFields()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L116", "_origin": "ast", - "community": 9, - "norm_label": "configmap", - "id": "pkg_provision_automount_common_test_go_configmap" + "id": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", + "community": 6, + "norm_label": "testapplycontaineroverridesstripsunknownfields()" }, { - "label": "PersistentVolumeClaim", + "label": "containerTestCase", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L145", "_origin": "ast", - "community": 9, - "norm_label": "persistentvolumeclaim", - "id": "pkg_provision_automount_common_test_go_persistentvolumeclaim" + "id": "overrides_containertestcase", + "community": 6, + "norm_label": "containertestcase" }, { - "label": "Object", + "label": "containerTestInput", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L147", "_origin": "ast", - "community": 9, - "norm_label": "object", - "id": "pkg_provision_automount_common_test_go_object" + "id": "containertestinput", + "community": 6, + "norm_label": "containertestinput" }, { - "label": "Volume", + "label": "containerTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L64", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L148", "_origin": "ast", - "community": 9, - "norm_label": "volume", - "id": "pkg_provision_automount_common_test_go_volume" + "id": "containertestoutput", + "community": 6, + "norm_label": "containertestoutput" }, { - "label": "VolumeMount", + "label": "containerTestInput", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L64", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L152", "_origin": "ast", - "community": 9, - "norm_label": "volumemount", - "id": "pkg_provision_automount_common_test_go_volumemount" + "id": "overrides_containertestinput", + "community": 6, + "norm_label": "containertestinput" }, { - "label": "EnvFromSource", + "label": "Component", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L64", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L153", "_origin": "ast", - "community": 9, - "norm_label": "envfromsource", - "id": "pkg_provision_automount_common_test_go_envfromsource" + "id": "pkg_library_overrides_containers_test_go_component", + "community": 6, + "norm_label": "component" }, { - "label": "TestProvisionAutomountResourcesInto()", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L113", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L154", "_origin": "ast", - "community": 9, - "norm_label": "testprovisionautomountresourcesinto()", - "id": "automount_common_test_testprovisionautomountresourcesinto" + "id": "pkg_library_overrides_containers_test_go_container", + "community": 6, + "norm_label": "container" }, { - "label": "T", + "label": "containerTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L113", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L157", "_origin": "ast", - "community": 9, - "norm_label": "t", - "id": "pkg_provision_automount_common_test_go_t" + "id": "overrides_containertestoutput", + "community": 6, + "norm_label": "containertestoutput" }, { - "label": "TestCheckAutoMountVolumesForCollision()", + "label": "loadAllContainerTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L168", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L162", "_origin": "ast", - "community": 9, - "norm_label": "testcheckautomountvolumesforcollision()", - "id": "automount_common_test_testcheckautomountvolumesforcollision" + "id": "overrides_containers_test_loadallcontainertestcasesorpanic", + "community": 6, + "norm_label": "loadallcontainertestcasesorpanic()" }, { - "label": "loadAllTestCasesOrPanic()", + "label": "loadContainerTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L381", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L178", "_origin": "ast", - "community": 9, - "norm_label": "loadalltestcasesorpanic()", - "id": "automount_common_test_loadalltestcasesorpanic" + "id": "overrides_containers_test_loadcontainertestcaseorpanic", + "community": 6, + "norm_label": "loadcontainertestcaseorpanic()" }, { - "label": "loadTestCaseOrPanic()", + "label": "pods.go", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L397", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L1", "_origin": "ast", - "community": 9, - "norm_label": "loadtestcaseorpanic()", - "id": "automount_common_test_loadtestcaseorpanic" + "id": "overrides_pods", + "community": 107, + "norm_label": "pods.go" }, { - "label": "TestShouldNotMountSecretWithMountOnStartIfWorkspaceStarted()", + "label": "NeedsPodOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L440", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L33", "_origin": "ast", - "community": 9, - "norm_label": "testshouldnotmountsecretwithmountonstartifworkspacestarted()", - "id": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted" + "id": "overrides_pods_needspodoverrides", + "community": 107, + "norm_label": "needspodoverrides()" }, { - "label": "TestMountSecretWithMountOnStartIfWorkspaceNotStarted()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L458", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L33", "_origin": "ast", - "community": 9, - "norm_label": "testmountsecretwithmountonstartifworkspacenotstarted()", - "id": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted" + "id": "pkg_library_overrides_pods_go_devworkspacewithconfig", + "community": 107, + "norm_label": "devworkspacewithconfig" }, { - "label": "TestMountOnStartSecretAsEnvAllowedWhenEnvFromExistsInDeployment()", + "label": "ApplyPodOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L477", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L45", "_origin": "ast", - "community": 9, - "norm_label": "testmountonstartsecretasenvallowedwhenenvfromexistsindeployment()", - "id": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment" + "id": "overrides_pods_applypodoverrides", + "community": 107, + "norm_label": "applypodoverrides()" }, { - "label": "TestMountOnStartSecretAsFileAllowedWhenVolumeExistsInDeployment()", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L512", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L45", "_origin": "ast", - "community": 9, - "norm_label": "testmountonstartsecretasfileallowedwhenvolumeexistsindeployment()", - "id": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment" + "id": "pkg_library_overrides_pods_go_deployment", + "community": 107, + "norm_label": "deployment" }, { - "label": "TestShouldNotMountConfigMapWithMountOnStartIfWorkspaceStarted()", + "label": "GetVolumesFromOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L541", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L79", "_origin": "ast", - "community": 9, - "norm_label": "testshouldnotmountconfigmapwithmountonstartifworkspacestarted()", - "id": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted" + "id": "overrides_pods_getvolumesfromoverrides", + "community": 107, + "norm_label": "getvolumesfromoverrides()" }, { - "label": "TestMountConfigMapWithMountOnStartIfWorkspaceNotStarted()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L559", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L79", "_origin": "ast", - "community": 9, - "norm_label": "testmountconfigmapwithmountonstartifworkspacenotstarted()", - "id": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted" + "id": "pkg_library_overrides_pods_go_devworkspacetemplatespec", + "community": 107, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestMountOnStartConfigMapAsEnvAllowedWhenEnvFromExistsInDeployment()", + "label": "getPodOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L578", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L106", "_origin": "ast", - "community": 9, - "norm_label": "testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment()", - "id": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment" + "id": "overrides_pods_getpodoverrides", + "community": 107, + "norm_label": "getpodoverrides()" }, { - "label": "TestMountOnStartConfigMapAsFileAllowedWhenVolumeExistsInDeployment()", + "label": "JSON", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L613", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L106", "_origin": "ast", - "community": 9, - "norm_label": "testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment()", - "id": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment" + "id": "json", + "community": 107, + "norm_label": "json" }, { - "label": "TestShouldNotMountPVCWithMountOnStartIfWorkspaceStarted()", + "label": "restrictPodOverride()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L642", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L138", "_origin": "ast", - "community": 9, - "norm_label": "testshouldnotmountpvcwithmountonstartifworkspacestarted()", - "id": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted" + "id": "overrides_pods_restrictpodoverride", + "community": 107, + "norm_label": "restrictpodoverride()" }, { - "label": "TestMountPVCWithMountOnStartIfWorkspaceNotStarted()", + "label": "PodSpec", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L660", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L138", "_origin": "ast", - "community": 9, - "norm_label": "testmountpvcwithmountonstartifworkspacenotstarted()", - "id": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted" + "id": "pkg_library_overrides_pods_go_podspec", + "community": 107, + "norm_label": "podspec" }, { - "label": "TestMountOnStartPVCAllowedWhenVolumeExistsInDeployment()", + "label": "pods_test.go", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L679", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L1", "_origin": "ast", - "community": 9, - "norm_label": "testmountonstartpvcallowedwhenvolumeexistsindeployment()", - "id": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment" + "id": "overrides_pods_test", + "community": 107, + "norm_label": "pods_test.go" }, { - "label": "emptyDeployment()", + "label": "TestApplyPodOverrides()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L708", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L36", "_origin": "ast", - "community": 9, - "norm_label": "emptydeployment()", - "id": "automount_common_test_emptydeployment" + "id": "overrides_pods_test_testapplypodoverrides", + "community": 107, + "norm_label": "testapplypodoverrides()" }, { - "label": "Deployment", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L708", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L36", "_origin": "ast", - "community": 9, - "norm_label": "deployment", - "id": "pkg_provision_automount_common_test_go_deployment" + "id": "pkg_library_overrides_pods_test_go_t", + "community": 107, + "norm_label": "t" }, { - "label": "mountOnStartSecretAsFile()", + "label": "TestNeedsPodOverride()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L720", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L60", "_origin": "ast", - "community": 9, - "norm_label": "mountonstartsecretasfile()", - "id": "automount_common_test_mountonstartsecretasfile" + "id": "overrides_pods_test_testneedspodoverride", + "community": 107, + "norm_label": "testneedspodoverride()" }, { - "label": "mountOnStartSecretAsEnv()", + "label": "TestRestrictPodOverride()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L741", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L178", "_origin": "ast", - "community": 9, - "norm_label": "mountonstartsecretasenv()", - "id": "automount_common_test_mountonstartsecretasenv" + "id": "overrides_pods_test_testrestrictpodoverride", + "community": 107, + "norm_label": "testrestrictpodoverride()" }, { - "label": "mountOnStartConfigMapAsFile()", + "label": "TestApplyPodOverridesStripsUnknownFields()", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L761", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L217", "_origin": "ast", - "community": 9, - "norm_label": "mountonstartconfigmapasfile()", - "id": "automount_common_test_mountonstartconfigmapasfile" + "id": "overrides_pods_test_testapplypodoverridesstripsunknownfields", + "community": 107, + "norm_label": "testapplypodoverridesstripsunknownfields()" }, { - "label": "mountOnStartConfigMapAsEnv()", + "label": "podTestCase", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L782", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L254", "_origin": "ast", - "community": 9, - "norm_label": "mountonstartconfigmapasenv()", - "id": "automount_common_test_mountonstartconfigmapasenv" + "id": "overrides_podtestcase", + "community": 107, + "norm_label": "podtestcase" }, { - "label": "mountOnStartPVC()", + "label": "podTestInput", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L802", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L256", "_origin": "ast", - "community": 9, - "norm_label": "mountonstartpvc()", - "id": "automount_common_test_mountonstartpvc" + "id": "podtestinput", + "community": 107, + "norm_label": "podtestinput" }, { - "label": "TestMatchesWorkspaceTarget()", + "label": "podTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L818", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L257", "_origin": "ast", - "community": 9, - "norm_label": "testmatchesworkspacetarget()", - "id": "automount_common_test_testmatchesworkspacetarget" + "id": "podtestoutput", + "community": 107, + "norm_label": "podtestoutput" }, { - "label": "configmap.go", + "label": "podTestInput", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L1", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L261", "_origin": "ast", - "community": 116, - "norm_label": "configmap.go", - "id": "automount_configmap" + "id": "overrides_podtestinput", + "community": 107, + "norm_label": "podtestinput" }, { - "label": "getDevWorkspaceConfigmaps()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L262", "_origin": "ast", - "community": 116, - "norm_label": "getdevworkspaceconfigmaps()", - "id": "automount_configmap_getdevworkspaceconfigmaps" + "id": "pkg_library_overrides_pods_test_go_devworkspacetemplatespec", + "community": 107, + "norm_label": "devworkspacetemplatespec" }, { - "label": "ClusterAPI", + "label": "PodTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L263", "_origin": "ast", - "community": 116, - "norm_label": "clusterapi", - "id": "pkg_provision_automount_configmap_go_clusterapi" + "id": "podtemplatespec", + "community": 107, + "norm_label": "podtemplatespec" }, { - "label": "Deployment", + "label": "podTestOutput", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L266", "_origin": "ast", - "community": 116, - "norm_label": "deployment", - "id": "pkg_provision_automount_configmap_go_deployment" + "id": "overrides_podtestoutput", + "community": 107, + "norm_label": "podtestoutput" }, { - "label": "Resources", + "label": "loadAllPodTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L271", "_origin": "ast", - "community": 116, - "norm_label": "resources", - "id": "pkg_provision_automount_configmap_go_resources" + "id": "overrides_pods_test_loadallpodtestcasesorpanic", + "community": 107, + "norm_label": "loadallpodtestcasesorpanic()" }, { - "label": "getAutomountConfigmap()", + "label": "loadPodTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L89", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L287", "_origin": "ast", - "community": 116, - "norm_label": "getautomountconfigmap()", - "id": "automount_configmap_getautomountconfigmap" + "id": "overrides_pods_test_loadpodtestcaseorpanic", + "community": 107, + "norm_label": "loadpodtestcaseorpanic()" }, { - "label": "ConfigMap", + "label": "container_restrictions.go", "file_type": "code", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L89", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L1", "_origin": "ast", - "community": 116, - "norm_label": "configmap", - "id": "pkg_provision_automount_configmap_go_configmap" + "id": "restrictions_container_restrictions", + "community": 5, + "norm_label": "container_restrictions.go" }, { - "label": "gitconfig.go", + "label": "getContainerRestrictionErr()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L1", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L23", "_origin": "ast", - "community": 69, - "norm_label": "gitconfig.go", - "id": "automount_gitconfig" + "id": "restrictions_container_restrictions_getcontainerrestrictionerr", + "community": 5, + "norm_label": "getcontainerrestrictionerr()" }, { - "label": "ProvisionGitConfiguration()", + "label": "RestrictContainer()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L27", "_origin": "ast", - "community": 3, - "norm_label": "provisiongitconfiguration()", - "id": "automount_gitconfig_provisiongitconfiguration" + "id": "restrictions_container_restrictions_restrictcontainer", + "community": 5, + "norm_label": "restrictcontainer()" }, { - "label": "ClusterAPI", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L27", "_origin": "ast", - "community": 69, - "norm_label": "clusterapi", - "id": "pkg_provision_automount_gitconfig_go_clusterapi" + "id": "pkg_library_overrides_restrictions_container_restrictions_go_container", + "community": 5, + "norm_label": "container" }, { - "label": "Deployment", + "label": "checkContainer()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L50", "_origin": "ast", - "community": 69, - "norm_label": "deployment", - "id": "pkg_provision_automount_gitconfig_go_deployment" + "id": "restrictions_container_restrictions_checkcontainer", + "community": 5, + "norm_label": "checkcontainer()" }, { - "label": "Resources", + "label": "FieldRestriction", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L50", "_origin": "ast", - "community": 3, - "norm_label": "resources", - "id": "pkg_provision_automount_gitconfig_go_resources" + "id": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction", + "community": 5, + "norm_label": "fieldrestriction" }, { - "label": "getGitResources()", + "label": "checkEnvsFrom()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L134", "_origin": "ast", - "community": 69, - "norm_label": "getgitresources()", - "id": "automount_gitconfig_getgitresources" + "id": "restrictions_container_restrictions_checkenvsfrom", + "community": 5, + "norm_label": "checkenvsfrom()" }, { - "label": "Secret", + "label": "EnvFromSource", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L134", "_origin": "ast", - "community": 69, - "norm_label": "secret", - "id": "pkg_provision_automount_gitconfig_go_secret" + "id": "pkg_library_overrides_restrictions_container_restrictions_go_envfromsource", + "community": 5, + "norm_label": "envfromsource" }, { - "label": "ConfigMap", + "label": "checkEnvFrom()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L150", "_origin": "ast", - "community": 69, - "norm_label": "configmap", - "id": "pkg_provision_automount_gitconfig_go_configmap" + "id": "restrictions_container_restrictions_checkenvfrom", + "community": 5, + "norm_label": "checkenvfrom()" }, { - "label": "cleanupGitConfig()", + "label": "checkConfigMapRef()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L150", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L175", "_origin": "ast", - "community": 69, - "norm_label": "cleanupgitconfig()", - "id": "automount_gitconfig_cleanupgitconfig" + "id": "restrictions_container_restrictions_checkconfigmapref", + "community": 5, + "norm_label": "checkconfigmapref()" }, { - "label": "canGitCredentialsMountWithoutRestart()", + "label": "ConfigMapEnvSource", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L190", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L175", "_origin": "ast", - "community": 69, - "norm_label": "cangitcredentialsmountwithoutrestart()", - "id": "automount_gitconfig_cangitcredentialsmountwithoutrestart" + "id": "configmapenvsource", + "community": 5, + "norm_label": "configmapenvsource" }, { - "label": "canGitConfigsMountWithoutRestart()", + "label": "checkSecretRef()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L195", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L187", "_origin": "ast", - "community": 69, - "norm_label": "cangitconfigsmountwithoutrestart()", - "id": "automount_gitconfig_cangitconfigsmountwithoutrestart" + "id": "restrictions_container_restrictions_checksecretref", + "community": 5, + "norm_label": "checksecretref()" }, { - "label": "canGitObjectsMountWithoutRestart()", + "label": "SecretEnvSource", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L200", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L187", "_origin": "ast", - "community": 69, - "norm_label": "cangitobjectsmountwithoutrestart()", - "id": "automount_gitconfig_cangitobjectsmountwithoutrestart" + "id": "secretenvsource", + "community": 5, + "norm_label": "secretenvsource" }, { - "label": "T", + "label": "checkVolumeMounts()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L200", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L199", "_origin": "ast", - "community": 69, - "norm_label": "t", - "id": "pkg_provision_automount_gitconfig_go_t" + "id": "restrictions_container_restrictions_checkvolumemounts", + "community": 5, + "norm_label": "checkvolumemounts()" }, { - "label": "allItemsMountOnStart()", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L221", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L199", "_origin": "ast", - "community": 69, - "norm_label": "allitemsmountonstart()", - "id": "automount_gitconfig_allitemsmountonstart" + "id": "pkg_library_overrides_restrictions_container_restrictions_go_volumemount", + "community": 5, + "norm_label": "volumemount" }, { - "label": "gitconfig_test.go", + "label": "checkVolumeMount()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L213", "_origin": "ast", - "community": 3, - "norm_label": "gitconfig_test.go", - "id": "automount_gitconfig_test" + "id": "restrictions_container_restrictions_checkvolumemount", + "community": 5, + "norm_label": "checkvolumemount()" }, { - "label": "TestUserCredentialsAreMountedWithOneCredential()", + "label": "checkVolumeDevices()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L46", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L234", "_origin": "ast", - "community": 3, - "norm_label": "testusercredentialsaremountedwithonecredential()", - "id": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential" + "id": "restrictions_container_restrictions_checkvolumedevices", + "community": 5, + "norm_label": "checkvolumedevices()" }, { - "label": "T", + "label": "VolumeDevice", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L46", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L234", "_origin": "ast", - "community": 3, - "norm_label": "t", - "id": "pkg_provision_automount_gitconfig_test_go_t" + "id": "volumedevice", + "community": 5, + "norm_label": "volumedevice" }, { - "label": "TestUserCredentialsAreOnlyMountedOnceWithMultipleCredentials()", + "label": "checkVolumeDevice()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L71", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L248", "_origin": "ast", - "community": 3, - "norm_label": "testusercredentialsareonlymountedoncewithmultiplecredentials()", - "id": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials" + "id": "restrictions_container_restrictions_checkvolumedevice", + "community": 5, + "norm_label": "checkvolumedevice()" }, { - "label": "TestGitConfigIsFullyMounted()", + "label": "checkContainerSecurityContext()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L97", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L259", "_origin": "ast", - "community": 3, - "norm_label": "testgitconfigisfullymounted()", - "id": "automount_gitconfig_test_testgitconfigisfullymounted" + "id": "restrictions_container_restrictions_checkcontainersecuritycontext", + "community": 5, + "norm_label": "checkcontainersecuritycontext()" }, { - "label": "TestOneConfigMapWithNoUserMountPath()", + "label": "SecurityContext", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L117", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L259", "_origin": "ast", - "community": 3, - "norm_label": "testoneconfigmapwithnousermountpath()", - "id": "automount_gitconfig_test_testoneconfigmapwithnousermountpath" + "id": "pkg_library_overrides_restrictions_container_restrictions_go_securitycontext", + "community": 5, + "norm_label": "securitycontext" }, { - "label": "TestOneConfigMapWithMountPathAndHostAndCert()", + "label": "checkCapabilities()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L130", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L311", "_origin": "ast", - "community": 3, - "norm_label": "testoneconfigmapwithmountpathandhostandcert()", - "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert" + "id": "restrictions_container_restrictions_checkcapabilities", + "community": 5, + "norm_label": "checkcapabilities()" }, { - "label": "TestOneConfigMapWithMountPathAndWithoutHostAndWithoutCert()", + "label": "Capabilities", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L143", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L311", "_origin": "ast", - "community": 3, - "norm_label": "testoneconfigmapwithmountpathandwithouthostandwithoutcert()", - "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert" + "id": "capabilities", + "community": 5, + "norm_label": "capabilities" }, { - "label": "TestOneConfigMapWithMountPathAndWithoutHostAndWithCert()", + "label": "container_restrictions_test.go", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L153", + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L1", "_origin": "ast", - "community": 3, - "norm_label": "testoneconfigmapwithmountpathandwithouthostandwithcert()", - "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert" + "id": "restrictions_container_restrictions_test", + "community": 5, + "norm_label": "container_restrictions_test.go" }, { - "label": "TestOneConfigMapWithMountPathAndWithHostAndWithoutCert()", + "label": "TestRestrictContainer()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L168", + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L26", "_origin": "ast", - "community": 3, - "norm_label": "testoneconfigmapwithmountpathandwithhostandwithoutcert()", - "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert" + "id": "restrictions_container_restrictions_test_testrestrictcontainer", + "community": 5, + "norm_label": "testrestrictcontainer()" }, { - "label": "TestTwoConfigMapWithNoDefinedMountPathInAnnotation()", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L180", + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L26", "_origin": "ast", - "community": 3, - "norm_label": "testtwoconfigmapwithnodefinedmountpathinannotation()", - "id": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation" + "id": "pkg_library_overrides_restrictions_container_restrictions_test_go_t", + "community": 5, + "norm_label": "t" }, { - "label": "TestTwoConfigMapWithOneDefaultTLSAndOtherGithubTLS()", + "label": "pod_restrictions.go", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L194", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L1", "_origin": "ast", - "community": 3, - "norm_label": "testtwoconfigmapwithonedefaulttlsandothergithubtls()", - "id": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls" + "id": "restrictions_pod_restrictions", + "community": 5, + "norm_label": "pod_restrictions.go" }, { - "label": "TestTwoConfigMapWithBothMissingHost()", + "label": "getPodRestrictionErr()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L213", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L23", "_origin": "ast", - "community": 3, - "norm_label": "testtwoconfigmapwithbothmissinghost()", - "id": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost" + "id": "restrictions_pod_restrictions_getpodrestrictionerr", + "community": 5, + "norm_label": "getpodrestrictionerr()" }, { - "label": "TestShouldNotMountGitCredentialSecretWithMountOnStartIfWorkspaceStarted()", + "label": "RestrictPod()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L227", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L27", "_origin": "ast", - "community": 3, - "norm_label": "testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted()", - "id": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted" + "id": "restrictions_pod_restrictions_restrictpod", + "community": 5, + "norm_label": "restrictpod()" }, { - "label": "TestMountGitCredentialSecretWithMountOnStartIfWorkspaceNotStarted()", + "label": "PodSpec", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L252", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L27", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitcredentialsecretwithmountonstartifworkspacenotstarted()", - "id": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted" + "id": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec", + "community": 5, + "norm_label": "podspec" }, { - "label": "TestMountGitCredentialSecretWithMountOnStartWhenVolumeExistsInDeployment()", + "label": "RestrictPodAndContainers()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L281", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L50", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment()", - "id": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment" + "id": "restrictions_pod_restrictions_restrictpodandcontainers", + "community": 5, + "norm_label": "restrictpodandcontainers()" }, { - "label": "TestMountGitCredentialSecretWithMixedMountOnStart()", + "label": "checkPodField()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L321", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L74", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitcredentialsecretwithmixedmountonstart()", - "id": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart" + "id": "restrictions_pod_restrictions_checkpodfield", + "community": 5, + "norm_label": "checkpodfield()" }, { - "label": "TestShouldNotMountGitConfigWithMountOnStartIfWorkspaceStarted()", + "label": "FieldRestriction", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L353", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L74", "_origin": "ast", - "community": 3, - "norm_label": "testshouldnotmountgitconfigwithmountonstartifworkspacestarted()", - "id": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted" + "id": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction", + "community": 5, + "norm_label": "fieldrestriction" }, { - "label": "TestMountGitConfigWithMountOnStartIfWorkspaceNotStarted()", + "label": "checkVolumes()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L376", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L214", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitconfigwithmountonstartifworkspacenotstarted()", - "id": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted" + "id": "restrictions_pod_restrictions_checkvolumes", + "community": 5, + "norm_label": "checkvolumes()" }, { - "label": "TestMountGitConfigWithMountOnStartWhenVolumeExistsInDeployment()", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L403", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L214", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitconfigwithmountonstartwhenvolumeexistsindeployment()", - "id": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment" + "id": "pkg_library_overrides_restrictions_pod_restrictions_go_volume", + "community": 5, + "norm_label": "volume" }, { - "label": "TestMountGitConfigWithMixedMountOnStart()", + "label": "checkVolume()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L440", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L228", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitconfigwithmixedmountonstart()", - "id": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart" + "id": "restrictions_pod_restrictions_checkvolume", + "community": 5, + "norm_label": "checkvolume()" }, { - "label": "TestMountGitCredentialSecretWithIncludeAnnotationMatching()", + "label": "checkPodSecurityContext()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L470", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L242", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitcredentialsecretwithincludeannotationmatching()", - "id": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching" + "id": "restrictions_pod_restrictions_checkpodsecuritycontext", + "community": 5, + "norm_label": "checkpodsecuritycontext()" }, { - "label": "TestSkipGitCredentialSecretWithIncludeAnnotationNotMatching()", + "label": "PodSecurityContext", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L500", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L242", "_origin": "ast", - "community": 3, - "norm_label": "testskipgitcredentialsecretwithincludeannotationnotmatching()", - "id": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching" + "id": "pkg_library_overrides_restrictions_pod_restrictions_go_podsecuritycontext", + "community": 5, + "norm_label": "podsecuritycontext" }, { - "label": "TestSkipGitCredentialSecretWithExcludeAnnotationMatching()", + "label": "checkSysctls()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L526", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L285", "_origin": "ast", - "community": 3, - "norm_label": "testskipgitcredentialsecretwithexcludeannotationmatching()", - "id": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching" + "id": "restrictions_pod_restrictions_checksysctls", + "community": 5, + "norm_label": "checksysctls()" }, { - "label": "TestMountGitCredentialSecretWithExcludeAnnotationNotMatching()", + "label": "Sysctl", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L552", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L285", "_origin": "ast", - "community": 3, - "norm_label": "testmountgitcredentialsecretwithexcludeannotationnotmatching()", - "id": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching" + "id": "sysctl", + "community": 5, + "norm_label": "sysctl" }, { - "label": "TestMountGitTLSConfigMapWithIncludeAnnotationMatching()", + "label": "checkSupplementalGroups()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L582", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L305", "_origin": "ast", - "community": 3, - "norm_label": "testmountgittlsconfigmapwithincludeannotationmatching()", - "id": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching" + "id": "restrictions_pod_restrictions_checksupplementalgroups", + "community": 5, + "norm_label": "checksupplementalgroups()" }, { - "label": "TestSkipGitTLSConfigMapWithIncludeAnnotationNotMatching()", + "label": "checkResourceClaims()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L609", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L325", "_origin": "ast", - "community": 3, - "norm_label": "testskipgittlsconfigmapwithincludeannotationnotmatching()", - "id": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching" + "id": "restrictions_pod_restrictions_checkresourceclaims", + "community": 5, + "norm_label": "checkresourceclaims()" }, { - "label": "TestSkipGitTLSConfigMapWithExcludeAnnotationMatching()", + "label": "PodResourceClaim", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L633", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L325", "_origin": "ast", - "community": 3, - "norm_label": "testskipgittlsconfigmapwithexcludeannotationmatching()", - "id": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching" + "id": "podresourceclaim", + "community": 5, + "norm_label": "podresourceclaim" }, { - "label": "TestMountGitTLSConfigMapWithExcludeAnnotationNotMatching()", + "label": "checkResourceClaim()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L657", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L339", "_origin": "ast", - "community": 3, - "norm_label": "testmountgittlsconfigmapwithexcludeannotationnotmatching()", - "id": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching" + "id": "restrictions_pod_restrictions_checkresourceclaim", + "community": 5, + "norm_label": "checkresourceclaim()" }, { - "label": "TestFindGitconfigAutomountConfigMapIncludeMatches()", + "label": "checkImagePullSecrets()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L684", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L352", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountconfigmapincludematches()", - "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches" + "id": "restrictions_pod_restrictions_checkimagepullsecrets", + "community": 5, + "norm_label": "checkimagepullsecrets()" }, { - "label": "TestFindGitconfigAutomountConfigMapIncludeDoesNotMatch()", + "label": "LocalObjectReference", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L711", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L352", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountconfigmapincludedoesnotmatch()", - "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch" + "id": "pkg_library_overrides_restrictions_pod_restrictions_go_localobjectreference", + "community": 5, + "norm_label": "localobjectreference" }, { - "label": "TestFindGitconfigAutomountConfigMapExcludeMatches()", + "label": "volumeSourceType()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L736", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L368", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountconfigmapexcludematches()", - "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches" + "id": "restrictions_pod_restrictions_volumesourcetype", + "community": 5, + "norm_label": "volumesourcetype()" }, { - "label": "TestFindGitconfigAutomountConfigMapExcludeDoesNotMatch()", + "label": "pod_restrictions_test.go", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L761", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountconfigmapexcludedoesnotmatch()", - "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch" + "id": "restrictions_pod_restrictions_test", + "community": 5, + "norm_label": "pod_restrictions_test.go" }, { - "label": "TestFindGitconfigAutomountSecretIncludeMatches()", + "label": "TestRestrictPod()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L788", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L26", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountsecretincludematches()", - "id": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches" + "id": "restrictions_pod_restrictions_test_testrestrictpod", + "community": 5, + "norm_label": "testrestrictpod()" }, { - "label": "TestFindGitconfigAutomountSecretIncludeDoesNotMatch()", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L815", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L26", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountsecretincludedoesnotmatch()", - "id": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch" + "id": "pkg_library_overrides_restrictions_pod_restrictions_test_go_t", + "community": 5, + "norm_label": "t" }, { - "label": "TestFindGitconfigAutomountSecretExcludeMatches()", + "label": "preemptionPolicyPtr()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L840", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1440", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountsecretexcludematches()", - "id": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches" + "id": "restrictions_pod_restrictions_test_preemptionpolicyptr", + "community": 5, + "norm_label": "preemptionpolicyptr()" }, { - "label": "TestFindGitconfigAutomountSecretExcludeDoesNotMatch()", + "label": "PreemptionPolicy", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L865", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1440", "_origin": "ast", - "community": 3, - "norm_label": "testfindgitconfigautomountsecretexcludedoesnotmatch()", - "id": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch" + "id": "preemptionpolicy", + "community": 5, + "norm_label": "preemptionpolicy" }, { - "label": "buildAutomountGitConfigMap()", + "label": "supplementalGroupsPolicyPtr()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L892", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1444", "_origin": "ast", - "community": 3, - "norm_label": "buildautomountgitconfigmap()", - "id": "automount_gitconfig_test_buildautomountgitconfigmap" + "id": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr", + "community": 5, + "norm_label": "supplementalgroupspolicyptr()" }, { - "label": "ConfigMap", + "label": "SupplementalGroupsPolicy", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L892", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1444", "_origin": "ast", - "community": 3, - "norm_label": "configmap", - "id": "pkg_provision_automount_gitconfig_test_go_configmap" + "id": "supplementalgroupspolicy", + "community": 5, + "norm_label": "supplementalgroupspolicy" }, { - "label": "buildAutomountGitSecret()", + "label": "fsGroupChangePolicyPtr()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L901", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1448", "_origin": "ast", - "community": 3, - "norm_label": "buildautomountgitsecret()", - "id": "automount_gitconfig_test_buildautomountgitsecret" + "id": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr", + "community": 5, + "norm_label": "fsgroupchangepolicyptr()" }, { - "label": "Secret", + "label": "PodFSGroupChangePolicy", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L901", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1448", "_origin": "ast", - "community": 3, - "norm_label": "secret", - "id": "pkg_provision_automount_gitconfig_test_go_secret" + "id": "podfsgroupchangepolicy", + "community": 5, + "norm_label": "podfsgroupchangepolicy" }, { - "label": "buildConfig()", + "label": "seLinuxChangePolicyPtr()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L910", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1452", "_origin": "ast", - "community": 3, - "norm_label": "buildconfig()", - "id": "automount_gitconfig_test_buildconfig" + "id": "restrictions_pod_restrictions_test_selinuxchangepolicyptr", + "community": 5, + "norm_label": "selinuxchangepolicyptr()" }, { - "label": "buildSecret()", + "label": "PodSELinuxChangePolicy", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L926", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1452", "_origin": "ast", - "community": 3, - "norm_label": "buildsecret()", - "id": "automount_gitconfig_test_buildsecret" + "id": "podselinuxchangepolicy", + "community": 5, + "norm_label": "podselinuxchangepolicy" }, { - "label": "buildSecretWithAnnotations()", + "label": "restrictions.go", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L942", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L1", "_origin": "ast", - "community": 3, - "norm_label": "buildsecretwithannotations()", - "id": "automount_gitconfig_test_buildsecretwithannotations" + "id": "restrictions_restrictions", + "community": 5, + "norm_label": "restrictions.go" }, { - "label": "buildConfigWithAnnotations()", + "label": "FieldRestriction", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L950", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L24", "_origin": "ast", - "community": 3, - "norm_label": "buildconfigwithannotations()", - "id": "automount_gitconfig_test_buildconfigwithannotations" + "id": "restrictions_fieldrestriction", + "community": 5, + "norm_label": "fieldrestriction" }, { - "label": "assertGitConfigContains()", + "label": ".checkAny()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L958", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L30", "_origin": "ast", - "community": 3, - "norm_label": "assertgitconfigcontains()", - "id": "automount_gitconfig_test_assertgitconfigcontains" + "id": "restrictions_fieldrestriction_checkany", + "community": 5, + "norm_label": ".checkany()" }, { - "label": "ClusterAPI", + "label": ".checkString()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L958", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L39", "_origin": "ast", - "community": 3, - "norm_label": "clusterapi", - "id": "pkg_provision_automount_gitconfig_test_go_clusterapi" + "id": "restrictions_fieldrestriction_checkstring", + "community": 5, + "norm_label": ".checkstring()" }, { - "label": "assertGitCredentialsSecret()", + "label": ".checkBool()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L973", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L54", "_origin": "ast", - "community": 3, - "norm_label": "assertgitcredentialssecret()", - "id": "automount_gitconfig_test_assertgitcredentialssecret" + "id": "restrictions_fieldrestriction_checkbool", + "community": 5, + "norm_label": ".checkbool()" }, { - "label": "assertGitCredentialsConfigMap()", + "label": ".checkInt32()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L988", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L68", "_origin": "ast", - "community": 3, - "norm_label": "assertgitcredentialsconfigmap()", - "id": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "id": "restrictions_fieldrestriction_checkint32", + "community": 5, + "norm_label": ".checkint32()" }, { - "label": "assertGitCredentialsConfigMapWithSslCAInfo()", + "label": ".checkInt64()", "file_type": "code", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1004", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L82", "_origin": "ast", - "community": 3, - "norm_label": "assertgitcredentialsconfigmapwithsslcainfo()", - "id": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "id": "restrictions_fieldrestriction_checkint64", + "community": 5, + "norm_label": ".checkint64()" }, { - "label": "projected.go", + "label": ".checkRestrictedValue()", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L1", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L95", "_origin": "ast", - "community": 47, - "norm_label": "projected.go", - "id": "automount_projected" + "id": "restrictions_fieldrestriction_checkrestrictedvalue", + "community": 5, + "norm_label": ".checkrestrictedvalue()" }, { - "label": "mergeProjectedVolumes()", + "label": "GetRestrictedContainerFields()", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L29", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L103", "_origin": "ast", - "community": 47, - "norm_label": "mergeprojectedvolumes()", - "id": "automount_projected_mergeprojectedvolumes" + "id": "restrictions_restrictions_getrestrictedcontainerfields", + "community": 5, + "norm_label": "getrestrictedcontainerfields()" }, { - "label": "Resources", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L29", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L103", "_origin": "ast", - "community": 47, - "norm_label": "resources", - "id": "pkg_provision_automount_projected_go_resources" + "id": "pkg_library_overrides_restrictions_restrictions_go_devworkspacewithconfig", + "community": 5, + "norm_label": "devworkspacewithconfig" }, { - "label": "generateProjectedVolume()", + "label": "GetRestrictedPodFields()", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L92", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L111", "_origin": "ast", - "community": 47, - "norm_label": "generateprojectedvolume()", - "id": "automount_projected_generateprojectedvolume" + "id": "restrictions_restrictions_getrestrictedpodfields", + "community": 5, + "norm_label": "getrestrictedpodfields()" }, { - "label": "VolumeMount", + "label": "checkResources()", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L92", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L119", "_origin": "ast", - "community": 47, - "norm_label": "volumemount", - "id": "pkg_provision_automount_projected_go_volumemount" + "id": "restrictions_restrictions_checkresources", + "community": 5, + "norm_label": "checkresources()" }, { - "label": "Volume", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L92", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L119", "_origin": "ast", - "community": 47, - "norm_label": "volume", - "id": "pkg_provision_automount_projected_go_volume" + "id": "pkg_library_overrides_restrictions_restrictions_go_resourcerequirements", + "community": 5, + "norm_label": "resourcerequirements" }, { - "label": "checkCanUseProjectedVolumes()", + "label": "checkResourceList()", "file_type": "code", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L158", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L155", "_origin": "ast", - "community": 47, - "norm_label": "checkcanuseprojectedvolumes()", - "id": "automount_projected_checkcanuseprojectedvolumes" + "id": "restrictions_restrictions_checkresourcelist", + "community": 5, + "norm_label": "checkresourcelist()" }, { - "label": "projected_test.go", + "label": "ResourceList", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L1", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L155", "_origin": "ast", - "community": 76, - "norm_label": "projected_test.go", - "id": "automount_projected_test" + "id": "pkg_library_overrides_restrictions_restrictions_go_resourcelist", + "community": 5, + "norm_label": "resourcelist" }, { - "label": "TestMergeProjectedVolumes()", + "label": "checkContainerResourceClaims()", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L54", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L171", "_origin": "ast", - "community": 76, - "norm_label": "testmergeprojectedvolumes()", - "id": "automount_projected_test_testmergeprojectedvolumes" + "id": "restrictions_restrictions_checkcontainerresourceclaims", + "community": 5, + "norm_label": "checkcontainerresourceclaims()" }, { - "label": "T", + "label": "ResourceClaim", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L54", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L171", "_origin": "ast", - "community": 76, - "norm_label": "t", - "id": "pkg_provision_automount_projected_test_go_t" + "id": "resourceclaim", + "community": 5, + "norm_label": "resourceclaim" }, { - "label": "testSecretVolume()", + "label": "clone.go", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L242", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L1", "_origin": "ast", - "community": 76, - "norm_label": "testsecretvolume()", - "id": "automount_projected_test_testsecretvolume" + "id": "projects_clone", + "community": 83, + "norm_label": "clone.go" }, { - "label": "Volume", + "label": "Options", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L242", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L37", "_origin": "ast", - "community": 76, - "norm_label": "volume", - "id": "pkg_provision_automount_projected_test_go_volume" + "id": "projects_options", + "community": 83, + "norm_label": "options" }, { - "label": "testConfigmapVolume()", + "label": "PullPolicy", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L253", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L39", "_origin": "ast", - "community": 76, - "norm_label": "testconfigmapvolume()", - "id": "automount_projected_test_testconfigmapvolume" + "id": "pkg_library_projects_clone_go_pullpolicy", + "community": 83, + "norm_label": "pullpolicy" }, { - "label": "testPVCVolume()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L266", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L40", "_origin": "ast", - "community": 76, - "norm_label": "testpvcvolume()", - "id": "automount_projected_test_testpvcvolume" + "id": "pkg_library_projects_clone_go_resourcerequirements", + "community": 83, + "norm_label": "resourcerequirements" }, { - "label": "testVolumeMount()", + "label": "EnvVar", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L277", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L41", "_origin": "ast", - "community": 76, - "norm_label": "testvolumemount()", - "id": "automount_projected_test_testvolumemount" + "id": "pkg_library_projects_clone_go_envvar", + "community": 83, + "norm_label": "envvar" }, { - "label": "VolumeMount", + "label": "ValidateAllProjects()", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L277", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L46", "_origin": "ast", - "community": 76, - "norm_label": "volumemount", - "id": "pkg_provision_automount_projected_test_go_volumemount" + "id": "projects_clone_validateallprojects", + "community": 83, + "norm_label": "validateallprojects()" }, { - "label": "testSubpathVolumeMount()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L285", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L46", "_origin": "ast", - "community": 76, - "norm_label": "testsubpathvolumemount()", - "id": "automount_projected_test_testsubpathvolumemount" + "id": "pkg_library_projects_clone_go_devworkspacetemplatespec", + "community": 83, + "norm_label": "devworkspacetemplatespec" }, { - "label": "testEnvFromSource()", + "label": "GetProjectCloneInitContainer()", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L294", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "_origin": "ast", - "community": 76, - "norm_label": "testenvfromsource()", - "id": "automount_projected_test_testenvfromsource" + "id": "projects_clone_getprojectcloneinitcontainer", + "community": 83, + "norm_label": "getprojectcloneinitcontainer()" }, { - "label": "EnvFromSource", + "label": "Proxy", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L294", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "_origin": "ast", - "community": 76, - "norm_label": "envfromsource", - "id": "pkg_provision_automount_projected_test_go_envfromsource" + "id": "pkg_library_projects_clone_go_proxy", + "community": 83, + "norm_label": "proxy" }, { - "label": "testProjectedVolume()", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L304", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "_origin": "ast", - "community": 76, - "norm_label": "testprojectedvolume()", - "id": "automount_projected_test_testprojectedvolume" + "id": "pkg_library_projects_clone_go_container", + "community": 83, + "norm_label": "container" }, { - "label": "pvcs.go", + "label": "GetStarterProject()", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L1", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L135", "_origin": "ast", - "community": 130, - "norm_label": "pvcs.go", - "id": "automount_pvcs" + "id": "projects_clone_getstarterproject", + "community": 83, + "norm_label": "getstarterproject()" }, { - "label": "mountPathEntry", + "label": "StarterProject", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L38", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L135", "_origin": "ast", - "community": 130, - "norm_label": "mountpathentry", - "id": "automount_mountpathentry" + "id": "pkg_library_projects_clone_go_starterproject", + "community": 83, + "norm_label": "starterproject" }, { - "label": "parseMountPathAnnotation()", + "label": "GetClonePath()", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L43", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L154", "_origin": "ast", - "community": 130, - "norm_label": "parsemountpathannotation()", - "id": "automount_pvcs_parsemountpathannotation" + "id": "projects_clone_getclonepath", + "community": 42, + "norm_label": "getclonepath()" }, { - "label": "getAutoMountPVCs()", + "label": "Project", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L154", "_origin": "ast", - "community": 130, - "norm_label": "getautomountpvcs()", - "id": "automount_pvcs_getautomountpvcs" + "id": "pkg_library_projects_clone_go_project", + "community": 42, + "norm_label": "project" }, { - "label": "ClusterAPI", + "label": "hasContainerComponents()", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L161", "_origin": "ast", - "community": 130, - "norm_label": "clusterapi", - "id": "pkg_provision_automount_pvcs_go_clusterapi" + "id": "projects_clone_hascontainercomponents", + "community": 83, + "norm_label": "hascontainercomponents()" }, { - "label": "Deployment", + "label": "helper.go", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L1", "_origin": "ast", - "community": 130, - "norm_label": "deployment", - "id": "pkg_provision_automount_pvcs_go_deployment" + "id": "resources_helper", + "community": 61, + "norm_label": "helper.go" }, { - "label": "Resources", + "label": "ParseResourcesFromComponent()", "file_type": "code", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L33", "_origin": "ast", - "community": 130, - "norm_label": "resources", - "id": "pkg_provision_automount_pvcs_go_resources" + "id": "resources_helper_parseresourcesfromcomponent", + "community": 61, + "norm_label": "parseresourcesfromcomponent()" }, { - "label": "templates.go", + "label": "Component", "file_type": "code", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L1", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L33", "_origin": "ast", - "community": 3, - "norm_label": "templates.go", - "id": "automount_templates" + "id": "pkg_library_resources_helper_go_component", + "community": 61, + "norm_label": "component" }, { - "label": "constructGitConfig()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L60", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L33", "_origin": "ast", - "community": 3, - "norm_label": "constructgitconfig()", - "id": "automount_templates_constructgitconfig" + "id": "pkg_library_resources_helper_go_resourcerequirements", + "community": 61, + "norm_label": "resourcerequirements" }, { - "label": "ConfigMap", + "label": "AddResourceRequirements()", "file_type": "code", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L60", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L88", "_origin": "ast", - "community": 3, - "norm_label": "configmap", - "id": "pkg_provision_automount_templates_go_configmap" + "id": "resources_helper_addresourcerequirements", + "community": 61, + "norm_label": "addresourcerequirements()" }, { - "label": "mergeGitCredentials()", + "label": "ApplyResourceRequirementsToComponent()", "file_type": "code", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L116", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L111", "_origin": "ast", - "community": 3, - "norm_label": "mergegitcredentials()", - "id": "automount_templates_mergegitcredentials" + "id": "resources_helper_applyresourcerequirementstocomponent", + "community": 61, + "norm_label": "applyresourcerequirementstocomponent()" }, { - "label": "Secret", + "label": "ContainerComponent", "file_type": "code", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L116", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L111", "_origin": "ast", - "community": 3, - "norm_label": "secret", - "id": "pkg_provision_automount_templates_go_secret" + "id": "pkg_library_resources_helper_go_containercomponent", + "community": 61, + "norm_label": "containercomponent" }, { - "label": "config.go", + "label": "FilterResources()", "file_type": "code", - "source_file": "pkg/provision/config/config.go", - "source_location": "L1", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L136", "_origin": "ast", - "community": 54, - "norm_label": "config.go", - "id": "pkg_provision_config_config_go_config_config" + "id": "resources_helper_filterresources", + "community": 61, + "norm_label": "filterresources()" }, { - "label": "NamespacedConfig", + "label": "ApplyDefaults()", "file_type": "code", - "source_file": "pkg/provision/config/config.go", - "source_location": "L37", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L162", "_origin": "ast", - "community": 54, - "norm_label": "namespacedconfig", - "id": "config_namespacedconfig" + "id": "resources_helper_applydefaults", + "community": 61, + "norm_label": "applydefaults()" }, { - "label": "ReadNamespacedConfig()", + "label": "ApplyCaps()", "file_type": "code", - "source_file": "pkg/provision/config/config.go", - "source_location": "L45", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L223", "_origin": "ast", - "community": 54, - "norm_label": "readnamespacedconfig()", - "id": "config_config_readnamespacedconfig" + "id": "resources_helper_applycaps", + "community": 61, + "norm_label": "applycaps()" }, { - "label": "ClusterAPI", + "label": "handleCapsEdgeCase()", "file_type": "code", - "source_file": "pkg/provision/config/config.go", - "source_location": "L45", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L257", "_origin": "ast", - "community": 54, - "norm_label": "clusterapi", - "id": "pkg_provision_config_config_go_clusterapi" + "id": "resources_helper_handlecapsedgecase", + "community": 61, + "norm_label": "handlecapsedgecase()" }, { - "label": "GetNamespacePodTolerationsAndNodeSelector()", + "label": "ResourceName", "file_type": "code", - "source_file": "pkg/provision/config/config.go", - "source_location": "L84", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L257", "_origin": "ast", - "community": 54, - "norm_label": "getnamespacepodtolerationsandnodeselector()", - "id": "config_config_getnamespacepodtolerationsandnodeselector" + "id": "resourcename", + "community": 61, + "norm_label": "resourcename" }, { - "label": "Toleration", + "label": "ValidateResources()", "file_type": "code", - "source_file": "pkg/provision/config/config.go", - "source_location": "L84", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L297", "_origin": "ast", - "community": 54, - "norm_label": "toleration", - "id": "pkg_provision_config_config_go_toleration" + "id": "resources_helper_validateresources", + "community": 61, + "norm_label": "validateresources()" }, { - "label": "envvar.go", + "label": "helper_test.go", "file_type": "code", - "source_file": "pkg/provision/metadata/envvar.go", + "source_file": "pkg/library/resources/helper_test.go", "source_location": "L1", "_origin": "ast", - "community": 56, - "norm_label": "envvar.go", - "id": "metadata_envvar" + "id": "resources_helper_test", + "community": 84, + "norm_label": "helper_test.go" }, { - "label": "getWorkspaceMetaEnvVar()", + "label": "TestParseResourcesFromComponent()", "file_type": "code", - "source_file": "pkg/provision/metadata/envvar.go", - "source_location": "L35", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L26", "_origin": "ast", - "community": 56, - "norm_label": "getworkspacemetaenvvar()", - "id": "metadata_envvar_getworkspacemetaenvvar" + "id": "resources_helper_test_testparseresourcesfromcomponent", + "community": 84, + "norm_label": "testparseresourcesfromcomponent()" }, { - "label": "EnvVar", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/metadata/envvar.go", - "source_location": "L35", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L26", "_origin": "ast", - "community": 56, - "norm_label": "envvar", - "id": "pkg_provision_metadata_envvar_go_envvar" + "id": "pkg_library_resources_helper_test_go_t", + "community": 84, + "norm_label": "t" }, { - "label": "metadata.go", + "label": "TestAddResourceRequirements()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L1", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L85", "_origin": "ast", - "community": 56, - "norm_label": "metadata.go", - "id": "pkg_provision_metadata_metadata_go_metadata_metadata" + "id": "resources_helper_test_testaddresourcerequirements", + "community": 84, + "norm_label": "testaddresourcerequirements()" }, { - "label": "ProvisionWorkspaceMetadata()", + "label": "TestApplyResourceRequirementsToComponent()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L126", "_origin": "ast", - "community": 56, - "norm_label": "provisionworkspacemetadata()", - "id": "metadata_metadata_provisionworkspacemetadata" + "id": "resources_helper_test_testapplyresourcerequirementstocomponent", + "community": 84, + "norm_label": "testapplyresourcerequirementstocomponent()" }, { - "label": "PodAdditions", + "label": "TestFilterResources()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L167", "_origin": "ast", - "community": 56, - "norm_label": "podadditions", - "id": "pkg_provision_metadata_metadata_go_podadditions" + "id": "resources_helper_test_testfilterresources", + "community": 84, + "norm_label": "testfilterresources()" }, { - "label": "DevWorkspaceWithConfig", + "label": "TestApplyDefaults()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L238", "_origin": "ast", - "community": 56, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_metadata_metadata_go_devworkspacewithconfig" + "id": "resources_helper_test_testapplydefaults", + "community": 84, + "norm_label": "testapplydefaults()" }, { - "label": "ClusterAPI", + "label": "TestApplyCaps()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L307", "_origin": "ast", - "community": 56, - "norm_label": "clusterapi", - "id": "pkg_provision_metadata_metadata_go_clusterapi" + "id": "resources_helper_test_testapplycaps", + "community": 84, + "norm_label": "testapplycaps()" }, { - "label": "getSpecMetadataConfigMap()", + "label": "TestValidate()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L78", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L377", "_origin": "ast", - "community": 56, - "norm_label": "getspecmetadataconfigmap()", - "id": "metadata_metadata_getspecmetadataconfigmap" + "id": "resources_helper_test_testvalidate", + "community": 84, + "norm_label": "testvalidate()" }, { - "label": "ConfigMap", + "label": "getResourceRequirements()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L78", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L413", "_origin": "ast", - "community": 56, - "norm_label": "configmap", - "id": "pkg_provision_metadata_metadata_go_configmap" + "id": "resources_helper_test_getresourcerequirements", + "community": 84, + "norm_label": "getresourcerequirements()" }, { - "label": "getVolumeFromConfigMap()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L107", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L413", "_origin": "ast", - "community": 56, - "norm_label": "getvolumefromconfigmap()", - "id": "metadata_metadata_getvolumefromconfigmap" + "id": "pkg_library_resources_helper_test_go_resourcerequirements", + "community": 84, + "norm_label": "resourcerequirements" }, { - "label": "Volume", + "label": "getContainerComponent()", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L107", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L434", "_origin": "ast", - "community": 56, - "norm_label": "volume", - "id": "pkg_provision_metadata_metadata_go_volume" + "id": "resources_helper_test_getcontainercomponent", + "community": 84, + "norm_label": "getcontainercomponent()" }, { - "label": "getVolumeMountFromVolume()", + "label": "ContainerComponent", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L122", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L434", "_origin": "ast", - "community": 56, - "norm_label": "getvolumemountfromvolume()", - "id": "metadata_metadata_getvolumemountfromvolume" + "id": "pkg_library_resources_helper_test_go_containercomponent", + "community": 84, + "norm_label": "containercomponent" }, { - "label": "VolumeMount", + "label": "restore.go", "file_type": "code", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L122", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L1", "_origin": "ast", - "community": 56, - "norm_label": "volumemount", - "id": "pkg_provision_metadata_metadata_go_volumemount" + "id": "restore_restore", + "community": 50, + "norm_label": "restore.go" }, { - "label": "asyncStorage.go", + "label": "Options", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L1", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L42", "_origin": "ast", - "community": 74, - "norm_label": "asyncstorage.go", - "id": "storage_asyncstorage" + "id": "restore_options", + "community": 50, + "norm_label": "options" }, { - "label": "AsyncStorageProvisioner", + "label": "PullPolicy", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L43", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L44", "_origin": "ast", - "community": 75, - "norm_label": "asyncstorageprovisioner", - "id": "storage_asyncstorageprovisioner" + "id": "pkg_library_restore_restore_go_pullpolicy", + "community": 50, + "norm_label": "pullpolicy" }, { - "label": ".NeedsStorage()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L47", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L45", "_origin": "ast", - "community": 75, - "norm_label": ".needsstorage()", - "id": "storage_asyncstorageprovisioner_needsstorage" + "id": "pkg_library_restore_restore_go_resourcerequirements", + "community": 50, + "norm_label": "resourcerequirements" + }, + { + "label": "EnvVar", + "file_type": "code", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L46", + "_origin": "ast", + "id": "pkg_library_restore_restore_go_envvar", + "community": 50, + "norm_label": "envvar" + }, + { + "label": "IsWorkspaceRestoreRequested()", + "file_type": "code", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L49", + "_origin": "ast", + "id": "restore_restore_isworkspacerestorerequested", + "community": 50, + "norm_label": "isworkspacerestorerequested()" }, { "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L47", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L49", "_origin": "ast", - "community": 75, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_provision_storage_asyncstorage_go_devworkspacetemplatespec" + "id": "pkg_library_restore_restore_go_devworkspacetemplatespec", + "community": 50, + "norm_label": "devworkspacetemplatespec" }, { - "label": ".ProvisionStorage()", + "label": "GetWorkspaceRestoreInitContainer()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 75, - "norm_label": ".provisionstorage()", - "id": "storage_asyncstorageprovisioner_provisionstorage" + "id": "restore_restore_getworkspacerestoreinitcontainer", + "community": 50, + "norm_label": "getworkspacerestoreinitcontainer()" }, { - "label": "PodAdditions", + "label": "Context", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 75, - "norm_label": "podadditions", - "id": "pkg_provision_storage_asyncstorage_go_podadditions" + "id": "pkg_library_restore_restore_go_context", + "community": 50, + "norm_label": "context" }, { "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 75, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" + "id": "pkg_library_restore_restore_go_devworkspacewithconfig", + "community": 50, + "norm_label": "devworkspacewithconfig" }, { - "label": "ClusterAPI", + "label": "Client", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 75, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_asyncstorage_go_clusterapi" + "id": "pkg_library_restore_restore_go_client", + "community": 50, + "norm_label": "client" }, { - "label": ".CleanupWorkspaceStorage()", + "label": "Scheme", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L179", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 75, - "norm_label": ".cleanupworkspacestorage()", - "id": "storage_asyncstorageprovisioner_cleanupworkspacestorage" + "id": "pkg_library_restore_restore_go_scheme", + "community": 50, + "norm_label": "scheme" }, { - "label": ".addVolumesForAsyncStorage()", + "label": "Logger", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L253", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 51, - "norm_label": ".addvolumesforasyncstorage()", - "id": "storage_asyncstorageprovisioner_addvolumesforasyncstorage" + "id": "pkg_library_restore_restore_go_logger", + "community": 50, + "norm_label": "logger" }, { - "label": "Volume", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L253", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 51, - "norm_label": "volume", - "id": "pkg_provision_storage_asyncstorage_go_volume" + "id": "pkg_library_restore_restore_go_container", + "community": 50, + "norm_label": "container" }, { - "label": ".getAsyncWorkspaceCount()", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L290", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "_origin": "ast", - "community": 75, - "norm_label": ".getasyncworkspacecount()", - "id": "storage_asyncstorageprovisioner_getasyncworkspacecount" + "id": "pkg_library_restore_restore_go_secret", + "community": 50, + "norm_label": "secret" }, { - "label": "checkConfigured()", + "label": "hasContainerComponents()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L309", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L146", "_origin": "ast", - "community": 74, - "norm_label": "checkconfigured()", - "id": "storage_asyncstorage_checkconfigured" + "id": "restore_restore_hascontainercomponents", + "community": 50, + "norm_label": "hascontainercomponents()" }, { - "label": "cleanup.go", + "label": "event.go", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_file": "pkg/library/ssh/event.go", "source_location": "L1", "_origin": "ast", - "community": 15, - "norm_label": "cleanup.go", - "id": "asyncstorage_cleanup" + "id": "ssh_event", + "community": 187, + "norm_label": "event.go" }, { - "label": "RemoveAuthorizedKeyFromConfigMap()", + "label": "AddSshAgentPostStartEvent()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L25", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L42", "_origin": "ast", - "community": 15, - "norm_label": "removeauthorizedkeyfromconfigmap()", - "id": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap" + "id": "ssh_event_addsshagentpoststartevent", + "community": 187, + "norm_label": "addsshagentpoststartevent()" }, { - "label": "DevWorkspaceWithConfig", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L25", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L42", "_origin": "ast", - "community": 15, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_asyncstorage_cleanup_go_devworkspacewithconfig" + "id": "pkg_library_ssh_event_go_devworkspacetemplatespec", + "community": 187, + "norm_label": "devworkspacetemplatespec" }, { - "label": "ClusterAPI", + "label": "NeedsSSHPostStartEvent()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L25", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L75", "_origin": "ast", - "community": 15, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_asyncstorage_cleanup_go_clusterapi" + "id": "ssh_event_needssshpoststartevent", + "community": 187, + "norm_label": "needssshpoststartevent()" }, { - "label": "configmap.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L1", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L75", "_origin": "ast", - "community": 15, - "norm_label": "configmap.go", - "id": "asyncstorage_configmap" + "id": "pkg_library_ssh_event_go_clusterapi", + "community": 187, + "norm_label": "clusterapi" }, { - "label": "getSSHAuthorizedKeysConfigMapSpec()", + "label": "check.go", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L34", + "source_file": "pkg/library/status/check.go", + "source_location": "L1", "_origin": "ast", - "community": 15, - "norm_label": "getsshauthorizedkeysconfigmapspec()", - "id": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec" + "id": "status_check", + "community": 0, + "norm_label": "check.go" }, { - "label": "ConfigMap", + "label": "CheckDeploymentStatus()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L34", + "source_file": "pkg/library/status/check.go", + "source_location": "L74", "_origin": "ast", - "community": 15, - "norm_label": "configmap", - "id": "pkg_provision_storage_asyncstorage_configmap_go_configmap" + "id": "status_check_checkdeploymentstatus", + "community": 0, + "norm_label": "checkdeploymentstatus()" }, { - "label": "getSSHAuthorizedKeysConfigMapCluster()", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L52", + "source_file": "pkg/library/status/check.go", + "source_location": "L74", "_origin": "ast", - "community": 15, - "norm_label": "getsshauthorizedkeysconfigmapcluster()", - "id": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" + "id": "pkg_library_status_check_go_deployment", + "community": 0, + "norm_label": "deployment" }, { - "label": "ClusterAPI", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L52", + "source_file": "pkg/library/status/check.go", + "source_location": "L74", "_origin": "ast", - "community": 15, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_asyncstorage_configmap_go_clusterapi" + "id": "pkg_library_status_check_go_devworkspacewithconfig", + "community": 0, + "norm_label": "devworkspacewithconfig" }, { - "label": "addAuthorizedKeyToConfigMap()", + "label": "checkRollingUpdateDeploymentStatus()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L62", + "source_file": "pkg/library/status/check.go", + "source_location": "L81", "_origin": "ast", - "community": 15, - "norm_label": "addauthorizedkeytoconfigmap()", - "id": "asyncstorage_configmap_addauthorizedkeytoconfigmap" + "id": "status_check_checkrollingupdatedeploymentstatus", + "community": 0, + "norm_label": "checkrollingupdatedeploymentstatus()" }, { - "label": "removeAuthorizedKeyFromConfigMap()", + "label": "CheckDeploymentConditions()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L83", + "source_file": "pkg/library/status/check.go", + "source_location": "L97", "_origin": "ast", - "community": 15, - "norm_label": "removeauthorizedkeyfromconfigmap()", - "id": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap" + "id": "status_check_checkdeploymentconditions", + "community": 0, + "norm_label": "checkdeploymentconditions()" }, { - "label": "configuration.go", + "label": "CheckPodsState()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L1", + "source_file": "pkg/library/status/check.go", + "source_location": "L113", "_origin": "ast", - "community": 15, - "norm_label": "configuration.go", - "id": "asyncstorage_configuration" + "id": "status_check_checkpodsstate", + "community": 0, + "norm_label": "checkpodsstate()" }, { - "label": "GetOrCreateSSHConfig()", + "label": "MatchingLabels", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/library/status/check.go", + "source_location": "L113", "_origin": "ast", - "community": 15, - "norm_label": "getorcreatesshconfig()", - "id": "asyncstorage_configuration_getorcreatesshconfig" + "id": "matchinglabels", + "community": 0, + "norm_label": "matchinglabels" }, { - "label": "DevWorkspaceWithConfig", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/library/status/check.go", + "source_location": "L113", "_origin": "ast", - "community": 15, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_asyncstorage_configuration_go_devworkspacewithconfig" + "id": "pkg_library_status_check_go_clusterapi", + "community": 0, + "norm_label": "clusterapi" }, { - "label": "ClusterAPI", + "label": "CheckPodEvents()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/library/status/check.go", + "source_location": "L140", "_origin": "ast", - "community": 15, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_asyncstorage_configuration_go_clusterapi" + "id": "status_check_checkpodevents", + "community": 0, + "norm_label": "checkpodevents()" }, { - "label": "Secret", + "label": "Pod", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/library/status/check.go", + "source_location": "L140", "_origin": "ast", - "community": 15, - "norm_label": "secret", - "id": "pkg_provision_storage_asyncstorage_configuration_go_secret" + "id": "pkg_library_status_check_go_pod", + "community": 0, + "norm_label": "pod" }, { - "label": "ConfigMap", + "label": "isServingCertMountFailure()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/library/status/check.go", + "source_location": "L181", "_origin": "ast", - "community": 15, - "norm_label": "configmap", - "id": "pkg_provision_storage_asyncstorage_configuration_go_configmap" + "id": "status_check_isservingcertmountfailure", + "community": 0, + "norm_label": "isservingcertmountfailure()" }, { - "label": "constants.go", + "label": "getConcisePostStartFailureMessage()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/constants.go", - "source_location": "L1", + "source_file": "pkg/library/status/check.go", + "source_location": "L197", "_origin": "ast", - "community": 253, - "norm_label": "constants.go", - "id": "asyncstorage_constants" + "id": "status_check_getconcisepoststartfailuremessage", + "community": 0, + "norm_label": "getconcisepoststartfailuremessage()" }, { - "label": "deployment.go", + "label": "CheckContainerStatusForFailure()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L1", + "source_file": "pkg/library/status/check.go", + "source_location": "L249", "_origin": "ast", - "community": 54, - "norm_label": "deployment.go", - "id": "asyncstorage_deployment" + "id": "status_check_checkcontainerstatusforfailure", + "community": 0, + "norm_label": "checkcontainerstatusforfailure()" }, { - "label": "SyncWorkspaceSyncDeploymentToCluster()", + "label": "ContainerStatus", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/library/status/check.go", + "source_location": "L249", "_origin": "ast", - "community": 54, - "norm_label": "syncworkspacesyncdeploymenttocluster()", - "id": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster" + "id": "containerstatus", + "community": 0, + "norm_label": "containerstatus" }, { - "label": "DevWorkspaceWithConfig", + "label": "CheckForIgnoredWorkspacePodEvents()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/library/status/check.go", + "source_location": "L280", "_origin": "ast", - "community": 54, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_asyncstorage_deployment_go_devworkspacewithconfig" + "id": "status_check_checkforignoredworkspacepodevents", + "community": 0, + "norm_label": "checkforignoredworkspacepodevents()" }, { - "label": "ConfigMap", + "label": "checkIfUnrecoverableEventIgnored()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/library/status/check.go", + "source_location": "L293", "_origin": "ast", - "community": 54, - "norm_label": "configmap", - "id": "pkg_provision_storage_asyncstorage_deployment_go_configmap" + "id": "status_check_checkifunrecoverableeventignored", + "community": 0, + "norm_label": "checkifunrecoverableeventignored()" }, { - "label": "ClusterAPI", + "label": "getEventCount()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/library/status/check.go", + "source_location": "L314", "_origin": "ast", - "community": 54, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_asyncstorage_deployment_go_clusterapi" + "id": "status_check_geteventcount", + "community": 0, + "norm_label": "geteventcount()" }, { - "label": "Deployment", + "label": "Event", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/library/status/check.go", + "source_location": "L314", "_origin": "ast", - "community": 54, - "norm_label": "deployment", - "id": "pkg_provision_storage_asyncstorage_deployment_go_deployment" + "id": "event", + "community": 0, + "norm_label": "event" }, { - "label": "getWorkspaceSyncDeploymentSpec()", + "label": "check_test.go", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L1", "_origin": "ast", - "community": 54, - "norm_label": "getworkspacesyncdeploymentspec()", - "id": "asyncstorage_deployment_getworkspacesyncdeploymentspec" + "id": "status_check_test", + "community": 0, + "norm_label": "check_test.go" }, { - "label": "Toleration", + "label": "TestCheckPodEvents()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L31", "_origin": "ast", - "community": 54, - "norm_label": "toleration", - "id": "pkg_provision_storage_asyncstorage_deployment_go_toleration" + "id": "status_check_test_testcheckpodevents", + "community": 0, + "norm_label": "testcheckpodevents()" }, { - "label": "GetWorkspaceSyncDeploymentCluster()", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L176", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L31", "_origin": "ast", - "community": 54, - "norm_label": "getworkspacesyncdeploymentcluster()", - "id": "asyncstorage_deployment_getworkspacesyncdeploymentcluster" + "id": "pkg_library_status_check_test_go_t", + "community": 0, + "norm_label": "t" }, { - "label": "errors.go", + "label": "TestGetConcisePostStartFailureMessage()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/errors.go", - "source_location": "L1", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L213", "_origin": "ast", - "community": 254, - "norm_label": "errors.go", - "id": "asyncstorage_errors" + "id": "status_check_test_testgetconcisepoststartfailuremessage", + "community": 0, + "norm_label": "testgetconcisepoststartfailuremessage()" }, { - "label": "service.go", + "label": "storage.go", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_file": "pkg/library/storage/storage.go", "source_location": "L1", "_origin": "ast", - "community": 141, - "norm_label": "service.go", - "id": "asyncstorage_service" + "id": "storage_storage", + "community": 4, + "norm_label": "storage.go" }, { - "label": "SyncWorkspaceSyncServiceToCluster()", + "label": "GetWorkspacePVCInfo()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "_origin": "ast", - "community": 141, - "norm_label": "syncworkspacesyncservicetocluster()", - "id": "asyncstorage_service_syncworkspacesyncservicetocluster" + "id": "storage_storage_getworkspacepvcinfo", + "community": 4, + "norm_label": "getworkspacepvcinfo()" }, { - "label": "Deployment", + "label": "Context", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "_origin": "ast", - "community": 141, - "norm_label": "deployment", - "id": "pkg_provision_storage_asyncstorage_service_go_deployment" + "id": "pkg_library_storage_storage_go_context", + "community": 4, + "norm_label": "context" }, { - "label": "ClusterAPI", + "label": "DevWorkspace", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "_origin": "ast", - "community": 141, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_asyncstorage_service_go_clusterapi" + "id": "pkg_library_storage_storage_go_devworkspace", + "community": 4, + "norm_label": "devworkspace" }, { - "label": "Service", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "_origin": "ast", - "community": 141, - "norm_label": "service", - "id": "pkg_provision_storage_asyncstorage_service_go_service" + "id": "pkg_library_storage_storage_go_operatorconfiguration", + "community": 4, + "norm_label": "operatorconfiguration" }, { - "label": "getWorkspaceSyncServiceSpec()", + "label": "Client", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L51", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "_origin": "ast", - "community": 141, - "norm_label": "getworkspacesyncservicespec()", - "id": "asyncstorage_service_getworkspacesyncservicespec" + "id": "pkg_library_storage_storage_go_client", + "community": 4, + "norm_label": "client" }, { - "label": "getWorkspaceSyncServiceCluster()", + "label": "Logger", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L77", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "_origin": "ast", - "community": 141, - "norm_label": "getworkspacesyncservicecluster()", - "id": "asyncstorage_service_getworkspacesyncservicecluster" + "id": "pkg_library_storage_storage_go_logger", + "community": 4, + "norm_label": "logger" }, { - "label": "sidecar.go", + "label": "common.go", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_file": "pkg/provision/automount/common.go", "source_location": "L1", "_origin": "ast", - "community": 74, - "norm_label": "sidecar.go", - "id": "asyncstorage_sidecar" + "id": "automount_common", + "community": 16, + "norm_label": "common.go" }, { - "label": "GetAsyncSidecar()", + "label": "Resources", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L40", "_origin": "ast", - "community": 74, - "norm_label": "getasyncsidecar()", - "id": "asyncstorage_sidecar_getasyncsidecar" + "id": "automount_resources", + "community": 16, + "norm_label": "resources" }, { "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L41", "_origin": "ast", - "community": 74, - "norm_label": "volume", - "id": "pkg_provision_storage_asyncstorage_sidecar_go_volume" + "id": "pkg_provision_automount_common_go_volume", + "community": 16, + "norm_label": "volume" }, { - "label": "Container", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L42", "_origin": "ast", - "community": 74, - "norm_label": "container", - "id": "pkg_provision_storage_asyncstorage_sidecar_go_container" + "id": "pkg_provision_automount_common_go_volumemount", + "community": 16, + "norm_label": "volumemount" }, { - "label": "ssh.go", + "label": "EnvFromSource", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L43", "_origin": "ast", - "community": 15, - "norm_label": "ssh.go", - "id": "asyncstorage_ssh" + "id": "pkg_provision_automount_common_go_envfromsource", + "community": 16, + "norm_label": "envfromsource" }, { - "label": "GetSSHKeyPair()", + "label": "ProvisionAutoMountResourcesInto()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "_origin": "ast", - "community": 15, - "norm_label": "getsshkeypair()", - "id": "asyncstorage_ssh_getsshkeypair" + "id": "automount_common_provisionautomountresourcesinto", + "community": 9, + "norm_label": "provisionautomountresourcesinto()" }, { - "label": "ExtractSSHKeyPairFromSecret()", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L55", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "_origin": "ast", - "community": 15, - "norm_label": "extractsshkeypairfromsecret()", - "id": "asyncstorage_ssh_extractsshkeypairfromsecret" + "id": "pkg_provision_automount_common_go_podadditions", + "community": 16, + "norm_label": "podadditions" }, { - "label": "Secret", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L55", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "_origin": "ast", - "community": 15, - "norm_label": "secret", - "id": "pkg_provision_storage_asyncstorage_ssh_go_secret" + "id": "pkg_provision_automount_common_go_clusterapi", + "community": 16, + "norm_label": "clusterapi" }, { - "label": "volume.go", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "_origin": "ast", - "community": 75, - "norm_label": "volume.go", - "id": "asyncstorage_volume" + "id": "pkg_provision_automount_common_go_deployment", + "community": 16, + "norm_label": "deployment" }, { - "label": "GetVolumeFromSecret()", + "label": "getAutomountResources()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L23", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L87", "_origin": "ast", - "community": 75, - "norm_label": "getvolumefromsecret()", - "id": "asyncstorage_volume_getvolumefromsecret" + "id": "automount_common_getautomountresources", + "community": 16, + "norm_label": "getautomountresources()" }, { - "label": "Secret", + "label": "checkAutomountVolumesForCollision()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L23", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L128", "_origin": "ast", - "community": 75, - "norm_label": "secret", - "id": "pkg_provision_storage_asyncstorage_volume_go_secret" + "id": "automount_common_checkautomountvolumesforcollision", + "community": 16, + "norm_label": "checkautomountvolumesforcollision()" }, { - "label": "Volume", + "label": "getVolumeDescriptionFromVolumeMount()", "file_type": "code", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L23", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L182", "_origin": "ast", - "community": 75, - "norm_label": "volume", - "id": "pkg_provision_storage_asyncstorage_volume_go_volume" + "id": "automount_common_getvolumedescriptionfromvolumemount", + "community": 16, + "norm_label": "getvolumedescriptionfromvolumemount()" }, { - "label": "cleanup.go", + "label": "formatVolumeDescription()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L194", "_origin": "ast", - "community": 53, - "norm_label": "cleanup.go", - "id": "storage_cleanup" + "id": "automount_common_formatvolumedescription", + "community": 16, + "norm_label": "formatvolumedescription()" }, { - "label": "runCommonPVCCleanupJob()", + "label": "mergeAutomountResources()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L55", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L205", "_origin": "ast", - "community": 53, - "norm_label": "runcommonpvccleanupjob()", - "id": "storage_cleanup_runcommonpvccleanupjob" + "id": "automount_common_mergeautomountresources", + "community": 16, + "norm_label": "mergeautomountresources()" }, { - "label": "DevWorkspaceWithConfig", + "label": "flattenAutomountResources()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L55", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L218", "_origin": "ast", - "community": 53, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" + "id": "automount_common_flattenautomountresources", + "community": 16, + "norm_label": "flattenautomountresources()" }, { - "label": "ClusterAPI", + "label": "findGitconfigAutomount()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L55", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L232", "_origin": "ast", - "community": 53, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_cleanup_go_clusterapi" + "id": "automount_common_findgitconfigautomount", + "community": 16, + "norm_label": "findgitconfigautomount()" }, { - "label": "getSpecCommonPVCCleanupJob()", + "label": "filterGitconfigAutomountVolume()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L296", "_origin": "ast", - "community": 53, - "norm_label": "getspeccommonpvccleanupjob()", - "id": "storage_cleanup_getspeccommonpvccleanupjob" + "id": "automount_common_filtergitconfigautomountvolume", + "community": 16, + "norm_label": "filtergitconfigautomountvolume()" }, { - "label": "Job", + "label": "checkAutomountVolumeForPotentialError()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L322", "_origin": "ast", - "community": 53, - "norm_label": "job", - "id": "pkg_provision_storage_cleanup_go_job" + "id": "automount_common_checkautomountvolumeforpotentialerror", + "community": 116, + "norm_label": "checkautomountvolumeforpotentialerror()" }, { - "label": "commonPVCExists()", + "label": "Object", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L218", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L322", "_origin": "ast", - "community": 53, - "norm_label": "commonpvcexists()", - "id": "storage_cleanup_commonpvcexists" + "id": "pkg_provision_automount_common_go_object", + "community": 116, + "norm_label": "object" }, { - "label": "cleanup_test.go", + "label": "getAccessModeForAutomount()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L357", "_origin": "ast", - "community": 53, - "norm_label": "cleanup_test.go", - "id": "storage_cleanup_test" + "id": "automount_common_getaccessmodeforautomount", + "community": 116, + "norm_label": "getaccessmodeforautomount()" }, { - "label": "TestGetSpecCommonPVCCleanupJobUsesConfigPodSecurityContext()", + "label": "dropItemsFieldFromVolumes()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L36", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L377", "_origin": "ast", - "community": 53, - "norm_label": "testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext()", - "id": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext" + "id": "automount_common_dropitemsfieldfromvolumes", + "community": 16, + "norm_label": "dropitemsfieldfromvolumes()" }, { - "label": "T", + "label": "sortSecrets()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L36", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L387", "_origin": "ast", - "community": 53, - "norm_label": "t", - "id": "pkg_provision_storage_cleanup_test_go_t" + "id": "automount_common_sortsecrets", + "community": 69, + "norm_label": "sortsecrets()" }, { - "label": "TestGetSpecCommonPVCCleanupJobHasNodeAffinityWhenPodMountsPVC()", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L84", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L387", "_origin": "ast", - "community": 53, - "norm_label": "testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc()", - "id": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc" + "id": "pkg_provision_automount_common_go_secret", + "community": 69, + "norm_label": "secret" }, { - "label": "TestGetSpecCommonPVCCleanupJobWithNilPodSecurityContext()", + "label": "sortConfigmaps()", "file_type": "code", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L146", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L393", "_origin": "ast", - "community": 53, - "norm_label": "testgetspeccommonpvccleanupjobwithnilpodsecuritycontext()", - "id": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext" + "id": "automount_common_sortconfigmaps", + "community": 116, + "norm_label": "sortconfigmaps()" }, { - "label": "commonStorage.go", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L393", "_origin": "ast", - "community": 72, - "norm_label": "commonstorage.go", - "id": "storage_commonstorage" + "id": "pkg_provision_automount_common_go_configmap", + "community": 116, + "norm_label": "configmap" }, { - "label": "CommonStorageProvisioner", + "label": "isMountOnStart()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L399", "_origin": "ast", - "community": 72, - "norm_label": "commonstorageprovisioner", - "id": "storage_commonstorageprovisioner" + "id": "automount_common_ismountonstart", + "community": 69, + "norm_label": "ismountonstart()" }, { - "label": ".NeedsStorage()", + "label": "canMountWithoutRestart()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L41", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L406", "_origin": "ast", - "community": 72, - "norm_label": ".needsstorage()", - "id": "storage_commonstorageprovisioner_needsstorage" + "id": "automount_common_canmountwithoutrestart", + "community": 16, + "norm_label": "canmountwithoutrestart()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "existsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L41", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L425", "_origin": "ast", - "community": 72, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_provision_storage_commonstorage_go_devworkspacetemplatespec" + "id": "automount_common_existsindeployment", + "community": 16, + "norm_label": "existsindeployment()" }, { - "label": ".ProvisionStorage()", + "label": "isVolumeMountExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L434", "_origin": "ast", - "community": 72, - "norm_label": ".provisionstorage()", - "id": "storage_commonstorageprovisioner_provisionstorage" + "id": "automount_common_isvolumemountexistsindeployment", + "community": 16, + "norm_label": "isvolumemountexistsindeployment()" }, { - "label": "PodAdditions", + "label": "isEnvFromSourceExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L448", "_origin": "ast", - "community": 72, - "norm_label": "podadditions", - "id": "pkg_provision_storage_commonstorage_go_podadditions" + "id": "automount_common_isenvfromsourceexistsindeployment", + "community": 16, + "norm_label": "isenvfromsourceexistsindeployment()" }, { - "label": "DevWorkspaceWithConfig", + "label": "MatchesWorkspaceTarget()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L474", "_origin": "ast", - "community": 72, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_commonstorage_go_devworkspacewithconfig" + "id": "automount_common_matchesworkspacetarget", + "community": 116, + "norm_label": "matchesworkspacetarget()" }, { - "label": "ClusterAPI", + "label": "matchesAnyPattern()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L489", "_origin": "ast", - "community": 72, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_commonstorage_go_clusterapi" + "id": "automount_common_matchesanypattern", + "community": 116, + "norm_label": "matchesanypattern()" }, { - "label": ".CleanupWorkspaceStorage()", + "label": "common_persistenthome_test.go", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L98", + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L1", "_origin": "ast", - "community": 72, - "norm_label": ".cleanupworkspacestorage()", - "id": "storage_commonstorageprovisioner_cleanupworkspacestorage" + "id": "automount_common_persistenthome_test", + "community": 226, + "norm_label": "common_persistenthome_test.go" }, { - "label": ".rewriteContainerVolumeMounts()", + "label": "TestProvisionAutomountResourcesIntoPersistentHomeEnabled()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L133", + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L31", "_origin": "ast", - "community": 72, - "norm_label": ".rewritecontainervolumemounts()", - "id": "storage_commonstorageprovisioner_rewritecontainervolumemounts" + "id": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", + "community": 226, + "norm_label": "testprovisionautomountresourcesintopersistenthomeenabled()" }, { - "label": "commonStorage_test.go", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L31", + "_origin": "ast", + "id": "pkg_provision_automount_common_persistenthome_test_go_t", + "community": 226, + "norm_label": "t" + }, + { + "label": "common_test.go", + "file_type": "code", + "source_file": "pkg/provision/automount/common_test.go", "source_location": "L1", "_origin": "ast", - "community": 4, - "norm_label": "commonstorage_test.go", - "id": "storage_commonstorage_test" + "id": "automount_common_test", + "community": 9, + "norm_label": "common_test.go" }, { - "label": "init()", + "label": "mountedVolumeType", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L49", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L41", "_origin": "ast", - "community": 4, - "norm_label": "init()", - "id": "storage_commonstorage_test_init" + "id": "automount_mountedvolumetype", + "community": 9, + "norm_label": "mountedvolumetype" }, { "label": "testCase", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L55", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L54", "_origin": "ast", - "community": 4, - "norm_label": "testcase", - "id": "storage_testcase" + "id": "automount_testcase", + "community": 310, + "norm_label": "testcase" }, { - "label": "testInput", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L57", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "_origin": "ast", - "community": 4, - "norm_label": "testinput", - "id": "pkg_provision_storage_commonstorage_test_go_testinput" + "id": "pkg_provision_automount_common_test_go_secret", + "community": 9, + "norm_label": "secret" }, { - "label": "testOutput", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L58", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "_origin": "ast", - "community": 4, - "norm_label": "testoutput", - "id": "pkg_provision_storage_commonstorage_test_go_testoutput" + "id": "pkg_provision_automount_common_test_go_configmap", + "community": 310, + "norm_label": "configmap" }, { - "label": "testInput", + "label": "PersistentVolumeClaim", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L61", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "_origin": "ast", - "community": 4, - "norm_label": "testinput", - "id": "storage_testinput" + "id": "pkg_provision_automount_common_test_go_persistentvolumeclaim", + "community": 310, + "norm_label": "persistentvolumeclaim" }, { - "label": "PodAdditions", + "label": "Object", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L63", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "_origin": "ast", - "community": 4, - "norm_label": "podadditions", - "id": "pkg_provision_storage_commonstorage_test_go_podadditions" + "id": "pkg_provision_automount_common_test_go_object", + "community": 310, + "norm_label": "object" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_file": "pkg/provision/automount/common_test.go", "source_location": "L64", "_origin": "ast", - "community": 4, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_provision_storage_commonstorage_test_go_devworkspacetemplatespec" + "id": "pkg_provision_automount_common_test_go_volume", + "community": 310, + "norm_label": "volume" }, { - "label": "testOutput", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L67", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L64", "_origin": "ast", - "community": 4, - "norm_label": "testoutput", - "id": "storage_testoutput" + "id": "pkg_provision_automount_common_test_go_volumemount", + "community": 310, + "norm_label": "volumemount" }, { - "label": "Quantity", + "label": "EnvFromSource", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L69", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L64", "_origin": "ast", - "community": 4, - "norm_label": "quantity", - "id": "pkg_provision_storage_commonstorage_test_go_quantity" + "id": "pkg_provision_automount_common_test_go_envfromsource", + "community": 310, + "norm_label": "envfromsource" }, { - "label": "getDevWorkspaceWithConfig()", + "label": "TestProvisionAutomountResourcesInto()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L79", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L113", "_origin": "ast", - "community": 4, - "norm_label": "getdevworkspacewithconfig()", - "id": "storage_commonstorage_test_getdevworkspacewithconfig" + "id": "automount_common_test_testprovisionautomountresourcesinto", + "community": 9, + "norm_label": "testprovisionautomountresourcesinto()" }, { - "label": "DevWorkspace", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L79", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L113", "_origin": "ast", - "community": 4, - "norm_label": "devworkspace", - "id": "pkg_provision_storage_commonstorage_test_go_devworkspace" + "id": "pkg_provision_automount_common_test_go_t", + "community": 9, + "norm_label": "t" }, { - "label": "DevWorkspaceWithConfig", + "label": "TestCheckAutoMountVolumesForCollision()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L79", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L168", "_origin": "ast", - "community": 4, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_commonstorage_test_go_devworkspacewithconfig" + "id": "automount_common_test_testcheckautomountvolumesforcollision", + "community": 9, + "norm_label": "testcheckautomountvolumesforcollision()" }, { - "label": "loadTestCaseOrPanic()", + "label": "loadAllTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L86", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L381", "_origin": "ast", - "community": 4, - "norm_label": "loadtestcaseorpanic()", - "id": "storage_commonstorage_test_loadtestcaseorpanic" + "id": "automount_common_test_loadalltestcasesorpanic", + "community": 9, + "norm_label": "loadalltestcasesorpanic()" }, { - "label": "T", + "label": "loadTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L86", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L397", "_origin": "ast", - "community": 4, - "norm_label": "t", - "id": "pkg_provision_storage_commonstorage_test_go_t" + "id": "automount_common_test_loadtestcaseorpanic", + "community": 9, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "loadAllTestCasesOrPanic()", + "label": "TestShouldNotMountSecretWithMountOnStartIfWorkspaceStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L98", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L440", "_origin": "ast", - "community": 4, - "norm_label": "loadalltestcasesorpanic()", - "id": "storage_commonstorage_test_loadalltestcasesorpanic" + "id": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", + "community": 9, + "norm_label": "testshouldnotmountsecretwithmountonstartifworkspacestarted()" }, { - "label": "TestUseCommonStorageProvisionerForPerUserStorageClass()", + "label": "TestMountSecretWithMountOnStartIfWorkspaceNotStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L113", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L458", "_origin": "ast", - "community": 4, - "norm_label": "testusecommonstorageprovisionerforperuserstorageclass()", - "id": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass" + "id": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", + "community": 9, + "norm_label": "testmountsecretwithmountonstartifworkspacenotstarted()" }, { - "label": "TestProvisionStorageForCommonStorageClass()", + "label": "TestMountOnStartSecretAsEnvAllowedWhenEnvFromExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L130", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L477", "_origin": "ast", - "community": 4, - "norm_label": "testprovisionstorageforcommonstorageclass()", - "id": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass" + "id": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", + "community": 9, + "norm_label": "testmountonstartsecretasenvallowedwhenenvfromexistsindeployment()" }, { - "label": "TestTerminatingPVC()", + "label": "TestMountOnStartSecretAsFileAllowedWhenVolumeExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L167", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L512", "_origin": "ast", - "community": 4, - "norm_label": "testterminatingpvc()", - "id": "storage_commonstorage_test_testterminatingpvc" + "id": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", + "community": 9, + "norm_label": "testmountonstartsecretasfileallowedwhenvolumeexistsindeployment()" }, { - "label": "TestNeedsStorage()", + "label": "TestShouldNotMountConfigMapWithMountOnStartIfWorkspaceStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L195", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L541", "_origin": "ast", - "community": 4, - "norm_label": "testneedsstorage()", - "id": "storage_commonstorage_test_testneedsstorage" + "id": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", + "community": 9, + "norm_label": "testshouldnotmountconfigmapwithmountonstartifworkspacestarted()" }, { - "label": "sortVolumesAndVolumeMounts()", + "label": "TestMountConfigMapWithMountOnStartIfWorkspaceNotStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L300", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L559", "_origin": "ast", - "community": 4, - "norm_label": "sortvolumesandvolumemounts()", - "id": "storage_commonstorage_test_sortvolumesandvolumemounts" + "id": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", + "community": 9, + "norm_label": "testmountconfigmapwithmountonstartifworkspacenotstarted()" }, { - "label": "doc.go", + "label": "TestMountOnStartConfigMapAsEnvAllowedWhenEnvFromExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/doc.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L578", "_origin": "ast", - "community": 281, - "norm_label": "doc.go", - "id": "storage_doc" + "id": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", + "community": 9, + "norm_label": "testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment()" }, { - "label": "ephemeralStorage.go", + "label": "TestMountOnStartConfigMapAsFileAllowedWhenVolumeExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L613", "_origin": "ast", - "community": 125, - "norm_label": "ephemeralstorage.go", - "id": "storage_ephemeralstorage" + "id": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", + "community": 9, + "norm_label": "testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment()" }, { - "label": "EphemeralStorageProvisioner", + "label": "TestShouldNotMountPVCWithMountOnStartIfWorkspaceStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L30", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L642", "_origin": "ast", - "community": 125, - "norm_label": "ephemeralstorageprovisioner", - "id": "storage_ephemeralstorageprovisioner" + "id": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", + "community": 9, + "norm_label": "testshouldnotmountpvcwithmountonstartifworkspacestarted()" }, { - "label": ".NeedsStorage()", + "label": "TestMountPVCWithMountOnStartIfWorkspaceNotStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L34", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L660", "_origin": "ast", - "community": 125, - "norm_label": ".needsstorage()", - "id": "storage_ephemeralstorageprovisioner_needsstorage" + "id": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", + "community": 9, + "norm_label": "testmountpvcwithmountonstartifworkspacenotstarted()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "TestMountOnStartPVCAllowedWhenVolumeExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L34", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L679", "_origin": "ast", - "community": 125, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_provision_storage_ephemeralstorage_go_devworkspacetemplatespec" + "id": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", + "community": 9, + "norm_label": "testmountonstartpvcallowedwhenvolumeexistsindeployment()" }, { - "label": ".ProvisionStorage()", + "label": "emptyDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L708", "_origin": "ast", - "community": 125, - "norm_label": ".provisionstorage()", - "id": "storage_ephemeralstorageprovisioner_provisionstorage" + "id": "automount_common_test_emptydeployment", + "community": 9, + "norm_label": "emptydeployment()" }, { - "label": "PodAdditions", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L708", "_origin": "ast", - "community": 125, - "norm_label": "podadditions", - "id": "pkg_provision_storage_ephemeralstorage_go_podadditions" + "id": "pkg_provision_automount_common_test_go_deployment", + "community": 9, + "norm_label": "deployment" }, { - "label": "DevWorkspaceWithConfig", + "label": "mountOnStartSecretAsFile()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L720", "_origin": "ast", - "community": 125, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_ephemeralstorage_go_devworkspacewithconfig" + "id": "automount_common_test_mountonstartsecretasfile", + "community": 9, + "norm_label": "mountonstartsecretasfile()" }, { - "label": "ClusterAPI", + "label": "mountOnStartSecretAsEnv()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L741", "_origin": "ast", - "community": 125, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_ephemeralstorage_go_clusterapi" + "id": "automount_common_test_mountonstartsecretasenv", + "community": 9, + "norm_label": "mountonstartsecretasenv()" }, { - "label": ".CleanupWorkspaceStorage()", + "label": "mountOnStartConfigMapAsFile()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L63", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L761", "_origin": "ast", - "community": 125, - "norm_label": ".cleanupworkspacestorage()", - "id": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage" + "id": "automount_common_test_mountonstartconfigmapasfile", + "community": 9, + "norm_label": "mountonstartconfigmapasfile()" }, { - "label": "ephemeralStorage_test.go", + "label": "mountOnStartConfigMapAsEnv()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L782", "_origin": "ast", - "community": 4, - "norm_label": "ephemeralstorage_test.go", - "id": "storage_ephemeralstorage_test" + "id": "automount_common_test_mountonstartconfigmapasenv", + "community": 9, + "norm_label": "mountonstartconfigmapasenv()" }, { - "label": "TestRewriteContainerVolumeMountsForEphemeralStorageClass()", + "label": "mountOnStartPVC()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L802", "_origin": "ast", - "community": 4, - "norm_label": "testrewritecontainervolumemountsforephemeralstorageclass()", - "id": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass" + "id": "automount_common_test_mountonstartpvc", + "community": 9, + "norm_label": "mountonstartpvc()" }, { - "label": "T", + "label": "TestMatchesWorkspaceTarget()", "file_type": "code", - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L818", "_origin": "ast", - "community": 4, - "norm_label": "t", - "id": "pkg_provision_storage_ephemeralstorage_test_go_t" + "id": "automount_common_test_testmatchesworkspacetarget", + "community": 116, + "norm_label": "testmatchesworkspacetarget()" }, { - "label": "perWorkspaceStorage.go", + "label": "configmap.go", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_file": "pkg/provision/automount/configmap.go", "source_location": "L1", "_origin": "ast", - "community": 65, - "norm_label": "perworkspacestorage.go", - "id": "storage_perworkspacestorage" + "id": "automount_configmap", + "community": 116, + "norm_label": "configmap.go" }, { - "label": "PerWorkspaceStorageProvisioner", + "label": "getDevWorkspaceConfigmaps()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "_origin": "ast", - "community": 65, - "norm_label": "perworkspacestorageprovisioner", - "id": "storage_perworkspacestorageprovisioner" + "id": "automount_configmap_getdevworkspaceconfigmaps", + "community": 116, + "norm_label": "getdevworkspaceconfigmaps()" }, { - "label": ".NeedsStorage()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L44", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "_origin": "ast", - "community": 65, - "norm_label": ".needsstorage()", - "id": "storage_perworkspacestorageprovisioner_needsstorage" + "id": "pkg_provision_automount_configmap_go_clusterapi", + "community": 116, + "norm_label": "clusterapi" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L44", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "_origin": "ast", - "community": 65, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_provision_storage_perworkspacestorage_go_devworkspacetemplatespec" + "id": "pkg_provision_automount_configmap_go_deployment", + "community": 116, + "norm_label": "deployment" }, { - "label": ".ProvisionStorage()", + "label": "Resources", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "_origin": "ast", - "community": 65, - "norm_label": ".provisionstorage()", - "id": "storage_perworkspacestorageprovisioner_provisionstorage" + "id": "pkg_provision_automount_configmap_go_resources", + "community": 116, + "norm_label": "resources" }, { - "label": "PodAdditions", + "label": "getAutomountConfigmap()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L89", "_origin": "ast", - "community": 65, - "norm_label": "podadditions", - "id": "pkg_provision_storage_perworkspacestorage_go_podadditions" + "id": "automount_configmap_getautomountconfigmap", + "community": 116, + "norm_label": "getautomountconfigmap()" }, { - "label": "DevWorkspaceWithConfig", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L89", "_origin": "ast", - "community": 65, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" + "id": "pkg_provision_automount_configmap_go_configmap", + "community": 116, + "norm_label": "configmap" }, { - "label": "ClusterAPI", + "label": "gitconfig.go", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L1", "_origin": "ast", - "community": 65, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_perworkspacestorage_go_clusterapi" + "id": "automount_gitconfig", + "community": 69, + "norm_label": "gitconfig.go" }, { - "label": ".CleanupWorkspaceStorage()", + "label": "ProvisionGitConfiguration()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L91", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "_origin": "ast", - "community": 65, - "norm_label": ".cleanupworkspacestorage()", - "id": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage" + "id": "automount_gitconfig_provisiongitconfiguration", + "community": 3, + "norm_label": "provisiongitconfiguration()" }, { - "label": ".rewriteContainerVolumeMounts()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L99", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "_origin": "ast", - "community": 65, - "norm_label": ".rewritecontainervolumemounts()", - "id": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts" + "id": "pkg_provision_automount_gitconfig_go_clusterapi", + "community": 3, + "norm_label": "clusterapi" }, { - "label": "getPVCSize()", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "_origin": "ast", - "community": 65, - "norm_label": "getpvcsize()", - "id": "storage_perworkspacestorage_getpvcsize" + "id": "pkg_provision_automount_gitconfig_go_deployment", + "community": 69, + "norm_label": "deployment" }, { - "label": "NamespacedConfig", + "label": "Resources", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "_origin": "ast", - "community": 65, - "norm_label": "namespacedconfig", - "id": "namespacedconfig" + "id": "pkg_provision_automount_gitconfig_go_resources", + "community": 3, + "norm_label": "resources" }, { - "label": "Quantity", + "label": "getGitResources()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "_origin": "ast", - "community": 65, - "norm_label": "quantity", - "id": "pkg_provision_storage_perworkspacestorage_go_quantity" + "id": "automount_gitconfig_getgitresources", + "community": 69, + "norm_label": "getgitresources()" }, { - "label": "syncPerWorkspacePVC()", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L152", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "_origin": "ast", - "community": 65, - "norm_label": "syncperworkspacepvc()", - "id": "storage_perworkspacestorage_syncperworkspacepvc" + "id": "pkg_provision_automount_gitconfig_go_secret", + "community": 69, + "norm_label": "secret" }, { - "label": "PersistentVolumeClaim", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L152", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "_origin": "ast", - "community": 65, - "norm_label": "persistentvolumeclaim", - "id": "pkg_provision_storage_perworkspacestorage_go_persistentvolumeclaim" + "id": "pkg_provision_automount_gitconfig_go_configmap", + "community": 69, + "norm_label": "configmap" }, { - "label": "perWorkspaceStorage_test.go", + "label": "cleanupGitConfig()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L150", "_origin": "ast", - "community": 4, - "norm_label": "perworkspacestorage_test.go", - "id": "storage_perworkspacestorage_test" + "id": "automount_gitconfig_cleanupgitconfig", + "community": 3, + "norm_label": "cleanupgitconfig()" }, { - "label": "init()", + "label": "canGitCredentialsMountWithoutRestart()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L38", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L190", "_origin": "ast", - "community": 4, - "norm_label": "init()", - "id": "storage_perworkspacestorage_test_init" + "id": "automount_gitconfig_cangitcredentialsmountwithoutrestart", + "community": 69, + "norm_label": "cangitcredentialsmountwithoutrestart()" }, { - "label": "TestRewriteContainerVolumeMountsForPerWorkspaceStorageClass()", + "label": "canGitConfigsMountWithoutRestart()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L44", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L195", "_origin": "ast", - "community": 4, - "norm_label": "testrewritecontainervolumemountsforperworkspacestorageclass()", - "id": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass" + "id": "automount_gitconfig_cangitconfigsmountwithoutrestart", + "community": 69, + "norm_label": "cangitconfigsmountwithoutrestart()" }, { - "label": "T", + "label": "canGitObjectsMountWithoutRestart()", "file_type": "code", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L44", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L200", "_origin": "ast", - "community": 4, - "norm_label": "t", - "id": "pkg_provision_storage_perworkspacestorage_test_go_t" + "id": "automount_gitconfig_cangitobjectsmountwithoutrestart", + "community": 69, + "norm_label": "cangitobjectsmountwithoutrestart()" }, { - "label": "Provisioner", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/storage/provisioner.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L200", "_origin": "ast", - "community": 4, - "norm_label": "provisioner", - "id": "storage_provisioner" + "id": "pkg_provision_automount_gitconfig_go_t", + "community": 69, + "norm_label": "t" }, { - "label": "GetProvisioner()", + "label": "allItemsMountOnStart()", "file_type": "code", - "source_file": "pkg/provision/storage/provisioner.go", - "source_location": "L49", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L221", "_origin": "ast", - "community": 4, - "norm_label": "getprovisioner()", - "id": "storage_provisioner_getprovisioner" + "id": "automount_gitconfig_allitemsmountonstart", + "community": 69, + "norm_label": "allitemsmountonstart()" }, { - "label": "DevWorkspaceWithConfig", + "label": "gitconfig_test.go", "file_type": "code", - "source_file": "pkg/provision/storage/provisioner.go", - "source_location": "L49", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1", "_origin": "ast", - "community": 4, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_provisioner_go_devworkspacewithconfig" + "id": "automount_gitconfig_test", + "community": 3, + "norm_label": "gitconfig_test.go" }, { - "label": "shared.go", + "label": "TestUserCredentialsAreMountedWithOneCredential()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L46", "_origin": "ast", - "community": 51, - "norm_label": "shared.go", - "id": "storage_shared" + "id": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", + "community": 3, + "norm_label": "testusercredentialsaremountedwithonecredential()" }, { - "label": "WorkspaceNeedsStorage()", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L46", "_origin": "ast", - "community": 51, - "norm_label": "workspaceneedsstorage()", - "id": "storage_shared_workspaceneedsstorage" + "id": "pkg_provision_automount_gitconfig_test_go_t", + "community": 3, + "norm_label": "t" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "TestUserCredentialsAreOnlyMountedOnceWithMultipleCredentials()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L71", "_origin": "ast", - "community": 51, - "norm_label": "devworkspacetemplatespec", - "id": "pkg_provision_storage_shared_go_devworkspacetemplatespec" + "id": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", + "community": 3, + "norm_label": "testusercredentialsareonlymountedoncewithmultiplecredentials()" }, { - "label": "getPVCSpec()", + "label": "TestGitConfigIsFullyMounted()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L97", "_origin": "ast", - "community": 169, - "norm_label": "getpvcspec()", - "id": "storage_shared_getpvcspec" + "id": "automount_gitconfig_test_testgitconfigisfullymounted", + "community": 3, + "norm_label": "testgitconfigisfullymounted()" }, { - "label": "Quantity", + "label": "TestOneConfigMapWithNoUserMountPath()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L117", "_origin": "ast", - "community": 169, - "norm_label": "quantity", - "id": "pkg_provision_storage_shared_go_quantity" + "id": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", + "community": 3, + "norm_label": "testoneconfigmapwithnousermountpath()" }, { - "label": "PersistentVolumeAccessMode", + "label": "TestOneConfigMapWithMountPathAndHostAndCert()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L130", "_origin": "ast", - "community": 169, - "norm_label": "persistentvolumeaccessmode", - "id": "pkg_provision_storage_shared_go_persistentvolumeaccessmode" + "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", + "community": 3, + "norm_label": "testoneconfigmapwithmountpathandhostandcert()" }, { - "label": "PersistentVolumeClaim", + "label": "TestOneConfigMapWithMountPathAndWithoutHostAndWithoutCert()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L143", "_origin": "ast", - "community": 169, - "norm_label": "persistentvolumeclaim", - "id": "pkg_provision_storage_shared_go_persistentvolumeclaim" + "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", + "community": 3, + "norm_label": "testoneconfigmapwithmountpathandwithouthostandwithoutcert()" }, { - "label": "isEphemeral()", + "label": "TestOneConfigMapWithMountPathAndWithoutHostAndWithCert()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L153", "_origin": "ast", - "community": 51, - "norm_label": "isephemeral()", - "id": "storage_shared_isephemeral" + "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", + "community": 3, + "norm_label": "testoneconfigmapwithmountpathandwithouthostandwithcert()" }, { - "label": "VolumeComponent", + "label": "TestOneConfigMapWithMountPathAndWithHostAndWithoutCert()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L168", "_origin": "ast", - "community": 51, - "norm_label": "volumecomponent", - "id": "pkg_provision_storage_shared_go_volumecomponent" + "id": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", + "community": 3, + "norm_label": "testoneconfigmapwithmountpathandwithhostandwithoutcert()" }, { - "label": "syncCommonPVC()", + "label": "TestTwoConfigMapWithNoDefinedMountPathInAnnotation()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L180", "_origin": "ast", - "community": 169, - "norm_label": "synccommonpvc()", - "id": "storage_shared_synccommonpvc" + "id": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", + "community": 3, + "norm_label": "testtwoconfigmapwithnodefinedmountpathinannotation()" }, { - "label": "OperatorConfiguration", + "label": "TestTwoConfigMapWithOneDefaultTLSAndOtherGithubTLS()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L194", "_origin": "ast", - "community": 169, - "norm_label": "operatorconfiguration", - "id": "pkg_provision_storage_shared_go_operatorconfiguration" + "id": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", + "community": 3, + "norm_label": "testtwoconfigmapwithonedefaulttlsandothergithubtls()" }, { - "label": "ClusterAPI", + "label": "TestTwoConfigMapWithBothMissingHost()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L213", "_origin": "ast", - "community": 72, - "norm_label": "clusterapi", - "id": "pkg_provision_storage_shared_go_clusterapi" + "id": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", + "community": 3, + "norm_label": "testtwoconfigmapwithbothmissinghost()" }, { - "label": "addEphemeralVolumesFromWorkspace()", + "label": "TestShouldNotMountGitCredentialSecretWithMountOnStartIfWorkspaceStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L147", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L227", "_origin": "ast", - "community": 51, - "norm_label": "addephemeralvolumesfromworkspace()", - "id": "storage_shared_addephemeralvolumesfromworkspace" + "id": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", + "community": 3, + "norm_label": "testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted()" }, { - "label": "DevWorkspaceWithConfig", + "label": "TestMountGitCredentialSecretWithMountOnStartIfWorkspaceNotStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L147", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L252", "_origin": "ast", - "community": 51, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_storage_shared_go_devworkspacewithconfig" + "id": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", + "community": 3, + "norm_label": "testmountgitcredentialsecretwithmountonstartifworkspacenotstarted()" }, { - "label": "PodAdditions", + "label": "TestMountGitCredentialSecretWithMountOnStartWhenVolumeExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L147", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L281", "_origin": "ast", - "community": 51, - "norm_label": "podadditions", - "id": "pkg_provision_storage_shared_go_podadditions" + "id": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "community": 3, + "norm_label": "testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment()" }, { - "label": "addEphemeralVolumesToPodAdditions()", + "label": "TestMountGitCredentialSecretWithMixedMountOnStart()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L321", "_origin": "ast", - "community": 51, - "norm_label": "addephemeralvolumestopodadditions()", - "id": "storage_shared_addephemeralvolumestopodadditions" + "id": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "community": 3, + "norm_label": "testmountgitcredentialsecretwithmixedmountonstart()" }, { - "label": "Component", + "label": "TestShouldNotMountGitConfigWithMountOnStartIfWorkspaceStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L353", "_origin": "ast", - "community": 51, - "norm_label": "component", - "id": "pkg_provision_storage_shared_go_component" + "id": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", + "community": 3, + "norm_label": "testshouldnotmountgitconfigwithmountonstartifworkspacestarted()" }, { - "label": "Volume", + "label": "TestMountGitConfigWithMountOnStartIfWorkspaceNotStarted()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L376", "_origin": "ast", - "community": 51, - "norm_label": "volume", - "id": "pkg_provision_storage_shared_go_volume" + "id": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", + "community": 3, + "norm_label": "testmountgitconfigwithmountonstartifworkspacenotstarted()" }, { - "label": "getWorkspaceVolumes()", + "label": "TestMountGitConfigWithMountOnStartWhenVolumeExistsInDeployment()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L191", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L403", "_origin": "ast", - "community": 51, - "norm_label": "getworkspacevolumes()", - "id": "storage_shared_getworkspacevolumes" + "id": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", + "community": 3, + "norm_label": "testmountgitconfigwithmountonstartwhenvolumeexistsindeployment()" }, { - "label": "processProjectsVolume()", + "label": "TestMountGitConfigWithMixedMountOnStart()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L218", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L440", "_origin": "ast", - "community": 51, - "norm_label": "processprojectsvolume()", - "id": "storage_shared_processprojectsvolume" + "id": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", + "community": 3, + "norm_label": "testmountgitconfigwithmixedmountonstart()" }, { - "label": "checkForAlternatePVC()", + "label": "TestMountGitCredentialSecretWithIncludeAnnotationMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L236", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L470", "_origin": "ast", - "community": 72, - "norm_label": "checkforalternatepvc()", - "id": "storage_shared_checkforalternatepvc" + "id": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", + "community": 3, + "norm_label": "testmountgitcredentialsecretwithincludeannotationmatching()" }, { - "label": "getSharedPVCWorkspaceCount()", + "label": "TestSkipGitCredentialSecretWithIncludeAnnotationNotMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L252", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L500", "_origin": "ast", - "community": 72, - "norm_label": "getsharedpvcworkspacecount()", - "id": "storage_shared_getsharedpvcworkspacecount" + "id": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", + "community": 3, + "norm_label": "testskipgitcredentialsecretwithincludeannotationnotmatching()" }, { - "label": "FindNodeForPVC()", + "label": "TestSkipGitCredentialSecretWithExcludeAnnotationMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L275", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L526", "_origin": "ast", - "community": 2, - "norm_label": "findnodeforpvc()", - "id": "storage_shared_findnodeforpvc" + "id": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", + "community": 3, + "norm_label": "testskipgitcredentialsecretwithexcludeannotationmatching()" }, { - "label": "Context", + "label": "TestMountGitCredentialSecretWithExcludeAnnotationNotMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L275", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L552", "_origin": "ast", - "community": 2, - "norm_label": "context", - "id": "pkg_provision_storage_shared_go_context" + "id": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", + "community": 3, + "norm_label": "testmountgitcredentialsecretwithexcludeannotationnotmatching()" }, { - "label": "Client", + "label": "TestMountGitTLSConfigMapWithIncludeAnnotationMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L275", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L582", "_origin": "ast", - "community": 2, - "norm_label": "client", - "id": "pkg_provision_storage_shared_go_client" + "id": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", + "community": 3, + "norm_label": "testmountgittlsconfigmapwithincludeannotationmatching()" }, { - "label": "NodeAffinityForHostname()", + "label": "TestSkipGitTLSConfigMapWithIncludeAnnotationNotMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L293", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L609", "_origin": "ast", - "community": 53, - "norm_label": "nodeaffinityforhostname()", - "id": "storage_shared_nodeaffinityforhostname" + "id": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", + "community": 3, + "norm_label": "testskipgittlsconfigmapwithincludeannotationnotmatching()" }, { - "label": "Affinity", + "label": "TestSkipGitTLSConfigMapWithExcludeAnnotationMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L293", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L633", "_origin": "ast", - "community": 53, - "norm_label": "affinity", - "id": "affinity" + "id": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", + "community": 3, + "norm_label": "testskipgittlsconfigmapwithexcludeannotationmatching()" }, { - "label": "getNodeNameWithPVC()", + "label": "TestMountGitTLSConfigMapWithExcludeAnnotationNotMatching()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L313", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L657", "_origin": "ast", - "community": 2, - "norm_label": "getnodenamewithpvc()", - "id": "storage_shared_getnodenamewithpvc" + "id": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", + "community": 3, + "norm_label": "testmountgittlsconfigmapwithexcludeannotationnotmatching()" }, { - "label": "PodList", + "label": "TestFindGitconfigAutomountConfigMapIncludeMatches()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L313", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L684", "_origin": "ast", - "community": 2, - "norm_label": "podlist", - "id": "pkg_provision_storage_shared_go_podlist" + "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", + "community": 3, + "norm_label": "testfindgitconfigautomountconfigmapincludematches()" }, { - "label": "checkPVCTerminating()", + "label": "TestFindGitconfigAutomountConfigMapIncludeDoesNotMatch()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L326", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L711", "_origin": "ast", - "community": 72, - "norm_label": "checkpvcterminating()", - "id": "storage_shared_checkpvcterminating" + "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", + "community": 3, + "norm_label": "testfindgitconfigautomountconfigmapincludedoesnotmatch()" }, { - "label": "rewriteContainerVolumeMounts()", + "label": "TestFindGitconfigAutomountConfigMapExcludeMatches()", "file_type": "code", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L350", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L736", "_origin": "ast", - "community": 51, - "norm_label": "rewritecontainervolumemounts()", - "id": "storage_shared_rewritecontainervolumemounts" + "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", + "community": 3, + "norm_label": "testfindgitconfigautomountconfigmapexcludematches()" }, { - "label": "shared_test.go", + "label": "TestFindGitconfigAutomountConfigMapExcludeDoesNotMatch()", "file_type": "code", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L761", "_origin": "ast", - "community": 170, - "norm_label": "shared_test.go", - "id": "storage_shared_test" + "id": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", + "community": 3, + "norm_label": "testfindgitconfigautomountconfigmapexcludedoesnotmatch()" }, { - "label": "TestGetPVCSpecWithDefaultStorageAccessMode()", + "label": "TestFindGitconfigAutomountSecretIncludeMatches()", "file_type": "code", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L30", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L788", "_origin": "ast", - "community": 170, - "norm_label": "testgetpvcspecwithdefaultstorageaccessmode()", - "id": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode" + "id": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", + "community": 3, + "norm_label": "testfindgitconfigautomountsecretincludematches()" }, { - "label": "T", + "label": "TestFindGitconfigAutomountSecretIncludeDoesNotMatch()", "file_type": "code", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L30", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L815", "_origin": "ast", - "community": 170, - "norm_label": "t", - "id": "pkg_provision_storage_shared_test_go_t" + "id": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", + "community": 3, + "norm_label": "testfindgitconfigautomountsecretincludedoesnotmatch()" }, { - "label": "TestGetPVCSpecWithCustomStorageAccessMode()", + "label": "TestFindGitconfigAutomountSecretExcludeMatches()", "file_type": "code", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L48", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L840", "_origin": "ast", - "community": 170, - "norm_label": "testgetpvcspecwithcustomstorageaccessmode()", - "id": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode" + "id": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", + "community": 3, + "norm_label": "testfindgitconfigautomountsecretexcludematches()" }, { - "label": "TestNodeAffinityForHostname()", + "label": "TestFindGitconfigAutomountSecretExcludeDoesNotMatch()", "file_type": "code", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L67", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L865", "_origin": "ast", - "community": 170, - "norm_label": "testnodeaffinityforhostname()", - "id": "storage_shared_test_testnodeaffinityforhostname" + "id": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", + "community": 3, + "norm_label": "testfindgitconfigautomountsecretexcludedoesnotmatch()" }, { - "label": "TestFindNodeForPVC()", + "label": "buildAutomountGitConfigMap()", "file_type": "code", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L83", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L892", "_origin": "ast", - "community": 170, - "norm_label": "testfindnodeforpvc()", - "id": "storage_shared_test_testfindnodeforpvc" + "id": "automount_gitconfig_test_buildautomountgitconfigmap", + "community": 3, + "norm_label": "buildautomountgitconfigmap()" }, { - "label": "cluster_api.go", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L892", "_origin": "ast", - "community": 43, - "norm_label": "cluster_api.go", - "id": "sync_cluster_api" + "id": "pkg_provision_automount_gitconfig_test_go_configmap", + "community": 3, + "norm_label": "configmap" }, { - "label": "ClusterAPI", + "label": "buildAutomountGitSecret()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L901", "_origin": "ast", - "community": 43, - "norm_label": "clusterapi", - "id": "sync_clusterapi" + "id": "automount_gitconfig_test_buildautomountgitsecret", + "community": 3, + "norm_label": "buildautomountgitsecret()" }, { - "label": "Client", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L27", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L901", "_origin": "ast", - "community": 43, - "norm_label": "client", - "id": "pkg_provision_sync_cluster_api_go_client" + "id": "pkg_provision_automount_gitconfig_test_go_secret", + "community": 3, + "norm_label": "secret" }, { - "label": "Scheme", + "label": "buildConfig()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L29", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L910", "_origin": "ast", - "community": 43, - "norm_label": "scheme", - "id": "pkg_provision_sync_cluster_api_go_scheme" + "id": "automount_gitconfig_test_buildconfig", + "community": 3, + "norm_label": "buildconfig()" }, { - "label": "Logger", + "label": "buildSecret()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L30", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L926", "_origin": "ast", - "community": 43, - "norm_label": "logger", - "id": "pkg_provision_sync_cluster_api_go_logger" + "id": "automount_gitconfig_test_buildsecret", + "community": 3, + "norm_label": "buildsecret()" }, { - "label": "Context", + "label": "buildSecretWithAnnotations()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L942", "_origin": "ast", - "community": 43, - "norm_label": "context", - "id": "pkg_provision_sync_cluster_api_go_context" + "id": "automount_gitconfig_test_buildsecretwithannotations", + "community": 3, + "norm_label": "buildsecretwithannotations()" }, { - "label": "NotInSyncError", + "label": "buildConfigWithAnnotations()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L35", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L950", "_origin": "ast", - "community": 43, - "norm_label": "notinsyncerror", - "id": "sync_notinsyncerror" + "id": "automount_gitconfig_test_buildconfigwithannotations", + "community": 3, + "norm_label": "buildconfigwithannotations()" }, { - "label": "NotInSyncReason", + "label": "assertGitConfigContains()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L36", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L958", "_origin": "ast", - "community": 43, - "norm_label": "notinsyncreason", - "id": "notinsyncreason" + "id": "automount_gitconfig_test_assertgitconfigcontains", + "community": 3, + "norm_label": "assertgitconfigcontains()" }, { - "label": "Object", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L958", "_origin": "ast", - "community": 43, - "norm_label": "object", - "id": "pkg_provision_sync_cluster_api_go_object" + "id": "pkg_provision_automount_gitconfig_test_go_clusterapi", + "community": 3, + "norm_label": "clusterapi" }, { - "label": "NotInSyncReason", + "label": "assertGitCredentialsSecret()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L40", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L973", "_origin": "ast", - "community": 43, - "norm_label": "notinsyncreason", - "id": "sync_notinsyncreason" + "id": "automount_gitconfig_test_assertgitcredentialssecret", + "community": 3, + "norm_label": "assertgitcredentialssecret()" }, { - "label": ".Error()", + "label": "assertGitCredentialsConfigMap()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L49", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L988", "_origin": "ast", - "community": 43, - "norm_label": ".error()", - "id": "sync_notinsyncerror_error" + "id": "automount_gitconfig_test_assertgitcredentialsconfigmap", + "community": 3, + "norm_label": "assertgitcredentialsconfigmap()" }, { - "label": "NewNotInSync()", + "label": "assertGitCredentialsConfigMapWithSslCAInfo()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L54", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1004", "_origin": "ast", - "community": 94, - "norm_label": "newnotinsync()", - "id": "sync_cluster_api_newnotinsync" + "id": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", + "community": 3, + "norm_label": "assertgitcredentialsconfigmapwithsslcainfo()" }, { - "label": "UnrecoverableSyncError", + "label": "projected.go", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L63", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L1", "_origin": "ast", - "community": 43, - "norm_label": "unrecoverablesyncerror", - "id": "sync_unrecoverablesyncerror" + "id": "automount_projected", + "community": 47, + "norm_label": "projected.go" }, { - "label": ".Error()", + "label": "mergeProjectedVolumes()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L67", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L29", "_origin": "ast", - "community": 43, - "norm_label": ".error()", - "id": "sync_unrecoverablesyncerror_error" + "id": "automount_projected_mergeprojectedvolumes", + "community": 47, + "norm_label": "mergeprojectedvolumes()" }, { - "label": ".Unwrap()", + "label": "Resources", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L71", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L29", "_origin": "ast", - "community": 43, - "norm_label": ".unwrap()", - "id": "sync_unrecoverablesyncerror_unwrap" + "id": "pkg_provision_automount_projected_go_resources", + "community": 47, + "norm_label": "resources" }, { - "label": "WarningError", + "label": "generateProjectedVolume()", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L77", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L92", "_origin": "ast", - "community": 43, - "norm_label": "warningerror", - "id": "sync_warningerror" + "id": "automount_projected_generateprojectedvolume", + "community": 47, + "norm_label": "generateprojectedvolume()" }, { - "label": ".Error()", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L82", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L92", "_origin": "ast", - "community": 43, - "norm_label": ".error()", - "id": "sync_warningerror_error" + "id": "pkg_provision_automount_projected_go_volumemount", + "community": 47, + "norm_label": "volumemount" }, { - "label": ".Unwrap()", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L92", "_origin": "ast", - "community": 43, - "norm_label": ".unwrap()", - "id": "sync_warningerror_unwrap" + "id": "pkg_provision_automount_projected_go_volume", + "community": 47, + "norm_label": "volume" }, { - "label": "diff.go", + "label": "checkCanUseProjectedVolumes()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L158", "_origin": "ast", - "community": 66, - "norm_label": "diff.go", - "id": "sync_diff" + "id": "automount_projected_checkcanuseprojectedvolumes", + "community": 47, + "norm_label": "checkcanuseprojectedvolumes()" }, { - "label": "diffFunc", + "label": "projected_test.go", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L38", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L1", "_origin": "ast", - "community": 66, - "norm_label": "difffunc", - "id": "sync_difffunc" + "id": "automount_projected_test", + "community": 76, + "norm_label": "projected_test.go" }, { - "label": "basicDiffFunc()", + "label": "TestMergeProjectedVolumes()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L57", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L54", "_origin": "ast", - "community": 114, - "norm_label": "basicdifffunc()", - "id": "sync_diff_basicdifffunc" + "id": "automount_projected_test_testmergeprojectedvolumes", + "community": 76, + "norm_label": "testmergeprojectedvolumes()" }, { - "label": "Options", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L57", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L54", "_origin": "ast", - "community": 114, - "norm_label": "options", - "id": "options" + "id": "pkg_provision_automount_projected_test_go_t", + "community": 76, + "norm_label": "t" }, { - "label": "metadataDiffFunc()", + "label": "testSecretVolume()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L65", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L242", "_origin": "ast", - "community": 66, - "norm_label": "metadatadifffunc()", - "id": "sync_diff_metadatadifffunc" + "id": "automount_projected_test_testsecretvolume", + "community": 76, + "norm_label": "testsecretvolume()" }, { - "label": "Object", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L65", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L242", "_origin": "ast", - "community": 66, - "norm_label": "object", - "id": "pkg_provision_sync_diff_go_object" + "id": "pkg_provision_automount_projected_test_go_volume", + "community": 76, + "norm_label": "volume" }, { - "label": "podTemplateMetadataDiffFunc()", + "label": "testConfigmapVolume()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L92", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L253", "_origin": "ast", - "community": 114, - "norm_label": "podtemplatemetadatadifffunc()", - "id": "sync_diff_podtemplatemetadatadifffunc" + "id": "automount_projected_test_testconfigmapvolume", + "community": 76, + "norm_label": "testconfigmapvolume()" }, { - "label": "allDiffFuncs()", + "label": "testPVCVolume()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L119", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L266", "_origin": "ast", - "community": 66, - "norm_label": "alldifffuncs()", - "id": "sync_diff_alldifffuncs" + "id": "automount_projected_test_testpvcvolume", + "community": 76, + "norm_label": "testpvcvolume()" }, { - "label": "deploymentDiffFunc()", + "label": "testVolumeMount()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L132", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L277", "_origin": "ast", - "community": 66, - "norm_label": "deploymentdifffunc()", - "id": "sync_diff_deploymentdifffunc" + "id": "automount_projected_test_testvolumemount", + "community": 76, + "norm_label": "testvolumemount()" }, { - "label": "podDiffFunc()", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L141", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L277", "_origin": "ast", - "community": 66, - "norm_label": "poddifffunc()", - "id": "sync_diff_poddifffunc" + "id": "pkg_provision_automount_projected_test_go_volumemount", + "community": 76, + "norm_label": "volumemount" }, { - "label": "containersDiffFunc()", + "label": "testSubpathVolumeMount()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L213", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L285", "_origin": "ast", - "community": 66, - "norm_label": "containersdifffunc()", - "id": "sync_diff_containersdifffunc" + "id": "automount_projected_test_testsubpathvolumemount", + "community": 76, + "norm_label": "testsubpathvolumemount()" }, { - "label": "Container", + "label": "testEnvFromSource()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L213", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L294", "_origin": "ast", - "community": 66, - "norm_label": "container", - "id": "pkg_provision_sync_diff_go_container" + "id": "automount_projected_test_testenvfromsource", + "community": 76, + "norm_label": "testenvfromsource()" }, { - "label": "routingDiffFunc()", + "label": "EnvFromSource", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L241", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L294", "_origin": "ast", - "community": 66, - "norm_label": "routingdifffunc()", - "id": "sync_diff_routingdifffunc" + "id": "pkg_provision_automount_projected_test_go_envfromsource", + "community": 76, + "norm_label": "envfromsource" }, { - "label": "jobDiffFunc()", + "label": "testProjectedVolume()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L250", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L304", "_origin": "ast", - "community": 66, - "norm_label": "jobdifffunc()", - "id": "sync_diff_jobdifffunc" + "id": "automount_projected_test_testprojectedvolume", + "community": 76, + "norm_label": "testprojectedvolume()" }, { - "label": "serviceDiffFunc()", + "label": "pvcs.go", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L257", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L1", "_origin": "ast", - "community": 66, - "norm_label": "servicedifffunc()", - "id": "sync_diff_servicedifffunc" + "id": "automount_pvcs", + "community": 130, + "norm_label": "pvcs.go" }, { - "label": "unrecognizedObjectDiffFunc()", + "label": "mountPathEntry", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L281", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L38", "_origin": "ast", - "community": 66, - "norm_label": "unrecognizedobjectdifffunc()", - "id": "sync_diff_unrecognizedobjectdifffunc" + "id": "automount_mountpathentry", + "community": 130, + "norm_label": "mountpathentry" }, { - "label": "containsOwnerRef()", + "label": "parseMountPathAnnotation()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L285", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L43", "_origin": "ast", - "community": 66, - "norm_label": "containsownerref()", - "id": "sync_diff_containsownerref" + "id": "automount_pvcs_parsemountpathannotation", + "community": 130, + "norm_label": "parsemountpathannotation()" }, { - "label": "OwnerReference", + "label": "getAutoMountPVCs()", "file_type": "code", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L285", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "_origin": "ast", - "community": 66, - "norm_label": "ownerreference", - "id": "pkg_provision_sync_diff_go_ownerreference" + "id": "automount_pvcs_getautomountpvcs", + "community": 130, + "norm_label": "getautomountpvcs()" }, { - "label": "diff_test.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "_origin": "ast", - "community": 114, - "norm_label": "diff_test.go", - "id": "sync_diff_test" + "id": "pkg_provision_automount_pvcs_go_clusterapi", + "community": 130, + "norm_label": "clusterapi" }, { - "label": "TestPodTemplateMetadataDiffFunc()", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L25", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "_origin": "ast", - "community": 114, - "norm_label": "testpodtemplatemetadatadifffunc()", - "id": "sync_diff_test_testpodtemplatemetadatadifffunc" + "id": "pkg_provision_automount_pvcs_go_deployment", + "community": 130, + "norm_label": "deployment" }, { - "label": "T", + "label": "Resources", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L25", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "_origin": "ast", - "community": 114, - "norm_label": "t", - "id": "pkg_provision_sync_diff_test_go_t" + "id": "pkg_provision_automount_pvcs_go_resources", + "community": 130, + "norm_label": "resources" }, { - "label": "TestPodTemplateMetadataDiffFunc_NonDeployment()", + "label": "templates.go", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L118", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L1", "_origin": "ast", - "community": 114, - "norm_label": "testpodtemplatemetadatadifffunc_nondeployment()", - "id": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment" + "id": "automount_templates", + "community": 3, + "norm_label": "templates.go" }, { - "label": "TestDeploymentDiffOpts_IgnoresPodTemplateMetadata()", + "label": "constructGitConfig()", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L127", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L60", "_origin": "ast", - "community": 114, - "norm_label": "testdeploymentdiffopts_ignorespodtemplatemetadata()", - "id": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata" + "id": "automount_templates_constructgitconfig", + "community": 3, + "norm_label": "constructgitconfig()" }, { - "label": "TestDeploymentDiffOpts_DetectsSpecChanges()", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L159", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L60", "_origin": "ast", - "community": 114, - "norm_label": "testdeploymentdiffopts_detectsspecchanges()", - "id": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges" + "id": "pkg_provision_automount_templates_go_configmap", + "community": 3, + "norm_label": "configmap" }, { - "label": "TestDeploymentFullDiff_ExternalLabelsNoUpdate()", + "label": "mergeGitCredentials()", "file_type": "code", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L191", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L116", "_origin": "ast", - "community": 114, - "norm_label": "testdeploymentfulldiff_externallabelsnoupdate()", - "id": "sync_diff_test_testdeploymentfulldiff_externallabelsnoupdate" + "id": "automount_templates_mergegitcredentials", + "community": 3, + "norm_label": "mergegitcredentials()" }, { - "label": "diffopts.go", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/sync/diffopts.go", - "source_location": "L1", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L116", "_origin": "ast", - "community": 238, - "norm_label": "diffopts.go", - "id": "sync_diffopts" + "id": "pkg_provision_automount_templates_go_secret", + "community": 3, + "norm_label": "secret" }, { - "label": "getNameFromEnvFrom()", + "label": "config.go", "file_type": "code", - "source_file": "pkg/provision/sync/diffopts.go", - "source_location": "L101", + "source_file": "pkg/provision/config/config.go", + "source_location": "L1", "_origin": "ast", - "community": 238, - "norm_label": "getnamefromenvfrom()", - "id": "sync_diffopts_getnamefromenvfrom" + "id": "pkg_provision_config_config_go_config_config", + "community": 54, + "norm_label": "config.go" }, { - "label": "EnvFromSource", + "label": "NamespacedConfig", "file_type": "code", - "source_file": "pkg/provision/sync/diffopts.go", - "source_location": "L101", + "source_file": "pkg/provision/config/config.go", + "source_location": "L37", "_origin": "ast", - "community": 238, - "norm_label": "envfromsource", - "id": "pkg_provision_sync_diffopts_go_envfromsource" + "id": "config_namespacedconfig", + "community": 54, + "norm_label": "namespacedconfig" }, { - "label": "sync.go", + "label": "ReadNamespacedConfig()", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L1", + "source_file": "pkg/provision/config/config.go", + "source_location": "L45", "_origin": "ast", - "community": 94, - "norm_label": "sync.go", - "id": "sync_sync" + "id": "config_config_readnamespacedconfig", + "community": 54, + "norm_label": "readnamespacedconfig()" }, { - "label": "IsRecognizedObject()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L37", + "source_file": "pkg/provision/config/config.go", + "source_location": "L45", "_origin": "ast", - "community": 94, - "norm_label": "isrecognizedobject()", - "id": "sync_sync_isrecognizedobject" + "id": "pkg_provision_config_config_go_clusterapi", + "community": 54, + "norm_label": "clusterapi" }, { - "label": "Object", + "label": "GetNamespacePodTolerationsAndNodeSelector()", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L37", + "source_file": "pkg/provision/config/config.go", + "source_location": "L84", "_origin": "ast", - "community": 94, - "norm_label": "object", - "id": "pkg_provision_sync_sync_go_object" + "id": "config_config_getnamespacepodtolerationsandnodeselector", + "community": 54, + "norm_label": "getnamespacepodtolerationsandnodeselector()" }, { - "label": "SyncObjectWithCluster()", + "label": "Toleration", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L47", + "source_file": "pkg/provision/config/config.go", + "source_location": "L84", "_origin": "ast", - "community": 94, - "norm_label": "syncobjectwithcluster()", - "id": "sync_sync_syncobjectwithcluster" + "id": "pkg_provision_config_config_go_toleration", + "community": 54, + "norm_label": "toleration" }, { - "label": "ClusterAPI", + "label": "envvar.go", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L47", + "source_file": "pkg/provision/metadata/envvar.go", + "source_location": "L1", "_origin": "ast", - "community": 94, - "norm_label": "clusterapi", - "id": "pkg_provision_sync_sync_go_clusterapi" + "id": "metadata_envvar", + "community": 56, + "norm_label": "envvar.go" }, { - "label": "SyncUnrecognizedObjectWithCluster()", + "label": "getWorkspaceMetaEnvVar()", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L91", + "source_file": "pkg/provision/metadata/envvar.go", + "source_location": "L35", "_origin": "ast", - "community": 94, - "norm_label": "syncunrecognizedobjectwithcluster()", - "id": "sync_sync_syncunrecognizedobjectwithcluster" + "id": "metadata_envvar_getworkspacemetaenvvar", + "community": 56, + "norm_label": "getworkspacemetaenvvar()" }, { - "label": "createObjectGeneric()", + "label": "EnvVar", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L137", + "source_file": "pkg/provision/metadata/envvar.go", + "source_location": "L35", "_origin": "ast", - "community": 94, - "norm_label": "createobjectgeneric()", - "id": "sync_sync_createobjectgeneric" + "id": "pkg_provision_metadata_envvar_go_envvar", + "community": 56, + "norm_label": "envvar" }, { - "label": "updateObjectGeneric()", + "label": "metadata.go", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L154", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L1", "_origin": "ast", - "community": 94, - "norm_label": "updateobjectgeneric()", - "id": "sync_sync_updateobjectgeneric" + "id": "pkg_provision_metadata_metadata_go_metadata_metadata", + "community": 56, + "norm_label": "metadata.go" }, { - "label": "isMutableObject()", + "label": "ProvisionWorkspaceMetadata()", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L180", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", "_origin": "ast", - "community": 94, - "norm_label": "ismutableobject()", - "id": "sync_sync_ismutableobject" + "id": "metadata_metadata_provisionworkspacemetadata", + "community": 56, + "norm_label": "provisionworkspacemetadata()" }, { - "label": "printDiff()", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L189", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", "_origin": "ast", - "community": 94, - "norm_label": "printdiff()", - "id": "sync_sync_printdiff" + "id": "pkg_provision_metadata_metadata_go_podadditions", + "community": 56, + "norm_label": "podadditions" }, { - "label": "Logger", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L189", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", "_origin": "ast", - "community": 94, - "norm_label": "logger", - "id": "pkg_provision_sync_sync_go_logger" + "id": "pkg_provision_metadata_metadata_go_devworkspacewithconfig", + "community": 56, + "norm_label": "devworkspacewithconfig" }, { - "label": "update.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L1", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", "_origin": "ast", - "community": 67, - "norm_label": "update.go", - "id": "sync_update" + "id": "pkg_provision_metadata_metadata_go_clusterapi", + "community": 56, + "norm_label": "clusterapi" }, { - "label": "updateFunc", + "label": "getSpecMetadataConfigMap()", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L35", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L78", "_origin": "ast", - "community": 67, - "norm_label": "updatefunc", - "id": "sync_updatefunc" + "id": "metadata_metadata_getspecmetadataconfigmap", + "community": 56, + "norm_label": "getspecmetadataconfigmap()" }, { - "label": "defaultUpdateFunc()", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L37", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L78", "_origin": "ast", - "community": 67, - "norm_label": "defaultupdatefunc()", - "id": "sync_update_defaultupdatefunc" + "id": "pkg_provision_metadata_metadata_go_configmap", + "community": 56, + "norm_label": "configmap" }, { - "label": "Object", + "label": "getVolumeFromConfigMap()", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L37", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L107", "_origin": "ast", - "community": 67, - "norm_label": "object", - "id": "pkg_provision_sync_update_go_object" + "id": "metadata_metadata_getvolumefromconfigmap", + "community": 56, + "norm_label": "getvolumefromconfigmap()" }, { - "label": "serviceUpdateFunc()", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L44", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L107", "_origin": "ast", - "community": 67, - "norm_label": "serviceupdatefunc()", - "id": "sync_update_serviceupdatefunc" + "id": "pkg_provision_metadata_metadata_go_volume", + "community": 56, + "norm_label": "volume" }, { - "label": "serviceAccountUpdateFunc()", + "label": "getVolumeMountFromVolume()", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L55", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L122", "_origin": "ast", - "community": 67, - "norm_label": "serviceaccountupdatefunc()", - "id": "sync_update_serviceaccountupdatefunc" + "id": "metadata_metadata_getvolumemountfromvolume", + "community": 56, + "norm_label": "getvolumemountfromvolume()" }, { - "label": "deploymentUpdateFunc()", + "label": "VolumeMount", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L71", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L122", "_origin": "ast", - "community": 67, - "norm_label": "deploymentupdatefunc()", - "id": "sync_update_deploymentupdatefunc" + "id": "pkg_provision_metadata_metadata_go_volumemount", + "community": 56, + "norm_label": "volumemount" }, { - "label": "mergeMaps()", + "label": "asyncStorage.go", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L84", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L1", "_origin": "ast", - "community": 67, - "norm_label": "mergemaps()", - "id": "sync_update_mergemaps" + "id": "storage_asyncstorage", + "community": 74, + "norm_label": "asyncstorage.go" }, { - "label": "getUpdateFunc()", + "label": "AsyncStorageProvisioner", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L95", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L43", "_origin": "ast", - "community": 67, - "norm_label": "getupdatefunc()", - "id": "sync_update_getupdatefunc" + "id": "storage_asyncstorageprovisioner", + "community": 75, + "norm_label": "asyncstorageprovisioner" }, { - "label": "unrecognizedObjectUpdateFunc()", + "label": ".NeedsStorage()", "file_type": "code", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L109", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L47", "_origin": "ast", - "community": 67, - "norm_label": "unrecognizedobjectupdatefunc()", - "id": "sync_update_unrecognizedobjectupdatefunc" + "id": "storage_asyncstorageprovisioner_needsstorage", + "community": 75, + "norm_label": ".needsstorage()" }, { - "label": "update_test.go", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L47", "_origin": "ast", - "community": 67, - "norm_label": "update_test.go", - "id": "sync_update_test" + "id": "pkg_provision_storage_asyncstorage_go_devworkspacetemplatespec", + "community": 75, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestGetUpdateFunc_Deployment()", + "label": ".ProvisionStorage()", "file_type": "code", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L25", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "_origin": "ast", - "community": 67, - "norm_label": "testgetupdatefunc_deployment()", - "id": "sync_update_test_testgetupdatefunc_deployment" + "id": "storage_asyncstorageprovisioner_provisionstorage", + "community": 75, + "norm_label": ".provisionstorage()" }, { - "label": "T", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L25", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "_origin": "ast", - "community": 67, - "norm_label": "t", - "id": "pkg_provision_sync_update_test_go_t" + "id": "pkg_provision_storage_asyncstorage_go_podadditions", + "community": 75, + "norm_label": "podadditions" }, { - "label": "TestDeploymentUpdateFunc()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L71", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "_origin": "ast", - "community": 67, - "norm_label": "testdeploymentupdatefunc()", - "id": "sync_update_test_testdeploymentupdatefunc" + "id": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig", + "community": 75, + "norm_label": "devworkspacewithconfig" }, { - "label": "TestDeploymentUpdateFunc_NilCluster()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L170", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "_origin": "ast", - "community": 67, - "norm_label": "testdeploymentupdatefunc_nilcluster()", - "id": "sync_update_test_testdeploymentupdatefunc_nilcluster" + "id": "pkg_provision_storage_asyncstorage_go_clusterapi", + "community": 75, + "norm_label": "clusterapi" }, { - "label": "deployment.go", + "label": ".CleanupWorkspaceStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L179", "_origin": "ast", - "community": 0, - "norm_label": "deployment.go", - "id": "workspace_deployment" + "id": "storage_asyncstorageprovisioner_cleanupworkspacestorage", + "community": 75, + "norm_label": ".cleanupworkspacestorage()" }, { - "label": "SyncDeploymentToCluster()", + "label": ".addVolumesForAsyncStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L253", "_origin": "ast", - "community": 0, - "norm_label": "syncdeploymenttocluster()", - "id": "workspace_deployment_syncdeploymenttocluster" + "id": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "community": 75, + "norm_label": ".addvolumesforasyncstorage()" }, { - "label": "DevWorkspaceWithConfig", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L253", "_origin": "ast", - "community": 0, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "id": "pkg_provision_storage_asyncstorage_go_volume", + "community": 75, + "norm_label": "volume" }, { - "label": "PodAdditions", + "label": ".getAsyncWorkspaceCount()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L290", "_origin": "ast", - "community": 0, - "norm_label": "podadditions", - "id": "pkg_provision_workspace_deployment_go_podadditions" + "id": "storage_asyncstorageprovisioner_getasyncworkspacecount", + "community": 75, + "norm_label": ".getasyncworkspacecount()" }, { - "label": "ClusterAPI", + "label": "checkConfigured()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L309", "_origin": "ast", - "community": 0, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_deployment_go_clusterapi" + "id": "storage_asyncstorage_checkconfigured", + "community": 74, + "norm_label": "checkconfigured()" }, { - "label": "DeleteWorkspaceDeployment()", + "label": "cleanup.go", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "deleteworkspacedeployment()", - "id": "workspace_deployment_deleteworkspacedeployment" + "id": "asyncstorage_cleanup", + "community": 15, + "norm_label": "cleanup.go" }, { - "label": "Context", + "label": "RemoveAuthorizedKeyFromConfigMap()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L25", "_origin": "ast", - "community": 0, - "norm_label": "context", - "id": "pkg_provision_workspace_deployment_go_context" + "id": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", + "community": 15, + "norm_label": "removeauthorizedkeyfromconfigmap()" }, { - "label": "Client", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L25", "_origin": "ast", - "community": 0, - "norm_label": "client", - "id": "pkg_provision_workspace_deployment_go_client" + "id": "pkg_provision_storage_asyncstorage_cleanup_go_devworkspacewithconfig", + "community": 15, + "norm_label": "devworkspacewithconfig" }, { - "label": "ScaleDeploymentToZero()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L115", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L25", "_origin": "ast", - "community": 0, - "norm_label": "scaledeploymenttozero()", - "id": "workspace_deployment_scaledeploymenttozero" + "id": "pkg_provision_storage_asyncstorage_cleanup_go_clusterapi", + "community": 15, + "norm_label": "clusterapi" }, { - "label": "getSpecDeployment()", + "label": "configmap.go", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "getspecdeployment()", - "id": "workspace_deployment_getspecdeployment" + "id": "asyncstorage_configmap", + "community": 15, + "norm_label": "configmap.go" }, { - "label": "Toleration", + "label": "getSSHAuthorizedKeysConfigMapSpec()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L34", "_origin": "ast", - "community": 0, - "norm_label": "toleration", - "id": "pkg_provision_workspace_deployment_go_toleration" + "id": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec", + "community": 15, + "norm_label": "getsshauthorizedkeysconfigmapspec()" }, { - "label": "Scheme", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L34", "_origin": "ast", - "community": 0, - "norm_label": "scheme", - "id": "pkg_provision_workspace_deployment_go_scheme" + "id": "pkg_provision_storage_asyncstorage_configmap_go_configmap", + "community": 15, + "norm_label": "configmap" }, { - "label": "Deployment", + "label": "getSSHAuthorizedKeysConfigMapCluster()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L52", "_origin": "ast", - "community": 0, - "norm_label": "deployment", - "id": "pkg_provision_workspace_deployment_go_deployment" + "id": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster", + "community": 15, + "norm_label": "getsshauthorizedkeysconfigmapcluster()" }, { - "label": "getProgressDeadlineSeconds()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L283", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L52", "_origin": "ast", - "community": 0, - "norm_label": "getprogressdeadlineseconds()", - "id": "workspace_deployment_getprogressdeadlineseconds" + "id": "pkg_provision_storage_asyncstorage_configmap_go_clusterapi", + "community": 15, + "norm_label": "clusterapi" }, { - "label": "OperatorConfiguration", + "label": "addAuthorizedKeyToConfigMap()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L283", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L62", "_origin": "ast", - "community": 0, - "norm_label": "operatorconfiguration", - "id": "pkg_provision_workspace_deployment_go_operatorconfiguration" + "id": "asyncstorage_configmap_addauthorizedkeytoconfigmap", + "community": 15, + "norm_label": "addauthorizedkeytoconfigmap()" }, { - "label": "mergePodAdditions()", + "label": "removeAuthorizedKeyFromConfigMap()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L295", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L83", "_origin": "ast", - "community": 0, - "norm_label": "mergepodadditions()", - "id": "workspace_deployment_mergepodadditions" + "id": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", + "community": 15, + "norm_label": "removeauthorizedkeyfromconfigmap()" }, { - "label": "getWorkspaceSubpathVolumeMount()", + "label": "configuration.go", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L360", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L1", "_origin": "ast", - "community": 0, - "norm_label": "getworkspacesubpathvolumemount()", - "id": "workspace_deployment_getworkspacesubpathvolumemount" + "id": "asyncstorage_configuration", + "community": 15, + "norm_label": "configuration.go" }, { - "label": "VolumeMount", + "label": "GetOrCreateSSHConfig()", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L360", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "_origin": "ast", - "community": 0, - "norm_label": "volumemount", - "id": "pkg_provision_workspace_deployment_go_volumemount" + "id": "asyncstorage_configuration_getorcreatesshconfig", + "community": 15, + "norm_label": "getorcreatesshconfig()" }, { - "label": "needsPVCWorkaround()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L370", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "_origin": "ast", - "community": 0, - "norm_label": "needspvcworkaround()", - "id": "workspace_deployment_needspvcworkaround" + "id": "pkg_provision_storage_asyncstorage_configuration_go_devworkspacewithconfig", + "community": 15, + "norm_label": "devworkspacewithconfig" }, { - "label": "getAdditionalDeploymentAnnotations()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L382", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "_origin": "ast", - "community": 0, - "norm_label": "getadditionaldeploymentannotations()", - "id": "workspace_deployment_getadditionaldeploymentannotations" + "id": "pkg_provision_storage_asyncstorage_configuration_go_clusterapi", + "community": 15, + "norm_label": "clusterapi" }, { - "label": "GetClusterDeployment()", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L400", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "_origin": "ast", - "community": 0, - "norm_label": "getclusterdeployment()", - "id": "workspace_deployment_getclusterdeployment" + "id": "pkg_provision_storage_asyncstorage_configuration_go_secret", + "community": 15, + "norm_label": "secret" }, { - "label": "networkpolicy.go", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicy.go", - "id": "networkpolicy_networkpolicy" + "id": "pkg_provision_storage_asyncstorage_configuration_go_configmap", + "community": 15, + "norm_label": "configmap" }, { - "label": "generateNetworkPolicy()", + "label": "constants.go", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/asyncstorage/constants.go", + "source_location": "L1", "_origin": "ast", - "community": 12, - "norm_label": "generatenetworkpolicy()", - "id": "networkpolicy_networkpolicy_generatenetworkpolicy" + "id": "asyncstorage_constants", + "community": 253, + "norm_label": "constants.go" }, { - "label": "DevWorkspaceWithConfig", + "label": "deployment.go", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L1", "_origin": "ast", - "community": 12, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" + "id": "asyncstorage_deployment", + "community": 54, + "norm_label": "deployment.go" }, { - "label": "NetworkPolicyConfig", + "label": "SyncWorkspaceSyncDeploymentToCluster()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicyconfig", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicyconfig" + "id": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "community": 54, + "norm_label": "syncworkspacesyncdeploymenttocluster()" }, { - "label": "NetworkPolicy", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicy", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicy" + "id": "pkg_provision_storage_asyncstorage_deployment_go_devworkspacewithconfig", + "community": 54, + "norm_label": "devworkspacewithconfig" }, { - "label": "normalizePorts()", + "label": "ConfigMap", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L85", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "_origin": "ast", - "community": 12, - "norm_label": "normalizeports()", - "id": "networkpolicy_networkpolicy_normalizeports" + "id": "pkg_provision_storage_asyncstorage_deployment_go_configmap", + "community": 54, + "norm_label": "configmap" }, { - "label": "NetworkPolicyPort", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L85", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicyport", - "id": "networkpolicyport" + "id": "pkg_provision_storage_asyncstorage_deployment_go_clusterapi", + "community": 54, + "norm_label": "clusterapi" }, { - "label": "ShouldProvision()", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L93", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "_origin": "ast", - "community": 12, - "norm_label": "shouldprovision()", - "id": "networkpolicy_networkpolicy_shouldprovision" + "id": "pkg_provision_storage_asyncstorage_deployment_go_deployment", + "community": 54, + "norm_label": "deployment" }, { - "label": "SyncNetworkPolicy()", + "label": "getWorkspaceSyncDeploymentSpec()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L101", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "_origin": "ast", - "community": 12, - "norm_label": "syncnetworkpolicy()", - "id": "networkpolicy_networkpolicy_syncnetworkpolicy" + "id": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "community": 54, + "norm_label": "getworkspacesyncdeploymentspec()" }, { - "label": "ClusterAPI", + "label": "Toleration", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L101", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "_origin": "ast", - "community": 12, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" + "id": "pkg_provision_storage_asyncstorage_deployment_go_toleration", + "community": 54, + "norm_label": "toleration" }, { - "label": "CreateNetworkPolicy()", + "label": "GetWorkspaceSyncDeploymentCluster()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L108", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L176", "_origin": "ast", - "community": 12, - "norm_label": "createnetworkpolicy()", - "id": "networkpolicy_networkpolicy_createnetworkpolicy" + "id": "asyncstorage_deployment_getworkspacesyncdeploymentcluster", + "community": 54, + "norm_label": "getworkspacesyncdeploymentcluster()" }, { - "label": "DeleteNetworkPolicy()", + "label": "errors.go", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L126", + "source_file": "pkg/provision/storage/asyncstorage/errors.go", + "source_location": "L1", "_origin": "ast", - "community": 12, - "norm_label": "deletenetworkpolicy()", - "id": "networkpolicy_networkpolicy_deletenetworkpolicy" + "id": "asyncstorage_errors", + "community": 254, + "norm_label": "errors.go" }, { - "label": "networkpolicy_test.go", + "label": "service.go", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_file": "pkg/provision/storage/asyncstorage/service.go", "source_location": "L1", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicy_test.go", - "id": "networkpolicy_networkpolicy_test" + "id": "asyncstorage_service", + "community": 141, + "norm_label": "service.go" }, { - "label": "init()", + "label": "SyncWorkspaceSyncServiceToCluster()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "_origin": "ast", - "community": 12, - "norm_label": "init()", - "id": "networkpolicy_networkpolicy_test_init" + "id": "asyncstorage_service_syncworkspacesyncservicetocluster", + "community": 141, + "norm_label": "syncworkspacesyncservicetocluster()" }, { - "label": "getTestClusterAPI()", + "label": "Deployment", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L55", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "_origin": "ast", - "community": 12, - "norm_label": "gettestclusterapi()", - "id": "networkpolicy_networkpolicy_test_gettestclusterapi" + "id": "pkg_provision_storage_asyncstorage_service_go_deployment", + "community": 141, + "norm_label": "deployment" }, { - "label": "T", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L55", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "_origin": "ast", - "community": 12, - "norm_label": "t", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "id": "pkg_provision_storage_asyncstorage_service_go_clusterapi", + "community": 141, + "norm_label": "clusterapi" }, { - "label": "ClusterAPI", + "label": "Service", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L55", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "_origin": "ast", - "community": 12, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_clusterapi" + "id": "pkg_provision_storage_asyncstorage_service_go_service", + "community": 141, + "norm_label": "service" }, { - "label": "getTestDevWorkspaceWithConfig()", + "label": "getWorkspaceSyncServiceSpec()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L65", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L51", "_origin": "ast", - "community": 12, - "norm_label": "gettestdevworkspacewithconfig()", - "id": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "id": "asyncstorage_service_getworkspacesyncservicespec", + "community": 141, + "norm_label": "getworkspacesyncservicespec()" }, { - "label": "NetworkPolicyConfig", + "label": "getWorkspaceSyncServiceCluster()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L65", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L77", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicyconfig", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicyconfig" + "id": "asyncstorage_service_getworkspacesyncservicecluster", + "community": 141, + "norm_label": "getworkspacesyncservicecluster()" }, { - "label": "DevWorkspaceWithConfig", + "label": "service_test.go", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L65", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L1", "_origin": "ast", - "community": 12, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_devworkspacewithconfig" + "id": "asyncstorage_service_test", + "community": 141, + "norm_label": "service_test.go" }, { - "label": "getEnabledNetworkPolicyConfig()", + "label": "TestSyncWorkspaceSyncServiceRepairsHiddenServiceWithEmptyWorkspaceID()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L85", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L39", "_origin": "ast", - "community": 12, - "norm_label": "getenablednetworkpolicyconfig()", - "id": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" + "id": "asyncstorage_service_test_testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid", + "community": 141, + "norm_label": "testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid()" }, { - "label": "getNetworkPolicyFromCluster()", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L91", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L39", "_origin": "ast", - "community": 12, - "norm_label": "getnetworkpolicyfromcluster()", - "id": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" + "id": "pkg_provision_storage_asyncstorage_service_test_go_t", + "community": 141, + "norm_label": "t" }, { - "label": "NetworkPolicy", + "label": "TestSyncWorkspaceSyncServiceRejectsForeignHiddenService()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L91", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L107", "_origin": "ast", - "community": 12, - "norm_label": "networkpolicy", - "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicy" + "id": "asyncstorage_service_test_testsyncworkspacesyncservicerejectsforeignhiddenservice", + "community": 141, + "norm_label": "testsyncworkspacesyncservicerejectsforeignhiddenservice()" }, { - "label": "TestGeneratedPolicySelectsOnlyItsOwnWorkspacePods()", + "label": "asyncServiceCountingClient", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L104", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L159", "_origin": "ast", - "community": 12, - "norm_label": "testgeneratedpolicyselectsonlyitsownworkspacepods()", - "id": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods" + "id": "asyncstorage_asyncservicecountingclient", + "community": 141, + "norm_label": "asyncservicecountingclient" }, { - "label": "TestUnsetIngressDeniesAllIngress()", + "label": "Client", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L121", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L160", "_origin": "ast", - "community": 12, - "norm_label": "testunsetingressdeniesallingress()", - "id": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress" + "id": "pkg_provision_storage_asyncstorage_service_test_go_client", + "community": 141, + "norm_label": "client" }, { - "label": "TestBothDirectionsNilDeniesAllTraffic()", + "label": ".Get()", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L145", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "_origin": "ast", - "community": 12, - "norm_label": "testbothdirectionsnildeniesalltraffic()", - "id": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic" + "id": "asyncstorage_asyncservicecountingclient_get", + "community": 141, + "norm_label": ".get()" }, { - "label": "TestSyncCreatesPolicyWhenEnabled()", + "label": "Context", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L155", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "_origin": "ast", - "community": 12, - "norm_label": "testsynccreatespolicywhenenabled()", - "id": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled" + "id": "pkg_provision_storage_asyncstorage_service_test_go_context", + "community": 141, + "norm_label": "context" }, { - "label": "TestSyncDeletesPolicyWhenDisabled()", + "label": "ObjectKey", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L176", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "_origin": "ast", - "community": 12, - "norm_label": "testsyncdeletespolicywhendisabled()", - "id": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled" + "id": "pkg_provision_storage_asyncstorage_service_test_go_objectkey", + "community": 141, + "norm_label": "objectkey" }, { - "label": "TestSyncIsTolerantOfMissingPolicyWhenDisabled()", + "label": "Object", "file_type": "code", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L197", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "_origin": "ast", - "community": 12, - "norm_label": "testsyncistolerantofmissingpolicywhendisabled()", - "id": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled" + "id": "pkg_provision_storage_asyncstorage_service_test_go_object", + "community": 141, + "norm_label": "object" }, { - "label": "pull_secret_test.go", + "label": ".Create()", "file_type": "code", - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L183", "_origin": "ast", - "community": 47, - "norm_label": "pull_secret_test.go", - "id": "workspace_pull_secret_test" + "id": "asyncstorage_asyncservicecountingclient_create", + "community": 141, + "norm_label": ".create()" }, { - "label": "TestPullSecrets_TableDriven()", + "label": ".Update()", "file_type": "code", - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L34", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L191", "_origin": "ast", - "community": 47, - "norm_label": "testpullsecrets_tabledriven()", - "id": "workspace_pull_secret_test_testpullsecrets_tabledriven" + "id": "asyncstorage_asyncservicecountingclient_update", + "community": 141, + "norm_label": ".update()" }, { - "label": "T", + "label": ".Delete()", "file_type": "code", - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L34", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L200", "_origin": "ast", - "community": 47, - "norm_label": "t", - "id": "pkg_provision_workspace_pull_secret_test_go_t" + "id": "asyncstorage_asyncservicecountingclient_delete", + "community": 141, + "norm_label": ".delete()" }, { - "label": "common.go", + "label": "sidecar.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common.go", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", "source_location": "L1", "_origin": "ast", - "community": 57, - "norm_label": "common.go", - "id": "rbac_common" + "id": "asyncstorage_sidecar", + "community": 74, + "norm_label": "sidecar.go" }, { - "label": "SyncRBAC()", + "label": "GetAsyncSidecar()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L27", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L31", "_origin": "ast", - "community": 57, - "norm_label": "syncrbac()", - "id": "rbac_common_syncrbac" + "id": "asyncstorage_sidecar_getasyncsidecar", + "community": 74, + "norm_label": "getasyncsidecar()" }, { - "label": "DevWorkspaceWithConfig", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L27", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L31", "_origin": "ast", - "community": 57, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_rbac_common_go_devworkspacewithconfig" + "id": "pkg_provision_storage_asyncstorage_sidecar_go_volume", + "community": 74, + "norm_label": "volume" }, { - "label": "ClusterAPI", + "label": "Container", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L27", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L31", "_origin": "ast", - "community": 57, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_rbac_common_go_clusterapi" + "id": "pkg_provision_storage_asyncstorage_sidecar_go_container", + "community": 74, + "norm_label": "container" }, { - "label": "common_test.go", + "label": "ssh.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", "source_location": "L1", "_origin": "ast", - "community": 295, - "norm_label": "common_test.go", - "id": "rbac_common_test" + "id": "asyncstorage_ssh", + "community": 15, + "norm_label": "ssh.go" }, { - "label": "init()", + "label": "GetSSHKeyPair()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", + "source_location": "L31", "_origin": "ast", - "community": 295, - "norm_label": "init()", - "id": "rbac_common_test_init" + "id": "asyncstorage_ssh_getsshkeypair", + "community": 15, + "norm_label": "getsshkeypair()" }, { - "label": "TestSyncRBAC()", + "label": "ExtractSSHKeyPairFromSecret()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L107", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", + "source_location": "L55", "_origin": "ast", - "community": 34, - "norm_label": "testsyncrbac()", - "id": "rbac_common_test_testsyncrbac" + "id": "asyncstorage_ssh_extractsshkeypairfromsecret", + "community": 15, + "norm_label": "extractsshkeypairfromsecret()" }, { - "label": "T", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L107", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", + "source_location": "L55", "_origin": "ast", - "community": 295, - "norm_label": "t", - "id": "pkg_provision_workspace_rbac_common_test_go_t" + "id": "pkg_provision_storage_asyncstorage_ssh_go_secret", + "community": 15, + "norm_label": "secret" }, { - "label": "getTestClusterAPI()", + "label": "volume.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L175", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L1", "_origin": "ast", - "community": 295, - "norm_label": "gettestclusterapi()", - "id": "rbac_common_test_gettestclusterapi" + "id": "asyncstorage_volume", + "community": 75, + "norm_label": "volume.go" }, { - "label": "ClusterAPI", + "label": "GetVolumeFromSecret()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L175", - "_origin": "ast", - "community": 295, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_rbac_common_test_go_clusterapi" - }, - { - "label": "getTestDevWorkspace()", - "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L185", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L23", "_origin": "ast", - "community": 32, - "norm_label": "gettestdevworkspace()", - "id": "rbac_common_test_gettestdevworkspace" + "id": "asyncstorage_volume_getvolumefromsecret", + "community": 75, + "norm_label": "getvolumefromsecret()" }, { - "label": "DevWorkspaceWithConfig", + "label": "Secret", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L185", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L23", "_origin": "ast", - "community": 27, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_rbac_common_test_go_devworkspacewithconfig" + "id": "pkg_provision_storage_asyncstorage_volume_go_secret", + "community": 75, + "norm_label": "secret" }, { - "label": "getTestDevWorkspaceWithAttributes()", + "label": "Volume", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L201", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L23", "_origin": "ast", - "community": 27, - "norm_label": "gettestdevworkspacewithattributes()", - "id": "rbac_common_test_gettestdevworkspacewithattributes" + "id": "pkg_provision_storage_asyncstorage_volume_go_volume", + "community": 75, + "norm_label": "volume" }, { - "label": "finalize.go", + "label": "cleanup.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_file": "pkg/provision/storage/cleanup.go", "source_location": "L1", "_origin": "ast", - "community": 38, - "norm_label": "finalize.go", - "id": "rbac_finalize" + "id": "storage_cleanup", + "community": 53, + "norm_label": "cleanup.go" }, { - "label": "FinalizeRBAC()", + "label": "runCommonPVCCleanupJob()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L26", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L57", "_origin": "ast", - "community": 38, - "norm_label": "finalizerbac()", - "id": "rbac_finalize_finalizerbac" + "id": "storage_cleanup_runcommonpvccleanupjob", + "community": 53, + "norm_label": "runcommonpvccleanupjob()" }, { "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L26", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L57", "_origin": "ast", - "community": 38, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" + "id": "pkg_provision_storage_cleanup_go_devworkspacewithconfig", + "community": 53, + "norm_label": "devworkspacewithconfig" }, { "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L26", - "_origin": "ast", - "community": 38, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_rbac_finalize_go_clusterapi" - }, - { - "label": "finalizeSCCRBAC()", - "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L59", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L57", "_origin": "ast", - "community": 38, - "norm_label": "finalizesccrbac()", - "id": "rbac_finalize_finalizesccrbac" + "id": "pkg_provision_storage_cleanup_go_clusterapi", + "community": 53, + "norm_label": "clusterapi" }, { - "label": "finalizeRegistryRBAC()", + "label": "getSpecCommonPVCCleanupJob()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L83", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L113", "_origin": "ast", - "community": 38, - "norm_label": "finalizeregistryrbac()", - "id": "rbac_finalize_finalizeregistryrbac" + "id": "storage_cleanup_getspeccommonpvccleanupjob", + "community": 53, + "norm_label": "getspeccommonpvccleanupjob()" }, { - "label": "countNonDeletedWorkspaces()", + "label": "Job", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L96", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L113", "_origin": "ast", - "community": 38, - "norm_label": "countnondeletedworkspaces()", - "id": "rbac_finalize_countnondeletedworkspaces" + "id": "pkg_provision_storage_cleanup_go_job", + "community": 53, + "norm_label": "job" }, { - "label": "countNonDeletedWorkspacesUsingSCC()", + "label": "commonPVCExists()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L115", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L225", "_origin": "ast", - "community": 38, - "norm_label": "countnondeletedworkspacesusingscc()", - "id": "rbac_finalize_countnondeletedworkspacesusingscc" + "id": "storage_cleanup_commonpvcexists", + "community": 53, + "norm_label": "commonpvcexists()" }, { - "label": "finalize_test.go", + "label": "deleteCommonPVC()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L246", "_origin": "ast", - "community": 32, - "norm_label": "finalize_test.go", - "id": "rbac_finalize_test" + "id": "storage_cleanup_deletecommonpvc", + "community": 53, + "norm_label": "deletecommonpvc()" }, { - "label": "TestDeletesRoleAndRolebindingWhenLastWorkspaceIsDeleted()", + "label": "isPVCMounted()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L32", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L346", "_origin": "ast", - "community": 32, - "norm_label": "testdeletesroleandrolebindingwhenlastworkspaceisdeleted()", - "id": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted" + "id": "storage_cleanup_ispvcmounted", + "community": 53, + "norm_label": "ispvcmounted()" }, { - "label": "T", + "label": "PodSpec", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L32", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L346", "_origin": "ast", - "community": 32, - "norm_label": "t", - "id": "pkg_provision_workspace_rbac_finalize_test_go_t" + "id": "pkg_provision_storage_cleanup_go_podspec", + "community": 53, + "norm_label": "podspec" }, { - "label": "TestDeletesRoleAndRolebindingWhenAllWorkspacesAreDeleted()", + "label": "getOwningJobName()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L53", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L357", "_origin": "ast", - "community": 32, - "norm_label": "testdeletesroleandrolebindingwhenallworkspacesaredeleted()", - "id": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted" + "id": "storage_cleanup_getowningjobname", + "community": 53, + "norm_label": "getowningjobname()" }, { - "label": "TestShouldRemoveWorkspaceSAFromRolebindingWhenDeleted()", + "label": "Pod", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L78", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L357", "_origin": "ast", - "community": 32, - "norm_label": "testshouldremoveworkspacesafromrolebindingwhendeleted()", - "id": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted" + "id": "pkg_provision_storage_cleanup_go_pod", + "community": 53, + "norm_label": "pod" }, { - "label": "TestFinalizeDoesNothingWhenRolebindingDoesNotExist()", + "label": "isJobFinished()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L116", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L364", "_origin": "ast", - "community": 32, - "norm_label": "testfinalizedoesnothingwhenrolebindingdoesnotexist()", - "id": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist" + "id": "storage_cleanup_isjobfinished", + "community": 53, + "norm_label": "isjobfinished()" }, { - "label": "TestShouldRemoveWorkspaceSAFromRegistryRolebindingWhenDeletedOnOpenShift()", + "label": "cleanup_test.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L136", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L1", "_origin": "ast", - "community": 32, - "norm_label": "testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift()", - "id": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift" + "id": "storage_cleanup_test", + "community": 298, + "norm_label": "cleanup_test.go" }, { - "label": "TestDeletesRegistryRolebindingWhenLastWorkspaceIsDeletedOnOpenShift()", + "label": "TestGetSpecCommonPVCCleanupJobUsesConfigPodSecurityContext()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L174", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L42", "_origin": "ast", - "community": 32, - "norm_label": "testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift()", - "id": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift" + "id": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", + "community": 298, + "norm_label": "testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext()" }, { - "label": "TestFinalizeDoesNothingWhenRegistryRolebindingDoesNotExistOnOpenShift()", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L204", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L42", "_origin": "ast", - "community": 32, - "norm_label": "testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift()", - "id": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift" + "id": "pkg_provision_storage_cleanup_test_go_t", + "community": 298, + "norm_label": "t" }, { - "label": "TestDeletesSCCRoleAndRolebindingWhenLastWorkspaceIsDeleted()", + "label": "TestGetSpecCommonPVCCleanupJobHasNodeAffinityWhenPodMountsPVC()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L215", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L90", "_origin": "ast", - "community": 32, - "norm_label": "testdeletessccroleandrolebindingwhenlastworkspaceisdeleted()", - "id": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted" + "id": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", + "community": 298, + "norm_label": "testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc()" }, { - "label": "TestDeletesSCCRoleAndRolebindingWhenAllWorkspacesAreDeleted()", + "label": "TestGetSpecCommonPVCCleanupJobWithNilPodSecurityContext()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L237", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L159", "_origin": "ast", - "community": 32, - "norm_label": "testdeletessccroleandrolebindingwhenallworkspacesaredeleted()", - "id": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted" + "id": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", + "community": 298, + "norm_label": "testgetspeccommonpvccleanupjobwithnilpodsecuritycontext()" }, { - "label": "TestShouldRemoveWorkspaceSAFromSCCRolebindingWhenDeleted()", + "label": "makeTerminatingWorkspace()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L262", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L203", "_origin": "ast", - "community": 32, - "norm_label": "testshouldremoveworkspacesafromsccrolebindingwhendeleted()", - "id": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted" + "id": "storage_cleanup_test_maketerminatingworkspace", + "community": 298, + "norm_label": "maketerminatingworkspace()" }, { - "label": "TestFinalizeDoesNothingWhenSCCRolebindingDoesNotExist()", + "label": "DevWorkspace", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L300", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L203", "_origin": "ast", - "community": 32, - "norm_label": "testfinalizedoesnothingwhensccrolebindingdoesnotexist()", - "id": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist" + "id": "pkg_provision_storage_cleanup_test_go_devworkspace", + "community": 298, + "norm_label": "devworkspace" }, { - "label": "newRegistryImagePullerRolebinding()", + "label": "makeCleanupJob()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L320", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L222", "_origin": "ast", - "community": 32, - "norm_label": "newregistryimagepullerrolebinding()", - "id": "rbac_finalize_test_newregistryimagepullerrolebinding" + "id": "storage_cleanup_test_makecleanupjob", + "community": 298, + "norm_label": "makecleanupjob()" }, { - "label": "RoleBinding", + "label": "Job", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L320", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L222", "_origin": "ast", - "community": 32, - "norm_label": "rolebinding", - "id": "pkg_provision_workspace_rbac_finalize_test_go_rolebinding" + "id": "pkg_provision_storage_cleanup_test_go_job", + "community": 298, + "norm_label": "job" }, { - "label": "migrate.go", + "label": "makeCleanupPod()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L262", "_origin": "ast", - "community": 57, - "norm_label": "migrate.go", - "id": "rbac_migrate" + "id": "storage_cleanup_test_makecleanuppod", + "community": 298, + "norm_label": "makecleanuppod()" }, { - "label": "cleanupDeprecatedRBAC()", + "label": "Pod", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L262", "_origin": "ast", - "community": 57, - "norm_label": "cleanupdeprecatedrbac()", - "id": "rbac_migrate_cleanupdeprecatedrbac" + "id": "pkg_provision_storage_cleanup_test_go_pod", + "community": 298, + "norm_label": "pod" }, { - "label": "ClusterAPI", + "label": "TestCleanupWorkspaceStorageCoordinatesSharedPVCDeletion()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L291", "_origin": "ast", - "community": 57, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_rbac_migrate_go_clusterapi" + "id": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "community": 298, + "norm_label": "testcleanupworkspacestoragecoordinatessharedpvcdeletion()" }, { - "label": "migrate_test.go", + "label": "commonStorage.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_file": "pkg/provision/storage/commonStorage.go", "source_location": "L1", "_origin": "ast", - "community": 57, - "norm_label": "migrate_test.go", - "id": "rbac_migrate_test" + "id": "storage_commonstorage", + "community": 72, + "norm_label": "commonstorage.go" }, { - "label": "TestRemovesOldRBACWhenNewRBACNotPresent()", + "label": "CommonStorageProvisioner", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L27", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L33", "_origin": "ast", - "community": 57, - "norm_label": "testremovesoldrbacwhennewrbacnotpresent()", - "id": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent" + "id": "storage_commonstorageprovisioner", + "community": 72, + "norm_label": "commonstorageprovisioner" }, { - "label": "T", + "label": ".NeedsStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L27", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L37", "_origin": "ast", - "community": 57, - "norm_label": "t", - "id": "pkg_provision_workspace_rbac_migrate_test_go_t" + "id": "storage_commonstorageprovisioner_needsstorage", + "community": 72, + "norm_label": ".needsstorage()" }, { - "label": "TestDoesNotRemoveOldRBACWhenNewRBACPresent()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L60", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L37", "_origin": "ast", - "community": 57, - "norm_label": "testdoesnotremoveoldrbacwhennewrbacpresent()", - "id": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent" + "id": "pkg_provision_storage_commonstorage_go_devworkspacetemplatespec", + "community": 72, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestRemovesOldRolebindingWhenNewRolebindingNotPresent()", + "label": ".ProvisionStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L79", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L41", "_origin": "ast", - "community": 57, - "norm_label": "testremovesoldrolebindingwhennewrolebindingnotpresent()", - "id": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent" + "id": "storage_commonstorageprovisioner_provisionstorage", + "community": 72, + "norm_label": ".provisionstorage()" }, { - "label": "TestRemovesOldRoleWhenNewRoleNotPresent()", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L106", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L41", "_origin": "ast", - "community": 57, - "norm_label": "testremovesoldrolewhennewrolenotpresent()", - "id": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent" + "id": "pkg_provision_storage_commonstorage_go_podadditions", + "community": 72, + "norm_label": "podadditions" }, { - "label": "role.go", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L41", "_origin": "ast", - "community": 27, - "norm_label": "role.go", - "id": "rbac_role" + "id": "pkg_provision_storage_commonstorage_go_devworkspacewithconfig", + "community": 72, + "norm_label": "devworkspacewithconfig" }, { - "label": "syncRoles()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L30", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L41", "_origin": "ast", - "community": 27, - "norm_label": "syncroles()", - "id": "rbac_role_syncroles" + "id": "pkg_provision_storage_commonstorage_go_clusterapi", + "community": 72, + "norm_label": "clusterapi" }, { - "label": "DevWorkspaceWithConfig", + "label": ".CleanupWorkspaceStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L30", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L94", "_origin": "ast", - "community": 27, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_rbac_role_go_devworkspacewithconfig" + "id": "storage_commonstorageprovisioner_cleanupworkspacestorage", + "community": 72, + "norm_label": ".cleanupworkspacestorage()" }, { - "label": "ClusterAPI", + "label": ".rewriteContainerVolumeMounts()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L30", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L112", "_origin": "ast", - "community": 27, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_rbac_role_go_clusterapi" + "id": "storage_commonstorageprovisioner_rewritecontainervolumemounts", + "community": 72, + "norm_label": ".rewritecontainervolumemounts()" }, { - "label": "deleteRole()", + "label": "commonStorage_test.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L57", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L1", "_origin": "ast", - "community": 27, - "norm_label": "deleterole()", - "id": "rbac_role_deleterole" + "id": "storage_commonstorage_test", + "community": 4, + "norm_label": "commonstorage_test.go" }, { - "label": "generateDefaultRole()", + "label": "init()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L78", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L49", "_origin": "ast", - "community": 27, - "norm_label": "generatedefaultrole()", - "id": "rbac_role_generatedefaultrole" + "id": "storage_commonstorage_test_init", + "community": 4, + "norm_label": "init()" }, { - "label": "Role", + "label": "testCase", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L78", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L55", "_origin": "ast", - "community": 27, - "norm_label": "role", - "id": "pkg_provision_workspace_rbac_role_go_role" + "id": "storage_testcase", + "community": 4, + "norm_label": "testcase" }, { - "label": "generateUseRoleForSCC()", + "label": "testInput", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L135", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L57", "_origin": "ast", - "community": 27, - "norm_label": "generateuseroleforscc()", - "id": "rbac_role_generateuseroleforscc" + "id": "pkg_provision_storage_commonstorage_test_go_testinput", + "community": 4, + "norm_label": "testinput" }, { - "label": "role_test.go", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L58", "_origin": "ast", - "community": 27, - "norm_label": "role_test.go", - "id": "rbac_role_test" + "id": "pkg_provision_storage_commonstorage_test_go_testoutput", + "community": 4, + "norm_label": "testoutput" }, { - "label": "TestCreatesRoleIfNotExists()", + "label": "testInput", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L28", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L61", "_origin": "ast", - "community": 27, - "norm_label": "testcreatesroleifnotexists()", - "id": "rbac_role_test_testcreatesroleifnotexists" + "id": "storage_testinput", + "community": 4, + "norm_label": "testinput" }, { - "label": "T", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L28", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L63", "_origin": "ast", - "community": 27, - "norm_label": "t", - "id": "pkg_provision_workspace_rbac_role_test_go_t" + "id": "pkg_provision_storage_commonstorage_test_go_podadditions", + "community": 4, + "norm_label": "podadditions" }, { - "label": "TestDoesNothingIfRoleAlreadyInSync()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L47", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L64", "_origin": "ast", - "community": 27, - "norm_label": "testdoesnothingifrolealreadyinsync()", - "id": "rbac_role_test_testdoesnothingifrolealreadyinsync" + "id": "pkg_provision_storage_commonstorage_test_go_devworkspacetemplatespec", + "community": 4, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestRejectsSCCRoleWhenAnnotationMismatches()", + "label": "testOutput", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L68", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L67", "_origin": "ast", - "community": 27, - "norm_label": "testrejectssccrolewhenannotationmismatches()", - "id": "rbac_role_test_testrejectssccrolewhenannotationmismatches" + "id": "storage_testoutput", + "community": 4, + "norm_label": "testoutput" }, { - "label": "TestRejectsSCCRoleWhenAnnotationEmpty()", + "label": "Quantity", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L87", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L69", "_origin": "ast", - "community": 27, - "norm_label": "testrejectssccrolewhenannotationempty()", - "id": "rbac_role_test_testrejectssccrolewhenannotationempty" + "id": "pkg_provision_storage_commonstorage_test_go_quantity", + "community": 4, + "norm_label": "quantity" }, { - "label": "TestCreatesSCCRoleIfNotExists()", + "label": "getDevWorkspaceWithConfig()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L106", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L79", "_origin": "ast", - "community": 27, - "norm_label": "testcreatessccroleifnotexists()", - "id": "rbac_role_test_testcreatessccroleifnotexists" + "id": "storage_commonstorage_test_getdevworkspacewithconfig", + "community": 4, + "norm_label": "getdevworkspacewithconfig()" }, { - "label": "TestDoesNothingIfSCCRoleAlreadyInSync()", + "label": "DevWorkspace", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L129", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L79", "_origin": "ast", - "community": 27, - "norm_label": "testdoesnothingifsccrolealreadyinsync()", - "id": "rbac_role_test_testdoesnothingifsccrolealreadyinsync" + "id": "pkg_provision_storage_commonstorage_test_go_devworkspace", + "community": 4, + "norm_label": "devworkspace" }, { - "label": "rolebinding.go", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L79", "_origin": "ast", - "community": 38, - "norm_label": "rolebinding.go", - "id": "rbac_rolebinding" + "id": "pkg_provision_storage_commonstorage_test_go_devworkspacewithconfig", + "community": 4, + "norm_label": "devworkspacewithconfig" }, { - "label": "syncRolebindings()", + "label": "loadTestCaseOrPanic()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L86", "_origin": "ast", - "community": 34, - "norm_label": "syncrolebindings()", - "id": "rbac_rolebinding_syncrolebindings" + "id": "storage_commonstorage_test_loadtestcaseorpanic", + "community": 4, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "DevWorkspaceWithConfig", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L86", "_origin": "ast", - "community": 34, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_rbac_rolebinding_go_devworkspacewithconfig" + "id": "pkg_provision_storage_commonstorage_test_go_t", + "community": 4, + "norm_label": "t" }, { - "label": "ClusterAPI", + "label": "loadAllTestCasesOrPanic()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L98", "_origin": "ast", - "community": 38, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" + "id": "storage_commonstorage_test_loadalltestcasesorpanic", + "community": 4, + "norm_label": "loadalltestcasesorpanic()" }, { - "label": "deleteRolebinding()", + "label": "TestUseCommonStorageProvisionerForPerUserStorageClass()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L65", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L113", "_origin": "ast", - "community": 38, - "norm_label": "deleterolebinding()", - "id": "rbac_rolebinding_deleterolebinding" + "id": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", + "community": 4, + "norm_label": "testusecommonstorageprovisionerforperuserstorageclass()" }, { - "label": "addServiceAccountToRolebinding()", + "label": "TestProvisionStorageForCommonStorageClass()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L86", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L130", "_origin": "ast", - "community": 38, - "norm_label": "addserviceaccounttorolebinding()", - "id": "rbac_rolebinding_addserviceaccounttorolebinding" + "id": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "community": 4, + "norm_label": "testprovisionstorageforcommonstorageclass()" }, { - "label": "removeServiceAccountFromRolebinding()", + "label": "TestTerminatingPVC()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L117", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L167", "_origin": "ast", - "community": 38, - "norm_label": "removeserviceaccountfromrolebinding()", - "id": "rbac_rolebinding_removeserviceaccountfromrolebinding" + "id": "storage_commonstorage_test_testterminatingpvc", + "community": 4, + "norm_label": "testterminatingpvc()" }, { - "label": "generateDefaultRolebinding()", + "label": "TestNeedsStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L151", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L195", "_origin": "ast", - "community": 38, - "norm_label": "generatedefaultrolebinding()", - "id": "rbac_rolebinding_generatedefaultrolebinding" + "id": "storage_commonstorage_test_testneedsstorage", + "community": 4, + "norm_label": "testneedsstorage()" }, { - "label": "RoleBinding", + "label": "sortVolumesAndVolumeMounts()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L151", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L300", "_origin": "ast", - "community": 38, - "norm_label": "rolebinding", - "id": "pkg_provision_workspace_rbac_rolebinding_go_rolebinding" + "id": "storage_commonstorage_test_sortvolumesandvolumemounts", + "community": 4, + "norm_label": "sortvolumesandvolumemounts()" }, { - "label": "rolebindingHasSubject()", + "label": "doc.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L167", + "source_file": "pkg/provision/storage/doc.go", + "source_location": "L1", "_origin": "ast", - "community": 38, - "norm_label": "rolebindinghassubject()", - "id": "rbac_rolebinding_rolebindinghassubject" + "id": "storage_doc", + "community": 281, + "norm_label": "doc.go" }, { - "label": "rolebinding_test.go", + "label": "ephemeralStorage.go", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_file": "pkg/provision/storage/ephemeralStorage.go", "source_location": "L1", "_origin": "ast", - "community": 34, - "norm_label": "rolebinding_test.go", - "id": "rbac_rolebinding_test" + "id": "storage_ephemeralstorage", + "community": 125, + "norm_label": "ephemeralstorage.go" }, { - "label": "TestCreatesRolebindingIfNotExists()", + "label": "EphemeralStorageProvisioner", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L28", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L30", "_origin": "ast", - "community": 34, - "norm_label": "testcreatesrolebindingifnotexists()", - "id": "rbac_rolebinding_test_testcreatesrolebindingifnotexists" + "id": "storage_ephemeralstorageprovisioner", + "community": 125, + "norm_label": "ephemeralstorageprovisioner" }, { - "label": "T", + "label": ".NeedsStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L28", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L34", "_origin": "ast", - "community": 34, - "norm_label": "t", - "id": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "id": "storage_ephemeralstorageprovisioner_needsstorage", + "community": 125, + "norm_label": ".needsstorage()" }, { - "label": "TestAddsMultipleSubjectsToRolebinding()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L50", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L34", "_origin": "ast", - "community": 34, - "norm_label": "testaddsmultiplesubjectstorolebinding()", - "id": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding" + "id": "pkg_provision_storage_ephemeralstorage_go_devworkspacetemplatespec", + "community": 125, + "norm_label": "devworkspacetemplatespec" }, { - "label": "TestCreatesSCCRolebindingIfNotExists()", + "label": ".ProvisionStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L82", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "_origin": "ast", - "community": 34, - "norm_label": "testcreatessccrolebindingifnotexists()", - "id": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists" + "id": "storage_ephemeralstorageprovisioner_provisionstorage", + "community": 125, + "norm_label": ".provisionstorage()" }, { - "label": "TestAddsMultipleSubjectsToSCCRolebinding()", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L112", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "_origin": "ast", - "community": 34, - "norm_label": "testaddsmultiplesubjectstosccrolebinding()", - "id": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding" + "id": "pkg_provision_storage_ephemeralstorage_go_podadditions", + "community": 125, + "norm_label": "podadditions" }, { - "label": "TestCreatesRegistryImagePullerRolebindingOnOpenShift()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L160", - "_origin": "ast", - "community": 34, - "norm_label": "testcreatesregistryimagepullerrolebindingonopenshift()", - "id": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift" - }, - { - "label": "TestDoesNotCreateRegistryImagePullerRolebindingOnKubernetes()", - "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L199", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "_origin": "ast", - "community": 32, - "norm_label": "testdoesnotcreateregistryimagepullerrolebindingonkubernetes()", - "id": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes" + "id": "pkg_provision_storage_ephemeralstorage_go_devworkspacewithconfig", + "community": 125, + "norm_label": "devworkspacewithconfig" }, { - "label": "testHasSubject()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L224", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "_origin": "ast", - "community": 34, - "norm_label": "testhassubject()", - "id": "rbac_rolebinding_test_testhassubject" + "id": "pkg_provision_storage_ephemeralstorage_go_clusterapi", + "community": 125, + "norm_label": "clusterapi" }, { - "label": "RoleBinding", + "label": ".CleanupWorkspaceStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L224", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L63", "_origin": "ast", - "community": 34, - "norm_label": "rolebinding", - "id": "pkg_provision_workspace_rbac_rolebinding_test_go_rolebinding" + "id": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage", + "community": 125, + "norm_label": ".cleanupworkspacestorage()" }, { - "label": "routing.go", + "label": "ephemeralStorage_test.go", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", "source_location": "L1", "_origin": "ast", - "community": 107, - "norm_label": "routing.go", - "id": "workspace_routing" + "id": "storage_ephemeralstorage_test", + "community": 4, + "norm_label": "ephemeralstorage_test.go" }, { - "label": "SyncRoutingToCluster()", + "label": "TestRewriteContainerVolumeMountsForEphemeralStorageClass()", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", + "source_location": "L26", "_origin": "ast", - "community": 107, - "norm_label": "syncroutingtocluster()", - "id": "workspace_routing_syncroutingtocluster" + "id": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", + "community": 4, + "norm_label": "testrewritecontainervolumemountsforephemeralstorageclass()" }, { - "label": "DevWorkspaceWithConfig", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", + "source_location": "L26", "_origin": "ast", - "community": 107, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_routing_go_devworkspacewithconfig" + "id": "pkg_provision_storage_ephemeralstorage_test_go_t", + "community": 4, + "norm_label": "t" }, { - "label": "ClusterAPI", + "label": "perWorkspaceStorage.go", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L1", "_origin": "ast", - "community": 107, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_routing_go_clusterapi" + "id": "storage_perworkspacestorage", + "community": 65, + "norm_label": "perworkspacestorage.go" }, { - "label": "PodAdditions", + "label": "PerWorkspaceStorageProvisioner", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L37", "_origin": "ast", - "community": 107, - "norm_label": "podadditions", - "id": "pkg_provision_workspace_routing_go_podadditions" + "id": "storage_perworkspacestorageprovisioner", + "community": 65, + "norm_label": "perworkspacestorageprovisioner" }, { - "label": "ExposedEndpointList", + "label": ".NeedsStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L44", "_origin": "ast", - "community": 107, - "norm_label": "exposedendpointlist", - "id": "pkg_provision_workspace_routing_go_exposedendpointlist" + "id": "storage_perworkspacestorageprovisioner_needsstorage", + "community": 65, + "norm_label": ".needsstorage()" }, { - "label": "getSpecRouting()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L44", "_origin": "ast", - "community": 107, - "norm_label": "getspecrouting()", - "id": "workspace_routing_getspecrouting" + "id": "pkg_provision_storage_perworkspacestorage_go_devworkspacetemplatespec", + "community": 65, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Scheme", + "label": ".ProvisionStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "_origin": "ast", - "community": 107, - "norm_label": "scheme", - "id": "pkg_provision_workspace_routing_go_scheme" + "id": "storage_perworkspacestorageprovisioner_provisionstorage", + "community": 65, + "norm_label": ".provisionstorage()" }, { - "label": "DevWorkspaceRouting", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "_origin": "ast", - "community": 107, - "norm_label": "devworkspacerouting", - "id": "pkg_provision_workspace_routing_go_devworkspacerouting" + "id": "pkg_provision_storage_perworkspacestorage_go_podadditions", + "community": 65, + "norm_label": "podadditions" }, { - "label": "serviceaccount.go", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "_origin": "ast", - "community": 99, - "norm_label": "serviceaccount.go", - "id": "workspace_serviceaccount" + "id": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig", + "community": 65, + "norm_label": "devworkspacewithconfig" }, { - "label": "SyncServiceAccount()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "_origin": "ast", - "community": 99, - "norm_label": "syncserviceaccount()", - "id": "workspace_serviceaccount_syncserviceaccount" + "id": "pkg_provision_storage_perworkspacestorage_go_clusterapi", + "community": 65, + "norm_label": "clusterapi" }, { - "label": "DevWorkspaceWithConfig", + "label": ".CleanupWorkspaceStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L91", "_origin": "ast", - "community": 99, - "norm_label": "devworkspacewithconfig", - "id": "pkg_provision_workspace_serviceaccount_go_devworkspacewithconfig" + "id": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage", + "community": 65, + "norm_label": ".cleanupworkspacestorage()" }, { - "label": "ClusterAPI", + "label": ".rewriteContainerVolumeMounts()", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L99", "_origin": "ast", - "community": 99, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_serviceaccount_go_clusterapi" + "id": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts", + "community": 65, + "norm_label": ".rewritecontainervolumemounts()" }, { - "label": "FinalizeServiceAccount()", + "label": "getPVCSize()", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "_origin": "ast", - "community": 99, - "norm_label": "finalizeserviceaccount()", - "id": "workspace_serviceaccount_finalizeserviceaccount" + "id": "storage_perworkspacestorage_getpvcsize", + "community": 65, + "norm_label": "getpvcsize()" }, { - "label": "Context", + "label": "NamespacedConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "_origin": "ast", - "community": 99, - "norm_label": "context", - "id": "pkg_provision_workspace_serviceaccount_go_context" + "id": "namespacedconfig", + "community": 65, + "norm_label": "namespacedconfig" }, { - "label": "Client", + "label": "Quantity", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "_origin": "ast", - "community": 99, - "norm_label": "client", - "id": "pkg_provision_workspace_serviceaccount_go_client" + "id": "pkg_provision_storage_perworkspacestorage_go_quantity", + "community": 65, + "norm_label": "quantity" }, { - "label": "removeSCCFromServiceAccount()", + "label": "syncPerWorkspacePVC()", "file_type": "code", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L96", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L152", "_origin": "ast", - "community": 99, - "norm_label": "removesccfromserviceaccount()", - "id": "workspace_serviceaccount_removesccfromserviceaccount" + "id": "storage_perworkspacestorage_syncperworkspacepvc", + "community": 65, + "norm_label": "syncperworkspacepvc()" }, { - "label": "ssh-askpass.sh", + "label": "PersistentVolumeClaim", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh-askpass.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "file" - }, + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L152", "_origin": "ast", - "community": 248, - "norm_label": "ssh-askpass.sh", - "id": "workspace_ssh_askpass" + "id": "pkg_provision_storage_perworkspacestorage_go_persistentvolumeclaim", + "community": 65, + "norm_label": "persistentvolumeclaim" }, { - "label": "ssh-askpass.sh script", + "label": "perWorkspaceStorage_test.go", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh-askpass.sh", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "bash_entrypoint" - }, "_origin": "ast", - "community": 248, - "norm_label": "ssh-askpass.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_pkg_provision_workspace_ssh_askpass_sh__entry" + "id": "storage_perworkspacestorage_test", + "community": 4, + "norm_label": "perworkspacestorage_test.go" }, { - "label": "ssh.go", + "label": "init()", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L38", "_origin": "ast", - "community": 126, - "norm_label": "ssh.go", - "id": "workspace_ssh" + "id": "storage_perworkspacestorage_test_init", + "community": 4, + "norm_label": "init()" }, { - "label": "ProvisionSshAskPass()", + "label": "TestRewriteContainerVolumeMountsForPerWorkspaceStorageClass()", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L44", "_origin": "ast", - "community": 126, - "norm_label": "provisionsshaskpass()", - "id": "workspace_ssh_provisionsshaskpass" + "id": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", + "community": 4, + "norm_label": "testrewritecontainervolumemountsforperworkspacestorageclass()" }, { - "label": "ClusterAPI", + "label": "T", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L44", "_origin": "ast", - "community": 126, - "norm_label": "clusterapi", - "id": "pkg_provision_workspace_ssh_go_clusterapi" + "id": "pkg_provision_storage_perworkspacestorage_test_go_t", + "community": 4, + "norm_label": "t" }, { - "label": "PodAdditions", + "label": "Provisioner", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/provisioner.go", + "source_location": "L33", "_origin": "ast", - "community": 126, - "norm_label": "podadditions", - "id": "pkg_provision_workspace_ssh_go_podadditions" + "id": "storage_provisioner", + "community": 4, + "norm_label": "provisioner" }, { - "label": "constructSshAskPassCM()", + "label": "GetProvisioner()", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L56", + "source_file": "pkg/provision/storage/provisioner.go", + "source_location": "L49", "_origin": "ast", - "community": 126, - "norm_label": "constructsshaskpasscm()", - "id": "workspace_ssh_constructsshaskpasscm" + "id": "storage_provisioner_getprovisioner", + "community": 4, + "norm_label": "getprovisioner()" }, { - "label": "ConfigMap", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L56", + "source_file": "pkg/provision/storage/provisioner.go", + "source_location": "L49", "_origin": "ast", - "community": 126, - "norm_label": "configmap", - "id": "pkg_provision_workspace_ssh_go_configmap" + "id": "pkg_provision_storage_provisioner_go_devworkspacewithconfig", + "community": 4, + "norm_label": "devworkspacewithconfig" }, { - "label": "getSshAskPassVolumesAndVolumeMounts()", + "label": "shared.go", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L74", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L1", "_origin": "ast", - "community": 126, - "norm_label": "getsshaskpassvolumesandvolumemounts()", - "id": "workspace_ssh_getsshaskpassvolumesandvolumemounts" + "id": "storage_shared", + "community": 51, + "norm_label": "shared.go" }, { - "label": "VolumeMount", + "label": "WorkspaceNeedsStorage()", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L74", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L45", "_origin": "ast", - "community": 126, - "norm_label": "volumemount", - "id": "pkg_provision_workspace_ssh_go_volumemount" + "id": "storage_shared_workspaceneedsstorage", + "community": 51, + "norm_label": "workspaceneedsstorage()" }, { - "label": "Volume", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L74", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L45", "_origin": "ast", - "community": 126, - "norm_label": "volume", - "id": "pkg_provision_workspace_ssh_go_volume" + "id": "pkg_provision_storage_shared_go_devworkspacetemplatespec", + "community": 51, + "norm_label": "devworkspacetemplatespec" }, { - "label": "server_tls.go", + "label": "getPVCSpec()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "_origin": "ast", - "community": 24, - "norm_label": "server_tls.go", - "id": "tlssetup_server_tls" + "id": "storage_shared_getpvcspec", + "community": 169, + "norm_label": "getpvcspec()" }, { - "label": "ServerTLS", + "label": "Quantity", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "_origin": "ast", - "community": 24, - "norm_label": "servertls", - "id": "tlssetup_servertls" + "id": "pkg_provision_storage_shared_go_quantity", + "community": 169, + "norm_label": "quantity" }, { - "label": "Config", + "label": "PersistentVolumeAccessMode", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L39", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "_origin": "ast", - "community": 24, - "norm_label": "config", - "id": "pkg_tlssetup_server_tls_go_config" + "id": "pkg_provision_storage_shared_go_persistentvolumeaccessmode", + "community": 169, + "norm_label": "persistentvolumeaccessmode" }, { - "label": "TLSProfileSpec", + "label": "PersistentVolumeClaim", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "_origin": "ast", - "community": 24, - "norm_label": "tlsprofilespec", - "id": "tlsprofilespec" + "id": "pkg_provision_storage_shared_go_persistentvolumeclaim", + "community": 169, + "norm_label": "persistentvolumeclaim" }, { - "label": "TLSAdherencePolicy", + "label": "isEphemeral()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L41", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L89", "_origin": "ast", - "community": 24, - "norm_label": "tlsadherencepolicy", - "id": "tlsadherencepolicy" + "id": "storage_shared_isephemeral", + "community": 51, + "norm_label": "isephemeral()" }, { - "label": "BuildServerTLSOptions()", + "label": "VolumeComponent", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L89", "_origin": "ast", - "community": 24, - "norm_label": "buildservertlsoptions()", - "id": "tlssetup_server_tls_buildservertlsoptions" + "id": "pkg_provision_storage_shared_go_volumecomponent", + "community": 51, + "norm_label": "volumecomponent" }, { - "label": "Context", + "label": "syncCommonPVC()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "_origin": "ast", - "community": 24, - "norm_label": "context", - "id": "pkg_tlssetup_server_tls_go_context" + "id": "storage_shared_synccommonpvc", + "community": 169, + "norm_label": "synccommonpvc()" }, { - "label": "Scheme", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "_origin": "ast", - "community": 24, - "norm_label": "scheme", - "id": "pkg_tlssetup_server_tls_go_scheme" + "id": "pkg_provision_storage_shared_go_operatorconfiguration", + "community": 169, + "norm_label": "operatorconfiguration" }, { - "label": "Logger", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "_origin": "ast", - "community": 24, - "norm_label": "logger", - "id": "pkg_tlssetup_server_tls_go_logger" + "id": "pkg_provision_storage_shared_go_clusterapi", + "community": 72, + "norm_label": "clusterapi" }, { - "label": "Client", + "label": "addEphemeralVolumesFromWorkspace()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L62", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L147", "_origin": "ast", - "community": 24, - "norm_label": "client", - "id": "pkg_tlssetup_server_tls_go_client" + "id": "storage_shared_addephemeralvolumesfromworkspace", + "community": 51, + "norm_label": "addephemeralvolumesfromworkspace()" }, { - "label": "RegisterSecurityProfileWatcher()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L147", "_origin": "ast", - "community": 24, - "norm_label": "registersecurityprofilewatcher()", - "id": "tlssetup_server_tls_registersecurityprofilewatcher" + "id": "pkg_provision_storage_shared_go_devworkspacewithconfig", + "community": 51, + "norm_label": "devworkspacewithconfig" }, { - "label": "Manager", + "label": "PodAdditions", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L147", "_origin": "ast", - "community": 24, - "norm_label": "manager", - "id": "pkg_tlssetup_server_tls_go_manager" + "id": "pkg_provision_storage_shared_go_podadditions", + "community": 51, + "norm_label": "podadditions" }, { - "label": "CancelFunc", + "label": "addEphemeralVolumesToPodAdditions()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "_origin": "ast", - "community": 24, - "norm_label": "cancelfunc", - "id": "cancelfunc" + "id": "storage_shared_addephemeralvolumestopodadditions", + "community": 51, + "norm_label": "addephemeralvolumestopodadditions()" }, { - "label": "server_tls_test.go", + "label": "Component", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "_origin": "ast", - "community": 24, - "norm_label": "server_tls_test.go", - "id": "tlssetup_server_tls_test" + "id": "pkg_provision_storage_shared_go_component", + "community": 51, + "norm_label": "component" }, { - "label": "TestRegisterSecurityProfileWatcher_NonOpenShift()", + "label": "Volume", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "_origin": "ast", - "community": 24, - "norm_label": "testregistersecurityprofilewatcher_nonopenshift()", - "id": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift" + "id": "pkg_provision_storage_shared_go_volume", + "community": 51, + "norm_label": "volume" }, { - "label": "T", + "label": "getWorkspaceVolumes()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L191", "_origin": "ast", - "community": 24, - "norm_label": "t", - "id": "pkg_tlssetup_server_tls_test_go_t" + "id": "storage_shared_getworkspacevolumes", + "community": 51, + "norm_label": "getworkspacevolumes()" }, { - "label": "TestBuildServerTLSOptions_NonOpenShift()", + "label": "processProjectsVolume()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L43", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L218", "_origin": "ast", - "community": 24, - "norm_label": "testbuildservertlsoptions_nonopenshift()", - "id": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift" + "id": "storage_shared_processprojectsvolume", + "community": 51, + "norm_label": "processprojectsvolume()" }, { - "label": "TestBuildServerTLSOptions_OpenShift_LegacyAdherence()", + "label": "checkForAlternatePVC()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L60", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L236", "_origin": "ast", - "community": 24, - "norm_label": "testbuildservertlsoptions_openshift_legacyadherence()", - "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence" + "id": "storage_shared_checkforalternatepvc", + "community": 53, + "norm_label": "checkforalternatepvc()" }, { - "label": "TestBuildServerTLSOptions_OpenShift_StrictAdherence()", + "label": "getSharedPVCWorkspaceCount()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L121", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L252", "_origin": "ast", - "community": 24, - "norm_label": "testbuildservertlsoptions_openshift_strictadherence()", - "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence" + "id": "storage_shared_getsharedpvcworkspacecount", + "community": 72, + "norm_label": "getsharedpvcworkspacecount()" }, { - "label": "TestBuildServerTLSOptions_OpenShift_EmptyAdherence()", + "label": "FindNodeForPVC()", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L185", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L276", "_origin": "ast", - "community": 24, - "norm_label": "testbuildservertlsoptions_openshift_emptyadherence()", - "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence" + "id": "storage_shared_findnodeforpvc", + "community": 53, + "norm_label": "findnodeforpvc()" }, { - "label": "TestBuildServerTLSOptions_OpenShift_NoAPIServer()", + "label": "Context", "file_type": "code", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L229", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L276", "_origin": "ast", - "community": 24, - "norm_label": "testbuildservertlsoptions_openshift_noapiserver()", - "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver" + "id": "pkg_provision_storage_shared_go_context", + "community": 53, + "norm_label": "context" }, { - "label": "cluster_role_bindings.go", + "label": "Client", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L1", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L276", "_origin": "ast", - "community": 146, - "norm_label": "cluster_role_bindings.go", - "id": "webhook_cluster_role_bindings" + "id": "pkg_provision_storage_shared_go_client", + "community": 53, + "norm_label": "client" }, { - "label": "CreateWebhookClusterRoleBinding()", + "label": "NodeAffinityForHostname()", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L296", "_origin": "ast", - "community": 146, - "norm_label": "createwebhookclusterrolebinding()", - "id": "webhook_cluster_role_bindings_createwebhookclusterrolebinding" + "id": "storage_shared_nodeaffinityforhostname", + "community": 308, + "norm_label": "nodeaffinityforhostname()" }, { - "label": "Client", + "label": "NodeAffinity", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L296", "_origin": "ast", - "community": 146, - "norm_label": "client", - "id": "pkg_webhook_cluster_role_bindings_go_client" + "id": "pkg_provision_storage_shared_go_nodeaffinity", + "community": 308, + "norm_label": "nodeaffinity" }, { - "label": "Context", + "label": "getNodeNameWithPVC()", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L320", "_origin": "ast", - "community": 146, - "norm_label": "context", - "id": "pkg_webhook_cluster_role_bindings_go_context" + "id": "storage_shared_getnodenamewithpvc", + "community": 53, + "norm_label": "getnodenamewithpvc()" }, { - "label": "getSpecClusterRoleBinding()", + "label": "PodList", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L59", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L320", "_origin": "ast", - "community": 146, - "norm_label": "getspecclusterrolebinding()", - "id": "webhook_cluster_role_bindings_getspecclusterrolebinding" + "id": "pkg_provision_storage_shared_go_podlist", + "community": 53, + "norm_label": "podlist" }, { - "label": "ClusterRoleBinding", + "label": "checkPVCTerminating()", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L59", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L337", "_origin": "ast", - "community": 146, - "norm_label": "clusterrolebinding", - "id": "clusterrolebinding" + "id": "storage_shared_checkpvcterminating", + "community": 72, + "norm_label": "checkpvcterminating()" }, { - "label": "getClusterRoleBinding()", + "label": "rewriteContainerVolumeMounts()", "file_type": "code", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L82", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L361", "_origin": "ast", - "community": 146, - "norm_label": "getclusterrolebinding()", - "id": "webhook_cluster_role_bindings_getclusterrolebinding" + "id": "storage_shared_rewritecontainervolumemounts", + "community": 51, + "norm_label": "rewritecontainervolumemounts()" }, { - "label": "cluster_roles.go", + "label": "shared_test.go", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", + "source_file": "pkg/provision/storage/shared_test.go", "source_location": "L1", "_origin": "ast", - "community": 145, - "norm_label": "cluster_roles.go", - "id": "webhook_cluster_roles" + "id": "storage_shared_test", + "community": 169, + "norm_label": "shared_test.go" }, { - "label": "CreateWebhookClusterRole()", + "label": "TestGetPVCSpecWithDefaultStorageAccessMode()", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L30", "_origin": "ast", - "community": 145, - "norm_label": "createwebhookclusterrole()", - "id": "webhook_cluster_roles_createwebhookclusterrole" + "id": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", + "community": 169, + "norm_label": "testgetpvcspecwithdefaultstorageaccessmode()" }, { - "label": "Client", + "label": "T", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L30", "_origin": "ast", - "community": 145, - "norm_label": "client", - "id": "pkg_webhook_cluster_roles_go_client" + "id": "pkg_provision_storage_shared_test_go_t", + "community": 169, + "norm_label": "t" }, { - "label": "Context", + "label": "TestGetPVCSpecWithCustomStorageAccessMode()", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L48", "_origin": "ast", - "community": 145, - "norm_label": "context", - "id": "pkg_webhook_cluster_roles_go_context" + "id": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", + "community": 169, + "norm_label": "testgetpvcspecwithcustomstorageaccessmode()" }, { - "label": "getSpecClusterRole()", + "label": "TestNodeAffinityForHostname()", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L58", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L67", "_origin": "ast", - "community": 145, - "norm_label": "getspecclusterrole()", - "id": "webhook_cluster_roles_getspecclusterrole" + "id": "storage_shared_test_testnodeaffinityforhostname", + "community": 169, + "norm_label": "testnodeaffinityforhostname()" }, { - "label": "ClusterRole", + "label": "TestFindNodeForPVC()", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L58", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L82", "_origin": "ast", - "community": 145, - "norm_label": "clusterrole", - "id": "clusterrole" + "id": "storage_shared_test_testfindnodeforpvc", + "community": 169, + "norm_label": "testfindnodeforpvc()" }, { - "label": "getExistingClusterRole()", + "label": "cluster_api.go", "file_type": "code", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L215", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L1", "_origin": "ast", - "community": 145, - "norm_label": "getexistingclusterrole()", - "id": "webhook_cluster_roles_getexistingclusterrole" + "id": "sync_cluster_api", + "community": 43, + "norm_label": "cluster_api.go" }, { - "label": "create.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/webhook/create.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L26", "_origin": "ast", - "community": 95, - "norm_label": "create.go", - "id": "webhook_create" + "id": "sync_clusterapi", + "community": 43, + "norm_label": "clusterapi" }, { - "label": "SetupWebhooks()", + "label": "Client", "file_type": "code", - "source_file": "pkg/webhook/create.go", - "source_location": "L35", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L27", "_origin": "ast", - "community": 95, - "norm_label": "setupwebhooks()", - "id": "webhook_create_setupwebhooks" + "id": "pkg_provision_sync_cluster_api_go_client", + "community": 43, + "norm_label": "client" + }, + { + "label": "Scheme", + "file_type": "code", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L29", + "_origin": "ast", + "id": "pkg_provision_sync_cluster_api_go_scheme", + "community": 43, + "norm_label": "scheme" + }, + { + "label": "Logger", + "file_type": "code", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L30", + "_origin": "ast", + "id": "pkg_provision_sync_cluster_api_go_logger", + "community": 43, + "norm_label": "logger" }, { "label": "Context", "file_type": "code", - "source_file": "pkg/webhook/create.go", - "source_location": "L35", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L31", "_origin": "ast", - "community": 95, - "norm_label": "context", - "id": "pkg_webhook_create_go_context" + "id": "pkg_provision_sync_cluster_api_go_context", + "community": 43, + "norm_label": "context" }, { - "label": "Config", + "label": "NotInSyncError", "file_type": "code", - "source_file": "pkg/webhook/create.go", + "source_file": "pkg/provision/sync/cluster_api.go", "source_location": "L35", "_origin": "ast", - "community": 95, - "norm_label": "config", - "id": "pkg_webhook_create_go_config" + "id": "sync_notinsyncerror", + "community": 43, + "norm_label": "notinsyncerror" }, { - "label": "setUpWebhookServerRBAC()", + "label": "NotInSyncReason", "file_type": "code", - "source_file": "pkg/webhook/create.go", - "source_location": "L91", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L36", "_origin": "ast", - "community": 95, - "norm_label": "setupwebhookserverrbac()", - "id": "webhook_create_setupwebhookserverrbac" + "id": "notinsyncreason", + "community": 43, + "norm_label": "notinsyncreason" }, { - "label": "Client", + "label": "Object", "file_type": "code", - "source_file": "pkg/webhook/create.go", - "source_location": "L91", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L37", "_origin": "ast", - "community": 95, - "norm_label": "client", - "id": "pkg_webhook_create_go_client" + "id": "pkg_provision_sync_cluster_api_go_object", + "community": 43, + "norm_label": "object" }, { - "label": "deployment.go", + "label": "NotInSyncReason", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L40", "_origin": "ast", - "community": 59, - "norm_label": "deployment.go", - "id": "webhook_deployment" + "id": "sync_notinsyncreason", + "community": 43, + "norm_label": "notinsyncreason" }, { - "label": "CreateWebhookServerDeployment()", + "label": ".Error()", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L38", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L49", "_origin": "ast", - "community": 59, - "norm_label": "createwebhookserverdeployment()", - "id": "webhook_deployment_createwebhookserverdeployment" + "id": "sync_notinsyncerror_error", + "community": 43, + "norm_label": ".error()" }, { - "label": "Client", + "label": "NewNotInSync()", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L38", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L54", "_origin": "ast", - "community": 59, - "norm_label": "client", - "id": "pkg_webhook_deployment_go_client" + "id": "sync_cluster_api_newnotinsync", + "community": 94, + "norm_label": "newnotinsync()" }, { - "label": "Context", + "label": "UnrecoverableSyncError", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L38", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L63", "_origin": "ast", - "community": 59, - "norm_label": "context", - "id": "pkg_webhook_deployment_go_context" + "id": "sync_unrecoverablesyncerror", + "community": 43, + "norm_label": "unrecoverablesyncerror" }, { - "label": "getSpecDeployment()", + "label": ".Error()", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L69", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L67", "_origin": "ast", - "community": 59, - "norm_label": "getspecdeployment()", - "id": "webhook_deployment_getspecdeployment" + "id": "sync_unrecoverablesyncerror_error", + "community": 43, + "norm_label": ".error()" }, { - "label": "Deployment", + "label": ".Unwrap()", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L69", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L71", "_origin": "ast", - "community": 59, - "norm_label": "deployment", - "id": "pkg_webhook_deployment_go_deployment" + "id": "sync_unrecoverablesyncerror_unwrap", + "community": 43, + "norm_label": ".unwrap()" }, { - "label": "getWebhooksServerResources()", + "label": "WarningError", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L221", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L77", "_origin": "ast", - "community": 59, - "norm_label": "getwebhooksserverresources()", - "id": "webhook_deployment_getwebhooksserverresources" + "id": "sync_warningerror", + "community": 43, + "norm_label": "warningerror" }, { - "label": "ResourceRequirements", + "label": ".Error()", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L221", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L82", "_origin": "ast", - "community": 59, - "norm_label": "resourcerequirements", - "id": "pkg_webhook_deployment_go_resourcerequirements" + "id": "sync_warningerror_error", + "community": 43, + "norm_label": ".error()" }, { - "label": "getClusterDeployment()", + "label": ".Unwrap()", "file_type": "code", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L250", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L89", "_origin": "ast", - "community": 59, - "norm_label": "getclusterdeployment()", - "id": "webhook_deployment_getclusterdeployment" + "id": "sync_warningerror_unwrap", + "community": 43, + "norm_label": ".unwrap()" }, { - "label": "info.go", + "label": "diff.go", "file_type": "code", - "source_file": "pkg/webhook/info.go", + "source_file": "pkg/provision/sync/diff.go", "source_location": "L1", "_origin": "ast", - "community": 148, - "norm_label": "info.go", - "id": "webhook_info" + "id": "sync_diff", + "community": 66, + "norm_label": "diff.go" }, { - "label": "GetWebhooksCreationTimestamp()", + "label": "diffFunc", "file_type": "code", - "source_file": "pkg/webhook/info.go", - "source_location": "L32", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L39", "_origin": "ast", - "community": 148, - "norm_label": "getwebhookscreationtimestamp()", - "id": "webhook_info_getwebhookscreationtimestamp" + "id": "sync_difffunc", + "community": 66, + "norm_label": "difffunc" }, { - "label": "Client", + "label": "basicDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/info.go", - "source_location": "L32", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L58", "_origin": "ast", - "community": 148, - "norm_label": "client", - "id": "pkg_webhook_info_go_client" + "id": "sync_diff_basicdifffunc", + "community": 66, + "norm_label": "basicdifffunc()" }, { - "label": "Time", + "label": "Options", "file_type": "code", - "source_file": "pkg/webhook/info.go", - "source_location": "L32", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L58", "_origin": "ast", - "community": 148, - "norm_label": "time", - "id": "pkg_webhook_info_go_time" + "id": "options", + "community": 66, + "norm_label": "options" }, { - "label": "init_cfg.go", + "label": "metadataDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L66", "_origin": "ast", - "community": 44, - "norm_label": "init_cfg.go", - "id": "webhook_init_cfg" + "id": "sync_diff_metadatadifffunc", + "community": 66, + "norm_label": "metadatadifffunc()" }, { - "label": "WebhookCfgsInit()", + "label": "Object", "file_type": "code", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L31", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L66", "_origin": "ast", - "community": 44, - "norm_label": "webhookcfgsinit()", - "id": "webhook_init_cfg_webhookcfgsinit" + "id": "pkg_provision_sync_diff_go_object", + "community": 66, + "norm_label": "object" }, { - "label": "Client", + "label": "podTemplateMetadataDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L31", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L93", "_origin": "ast", - "community": 44, - "norm_label": "client", - "id": "pkg_webhook_init_cfg_go_client" + "id": "sync_diff_podtemplatemetadatadifffunc", + "community": 66, + "norm_label": "podtemplatemetadatadifffunc()" }, { - "label": "Context", + "label": "allDiffFuncs()", "file_type": "code", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L31", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L120", "_origin": "ast", - "community": 44, - "norm_label": "context", - "id": "pkg_webhook_init_cfg_go_context" + "id": "sync_diff_alldifffuncs", + "community": 66, + "norm_label": "alldifffuncs()" }, { - "label": "checkExistingConfigForConflict()", + "label": "deploymentDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L47", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L133", "_origin": "ast", - "community": 44, - "norm_label": "checkexistingconfigforconflict()", - "id": "webhook_init_cfg_checkexistingconfigforconflict" + "id": "sync_diff_deploymentdifffunc", + "community": 66, + "norm_label": "deploymentdifffunc()" }, { - "label": "tls.go", + "label": "podDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L142", "_origin": "ast", - "community": 70, - "norm_label": "tls.go", - "id": "kubernetes_tls" + "id": "sync_diff_poddifffunc", + "community": 66, + "norm_label": "poddifffunc()" }, { - "label": "SetupSecureService()", + "label": "containersDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L214", "_origin": "ast", - "community": 70, - "norm_label": "setupsecureservice()", - "id": "kubernetes_tls_setupsecureservice" + "id": "sync_diff_containersdifffunc", + "community": 66, + "norm_label": "containersdifffunc()" }, { - "label": "Client", + "label": "Container", "file_type": "code", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L214", "_origin": "ast", - "community": 70, - "norm_label": "client", - "id": "pkg_webhook_kubernetes_tls_go_client" + "id": "pkg_provision_sync_diff_go_container", + "community": 66, + "norm_label": "container" }, { - "label": "Context", + "label": "routingDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L242", "_origin": "ast", - "community": 70, - "norm_label": "context", - "id": "pkg_webhook_kubernetes_tls_go_context" + "id": "sync_diff_routingdifffunc", + "community": 66, + "norm_label": "routingdifffunc()" }, { - "label": "tls.go", + "label": "jobDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L251", "_origin": "ast", - "community": 70, - "norm_label": "tls.go", - "id": "openshift_tls" + "id": "sync_diff_jobdifffunc", + "community": 66, + "norm_label": "jobdifffunc()" }, { - "label": "SetupSecureService()", + "label": "serviceDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L29", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L257", "_origin": "ast", - "community": 70, - "norm_label": "setupsecureservice()", - "id": "openshift_tls_setupsecureservice" + "id": "sync_diff_servicedifffunc", + "community": 66, + "norm_label": "servicedifffunc()" }, { - "label": "Client", + "label": "unrecognizedObjectDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L29", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L281", "_origin": "ast", - "community": 70, - "norm_label": "client", - "id": "pkg_webhook_openshift_tls_go_client" + "id": "sync_diff_unrecognizedobjectdifffunc", + "community": 66, + "norm_label": "unrecognizedobjectdifffunc()" }, { - "label": "Context", + "label": "containsOwnerRef()", "file_type": "code", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L29", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L285", "_origin": "ast", - "community": 70, - "norm_label": "context", - "id": "pkg_webhook_openshift_tls_go_context" + "id": "sync_diff_containsownerref", + "community": 66, + "norm_label": "containsownerref()" }, { - "label": "role_bindings.go", + "label": "OwnerReference", "file_type": "code", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L285", "_origin": "ast", - "community": 95, - "norm_label": "role_bindings.go", - "id": "webhook_role_bindings" + "id": "pkg_provision_sync_diff_go_ownerreference", + "community": 66, + "norm_label": "ownerreference" }, { - "label": "CreateWebhookRoleBinding()", + "label": "diff_test.go", "file_type": "code", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L1", "_origin": "ast", - "community": 95, - "norm_label": "createwebhookrolebinding()", - "id": "webhook_role_bindings_createwebhookrolebinding" + "id": "sync_diff_test", + "community": 66, + "norm_label": "diff_test.go" }, { - "label": "Client", + "label": "TestPodTemplateMetadataDiffFunc()", "file_type": "code", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L25", "_origin": "ast", - "community": 95, - "norm_label": "client", - "id": "pkg_webhook_role_bindings_go_client" + "id": "sync_diff_test_testpodtemplatemetadatadifffunc", + "community": 66, + "norm_label": "testpodtemplatemetadatadifffunc()" }, { - "label": "Context", + "label": "T", "file_type": "code", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L25", "_origin": "ast", - "community": 95, - "norm_label": "context", - "id": "pkg_webhook_role_bindings_go_context" + "id": "pkg_provision_sync_diff_test_go_t", + "community": 66, + "norm_label": "t" }, { - "label": "getSpecRoleBinding()", + "label": "TestPodTemplateMetadataDiffFunc_NonDeployment()", "file_type": "code", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L56", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L118", "_origin": "ast", - "community": 95, - "norm_label": "getspecrolebinding()", - "id": "webhook_role_bindings_getspecrolebinding" + "id": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment", + "community": 66, + "norm_label": "testpodtemplatemetadatadifffunc_nondeployment()" }, { - "label": "RoleBinding", + "label": "TestDeploymentDiffOpts_IgnoresPodTemplateMetadata()", "file_type": "code", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L56", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L127", "_origin": "ast", - "community": 95, - "norm_label": "rolebinding", - "id": "pkg_webhook_role_bindings_go_rolebinding" + "id": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata", + "community": 66, + "norm_label": "testdeploymentdiffopts_ignorespodtemplatemetadata()" }, { - "label": "roles.go", + "label": "TestDeploymentDiffOpts_DetectsSpecChanges()", "file_type": "code", - "source_file": "pkg/webhook/roles.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L159", "_origin": "ast", - "community": 171, - "norm_label": "roles.go", - "id": "webhook_roles" + "id": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges", + "community": 66, + "norm_label": "testdeploymentdiffopts_detectsspecchanges()" }, { - "label": "CreateWebhookRole()", + "label": "TestDeploymentFullDiff_ExternalLabelsNoUpdate()", "file_type": "code", - "source_file": "pkg/webhook/roles.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L191", "_origin": "ast", - "community": 171, - "norm_label": "createwebhookrole()", - "id": "webhook_roles_createwebhookrole" + "id": "sync_diff_test_testdeploymentfulldiff_externallabelsnoupdate", + "community": 66, + "norm_label": "testdeploymentfulldiff_externallabelsnoupdate()" }, { - "label": "Client", + "label": "TestMetadataDiffRequiresEmptyLabelPresence()", "file_type": "code", - "source_file": "pkg/webhook/roles.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L234", "_origin": "ast", - "community": 171, - "norm_label": "client", - "id": "pkg_webhook_roles_go_client" + "id": "sync_diff_test_testmetadatadiffrequiresemptylabelpresence", + "community": 66, + "norm_label": "testmetadatadiffrequiresemptylabelpresence()" }, { - "label": "Context", + "label": "diffopts.go", "file_type": "code", - "source_file": "pkg/webhook/roles.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/diffopts.go", + "source_location": "L1", "_origin": "ast", - "community": 171, - "norm_label": "context", - "id": "pkg_webhook_roles_go_context" + "id": "sync_diffopts", + "community": 238, + "norm_label": "diffopts.go" }, { - "label": "getSpecRole()", + "label": "getNameFromEnvFrom()", "file_type": "code", - "source_file": "pkg/webhook/roles.go", - "source_location": "L56", + "source_file": "pkg/provision/sync/diffopts.go", + "source_location": "L101", "_origin": "ast", - "community": 171, - "norm_label": "getspecrole()", - "id": "webhook_roles_getspecrole" + "id": "sync_diffopts_getnamefromenvfrom", + "community": 238, + "norm_label": "getnamefromenvfrom()" }, { - "label": "Role", + "label": "EnvFromSource", "file_type": "code", - "source_file": "pkg/webhook/roles.go", - "source_location": "L56", + "source_file": "pkg/provision/sync/diffopts.go", + "source_location": "L101", "_origin": "ast", - "community": 171, - "norm_label": "role", - "id": "pkg_webhook_roles_go_role" + "id": "pkg_provision_sync_diffopts_go_envfromsource", + "community": 238, + "norm_label": "envfromsource" }, { - "label": "log.go", + "label": "service.go", "file_type": "code", - "source_file": "pkg/webhook/service/log.go", + "source_file": "pkg/provision/sync/service.go", "source_location": "L1", "_origin": "ast", - "community": 280, - "norm_label": "log.go", - "id": "service_log" + "id": "sync_service", + "community": 305, + "norm_label": "service.go" }, { - "label": "service.go", + "label": "SyncRoutingServiceWithCluster()", "file_type": "code", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", "_origin": "ast", - "community": 70, - "norm_label": "service.go", - "id": "service_service" + "id": "sync_service_syncroutingservicewithcluster", + "community": 305, + "norm_label": "syncroutingservicewithcluster()" }, { - "label": "CreateOrUpdateSecureService()", + "label": "Service", "file_type": "code", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", "_origin": "ast", - "community": 70, - "norm_label": "createorupdatesecureservice()", - "id": "service_service_createorupdatesecureservice" + "id": "pkg_provision_sync_service_go_service", + "community": 305, + "norm_label": "service" }, { - "label": "Client", + "label": "ClusterAPI", "file_type": "code", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", "_origin": "ast", - "community": 70, - "norm_label": "client", - "id": "pkg_webhook_service_service_go_client" + "id": "pkg_provision_sync_service_go_clusterapi", + "community": 305, + "norm_label": "clusterapi" }, { - "label": "Context", + "label": "Object", "file_type": "code", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", "_origin": "ast", - "community": 70, - "norm_label": "context", - "id": "pkg_webhook_service_service_go_context" + "id": "pkg_provision_sync_service_go_object", + "community": 305, + "norm_label": "object" }, { - "label": "getClusterService()", + "label": "serviceOwnershipConflict()", "file_type": "code", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L83", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L45", "_origin": "ast", - "community": 70, - "norm_label": "getclusterservice()", - "id": "service_service_getclusterservice" + "id": "sync_service_serviceownershipconflict", + "community": 305, + "norm_label": "serviceownershipconflict()" }, { - "label": "Service", + "label": "recoverServiceCreateCollision()", "file_type": "code", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L83", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "_origin": "ast", - "community": 70, - "norm_label": "service", - "id": "pkg_webhook_service_service_go_service" + "id": "sync_service_recoverservicecreatecollision", + "community": 305, + "norm_label": "recoverservicecreatecollision()" }, { - "label": "entrypoint.sh", + "label": "NotInSyncError", "file_type": "code", - "source_file": "project-backup/entrypoint.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "file" - }, + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "_origin": "ast", - "community": 249, - "norm_label": "entrypoint.sh", - "id": "project_backup_entrypoint" + "id": "notinsyncerror", + "community": 305, + "norm_label": "notinsyncerror" }, { - "label": "entrypoint.sh script", + "label": "ServiceConflictError", "file_type": "code", - "source_file": "project-backup/entrypoint.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "bash_entrypoint" - }, + "source_file": "pkg/provision/sync/service.go", + "source_location": "L88", "_origin": "ast", - "community": 249, - "norm_label": "entrypoint.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_entrypoint_sh__entry" + "id": "sync_serviceconflicterror", + "community": 305, + "norm_label": "serviceconflicterror" }, { - "label": "workspace-recovery.sh", + "label": ".Error()", "file_type": "code", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "file" - }, + "source_file": "pkg/provision/sync/service.go", + "source_location": "L94", "_origin": "ast", - "community": 172, - "norm_label": "workspace-recovery.sh", - "id": "project_backup_workspace_recovery" + "id": "sync_serviceconflicterror_error", + "community": 305, + "norm_label": ".error()" }, { - "label": "workspace-recovery.sh script", + "label": "service_collision_test.go", "file_type": "code", - "source_file": "project-backup/workspace-recovery.sh", + "source_file": "pkg/provision/sync/service_collision_test.go", "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "bash_entrypoint" - }, "_origin": "ast", - "community": 172, - "norm_label": "workspace-recovery.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_workspace_recovery_sh__entry" + "id": "sync_service_collision_test", + "community": 309, + "norm_label": "service_collision_test.go" }, { - "label": "setup_registry_auth()", + "label": "collisionServices()", "file_type": "code", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L24", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L37", "_origin": "ast", - "community": 172, - "norm_label": "setup_registry_auth()", - "id": "project_backup_workspace_recovery_setup_registry_auth" + "id": "sync_service_collision_test_collisionservices", + "community": 309, + "norm_label": "collisionservices()" }, { - "label": "backup()", + "label": "Service", "file_type": "code", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L68", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L37", "_origin": "ast", - "community": 172, - "norm_label": "backup()", - "id": "project_backup_workspace_recovery_backup" + "id": "pkg_provision_sync_service_collision_test_go_service", + "community": 309, + "norm_label": "service" }, { - "label": "restore()", + "label": "TestGenericServiceCollisionRejectsForeignOwnership()", "file_type": "code", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L111", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L55", "_origin": "ast", - "community": 172, - "norm_label": "restore()", - "id": "project_backup_workspace_recovery_restore" + "id": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", + "community": 309, + "norm_label": "testgenericservicecollisionrejectsforeignownership()" }, { - "label": "usage()", + "label": "T", "file_type": "code", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L150", - "metadata": { - "language": "bash", - "kind": "bash_function" - }, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L55", "_origin": "ast", - "community": 172, - "norm_label": "usage()", - "id": "project_backup_workspace_recovery_usage" + "id": "pkg_provision_sync_service_collision_test_go_t", + "community": 309, + "norm_label": "t" }, { - "label": "bootstrap.go", + "label": "TestGenericServiceCollisionRepairsOwnedService()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L108", "_origin": "ast", - "community": 78, - "norm_label": "bootstrap.go", - "id": "bootstrap_bootstrap" + "id": "sync_service_collision_test_testgenericservicecollisionrepairsownedservice", + "community": 309, + "norm_label": "testgenericservicecollisionrepairsownedservice()" }, { - "label": "NeedsBootstrap()", + "label": "TestGenericServiceCollisionOutcomes()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L28", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L153", "_origin": "ast", - "community": 78, - "norm_label": "needsbootstrap()", - "id": "bootstrap_bootstrap_needsbootstrap" + "id": "sync_service_collision_test_testgenericservicecollisionoutcomes", + "community": 309, + "norm_label": "testgenericservicecollisionoutcomes()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "TestGenericNonServiceCollisionKeepsUpdateFallback()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L28", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L243", "_origin": "ast", - "community": 78, - "norm_label": "devworkspacetemplatespec", - "id": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" + "id": "sync_service_collision_test_testgenericnonservicecollisionkeepsupdatefallback", + "community": 309, + "norm_label": "testgenericnonservicecollisionkeepsupdatefallback()" }, { - "label": "BootstrapWorkspace()", + "label": "service_test.go", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L43", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L1", "_origin": "ast", - "community": 78, - "norm_label": "bootstrapworkspace()", - "id": "bootstrap_bootstrap_bootstrapworkspace" + "id": "sync_service_test", + "community": 118, + "norm_label": "service_test.go" }, { - "label": "updateWorkspaceFromDevfile()", + "label": "TestSyncDiscoverableServicePreservesForeignService()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L76", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L37", "_origin": "ast", - "community": 78, - "norm_label": "updateworkspacefromdevfile()", - "id": "bootstrap_bootstrap_updateworkspacefromdevfile" + "id": "sync_service_test_testsyncdiscoverableservicepreservesforeignservice", + "community": 118, + "norm_label": "testsyncdiscoverableservicepreservesforeignservice()" }, { - "label": "DevWorkspace", + "label": "T", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L76", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L37", "_origin": "ast", - "community": 78, - "norm_label": "devworkspace", - "id": "project_clone_internal_bootstrap_bootstrap_go_devworkspace" + "id": "pkg_provision_sync_service_test_go_t", + "community": 118, + "norm_label": "t" }, { - "label": "mergeProjects()", + "label": "TestSyncDiscoverableServiceUpdatesOwnedService()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L101", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L92", "_origin": "ast", - "community": 78, - "norm_label": "mergeprojects()", - "id": "bootstrap_bootstrap_mergeprojects" + "id": "sync_service_test_testsyncdiscoverableserviceupdatesownedservice", + "community": 118, + "norm_label": "testsyncdiscoverableserviceupdatesownedservice()" }, { - "label": "Project", + "label": "TestSyncOwnedServiceRestoresMissingWorkspaceLabel()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L101", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L118", "_origin": "ast", - "community": 78, - "norm_label": "project", - "id": "project_clone_internal_bootstrap_bootstrap_go_project" + "id": "sync_service_test_testsyncownedservicerestoresmissingworkspacelabel", + "community": 118, + "norm_label": "testsyncownedservicerestoresmissingworkspacelabel()" }, { - "label": "cluster.go", + "label": "TestSyncAggregateServiceRejectsHiddenForeignService()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L154", "_origin": "ast", - "community": 78, - "norm_label": "cluster.go", - "id": "bootstrap_cluster" + "id": "sync_service_test_testsyncaggregateservicerejectshiddenforeignservice", + "community": 118, + "norm_label": "testsyncaggregateservicerejectshiddenforeignservice()" }, { - "label": "setupKubeClient()", + "label": "filteredServiceClient", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L28", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L181", "_origin": "ast", - "community": 78, - "norm_label": "setupkubeclient()", - "id": "bootstrap_cluster_setupkubeclient" + "id": "sync_filteredserviceclient", + "community": 118, + "norm_label": "filteredserviceclient" }, { "label": "Client", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L28", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L181", "_origin": "ast", - "community": 78, - "norm_label": "client", - "id": "project_clone_internal_bootstrap_cluster_go_client" + "id": "pkg_provision_sync_service_test_go_client", + "community": 118, + "norm_label": "client" }, { - "label": "getWorkspaceNamespacedName()", + "label": ".Get()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "_origin": "ast", - "community": 78, - "norm_label": "getworkspacenamespacedname()", - "id": "bootstrap_cluster_getworkspacenamespacedname" + "id": "sync_filteredserviceclient_get", + "community": 118, + "norm_label": ".get()" }, { - "label": "NamespacedName", + "label": "Context", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "_origin": "ast", - "community": 78, - "norm_label": "namespacedname", - "id": "project_clone_internal_bootstrap_cluster_go_namespacedname" + "id": "pkg_provision_sync_service_test_go_context", + "community": 118, + "norm_label": "context" }, { - "label": "util.go", + "label": "ObjectKey", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "_origin": "ast", - "community": 177, - "norm_label": "util.go", - "id": "bootstrap_util" + "id": "pkg_provision_sync_service_test_go_objectkey", + "community": 118, + "norm_label": "objectkey" }, { - "label": "getBootstrapDevfile()", + "label": "Object", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L27", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "_origin": "ast", - "community": 177, - "norm_label": "getbootstrapdevfile()", - "id": "bootstrap_util_getbootstrapdevfile" + "id": "pkg_provision_sync_service_test_go_object", + "community": 118, + "norm_label": "object" }, { - "label": "Project", + "label": "serviceCreateRaceClient", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L27", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L195", "_origin": "ast", - "community": 177, - "norm_label": "project", - "id": "project_clone_internal_bootstrap_util_go_project" + "id": "sync_servicecreateraceclient", + "community": 118, + "norm_label": "servicecreateraceclient" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "Service", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L27", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L197", "_origin": "ast", - "community": 177, - "norm_label": "devworkspacetemplatespec", - "id": "project_clone_internal_bootstrap_util_go_devworkspacetemplatespec" + "id": "pkg_provision_sync_service_test_go_service", + "community": 118, + "norm_label": "service" }, { - "label": "getDevfileFromProject()", + "label": ".Create()", "file_type": "code", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L49", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L200", "_origin": "ast", - "community": 177, - "norm_label": "getdevfilefromproject()", - "id": "bootstrap_util_getdevfilefromproject" + "id": "sync_servicecreateraceclient_create", + "community": 118, + "norm_label": ".create()" }, { - "label": "devfile.go", + "label": "TestGenericServiceSyncUsesCachedClient()", "file_type": "code", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L207", "_origin": "ast", - "community": 102, - "norm_label": "devfile.go", - "id": "internal_devfile" + "id": "sync_service_test_testgenericservicesyncusescachedclient", + "community": 118, + "norm_label": "testgenericservicesyncusescachedclient()" }, { - "label": "ReadFlattenedDevWorkspace()", + "label": "TestRoutingServiceSyncReadsOnceAndWritesThroughCachedClient()", "file_type": "code", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L37", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L257", "_origin": "ast", - "community": 102, - "norm_label": "readflatteneddevworkspace()", - "id": "internal_devfile_readflatteneddevworkspace" + "id": "sync_service_test_testroutingservicesyncreadsonceandwritesthroughcachedclient", + "community": 118, + "norm_label": "testroutingservicesyncreadsonceandwritesthroughcachedclient()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "countingServiceClient", "file_type": "code", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L37", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L321", "_origin": "ast", - "community": 102, - "norm_label": "devworkspacetemplatespec", - "id": "project_clone_internal_devfile_go_devworkspacetemplatespec" + "id": "sync_countingserviceclient", + "community": 118, + "norm_label": "countingserviceclient" }, { - "label": "StarterProjectToRegularProject()", + "label": ".Get()", "file_type": "code", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L59", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L327", "_origin": "ast", - "community": 102, - "norm_label": "starterprojecttoregularproject()", - "id": "internal_devfile_starterprojecttoregularproject" + "id": "sync_countingserviceclient_get", + "community": 118, + "norm_label": ".get()" }, { - "label": "StarterProject", + "label": ".Create()", "file_type": "code", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L59", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L332", "_origin": "ast", - "community": 102, - "norm_label": "starterproject", - "id": "project_clone_internal_devfile_go_starterproject" + "id": "sync_countingserviceclient_create", + "community": 118, + "norm_label": ".create()" }, { - "label": "Project", + "label": ".Update()", "file_type": "code", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L59", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L337", "_origin": "ast", - "community": 102, - "norm_label": "project", - "id": "project_clone_internal_devfile_go_project" + "id": "sync_countingserviceclient_update", + "community": 118, + "norm_label": ".update()" }, { - "label": "operations.go", + "label": ".Delete()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L344", "_origin": "ast", - "community": 22, - "norm_label": "operations.go", - "id": "git_operations" + "id": "sync_countingserviceclient_delete", + "community": 118, + "norm_label": ".delete()" }, { - "label": "CloneProject()", + "label": "sync.go", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L33", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L1", "_origin": "ast", - "community": 22, - "norm_label": "cloneproject()", - "id": "git_operations_cloneproject" + "id": "sync_sync", + "community": 94, + "norm_label": "sync.go" }, { - "label": "Project", + "label": "IsRecognizedObject()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L33", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L40", "_origin": "ast", - "community": 22, - "norm_label": "project", - "id": "project_clone_internal_git_operations_go_project" + "id": "sync_sync_isrecognizedobject", + "community": 94, + "norm_label": "isrecognizedobject()" }, { - "label": "SetupSparseCheckout()", + "label": "Object", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L85", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L40", "_origin": "ast", - "community": 22, - "norm_label": "setupsparsecheckout()", - "id": "git_operations_setupsparsecheckout" + "id": "pkg_provision_sync_sync_go_object", + "community": 94, + "norm_label": "object" }, { - "label": "SetupRemotes()", + "label": "SyncObjectWithCluster()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L104", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L51", "_origin": "ast", - "community": 42, - "norm_label": "setupremotes()", - "id": "git_operations_setupremotes" + "id": "sync_sync_syncobjectwithcluster", + "community": 94, + "norm_label": "syncobjectwithcluster()" }, { - "label": "Repository", + "label": "ClusterAPI", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L104", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L51", "_origin": "ast", - "community": 42, - "norm_label": "repository", - "id": "project_clone_internal_git_operations_go_repository" + "id": "pkg_provision_sync_sync_go_clusterapi", + "community": 94, + "norm_label": "clusterapi" }, { - "label": "SetupSubmodules()", + "label": "syncObjectAfterRead()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L123", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L65", "_origin": "ast", - "community": 22, - "norm_label": "setupsubmodules()", - "id": "git_operations_setupsubmodules" + "id": "sync_sync_syncobjectafterread", + "community": 94, + "norm_label": "syncobjectafterread()" }, { - "label": "CheckoutReference()", + "label": "SyncUnrecognizedObjectWithCluster()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L136", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L106", "_origin": "ast", - "community": 22, - "norm_label": "checkoutreference()", - "id": "git_operations_checkoutreference" + "id": "sync_sync_syncunrecognizedobjectwithcluster", + "community": 94, + "norm_label": "syncunrecognizedobjectwithcluster()" }, { - "label": "checkoutLocalBranch()", + "label": "createObjectGeneric()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L171", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L152", "_origin": "ast", - "community": 22, - "norm_label": "checkoutlocalbranch()", - "id": "git_operations_checkoutlocalbranch" + "id": "sync_sync_createobjectgeneric", + "community": 94, + "norm_label": "createobjectgeneric()" }, { - "label": "checkoutRemoteBranch()", + "label": "updateObjectGeneric()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L185", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L173", "_origin": "ast", - "community": 22, - "norm_label": "checkoutremotebranch()", - "id": "git_operations_checkoutremotebranch" + "id": "sync_sync_updateobjectgeneric", + "community": 94, + "norm_label": "updateobjectgeneric()" }, { - "label": "checkoutTag()", + "label": "isMutableObject()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L194", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L199", "_origin": "ast", - "community": 22, - "norm_label": "checkouttag()", - "id": "git_operations_checkouttag" + "id": "sync_sync_ismutableobject", + "community": 94, + "norm_label": "ismutableobject()" }, { - "label": "checkoutCommit()", + "label": "deleteObject()", "file_type": "code", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L203", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "_origin": "ast", - "community": 22, - "norm_label": "checkoutcommit()", - "id": "git_operations_checkoutcommit" + "id": "sync_sync_deleteobject", + "community": 94, + "norm_label": "deleteobject()" }, { - "label": "setup.go", + "label": "Context", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "_origin": "ast", - "community": 42, - "norm_label": "setup.go", - "id": "git_setup" + "id": "pkg_provision_sync_sync_go_context", + "community": 94, + "norm_label": "context" }, { - "label": "SetupGitProject()", + "label": "Client", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L31", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "_origin": "ast", - "community": 42, - "norm_label": "setupgitproject()", - "id": "git_setup_setupgitproject" + "id": "pkg_provision_sync_sync_go_client", + "community": 94, + "norm_label": "client" }, { - "label": "Project", + "label": "printDiff()", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L31", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L214", "_origin": "ast", - "community": 42, - "norm_label": "project", - "id": "project_clone_internal_git_setup_go_project" + "id": "sync_sync_printdiff", + "community": 94, + "norm_label": "printdiff()" }, { - "label": "doInitialGitClone()", + "label": "Logger", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L46", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L214", "_origin": "ast", - "community": 42, - "norm_label": "doinitialgitclone()", - "id": "git_setup_doinitialgitclone" + "id": "pkg_provision_sync_sync_go_logger", + "community": 94, + "norm_label": "logger" }, { - "label": "delayBeforeRetry()", + "label": "update.go", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L105", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L1", "_origin": "ast", - "community": 42, - "norm_label": "delaybeforeretry()", - "id": "git_setup_delaybeforeretry" + "id": "sync_update", + "community": 67, + "norm_label": "update.go" }, { - "label": "setupRemotesForExistingProject()", + "label": "updateFunc", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L35", "_origin": "ast", - "community": 42, - "norm_label": "setupremotesforexistingproject()", - "id": "git_setup_setupremotesforexistingproject" + "id": "sync_updatefunc", + "community": 67, + "norm_label": "updatefunc" }, { - "label": "copyProjectFromTmpDir()", + "label": "defaultUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L125", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L37", "_origin": "ast", - "community": 42, - "norm_label": "copyprojectfromtmpdir()", - "id": "git_setup_copyprojectfromtmpdir" + "id": "sync_update_defaultupdatefunc", + "community": 67, + "norm_label": "defaultupdatefunc()" }, { - "label": "global.go", + "label": "Object", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L1", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L37", "_origin": "ast", - "community": 142, - "norm_label": "global.go", - "id": "internal_global" + "id": "pkg_provision_sync_update_go_object", + "community": 67, + "norm_label": "object" }, { - "label": "init()", + "label": "serviceUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L53", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L44", "_origin": "ast", - "community": 142, - "norm_label": "init()", - "id": "internal_global_init" + "id": "sync_update_serviceupdatefunc", + "community": 67, + "norm_label": "serviceupdatefunc()" }, { - "label": "GetAuthForHost()", + "label": "serviceAccountUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L85", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L56", "_origin": "ast", - "community": 142, - "norm_label": "getauthforhost()", - "id": "internal_global_getauthforhost" + "id": "sync_update_serviceaccountupdatefunc", + "community": 66, + "norm_label": "serviceaccountupdatefunc()" }, { - "label": "AuthMethod", + "label": "deploymentUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L85", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L72", "_origin": "ast", - "community": 142, - "norm_label": "authmethod", - "id": "authmethod" + "id": "sync_update_deploymentupdatefunc", + "community": 67, + "norm_label": "deploymentupdatefunc()" }, { - "label": "setupAuth()", + "label": "mergeMaps()", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L122", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L85", "_origin": "ast", - "community": 142, - "norm_label": "setupauth()", - "id": "internal_global_setupauth" + "id": "sync_update_mergemaps", + "community": 67, + "norm_label": "mergemaps()" }, { - "label": "parseCredentialsFile()", + "label": "getUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L135", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L96", "_origin": "ast", - "community": 142, - "norm_label": "parsecredentialsfile()", - "id": "internal_global_parsecredentialsfile" + "id": "sync_update_getupdatefunc", + "community": 67, + "norm_label": "getupdatefunc()" }, { - "label": "BasicAuth", + "label": "unrecognizedObjectUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/global.go", - "source_location": "L135", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L110", "_origin": "ast", - "community": 142, - "norm_label": "basicauth", - "id": "basicauth" + "id": "sync_update_unrecognizedobjectupdatefunc", + "community": 67, + "norm_label": "unrecognizedobjectupdatefunc()" }, { - "label": "execute.go", + "label": "update_test.go", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", + "source_file": "pkg/provision/sync/update_test.go", "source_location": "L1", "_origin": "ast", - "community": 22, - "norm_label": "execute.go", - "id": "shell_execute" + "id": "sync_update_test", + "community": 67, + "norm_label": "update_test.go" }, { - "label": "GitRefType", + "label": "TestGetUpdateFunc_Deployment()", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L24", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L25", "_origin": "ast", - "community": 22, - "norm_label": "gitreftype", - "id": "shell_gitreftype" + "id": "sync_update_test_testgetupdatefunc_deployment", + "community": 67, + "norm_label": "testgetupdatefunc_deployment()" }, { - "label": "GitCloneProject()", + "label": "T", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L36", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L25", "_origin": "ast", - "community": 22, - "norm_label": "gitcloneproject()", - "id": "shell_execute_gitcloneproject" + "id": "pkg_provision_sync_update_test_go_t", + "community": 67, + "norm_label": "t" }, { - "label": "GitSparseCloneProject()", + "label": "TestDeploymentUpdateFunc()", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L47", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L71", "_origin": "ast", - "community": 22, - "norm_label": "gitsparsecloneproject()", - "id": "shell_execute_gitsparsecloneproject" + "id": "sync_update_test_testdeploymentupdatefunc", + "community": 67, + "norm_label": "testdeploymentupdatefunc()" }, { - "label": "GitSetupSparseCheckout()", + "label": "TestDeploymentUpdateFunc_NilCluster()", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L59", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L170", "_origin": "ast", - "community": 22, - "norm_label": "gitsetupsparsecheckout()", - "id": "shell_execute_gitsetupsparsecheckout" + "id": "sync_update_test_testdeploymentupdatefunc_nilcluster", + "community": 67, + "norm_label": "testdeploymentupdatefunc_nilcluster()" }, { - "label": "GitFetchRemote()", + "label": "deployment.go", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L63", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L1", "_origin": "ast", - "community": 22, - "norm_label": "gitfetchremote()", - "id": "shell_execute_gitfetchremote" + "id": "workspace_deployment", + "community": 0, + "norm_label": "deployment.go" }, { - "label": "GitCheckoutRef()", + "label": "SyncDeploymentToCluster()", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L67", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "_origin": "ast", - "community": 22, - "norm_label": "gitcheckoutref()", - "id": "shell_execute_gitcheckoutref" + "id": "workspace_deployment_syncdeploymenttocluster", + "community": 0, + "norm_label": "syncdeploymenttocluster()" }, { - "label": "GitCheckoutBranch()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L71", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "_origin": "ast", - "community": 22, - "norm_label": "gitcheckoutbranch()", - "id": "shell_execute_gitcheckoutbranch" + "id": "pkg_provision_workspace_deployment_go_devworkspacewithconfig", + "community": 0, + "norm_label": "devworkspacewithconfig" }, { - "label": "GitCheckoutBranchLocal()", + "label": "PodAdditions", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L75", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "_origin": "ast", - "community": 22, - "norm_label": "gitcheckoutbranchlocal()", - "id": "shell_execute_gitcheckoutbranchlocal" + "id": "pkg_provision_workspace_deployment_go_podadditions", + "community": 0, + "norm_label": "podadditions" }, { - "label": "GitSetTrackingRemoteBranch()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L79", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "_origin": "ast", - "community": 22, - "norm_label": "gitsettrackingremotebranch()", - "id": "shell_execute_gitsettrackingremotebranch" + "id": "pkg_provision_workspace_deployment_go_clusterapi", + "community": 0, + "norm_label": "clusterapi" }, { - "label": "GitResolveReference()", + "label": "DeleteWorkspaceDeployment()", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L86", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "_origin": "ast", - "community": 22, - "norm_label": "gitresolvereference()", - "id": "shell_execute_gitresolvereference" + "id": "workspace_deployment_deleteworkspacedeployment", + "community": 0, + "norm_label": "deleteworkspacedeployment()" }, { - "label": "GitInitSubmodules()", + "label": "Context", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L102", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "_origin": "ast", - "community": 22, - "norm_label": "gitinitsubmodules()", - "id": "shell_execute_gitinitsubmodules" + "id": "pkg_provision_workspace_deployment_go_context", + "community": 0, + "norm_label": "context" }, { - "label": "executeCommand()", + "label": "Client", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L106", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "_origin": "ast", - "community": 22, - "norm_label": "executecommand()", - "id": "shell_execute_executecommand" + "id": "pkg_provision_workspace_deployment_go_client", + "community": 0, + "norm_label": "client" }, { - "label": "executeCommandSilent()", + "label": "ScaleDeploymentToZero()", "file_type": "code", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L113", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L115", "_origin": "ast", - "community": 22, - "norm_label": "executecommandsilent()", - "id": "shell_execute_executecommandsilent" + "id": "workspace_deployment_scaledeploymenttozero", + "community": 0, + "norm_label": "scaledeploymenttozero()" }, { - "label": "utils.go", + "label": "getSpecDeployment()", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "_origin": "ast", - "community": 42, - "norm_label": "utils.go", - "id": "internal_utils" + "id": "workspace_deployment_getspecdeployment", + "community": 0, + "norm_label": "getspecdeployment()" }, { - "label": "CheckProjectState()", + "label": "Toleration", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "_origin": "ast", - "community": 42, - "norm_label": "checkprojectstate()", - "id": "internal_utils_checkprojectstate" + "id": "pkg_provision_workspace_deployment_go_toleration", + "community": 0, + "norm_label": "toleration" }, { - "label": "Project", + "label": "Scheme", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "_origin": "ast", - "community": 42, - "norm_label": "project", - "id": "project_clone_internal_utils_go_project" + "id": "pkg_provision_workspace_deployment_go_scheme", + "community": 0, + "norm_label": "scheme" }, { - "label": "OpenRepo()", + "label": "Deployment", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L72", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "_origin": "ast", - "community": 42, - "norm_label": "openrepo()", - "id": "internal_utils_openrepo" + "id": "pkg_provision_workspace_deployment_go_deployment", + "community": 0, + "norm_label": "deployment" }, { - "label": "Repository", + "label": "getProgressDeadlineSeconds()", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L72", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L285", "_origin": "ast", - "community": 42, - "norm_label": "repository", - "id": "project_clone_internal_utils_go_repository" + "id": "workspace_deployment_getprogressdeadlineseconds", + "community": 0, + "norm_label": "getprogressdeadlineseconds()" }, { - "label": "DirExists()", + "label": "OperatorConfiguration", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L85", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L285", "_origin": "ast", - "community": 90, - "norm_label": "direxists()", - "id": "internal_utils_direxists" + "id": "pkg_provision_workspace_deployment_go_operatorconfiguration", + "community": 0, + "norm_label": "operatorconfiguration" }, { - "label": "checkSubPathProjectState()", + "label": "mergePodAdditions()", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L100", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L297", "_origin": "ast", - "community": 42, - "norm_label": "checksubpathprojectstate()", - "id": "internal_utils_checksubpathprojectstate" + "id": "workspace_deployment_mergepodadditions", + "community": 0, + "norm_label": "mergepodadditions()" }, { - "label": "GetAdditionalCerts()", + "label": "getWorkspaceSubpathVolumeMount()", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L124", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L362", "_origin": "ast", - "community": 102, - "norm_label": "getadditionalcerts()", - "id": "internal_utils_getadditionalcerts" + "id": "workspace_deployment_getworkspacesubpathvolumemount", + "community": 0, + "norm_label": "getworkspacesubpathvolumemount()" }, { - "label": "CertPool", + "label": "VolumeMount", "file_type": "code", - "source_file": "project-clone/internal/utils.go", - "source_location": "L124", - "_origin": "ast", - "community": 102, - "norm_label": "certpool", - "id": "project_clone_internal_utils_go_certpool" + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L362", + "_origin": "ast", + "id": "pkg_provision_workspace_deployment_go_volumemount", + "community": 0, + "norm_label": "volumemount" }, { - "label": "setup.go", + "label": "needsPVCWorkaround()", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L372", "_origin": "ast", - "community": 90, - "norm_label": "setup.go", - "id": "zip_setup" + "id": "workspace_deployment_needspvcworkaround", + "community": 0, + "norm_label": "needspvcworkaround()" }, { - "label": "SetupZipProject()", + "label": "getAdditionalDeploymentAnnotations()", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L384", "_origin": "ast", - "community": 90, - "norm_label": "setupzipproject()", - "id": "zip_setup_setupzipproject" + "id": "workspace_deployment_getadditionaldeploymentannotations", + "community": 0, + "norm_label": "getadditionaldeploymentannotations()" }, { - "label": "Project", + "label": "GetClusterDeployment()", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L402", "_origin": "ast", - "community": 90, - "norm_label": "project", - "id": "project_clone_internal_zip_setup_go_project" + "id": "workspace_deployment_getclusterdeployment", + "community": 0, + "norm_label": "getclusterdeployment()" }, { - "label": "Client", + "label": "networkpolicy.go", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L1", "_origin": "ast", - "community": 90, - "norm_label": "client", - "id": "project_clone_internal_zip_setup_go_client" + "id": "networkpolicy_networkpolicy", + "community": 12, + "norm_label": "networkpolicy.go" }, { - "label": "downloadZip()", + "label": "generateNetworkPolicy()", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L93", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "_origin": "ast", - "community": 90, - "norm_label": "downloadzip()", - "id": "zip_setup_downloadzip" + "id": "networkpolicy_networkpolicy_generatenetworkpolicy", + "community": 12, + "norm_label": "generatenetworkpolicy()" }, { - "label": "unzip()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L122", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "_origin": "ast", - "community": 90, - "norm_label": "unzip()", - "id": "zip_setup_unzip" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig", + "community": 12, + "norm_label": "devworkspacewithconfig" }, { - "label": "dropTopLevelFolder()", + "label": "NetworkPolicyConfig", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L193", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "_origin": "ast", - "community": 90, - "norm_label": "droptoplevelfolder()", - "id": "zip_setup_droptoplevelfolder" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicyconfig", + "community": 12, + "norm_label": "networkpolicyconfig" }, { - "label": "closeSafe()", + "label": "NetworkPolicy", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L232", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "_origin": "ast", - "community": 90, - "norm_label": "closesafe()", - "id": "zip_setup_closesafe" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicy", + "community": 12, + "norm_label": "networkpolicy" }, { - "label": "Closer", + "label": "normalizePorts()", "file_type": "code", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L232", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L85", "_origin": "ast", - "community": 90, - "norm_label": "closer", - "id": "closer" + "id": "networkpolicy_networkpolicy_normalizeports", + "community": 12, + "norm_label": "normalizeports()" }, { - "label": "main.go", + "label": "NetworkPolicyPort", "file_type": "code", - "source_file": "project-clone/main.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L85", "_origin": "ast", - "community": 102, - "norm_label": "main.go", - "id": "project_clone_main" + "id": "networkpolicyport", + "community": 12, + "norm_label": "networkpolicyport" }, { - "label": "main()", + "label": "ShouldProvision()", "file_type": "code", - "source_file": "project-clone/main.go", - "source_location": "L42", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L93", "_origin": "ast", - "community": 102, - "norm_label": "main()", - "id": "project_clone_main_main" + "id": "networkpolicy_networkpolicy_shouldprovision", + "community": 12, + "norm_label": "shouldprovision()" }, { - "label": "copyLogFileToProjectsRoot()", + "label": "SyncNetworkPolicy()", "file_type": "code", - "source_file": "project-clone/main.go", - "source_location": "L138", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L101", "_origin": "ast", - "community": 102, - "norm_label": "copylogfiletoprojectsroot()", - "id": "project_clone_main_copylogfiletoprojectsroot" + "id": "networkpolicy_networkpolicy_syncnetworkpolicy", + "community": 12, + "norm_label": "syncnetworkpolicy()" }, { - "label": "workspaces_test.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/cmd/workspaces_test.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L101", "_origin": "ast", - "community": 231, - "norm_label": "workspaces_test.go", - "id": "cmd_workspaces_test" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi", + "community": 12, + "norm_label": "clusterapi" }, { - "label": "TestWorkspaceController()", + "label": "CreateNetworkPolicy()", "file_type": "code", - "source_file": "test/e2e/cmd/workspaces_test.go", - "source_location": "L125", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L108", "_origin": "ast", - "community": 231, - "norm_label": "testworkspacecontroller()", - "id": "cmd_workspaces_test_testworkspacecontroller" + "id": "networkpolicy_networkpolicy_createnetworkpolicy", + "community": 12, + "norm_label": "createnetworkpolicy()" }, { - "label": "T", + "label": "DeleteNetworkPolicy()", "file_type": "code", - "source_file": "test/e2e/cmd/workspaces_test.go", - "source_location": "L125", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L126", "_origin": "ast", - "community": 231, - "norm_label": "t", - "id": "test_e2e_cmd_workspaces_test_go_t" + "id": "networkpolicy_networkpolicy_deletenetworkpolicy", + "community": 12, + "norm_label": "deletenetworkpolicy()" }, { - "label": "client.go", + "label": "networkpolicy_test.go", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", "source_location": "L1", "_origin": "ast", - "community": 89, - "norm_label": "client.go", - "id": "client_client" + "id": "networkpolicy_networkpolicy_test", + "community": 12, + "norm_label": "networkpolicy_test.go" }, { "label": "init()", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L41", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L49", "_origin": "ast", - "community": 89, - "norm_label": "init()", - "id": "client_client_init" + "id": "networkpolicy_networkpolicy_test_init", + "community": 12, + "norm_label": "init()" }, { - "label": "K8sClient", + "label": "getTestClusterAPI()", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L47", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L55", "_origin": "ast", - "community": 89, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_client_go_client_k8sclient" + "id": "networkpolicy_networkpolicy_test_gettestclusterapi", + "community": 12, + "norm_label": "gettestclusterapi()" }, { - "label": "Clientset", + "label": "T", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L48", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L55", "_origin": "ast", - "community": 89, - "norm_label": "clientset", - "id": "clientset" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t", + "community": 12, + "norm_label": "t" }, { - "label": "Client", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L49", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L55", "_origin": "ast", - "community": 89, - "norm_label": "client", - "id": "test_e2e_pkg_client_client_go_client" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_clusterapi", + "community": 12, + "norm_label": "clusterapi" }, { - "label": "NewK8sClientWithKubeConfig()", + "label": "getTestDevWorkspaceWithConfig()", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L54", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L65", "_origin": "ast", - "community": 89, - "norm_label": "newk8sclientwithkubeconfig()", - "id": "client_client_newk8sclientwithkubeconfig" + "id": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", + "community": 12, + "norm_label": "gettestdevworkspacewithconfig()" }, { - "label": "NewK8sClientWithToken()", + "label": "NetworkPolicyConfig", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L86", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L65", "_origin": "ast", - "community": 89, - "norm_label": "newk8sclientwithtoken()", - "id": "client_client_newk8sclientwithtoken" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicyconfig", + "community": 12, + "norm_label": "networkpolicyconfig" }, { - "label": ".Kube()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L124", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L65", "_origin": "ast", - "community": 89, - "norm_label": ".kube()", - "id": "client_k8sclient_kube" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_devworkspacewithconfig", + "community": 12, + "norm_label": "devworkspacewithconfig" }, { - "label": "Interface", + "label": "getEnabledNetworkPolicyConfig()", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L124", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L85", "_origin": "ast", - "community": 89, - "norm_label": "interface", - "id": "interface" + "id": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig", + "community": 12, + "norm_label": "getenablednetworkpolicyconfig()" }, { - "label": ".ControllerRuntimeClient()", + "label": "getNetworkPolicyFromCluster()", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L129", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L91", "_origin": "ast", - "community": 89, - "norm_label": ".controllerruntimeclient()", - "id": "client_k8sclient_controllerruntimeclient" + "id": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", + "community": 12, + "norm_label": "getnetworkpolicyfromcluster()" }, { - "label": "copyFile()", + "label": "NetworkPolicy", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L134", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L91", "_origin": "ast", - "community": 89, - "norm_label": "copyfile()", - "id": "client_client_copyfile" + "id": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicy", + "community": 12, + "norm_label": "networkpolicy" }, { - "label": "generateUniqPrefixForFile()", + "label": "TestGeneratedPolicySelectsOnlyItsOwnWorkspacePods()", "file_type": "code", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L148", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L104", "_origin": "ast", - "community": 89, - "norm_label": "generateuniqprefixforfile()", - "id": "client_client_generateuniqprefixforfile" + "id": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "community": 12, + "norm_label": "testgeneratedpolicyselectsonlyitsownworkspacepods()" }, { - "label": "devws.go", + "label": "TestUnsetIngressDeniesAllIngress()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L121", "_origin": "ast", - "community": 257, - "norm_label": "devws.go", - "id": "client_devws" + "id": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", + "community": 12, + "norm_label": "testunsetingressdeniesallingress()" }, { - "label": "K8sClient", + "label": "TestBothDirectionsNilDeniesAllTraffic()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L34", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L145", "_origin": "ast", - "community": 105, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_devws_go_client_k8sclient" + "id": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", + "community": 12, + "norm_label": "testbothdirectionsnildeniesalltraffic()" }, { - "label": ".UpdateDevWorkspaceStarted()", + "label": "TestSyncCreatesPolicyWhenEnabled()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L34", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L155", "_origin": "ast", - "community": 105, - "norm_label": ".updatedevworkspacestarted()", - "id": "client_k8sclient_updatedevworkspacestarted" + "id": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "community": 12, + "norm_label": "testsynccreatespolicywhenenabled()" }, { - "label": ".GetDevWsStatus()", + "label": "TestSyncDeletesPolicyWhenDisabled()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L58", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L176", "_origin": "ast", - "community": 105, - "norm_label": ".getdevwsstatus()", - "id": "client_k8sclient_getdevwsstatus" + "id": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "community": 12, + "norm_label": "testsyncdeletespolicywhendisabled()" }, { - "label": "DevWorkspaceStatus", + "label": "TestSyncIsTolerantOfMissingPolicyWhenDisabled()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L58", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L197", "_origin": "ast", - "community": 105, - "norm_label": "devworkspacestatus", - "id": "test_e2e_pkg_client_devws_go_devworkspacestatus" + "id": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", + "community": 12, + "norm_label": "testsyncistolerantofmissingpolicywhendisabled()" }, { - "label": ".WaitDevWsStatus()", + "label": "pull_secret_test.go", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L73", + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L1", "_origin": "ast", - "community": 105, - "norm_label": ".waitdevwsstatus()", - "id": "client_k8sclient_waitdevwsstatus" + "id": "workspace_pull_secret_test", + "community": 318, + "norm_label": "pull_secret_test.go" }, { - "label": "DevWorkspacePhase", + "label": "TestPullSecrets_TableDriven()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L73", + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L34", "_origin": "ast", - "community": 105, - "norm_label": "devworkspacephase", - "id": "test_e2e_pkg_client_devws_go_devworkspacephase" + "id": "workspace_pull_secret_test_testpullsecrets_tabledriven", + "community": 318, + "norm_label": "testpullsecrets_tabledriven()" }, { - "label": ".DeleteDevWorkspace()", + "label": "T", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L99", + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L34", "_origin": "ast", - "community": 105, - "norm_label": ".deletedevworkspace()", - "id": "client_k8sclient_deletedevworkspace" + "id": "pkg_provision_workspace_pull_secret_test_go_t", + "community": 318, + "norm_label": "t" }, { - "label": ".WaitForPVCDeleted()", + "label": "common.go", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L113", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L1", "_origin": "ast", - "community": 105, - "norm_label": ".waitforpvcdeleted()", - "id": "client_k8sclient_waitforpvcdeleted" + "id": "rbac_common", + "community": 57, + "norm_label": "common.go" }, { - "label": "Duration", + "label": "SyncRBAC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L113", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L27", "_origin": "ast", - "community": 105, - "norm_label": "duration", - "id": "test_e2e_pkg_client_devws_go_duration" + "id": "rbac_common_syncrbac", + "community": 57, + "norm_label": "syncrbac()" }, { - "label": ".DeleteDevWorkspaceAndWait()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L133", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L27", "_origin": "ast", - "community": 105, - "norm_label": ".deletedevworkspaceandwait()", - "id": "client_k8sclient_deletedevworkspaceandwait" + "id": "pkg_provision_workspace_rbac_common_go_devworkspacewithconfig", + "community": 57, + "norm_label": "devworkspacewithconfig" }, { - "label": "namespace.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L27", "_origin": "ast", - "community": 258, - "norm_label": "namespace.go", - "id": "client_namespace" + "id": "pkg_provision_workspace_rbac_common_go_clusterapi", + "community": 57, + "norm_label": "clusterapi" }, { - "label": "K8sClient", + "label": "common_test.go", "file_type": "code", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L1", "_origin": "ast", - "community": 195, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_namespace_go_client_k8sclient" + "id": "rbac_common_test", + "community": 27, + "norm_label": "common_test.go" }, { - "label": ".CreateNamespace()", + "label": "init()", "file_type": "code", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L51", "_origin": "ast", - "community": 195, - "norm_label": ".createnamespace()", - "id": "client_k8sclient_createnamespace" + "id": "rbac_common_test_init", + "community": 27, + "norm_label": "init()" }, { - "label": ".DeleteNamespace()", + "label": "TestSyncRBAC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L41", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L107", "_origin": "ast", - "community": 195, - "norm_label": ".deletenamespace()", - "id": "client_k8sclient_deletenamespace" + "id": "rbac_common_test_testsyncrbac", + "community": 34, + "norm_label": "testsyncrbac()" }, { - "label": ".WaitNamespaceIsTerminated()", + "label": "T", "file_type": "code", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L107", "_origin": "ast", - "community": 195, - "norm_label": ".waitnamespaceisterminated()", - "id": "client_k8sclient_waitnamespaceisterminated" + "id": "pkg_provision_workspace_rbac_common_test_go_t", + "community": 27, + "norm_label": "t" }, { - "label": "oc.go", + "label": "getTestClusterAPI()", "file_type": "code", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L175", "_origin": "ast", - "community": 259, - "norm_label": "oc.go", - "id": "client_oc" + "id": "rbac_common_test_gettestclusterapi", + "community": 27, + "norm_label": "gettestclusterapi()" }, { - "label": "K8sClient", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L175", "_origin": "ast", - "community": 15, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_oc_go_client_k8sclient" + "id": "pkg_provision_workspace_rbac_common_test_go_clusterapi", + "community": 27, + "norm_label": "clusterapi" }, { - "label": ".OcApplyWorkspace()", + "label": "getTestDevWorkspace()", "file_type": "code", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L185", "_origin": "ast", - "community": 15, - "norm_label": ".ocapplyworkspace()", - "id": "client_k8sclient_ocapplyworkspace" + "id": "rbac_common_test_gettestdevworkspace", + "community": 32, + "norm_label": "gettestdevworkspace()" }, { - "label": ".ExecCommandInContainer()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L48", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L185", "_origin": "ast", - "community": 15, - "norm_label": ".execcommandincontainer()", - "id": "client_k8sclient_execcommandincontainer" + "id": "pkg_provision_workspace_rbac_common_test_go_devworkspacewithconfig", + "community": 27, + "norm_label": "devworkspacewithconfig" }, { - "label": ".GetLogsForContainer()", + "label": "getTestDevWorkspaceWithAttributes()", "file_type": "code", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L60", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L201", "_origin": "ast", - "community": 15, - "norm_label": ".getlogsforcontainer()", - "id": "client_k8sclient_getlogsforcontainer" + "id": "rbac_common_test_gettestdevworkspacewithattributes", + "community": 27, + "norm_label": "gettestdevworkspacewithattributes()" }, { - "label": "pod.go", + "label": "finalize.go", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", + "source_file": "pkg/provision/workspace/rbac/finalize.go", "source_location": "L1", "_origin": "ast", - "community": 260, - "norm_label": "pod.go", - "id": "client_pod" + "id": "rbac_finalize", + "community": 38, + "norm_label": "finalize.go" }, { - "label": "K8sClient", + "label": "FinalizeRBAC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L30", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L26", "_origin": "ast", - "community": 79, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_pod_go_client_k8sclient" + "id": "rbac_finalize_finalizerbac", + "community": 38, + "norm_label": "finalizerbac()" }, { - "label": ".WaitForPodRunningByLabel()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L30", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L26", "_origin": "ast", - "community": 79, - "norm_label": ".waitforpodrunningbylabel()", - "id": "client_k8sclient_waitforpodrunningbylabel" + "id": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig", + "community": 38, + "norm_label": "devworkspacewithconfig" }, { - "label": ".WaitForRunningPodBySelector()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L49", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L26", "_origin": "ast", - "community": 79, - "norm_label": ".waitforrunningpodbyselector()", - "id": "client_k8sclient_waitforrunningpodbyselector" + "id": "pkg_provision_workspace_rbac_finalize_go_clusterapi", + "community": 38, + "norm_label": "clusterapi" }, { - "label": "Duration", + "label": "finalizeSCCRBAC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L49", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L59", "_origin": "ast", - "community": 79, - "norm_label": "duration", - "id": "test_e2e_pkg_client_pod_go_duration" + "id": "rbac_finalize_finalizesccrbac", + "community": 38, + "norm_label": "finalizesccrbac()" }, { - "label": ".ListPods()", + "label": "finalizeRegistryRBAC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L70", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L83", "_origin": "ast", - "community": 79, - "norm_label": ".listpods()", - "id": "client_k8sclient_listpods" + "id": "rbac_finalize_finalizeregistryrbac", + "community": 38, + "norm_label": "finalizeregistryrbac()" }, { - "label": "PodList", + "label": "countNonDeletedWorkspaces()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L70", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L96", "_origin": "ast", - "community": 79, - "norm_label": "podlist", - "id": "test_e2e_pkg_client_pod_go_podlist" + "id": "rbac_finalize_countnondeletedworkspaces", + "community": 38, + "norm_label": "countnondeletedworkspaces()" }, { - "label": ".waitForPodRunning()", + "label": "countNonDeletedWorkspacesUsingSCC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L82", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L115", "_origin": "ast", - "community": 79, - "norm_label": ".waitforpodrunning()", - "id": "client_k8sclient_waitforpodrunning" + "id": "rbac_finalize_countnondeletedworkspacesusingscc", + "community": 38, + "norm_label": "countnondeletedworkspacesusingscc()" }, { - "label": ".isPodRunning()", + "label": "finalize_test.go", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L88", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L1", "_origin": "ast", - "community": 79, - "norm_label": ".ispodrunning()", - "id": "client_k8sclient_ispodrunning" + "id": "rbac_finalize_test", + "community": 32, + "norm_label": "finalize_test.go" }, { - "label": "ConditionFunc", + "label": "TestDeletesRoleAndRolebindingWhenLastWorkspaceIsDeleted()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L88", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L32", "_origin": "ast", - "community": 79, - "norm_label": "conditionfunc", - "id": "conditionfunc" + "id": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", + "community": 32, + "norm_label": "testdeletesroleandrolebindingwhenlastworkspaceisdeleted()" }, { - "label": ".GetPodNameBySelector()", + "label": "T", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L106", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L32", "_origin": "ast", - "community": 79, - "norm_label": ".getpodnamebyselector()", - "id": "client_k8sclient_getpodnamebyselector" + "id": "pkg_provision_workspace_rbac_finalize_test_go_t", + "community": 32, + "norm_label": "t" }, { - "label": ".WaitForPodContainerToReady()", + "label": "TestDeletesRoleAndRolebindingWhenAllWorkspacesAreDeleted()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L124", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L53", "_origin": "ast", - "community": 79, - "norm_label": ".waitforpodcontainertoready()", - "id": "client_k8sclient_waitforpodcontainertoready" + "id": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", + "community": 32, + "norm_label": "testdeletesroleandrolebindingwhenallworkspacesaredeleted()" }, { - "label": ".IsPodContainerReady()", + "label": "TestShouldRemoveWorkspaceSAFromRolebindingWhenDeleted()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L146", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L78", "_origin": "ast", - "community": 79, - "norm_label": ".ispodcontainerready()", - "id": "client_k8sclient_ispodcontainerready" + "id": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "community": 32, + "norm_label": "testshouldremoveworkspacesafromrolebindingwhendeleted()" }, { - "label": "Pod", + "label": "TestFinalizeDoesNothingWhenRolebindingDoesNotExist()", "file_type": "code", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L146", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L116", "_origin": "ast", - "community": 79, - "norm_label": "pod", - "id": "test_e2e_pkg_client_pod_go_pod" + "id": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", + "community": 32, + "norm_label": "testfinalizedoesnothingwhenrolebindingdoesnotexist()" }, { - "label": "rbac.go", + "label": "TestShouldRemoveWorkspaceSAFromRegistryRolebindingWhenDeletedOnOpenShift()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L136", "_origin": "ast", - "community": 261, - "norm_label": "rbac.go", - "id": "client_rbac" + "id": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "community": 32, + "norm_label": "testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift()" }, { - "label": "K8sClient", + "label": "TestDeletesRegistryRolebindingWhenLastWorkspaceIsDeletedOnOpenShift()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L174", "_origin": "ast", - "community": 144, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_rbac_go_client_k8sclient" + "id": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "community": 32, + "norm_label": "testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift()" }, { - "label": ".CreateSA()", + "label": "TestFinalizeDoesNothingWhenRegistryRolebindingDoesNotExistOnOpenShift()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L204", "_origin": "ast", - "community": 144, - "norm_label": ".createsa()", - "id": "client_k8sclient_createsa" + "id": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", + "community": 32, + "norm_label": "testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift()" }, { - "label": ".AssignRoleToSA()", + "label": "TestDeletesSCCRoleAndRolebindingWhenLastWorkspaceIsDeleted()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L215", "_origin": "ast", - "community": 144, - "norm_label": ".assignroletosa()", - "id": "client_k8sclient_assignroletosa" + "id": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", + "community": 32, + "norm_label": "testdeletessccroleandrolebindingwhenlastworkspaceisdeleted()" }, { - "label": ".CheckK8sVersion()", + "label": "TestDeletesSCCRoleAndRolebindingWhenAllWorkspacesAreDeleted()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L70", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L237", "_origin": "ast", - "community": 144, - "norm_label": ".checkk8sversion()", - "id": "client_k8sclient_checkk8sversion" + "id": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", + "community": 32, + "norm_label": "testdeletessccroleandrolebindingwhenallworkspacesaredeleted()" }, { - "label": ".CreateSAToken()", + "label": "TestShouldRemoveWorkspaceSAFromSCCRolebindingWhenDeleted()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L78", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L262", "_origin": "ast", - "community": 144, - "norm_label": ".createsatoken()", - "id": "client_k8sclient_createsatoken" + "id": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "community": 32, + "norm_label": "testshouldremoveworkspacesafromsccrolebindingwhendeleted()" }, { - "label": ".WaitSAToken()", + "label": "TestFinalizeDoesNothingWhenSCCRolebindingDoesNotExist()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L90", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L300", "_origin": "ast", - "community": 144, - "norm_label": ".waitsatoken()", - "id": "client_k8sclient_waitsatoken" + "id": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", + "community": 32, + "norm_label": "testfinalizedoesnothingwhensccrolebindingdoesnotexist()" }, { - "label": ".getSAToken()", + "label": "newRegistryImagePullerRolebinding()", "file_type": "code", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L120", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L320", "_origin": "ast", - "community": 144, - "norm_label": ".getsatoken()", - "id": "client_k8sclient_getsatoken" + "id": "rbac_finalize_test_newregistryimagepullerrolebinding", + "community": 32, + "norm_label": "newregistryimagepullerrolebinding()" }, { - "label": "webhooks.go", + "label": "RoleBinding", "file_type": "code", - "source_file": "test/e2e/pkg/client/webhooks.go", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L320", + "_origin": "ast", + "id": "pkg_provision_workspace_rbac_finalize_test_go_rolebinding", + "community": 32, + "norm_label": "rolebinding" + }, + { + "label": "migrate.go", + "file_type": "code", + "source_file": "pkg/provision/workspace/rbac/migrate.go", "source_location": "L1", "_origin": "ast", - "community": 262, - "norm_label": "webhooks.go", - "id": "client_webhooks" + "id": "rbac_migrate", + "community": 57, + "norm_label": "migrate.go" }, { - "label": "K8sClient", + "label": "cleanupDeprecatedRBAC()", "file_type": "code", - "source_file": "test/e2e/pkg/client/webhooks.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L37", "_origin": "ast", - "community": 241, - "norm_label": "k8sclient", - "id": "test_e2e_pkg_client_webhooks_go_client_k8sclient" + "id": "rbac_migrate_cleanupdeprecatedrbac", + "community": 57, + "norm_label": "cleanupdeprecatedrbac()" }, { - "label": ".WaitForMutatingWebhooksConfigurations()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/pkg/client/webhooks.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L37", "_origin": "ast", - "community": 241, - "norm_label": ".waitformutatingwebhooksconfigurations()", - "id": "client_k8sclient_waitformutatingwebhooksconfigurations" + "id": "pkg_provision_workspace_rbac_migrate_go_clusterapi", + "community": 57, + "norm_label": "clusterapi" }, { - "label": "config.go", + "label": "migrate_test.go", "file_type": "code", - "source_file": "test/e2e/pkg/config/config.go", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", "source_location": "L1", "_origin": "ast", - "community": 283, - "norm_label": "config.go", - "id": "test_e2e_pkg_config_config_go_config_config" + "id": "rbac_migrate_test", + "community": 57, + "norm_label": "migrate_test.go" }, { - "label": "metadata.go", + "label": "TestRemovesOldRBACWhenNewRBACNotPresent()", "file_type": "code", - "source_file": "test/e2e/pkg/metadata/metadata.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L27", "_origin": "ast", - "community": 245, - "norm_label": "metadata.go", - "id": "test_e2e_pkg_metadata_metadata_go_metadata_metadata" + "id": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", + "community": 57, + "norm_label": "testremovesoldrbacwhennewrbacnotpresent()" }, { - "label": "OperatorNamespace", + "label": "T", "file_type": "code", - "source_file": "test/e2e/pkg/metadata/metadata.go", - "source_location": "L18", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L27", "_origin": "ast", - "community": 245, - "norm_label": "operatornamespace", - "id": "metadata_operatornamespace" + "id": "pkg_provision_workspace_rbac_migrate_test_go_t", + "community": 57, + "norm_label": "t" }, { - "label": "automount_volume_sanitization_tests.go", + "label": "TestDoesNotRemoveOldRBACWhenNewRBACPresent()", "file_type": "code", - "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L60", "_origin": "ast", - "community": 239, - "norm_label": "automount_volume_sanitization_tests.go", - "id": "tests_automount_volume_sanitization_tests" + "id": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", + "community": 57, + "norm_label": "testdoesnotremoveoldrbacwhennewrbacpresent()" }, { - "label": "getPodVolumeNames()", + "label": "TestRemovesOldRolebindingWhenNewRolebindingNotPresent()", "file_type": "code", - "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", - "source_location": "L191", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L79", "_origin": "ast", - "community": 239, - "norm_label": "getpodvolumenames()", - "id": "tests_automount_volume_sanitization_tests_getpodvolumenames" + "id": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", + "community": 57, + "norm_label": "testremovesoldrolebindingwhennewrolebindingnotpresent()" }, { - "label": "Pod", + "label": "TestRemovesOldRoleWhenNewRoleNotPresent()", "file_type": "code", - "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", - "source_location": "L191", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L106", "_origin": "ast", - "community": 239, - "norm_label": "pod", - "id": "test_e2e_pkg_tests_automount_volume_sanitization_tests_go_pod" + "id": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", + "community": 57, + "norm_label": "testremovesoldrolewhennewrolenotpresent()" }, { - "label": "custom_init_container_tests.go", + "label": "role.go", "file_type": "code", - "source_file": "test/e2e/pkg/tests/custom_init_container_tests.go", + "source_file": "pkg/provision/workspace/rbac/role.go", "source_location": "L1", "_origin": "ast", - "community": 251, - "norm_label": "custom_init_container_tests.go", - "id": "tests_custom_init_container_tests" + "id": "rbac_role", + "community": 27, + "norm_label": "role.go" }, { - "label": "getProjectRoot()", + "label": "syncRoles()", "file_type": "code", - "source_file": "test/e2e/pkg/tests/custom_init_container_tests.go", - "source_location": "L36", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L30", "_origin": "ast", - "community": 251, - "norm_label": "getprojectroot()", - "id": "tests_custom_init_container_tests_getprojectroot" + "id": "rbac_role_syncroles", + "community": 27, + "norm_label": "syncroles()" }, { - "label": "devworkspace_debug_poststart_tests.go", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "test/e2e/pkg/tests/devworkspace_debug_poststart_tests.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L30", "_origin": "ast", - "community": 284, - "norm_label": "devworkspace_debug_poststart_tests.go", - "id": "tests_devworkspace_debug_poststart_tests" + "id": "pkg_provision_workspace_rbac_role_go_devworkspacewithconfig", + "community": 27, + "norm_label": "devworkspacewithconfig" }, { - "label": "devworkspace_restart_tests.go", + "label": "ClusterAPI", "file_type": "code", - "source_file": "test/e2e/pkg/tests/devworkspace_restart_tests.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L30", "_origin": "ast", - "community": 285, - "norm_label": "devworkspace_restart_tests.go", - "id": "tests_devworkspace_restart_tests" + "id": "pkg_provision_workspace_rbac_role_go_clusterapi", + "community": 38, + "norm_label": "clusterapi" }, { - "label": "devworkspaces_tests.go", + "label": "deleteRole()", "file_type": "code", - "source_file": "test/e2e/pkg/tests/devworkspaces_tests.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L57", "_origin": "ast", - "community": 286, - "norm_label": "devworkspaces_tests.go", - "id": "tests_devworkspaces_tests" + "id": "rbac_role_deleterole", + "community": 38, + "norm_label": "deleterole()" }, { - "label": "update_devworkspace_crds.sh", + "label": "generateDefaultRole()", "file_type": "code", - "source_file": "update_devworkspace_crds.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "file" - }, + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L78", "_origin": "ast", - "community": 250, - "norm_label": "update_devworkspace_crds.sh", - "id": "update_devworkspace_crds" + "id": "rbac_role_generatedefaultrole", + "community": 27, + "norm_label": "generatedefaultrole()" }, { - "label": "update_devworkspace_crds.sh script", + "label": "Role", "file_type": "code", - "source_file": "update_devworkspace_crds.sh", - "source_location": "L1", - "metadata": { - "language": "bash", - "kind": "bash_entrypoint" - }, + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L78", "_origin": "ast", - "community": 250, - "norm_label": "update_devworkspace_crds.sh script", - "id": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_update_devworkspace_crds_sh__entry" + "id": "pkg_provision_workspace_rbac_role_go_role", + "community": 27, + "norm_label": "role" }, { - "label": "version.go", + "label": "generateUseRoleForSCC()", "file_type": "code", - "source_file": "version/version.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L135", "_origin": "ast", - "community": 290, - "norm_label": "version.go", - "id": "version_version" + "id": "rbac_role_generateuseroleforscc", + "community": 27, + "norm_label": "generateuseroleforscc()" }, { - "label": "main.go", + "label": "role_test.go", "file_type": "code", - "source_file": "webhook/main.go", + "source_file": "pkg/provision/workspace/rbac/role_test.go", "source_location": "L1", "_origin": "ast", - "community": 48, - "norm_label": "main.go", - "id": "webhook_main" + "id": "rbac_role_test", + "community": 27, + "norm_label": "role_test.go" }, { - "label": "init()", + "label": "TestCreatesRoleIfNotExists()", "file_type": "code", - "source_file": "webhook/main.go", - "source_location": "L68", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L28", "_origin": "ast", - "community": 140, - "norm_label": "init()", - "id": "webhook_main_init" + "id": "rbac_role_test_testcreatesroleifnotexists", + "community": 27, + "norm_label": "testcreatesroleifnotexists()" }, { - "label": "main()", + "label": "T", "file_type": "code", - "source_file": "webhook/main.go", - "source_location": "L87", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L28", "_origin": "ast", - "community": 48, - "norm_label": "main()", - "id": "webhook_main_main" + "id": "pkg_provision_workspace_rbac_role_test_go_t", + "community": 27, + "norm_label": "t" }, { - "label": "createWebhooks()", + "label": "TestDoesNothingIfRoleAlreadyInSync()", "file_type": "code", - "source_file": "webhook/main.go", - "source_location": "L217", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L47", "_origin": "ast", - "community": 48, - "norm_label": "createwebhooks()", - "id": "webhook_main_createwebhooks" + "id": "rbac_role_test_testdoesnothingifrolealreadyinsync", + "community": 27, + "norm_label": "testdoesnothingifrolealreadyinsync()" }, { - "label": "Manager", + "label": "TestRejectsSCCRoleWhenAnnotationMismatches()", "file_type": "code", - "source_file": "webhook/main.go", - "source_location": "L217", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L68", "_origin": "ast", - "community": 48, - "norm_label": "manager", - "id": "webhook_main_go_manager" + "id": "rbac_role_test_testrejectssccrolewhenannotationmismatches", + "community": 27, + "norm_label": "testrejectssccrolewhenannotationmismatches()" }, { - "label": "setupConfigCacheWatcher()", + "label": "TestRejectsSCCRoleWhenAnnotationEmpty()", "file_type": "code", - "source_file": "webhook/main.go", - "source_location": "L231", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L87", "_origin": "ast", - "community": 48, - "norm_label": "setupconfigcachewatcher()", - "id": "webhook_main_setupconfigcachewatcher" + "id": "rbac_role_test_testrejectssccrolewhenannotationempty", + "community": 27, + "norm_label": "testrejectssccrolewhenannotationempty()" }, { - "label": "server.go", + "label": "TestCreatesSCCRoleIfNotExists()", "file_type": "code", - "source_file": "webhook/server/server.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L106", "_origin": "ast", - "community": 98, - "norm_label": "server.go", - "id": "server_server" + "id": "rbac_role_test_testcreatessccroleifnotexists", + "community": 27, + "norm_label": "testcreatessccroleifnotexists()" }, { - "label": "ConfigureWebhookServer()", + "label": "TestDoesNothingIfSCCRoleAlreadyInSync()", "file_type": "code", - "source_file": "webhook/server/server.go", - "source_location": "L73", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L129", "_origin": "ast", - "community": 98, - "norm_label": "configurewebhookserver()", - "id": "server_server_configurewebhookserver" + "id": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", + "community": 27, + "norm_label": "testdoesnothingifsccrolealreadyinsync()" }, { - "label": "Manager", + "label": "rolebinding.go", "file_type": "code", - "source_file": "webhook/server/server.go", - "source_location": "L73", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L1", "_origin": "ast", - "community": 98, - "norm_label": "manager", - "id": "webhook_server_server_go_manager" + "id": "rbac_rolebinding", + "community": 38, + "norm_label": "rolebinding.go" }, { - "label": "GetWebhookServer()", + "label": "syncRolebindings()", "file_type": "code", - "source_file": "webhook/server/server.go", - "source_location": "L104", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L31", "_origin": "ast", - "community": 98, - "norm_label": "getwebhookserver()", - "id": "server_server_getwebhookserver" + "id": "rbac_rolebinding_syncrolebindings", + "community": 34, + "norm_label": "syncrolebindings()" }, { - "label": "Server", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "webhook/server/server.go", - "source_location": "L104", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L31", "_origin": "ast", - "community": 98, - "norm_label": "server", - "id": "server" + "id": "pkg_provision_workspace_rbac_rolebinding_go_devworkspacewithconfig", + "community": 34, + "norm_label": "devworkspacewithconfig" }, { - "label": "IsSetUp()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "webhook/server/server.go", - "source_location": "L109", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L31", "_origin": "ast", - "community": 98, - "norm_label": "issetup()", - "id": "server_server_issetup" + "id": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi", + "community": 38, + "norm_label": "clusterapi" }, { - "label": "annotations.go", + "label": "deleteRolebinding()", "file_type": "code", - "source_file": "webhook/workspace/annotations.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L65", "_origin": "ast", - "community": 44, - "norm_label": "annotations.go", - "id": "workspace_annotations" + "id": "rbac_rolebinding_deleterolebinding", + "community": 38, + "norm_label": "deleterolebinding()" }, { - "label": "getWebhookAnnotations()", + "label": "addServiceAccountToRolebinding()", "file_type": "code", - "source_file": "webhook/workspace/annotations.go", - "source_location": "L24", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L86", "_origin": "ast", - "community": 44, - "norm_label": "getwebhookannotations()", - "id": "workspace_annotations_getwebhookannotations" + "id": "rbac_rolebinding_addserviceaccounttorolebinding", + "community": 38, + "norm_label": "addserviceaccounttorolebinding()" }, { - "label": "annotations_test.go", + "label": "removeServiceAccountFromRolebinding()", "file_type": "code", - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L117", "_origin": "ast", - "community": 44, - "norm_label": "annotations_test.go", - "id": "workspace_annotations_test" + "id": "rbac_rolebinding_removeserviceaccountfromrolebinding", + "community": 38, + "norm_label": "removeserviceaccountfromrolebinding()" }, { - "label": "TestGetWebhookAnnotationsWithOpenShift()", + "label": "generateDefaultRolebinding()", "file_type": "code", - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L25", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L151", "_origin": "ast", - "community": 44, - "norm_label": "testgetwebhookannotationswithopenshift()", - "id": "workspace_annotations_test_testgetwebhookannotationswithopenshift" + "id": "rbac_rolebinding_generatedefaultrolebinding", + "community": 38, + "norm_label": "generatedefaultrolebinding()" }, { - "label": "T", + "label": "RoleBinding", "file_type": "code", - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L25", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L151", "_origin": "ast", - "community": 44, - "norm_label": "t", - "id": "webhook_workspace_annotations_test_go_t" + "id": "pkg_provision_workspace_rbac_rolebinding_go_rolebinding", + "community": 38, + "norm_label": "rolebinding" }, { - "label": "TestGetWebhookAnnotationsWithKubernetes()", + "label": "rolebindingHasSubject()", "file_type": "code", - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L167", "_origin": "ast", - "community": 44, - "norm_label": "testgetwebhookannotationswithkubernetes()", - "id": "workspace_annotations_test_testgetwebhookannotationswithkubernetes" + "id": "rbac_rolebinding_rolebindinghassubject", + "community": 38, + "norm_label": "rolebindinghassubject()" }, { - "label": "config.go", + "label": "rolebinding_test.go", "file_type": "code", - "source_file": "webhook/workspace/config.go", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", "source_location": "L1", "_origin": "ast", - "community": 62, - "norm_label": "config.go", - "id": "workspace_config" + "id": "rbac_rolebinding_test", + "community": 34, + "norm_label": "rolebinding_test.go" }, { - "label": "Configure()", + "label": "TestCreatesRolebindingIfNotExists()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L28", "_origin": "ast", - "community": 62, - "norm_label": "configure()", - "id": "workspace_config_configure" + "id": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "community": 34, + "norm_label": "testcreatesrolebindingifnotexists()" }, { - "label": "Context", + "label": "T", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L28", "_origin": "ast", - "community": 62, - "norm_label": "context", - "id": "webhook_workspace_config_go_context" + "id": "pkg_provision_workspace_rbac_rolebinding_test_go_t", + "community": 34, + "norm_label": "t" }, { - "label": "Manager", + "label": "TestAddsMultipleSubjectsToRolebinding()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L50", "_origin": "ast", - "community": 62, - "norm_label": "manager", - "id": "webhook_workspace_config_go_manager" + "id": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "community": 34, + "norm_label": "testaddsmultiplesubjectstorolebinding()" }, { - "label": "getMutatingWebhook()", + "label": "TestCreatesSCCRolebindingIfNotExists()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L82", "_origin": "ast", - "community": 62, - "norm_label": "getmutatingwebhook()", - "id": "workspace_config_getmutatingwebhook" + "id": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "community": 34, + "norm_label": "testcreatessccrolebindingifnotexists()" }, { - "label": "Client", + "label": "TestAddsMultipleSubjectsToSCCRolebinding()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L112", "_origin": "ast", - "community": 62, - "norm_label": "client", - "id": "webhook_workspace_config_go_client" + "id": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "community": 34, + "norm_label": "testaddsmultiplesubjectstosccrolebinding()" }, { - "label": "MutatingWebhookConfiguration", + "label": "TestCreatesRegistryImagePullerRolebindingOnOpenShift()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L160", "_origin": "ast", - "community": 62, - "norm_label": "mutatingwebhookconfiguration", - "id": "webhook_workspace_config_go_mutatingwebhookconfiguration" + "id": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "community": 34, + "norm_label": "testcreatesregistryimagepullerrolebindingonopenshift()" }, { - "label": "getValidateWebhook()", + "label": "TestDoesNotCreateRegistryImagePullerRolebindingOnKubernetes()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L128", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L199", "_origin": "ast", - "community": 62, - "norm_label": "getvalidatewebhook()", - "id": "workspace_config_getvalidatewebhook" + "id": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", + "community": 34, + "norm_label": "testdoesnotcreateregistryimagepullerrolebindingonkubernetes()" }, { - "label": "ValidatingWebhookConfiguration", + "label": "testHasSubject()", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L128", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L224", "_origin": "ast", - "community": 62, - "norm_label": "validatingwebhookconfiguration", - "id": "webhook_workspace_config_go_validatingwebhookconfiguration" + "id": "rbac_rolebinding_test_testhassubject", + "community": 34, + "norm_label": "testhassubject()" }, { - "label": "controllerSAUID()", + "label": "RoleBinding", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L137", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L224", "_origin": "ast", - "community": 62, - "norm_label": "controllersauid()", - "id": "workspace_config_controllersauid" + "id": "pkg_provision_workspace_rbac_rolebinding_test_go_rolebinding", + "community": 34, + "norm_label": "rolebinding" }, { - "label": "createClient()", + "label": "routing.go", "file_type": "code", - "source_file": "webhook/workspace/config.go", - "source_location": "L161", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L1", "_origin": "ast", - "community": 62, - "norm_label": "createclient()", - "id": "workspace_config_createclient" + "id": "workspace_routing", + "community": 11, + "norm_label": "routing.go" }, { - "label": "access_control.go", + "label": "SyncRoutingToCluster()", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "_origin": "ast", - "community": 270, - "norm_label": "access_control.go", - "id": "handler_access_control" + "id": "workspace_routing_syncroutingtocluster", + "community": 11, + "norm_label": "syncroutingtocluster()" }, { - "label": "WebhookHandler", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "_origin": "ast", - "community": 151, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_access_control_go_handler_webhookhandler" + "id": "pkg_provision_workspace_routing_go_devworkspacewithconfig", + "community": 11, + "norm_label": "devworkspacewithconfig" }, { - "label": ".validateUserPermissions()", + "label": "ClusterAPI", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "_origin": "ast", - "community": 151, - "norm_label": ".validateuserpermissions()", - "id": "handler_webhookhandler_validateuserpermissions" + "id": "pkg_provision_workspace_routing_go_clusterapi", + "community": 11, + "norm_label": "clusterapi" }, { - "label": "Context", + "label": "PodAdditions", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "_origin": "ast", - "community": 151, - "norm_label": "context", - "id": "webhook_workspace_handler_access_control_go_context" + "id": "pkg_provision_workspace_routing_go_podadditions", + "community": 11, + "norm_label": "podadditions" }, { - "label": "Request", + "label": "ExposedEndpointList", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "_origin": "ast", - "community": 151, - "norm_label": "request", - "id": "webhook_workspace_handler_access_control_go_request" + "id": "pkg_provision_workspace_routing_go_exposedendpointlist", + "community": 11, + "norm_label": "exposedendpointlist" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "getSpecRouting()", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L77", "_origin": "ast", - "community": 151, - "norm_label": "devworkspacetemplatespec", - "id": "webhook_workspace_handler_access_control_go_devworkspacetemplatespec" + "id": "workspace_routing_getspecrouting", + "community": 11, + "norm_label": "getspecrouting()" }, { - "label": "DevWorkspace", + "label": "Scheme", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L77", "_origin": "ast", - "community": 151, - "norm_label": "devworkspace", - "id": "webhook_workspace_handler_access_control_go_devworkspace" + "id": "pkg_provision_workspace_routing_go_scheme", + "community": 11, + "norm_label": "scheme" }, { - "label": ".validateOpenShiftSCC()", + "label": "DevWorkspaceRouting", "file_type": "code", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L88", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L77", "_origin": "ast", - "community": 151, - "norm_label": ".validateopenshiftscc()", - "id": "handler_webhookhandler_validateopenshiftscc" + "id": "pkg_provision_workspace_routing_go_devworkspacerouting", + "community": 11, + "norm_label": "devworkspacerouting" }, { - "label": "attributes.go", + "label": "routing_generation_test.go", "file_type": "code", - "source_file": "webhook/workspace/handler/attributes.go", + "source_file": "pkg/provision/workspace/routing_generation_test.go", "source_location": "L1", "_origin": "ast", - "community": 92, - "norm_label": "attributes.go", - "id": "handler_attributes" + "id": "workspace_routing_generation_test", + "community": 11, + "norm_label": "routing_generation_test.go" }, { - "label": "checkMultipleContainerContributionTargets()", + "label": "TestSyncRoutingToClusterFailedGenerationBehavior()", "file_type": "code", - "source_file": "webhook/workspace/handler/attributes.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L37", "_origin": "ast", - "community": 92, - "norm_label": "checkmultiplecontainercontributiontargets()", - "id": "handler_attributes_checkmultiplecontainercontributiontargets" + "id": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "community": 11, + "norm_label": "testsyncroutingtoclusterfailedgenerationbehavior()" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "T", "file_type": "code", - "source_file": "webhook/workspace/handler/attributes.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L37", "_origin": "ast", - "community": 92, - "norm_label": "devworkspacetemplatespec", - "id": "webhook_workspace_handler_attributes_go_devworkspacetemplatespec" + "id": "pkg_provision_workspace_routing_generation_test_go_t", + "community": 11, + "norm_label": "t" }, { - "label": "deployment.go", + "label": "serviceaccount.go", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", + "source_file": "pkg/provision/workspace/serviceaccount.go", "source_location": "L1", "_origin": "ast", - "community": 271, - "norm_label": "deployment.go", - "id": "handler_deployment" + "id": "workspace_serviceaccount", + "community": 99, + "norm_label": "serviceaccount.go" }, { - "label": "WebhookHandler", + "label": "SyncServiceAccount()", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L37", "_origin": "ast", - "community": 164, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_deployment_go_handler_webhookhandler" + "id": "workspace_serviceaccount_syncserviceaccount", + "community": 99, + "norm_label": "syncserviceaccount()" }, { - "label": ".MutateDeploymentOnCreate()", + "label": "DevWorkspaceWithConfig", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L37", "_origin": "ast", - "community": 164, - "norm_label": ".mutatedeploymentoncreate()", - "id": "handler_webhookhandler_mutatedeploymentoncreate" + "id": "pkg_provision_workspace_serviceaccount_go_devworkspacewithconfig", + "community": 99, + "norm_label": "devworkspacewithconfig" }, { - "label": "Context", + "label": "ClusterAPI", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L37", "_origin": "ast", - "community": 164, - "norm_label": "context", - "id": "webhook_workspace_handler_deployment_go_context" + "id": "pkg_provision_workspace_serviceaccount_go_clusterapi", + "community": 99, + "norm_label": "clusterapi" }, { - "label": "Request", + "label": "FinalizeServiceAccount()", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "_origin": "ast", - "community": 164, - "norm_label": "request", - "id": "webhook_workspace_handler_deployment_go_request" + "id": "workspace_serviceaccount_finalizeserviceaccount", + "community": 99, + "norm_label": "finalizeserviceaccount()" }, { - "label": "Response", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "_origin": "ast", - "community": 164, - "norm_label": "response", - "id": "webhook_workspace_handler_deployment_go_response" + "id": "pkg_provision_workspace_serviceaccount_go_context", + "community": 99, + "norm_label": "context" }, { - "label": ".MutateDeploymentOnUpdate()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L47", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "_origin": "ast", - "community": 164, - "norm_label": ".mutatedeploymentonupdate()", - "id": "handler_webhookhandler_mutatedeploymentonupdate" + "id": "pkg_provision_workspace_serviceaccount_go_client", + "community": 99, + "norm_label": "client" }, { - "label": "exec.go", + "label": "removeSCCFromServiceAccount()", "file_type": "code", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L96", "_origin": "ast", - "community": 272, - "norm_label": "exec.go", - "id": "handler_exec" + "id": "workspace_serviceaccount_removesccfromserviceaccount", + "community": 99, + "norm_label": "removesccfromserviceaccount()" }, { - "label": "WebhookHandler", + "label": "ssh-askpass.sh", "file_type": "code", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/ssh-askpass.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "file" + }, "_origin": "ast", - "community": 183, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_exec_go_handler_webhookhandler" + "id": "workspace_ssh_askpass", + "community": 248, + "norm_label": "ssh-askpass.sh" }, { - "label": ".ValidateExecOnConnect()", + "label": "ssh-askpass.sh script", "file_type": "code", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/ssh-askpass.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "bash_entrypoint" + }, "_origin": "ast", - "community": 183, - "norm_label": ".validateexeconconnect()", - "id": "handler_webhookhandler_validateexeconconnect" + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_pkg_provision_workspace_ssh_askpass_sh__entry", + "community": 248, + "norm_label": "ssh-askpass.sh script" }, { - "label": "Context", + "label": "ssh.go", "file_type": "code", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L1", "_origin": "ast", - "community": 183, - "norm_label": "context", - "id": "webhook_workspace_handler_exec_go_context" + "id": "workspace_ssh", + "community": 126, + "norm_label": "ssh.go" }, { - "label": "Request", + "label": "ProvisionSshAskPass()", "file_type": "code", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L37", "_origin": "ast", - "community": 183, - "norm_label": "request", - "id": "webhook_workspace_handler_exec_go_request" + "id": "workspace_ssh_provisionsshaskpass", + "community": 126, + "norm_label": "provisionsshaskpass()" }, { - "label": "Response", + "label": "ClusterAPI", "file_type": "code", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L37", "_origin": "ast", - "community": 183, - "norm_label": "response", - "id": "webhook_workspace_handler_exec_go_response" + "id": "pkg_provision_workspace_ssh_go_clusterapi", + "community": 126, + "norm_label": "clusterapi" }, { - "label": "handler.go", + "label": "PodAdditions", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L1", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L37", "_origin": "ast", - "community": 2, - "norm_label": "handler.go", - "id": "handler_handler" + "id": "pkg_provision_workspace_ssh_go_podadditions", + "community": 126, + "norm_label": "podadditions" }, { - "label": "WebhookHandler", + "label": "constructSshAskPassCM()", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L27", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L56", "_origin": "ast", - "community": 2, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_handler_go_handler_webhookhandler" + "id": "workspace_ssh_constructsshaskpasscm", + "community": 126, + "norm_label": "constructsshaskpasscm()" }, { - "label": "Client", + "label": "ConfigMap", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L30", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L56", "_origin": "ast", - "community": 2, - "norm_label": "client", - "id": "webhook_workspace_handler_handler_go_client" + "id": "pkg_provision_workspace_ssh_go_configmap", + "community": 126, + "norm_label": "configmap" }, { - "label": "Decoder", + "label": "getSshAskPassVolumesAndVolumeMounts()", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L31", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L74", "_origin": "ast", - "community": 2, - "norm_label": "decoder", - "id": "decoder" + "id": "workspace_ssh_getsshaskpassvolumesandvolumemounts", + "community": 126, + "norm_label": "getsshaskpassvolumesandvolumemounts()" }, { - "label": ".parse()", + "label": "VolumeMount", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L36", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L74", "_origin": "ast", - "community": 2, - "norm_label": ".parse()", - "id": "handler_webhookhandler_parse" + "id": "pkg_provision_workspace_ssh_go_volumemount", + "community": 126, + "norm_label": "volumemount" }, { - "label": "Request", + "label": "Volume", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L36", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L74", "_origin": "ast", - "community": 2, - "norm_label": "request", - "id": "webhook_workspace_handler_handler_go_request" + "id": "pkg_provision_workspace_ssh_go_volume", + "community": 126, + "norm_label": "volume" }, { - "label": "Object", + "label": "server_tls.go", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L36", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L1", "_origin": "ast", - "community": 2, - "norm_label": "object", - "id": "webhook_workspace_handler_handler_go_object" + "id": "tlssetup_server_tls", + "community": 24, + "norm_label": "server_tls.go" }, { - "label": ".returnPatched()", + "label": "ServerTLS", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L49", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L38", "_origin": "ast", - "community": 2, - "norm_label": ".returnpatched()", - "id": "handler_webhookhandler_returnpatched" + "id": "tlssetup_servertls", + "community": 24, + "norm_label": "servertls" }, { - "label": "Response", + "label": "Config", "file_type": "code", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L49", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L39", "_origin": "ast", - "community": 2, - "norm_label": "response", - "id": "webhook_workspace_handler_handler_go_response" + "id": "pkg_tlssetup_server_tls_go_config", + "community": 24, + "norm_label": "config" }, { - "label": "immutable.go", + "label": "TLSProfileSpec", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L1", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L40", "_origin": "ast", - "community": 29, - "norm_label": "immutable.go", - "id": "handler_immutable" + "id": "tlsprofilespec", + "community": 24, + "norm_label": "tlsprofilespec" }, { - "label": "WebhookHandler", + "label": "TLSAdherencePolicy", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L41", "_origin": "ast", - "community": 29, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_immutable_go_handler_webhookhandler" + "id": "tlsadherencepolicy", + "community": 24, + "norm_label": "tlsadherencepolicy" }, { - "label": ".HandleRestrictedAccessUpdate()", + "label": "BuildServerTLSOptions()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L49", "_origin": "ast", - "community": 29, - "norm_label": ".handlerestrictedaccessupdate()", - "id": "handler_webhookhandler_handlerestrictedaccessupdate" + "id": "tlssetup_server_tls_buildservertlsoptions", + "community": 24, + "norm_label": "buildservertlsoptions()" }, { "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L49", "_origin": "ast", - "community": 29, - "norm_label": "context", - "id": "webhook_workspace_handler_immutable_go_context" + "id": "pkg_tlssetup_server_tls_go_context", + "community": 24, + "norm_label": "context" }, { - "label": "Request", + "label": "Scheme", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L49", "_origin": "ast", - "community": 29, - "norm_label": "request", - "id": "webhook_workspace_handler_immutable_go_request" + "id": "pkg_tlssetup_server_tls_go_scheme", + "community": 24, + "norm_label": "scheme" }, { - "label": "Response", + "label": "Logger", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L49", "_origin": "ast", - "community": 29, - "norm_label": "response", - "id": "webhook_workspace_handler_immutable_go_response" + "id": "pkg_tlssetup_server_tls_go_logger", + "community": 24, + "norm_label": "logger" }, { - "label": ".HandleRestrictedAccessCreate()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L79", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L62", "_origin": "ast", - "community": 29, - "norm_label": ".handlerestrictedaccesscreate()", - "id": "handler_webhookhandler_handlerestrictedaccesscreate" + "id": "pkg_tlssetup_server_tls_go_client", + "community": 24, + "norm_label": "client" }, { - "label": ".checkRestrictedAccessWorkspaceV1alpha1()", + "label": "RegisterSecurityProfileWatcher()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L99", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", "_origin": "ast", - "community": 29, - "norm_label": ".checkrestrictedaccessworkspacev1alpha1()", - "id": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1" + "id": "tlssetup_server_tls_registersecurityprofilewatcher", + "community": 24, + "norm_label": "registersecurityprofilewatcher()" }, { - "label": "DevWorkspace", + "label": "Manager", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L99", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", "_origin": "ast", - "community": 29, - "norm_label": "devworkspace", - "id": "webhook_workspace_handler_immutable_go_devworkspace" + "id": "pkg_tlssetup_server_tls_go_manager", + "community": 24, + "norm_label": "manager" }, { - "label": ".checkRestrictedAccessWorkspaceV1alpha2()", + "label": "CancelFunc", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L113", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", "_origin": "ast", - "community": 29, - "norm_label": ".checkrestrictedaccessworkspacev1alpha2()", - "id": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2" + "id": "pkg_tlssetup_server_tls_go_cancelfunc", + "community": 24, + "norm_label": "cancelfunc" }, { - "label": ".handleImmutableObj()", + "label": "server_tls_test.go", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L127", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L1", "_origin": "ast", - "community": 29, - "norm_label": ".handleimmutableobj()", - "id": "handler_webhookhandler_handleimmutableobj" + "id": "tlssetup_server_tls_test", + "community": 24, + "norm_label": "server_tls_test.go" }, { - "label": "Object", + "label": "TestRegisterSecurityProfileWatcher_NonOpenShift()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L127", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L31", "_origin": "ast", - "community": 29, - "norm_label": "object", - "id": "webhook_workspace_handler_immutable_go_object" + "id": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", + "community": 24, + "norm_label": "testregistersecurityprofilewatcher_nonopenshift()" }, { - "label": ".handleImmutablePod()", + "label": "T", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L134", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L31", "_origin": "ast", - "community": 29, - "norm_label": ".handleimmutablepod()", - "id": "handler_webhookhandler_handleimmutablepod" + "id": "pkg_tlssetup_server_tls_test_go_t", + "community": 24, + "norm_label": "t" }, { - "label": "Pod", + "label": "TestBuildServerTLSOptions_NonOpenShift()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L134", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L43", "_origin": "ast", - "community": 29, - "norm_label": "pod", - "id": "webhook_workspace_handler_immutable_go_pod" + "id": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", + "community": 24, + "norm_label": "testbuildservertlsoptions_nonopenshift()" }, { - "label": ".handleImmutableRoute()", + "label": "TestBuildServerTLSOptions_OpenShift_LegacyAdherence()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L171", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L60", "_origin": "ast", - "community": 29, - "norm_label": ".handleimmutableroute()", - "id": "handler_webhookhandler_handleimmutableroute" + "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", + "community": 24, + "norm_label": "testbuildservertlsoptions_openshift_legacyadherence()" }, { - "label": ".handleImmutableService()", + "label": "TestBuildServerTLSOptions_OpenShift_StrictAdherence()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L178", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L121", "_origin": "ast", - "community": 29, - "norm_label": ".handleimmutableservice()", - "id": "handler_webhookhandler_handleimmutableservice" + "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", + "community": 24, + "norm_label": "testbuildservertlsoptions_openshift_strictadherence()" }, { - "label": ".checkRestrictedAccessAnnotation()", + "label": "TestBuildServerTLSOptions_OpenShift_EmptyAdherence()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L187", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L185", "_origin": "ast", - "community": 29, - "norm_label": ".checkrestrictedaccessannotation()", - "id": "handler_webhookhandler_checkrestrictedaccessannotation" + "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", + "community": 24, + "norm_label": "testbuildservertlsoptions_openshift_emptyadherence()" }, { - "label": "checkRestrictedWorkspaceMetadata()", + "label": "TestBuildServerTLSOptions_OpenShift_NoAPIServer()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L202", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L229", "_origin": "ast", - "community": 29, - "norm_label": "checkrestrictedworkspacemetadata()", - "id": "handler_immutable_checkrestrictedworkspacemetadata" + "id": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", + "community": 24, + "norm_label": "testbuildservertlsoptions_openshift_noapiserver()" }, { - "label": "ObjectMeta", + "label": "cluster_role_bindings.go", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L202", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L1", "_origin": "ast", - "community": 29, - "norm_label": "objectmeta", - "id": "webhook_workspace_handler_immutable_go_objectmeta" + "id": "webhook_cluster_role_bindings", + "community": 59, + "norm_label": "cluster_role_bindings.go" }, { - "label": "changePermitted()", + "label": "CreateWebhookClusterRoleBinding()", "file_type": "code", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L210", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L29", "_origin": "ast", - "community": 29, - "norm_label": "changepermitted()", - "id": "handler_immutable_changepermitted" + "id": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", + "community": 59, + "norm_label": "createwebhookclusterrolebinding()" }, { - "label": "kind.go", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/kind.go", - "source_location": "L1", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L29", "_origin": "ast", - "community": 273, - "norm_label": "kind.go", - "id": "handler_kind" + "id": "pkg_webhook_cluster_role_bindings_go_client", + "community": 59, + "norm_label": "client" }, { - "label": "kubernetes.go", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L1", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L29", "_origin": "ast", - "community": 49, - "norm_label": "kubernetes.go", - "id": "handler_kubernetes" + "id": "pkg_webhook_cluster_role_bindings_go_context", + "community": 59, + "norm_label": "context" }, { - "label": "WebhookHandler", + "label": "getSpecClusterRoleBinding()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L59", "_origin": "ast", - "community": 49, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler" + "id": "webhook_cluster_role_bindings_getspecclusterrolebinding", + "community": 59, + "norm_label": "getspecclusterrolebinding()" }, { - "label": ".validateKubernetesObjectPermissions()", + "label": "ClusterRoleBinding", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L59", "_origin": "ast", - "community": 49, - "norm_label": ".validatekubernetesobjectpermissions()", - "id": "handler_webhookhandler_validatekubernetesobjectpermissions" + "id": "clusterrolebinding", + "community": 59, + "norm_label": "clusterrolebinding" }, { - "label": "Context", + "label": "getClusterRoleBinding()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L82", "_origin": "ast", - "community": 49, - "norm_label": "context", - "id": "webhook_workspace_handler_kubernetes_go_context" + "id": "webhook_cluster_role_bindings_getclusterrolebinding", + "community": 59, + "norm_label": "getclusterrolebinding()" }, { - "label": "Request", + "label": "cluster_roles.go", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L1", "_origin": "ast", - "community": 49, - "norm_label": "request", - "id": "webhook_workspace_handler_kubernetes_go_request" + "id": "webhook_cluster_roles", + "community": 59, + "norm_label": "cluster_roles.go" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "CreateWebhookClusterRole()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L30", "_origin": "ast", - "community": 49, - "norm_label": "devworkspacetemplatespec", - "id": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" + "id": "webhook_cluster_roles_createwebhookclusterrole", + "community": 59, + "norm_label": "createwebhookclusterrole()" }, { - "label": ".validatePermissionsOnObject()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L77", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L30", "_origin": "ast", - "community": 49, - "norm_label": ".validatepermissionsonobject()", - "id": "handler_webhookhandler_validatepermissionsonobject" + "id": "pkg_webhook_cluster_roles_go_client", + "community": 59, + "norm_label": "client" }, { - "label": "TypeMeta", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L77", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L30", "_origin": "ast", - "community": 49, - "norm_label": "typemeta", - "id": "webhook_workspace_handler_kubernetes_go_typemeta" + "id": "pkg_webhook_cluster_roles_go_context", + "community": 59, + "norm_label": "context" }, { - "label": "getKubeComponentsFromWorkspace()", + "label": "getSpecClusterRole()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L138", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L59", "_origin": "ast", - "community": 49, - "norm_label": "getkubecomponentsfromworkspace()", - "id": "handler_kubernetes_getkubecomponentsfromworkspace" + "id": "webhook_cluster_roles_getspecclusterrole", + "community": 59, + "norm_label": "getspecclusterrole()" }, { - "label": "K8sLikeComponent", + "label": "ClusterRole", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L138", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L59", "_origin": "ast", - "community": 49, - "norm_label": "k8slikecomponent", - "id": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" + "id": "clusterrole", + "community": 59, + "norm_label": "clusterrole" }, { - "label": "getKubeLikeComponent()", + "label": "getExistingClusterRole()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L153", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L229", "_origin": "ast", - "community": 49, - "norm_label": "getkubelikecomponent()", - "id": "handler_kubernetes_getkubelikecomponent" + "id": "webhook_cluster_roles_getexistingclusterrole", + "community": 59, + "norm_label": "getexistingclusterrole()" }, { - "label": "Component", + "label": "create.go", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L153", + "source_file": "pkg/webhook/create.go", + "source_location": "L1", "_origin": "ast", - "community": 49, - "norm_label": "component", - "id": "webhook_workspace_handler_kubernetes_go_component" + "id": "webhook_create", + "community": 59, + "norm_label": "create.go" }, { - "label": ".validateKubernetesObjectPermissions_v1alpha1()", + "label": "SetupWebhooks()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L163", + "source_file": "pkg/webhook/create.go", + "source_location": "L35", "_origin": "ast", - "community": 49, - "norm_label": ".validatekubernetesobjectpermissions_v1alpha1()", - "id": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1" + "id": "webhook_create_setupwebhooks", + "community": 59, + "norm_label": "setupwebhooks()" }, { - "label": "getKubeComponentsFromWorkspace_v1alpha1()", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L187", + "source_file": "pkg/webhook/create.go", + "source_location": "L35", "_origin": "ast", - "community": 49, - "norm_label": "getkubecomponentsfromworkspace_v1alpha1()", - "id": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1" + "id": "pkg_webhook_create_go_context", + "community": 59, + "norm_label": "context" }, { - "label": "getKubeLikeComponent_v1alpha1()", + "label": "Config", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L199", + "source_file": "pkg/webhook/create.go", + "source_location": "L35", "_origin": "ast", - "community": 49, - "norm_label": "getkubelikecomponent_v1alpha1()", - "id": "handler_kubernetes_getkubelikecomponent_v1alpha1" + "id": "pkg_webhook_create_go_config", + "community": 59, + "norm_label": "config" }, { - "label": ".checkSAR()", + "label": "setUpWebhookServerRBAC()", "file_type": "code", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L209", + "source_file": "pkg/webhook/create.go", + "source_location": "L91", "_origin": "ast", - "community": 49, - "norm_label": ".checksar()", - "id": "handler_webhookhandler_checksar" + "id": "webhook_create_setupwebhookserverrbac", + "community": 59, + "norm_label": "setupwebhookserverrbac()" }, { - "label": "log.go", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/log.go", - "source_location": "L1", + "source_file": "pkg/webhook/create.go", + "source_location": "L91", "_origin": "ast", - "community": 274, - "norm_label": "log.go", - "id": "handler_log" + "id": "pkg_webhook_create_go_client", + "community": 59, + "norm_label": "client" }, { - "label": "metadata.go", + "label": "deployment.go", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", + "source_file": "pkg/webhook/deployment.go", "source_location": "L1", "_origin": "ast", - "community": 134, - "norm_label": "metadata.go", - "id": "handler_metadata" + "id": "webhook_deployment", + "community": 59, + "norm_label": "deployment.go" }, { - "label": "WebhookHandler", + "label": "CreateWebhookServerDeployment()", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L26", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L38", "_origin": "ast", - "community": 134, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_metadata_go_handler_webhookhandler" + "id": "webhook_deployment_createwebhookserverdeployment", + "community": 59, + "norm_label": "createwebhookserverdeployment()" }, { - "label": ".mutateMetadataOnCreate()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L26", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L38", "_origin": "ast", - "community": 134, - "norm_label": ".mutatemetadataoncreate()", - "id": "handler_webhookhandler_mutatemetadataoncreate" + "id": "pkg_webhook_deployment_go_client", + "community": 59, + "norm_label": "client" }, { - "label": "ObjectMeta", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L26", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L38", "_origin": "ast", - "community": 134, - "norm_label": "objectmeta", - "id": "webhook_workspace_handler_metadata_go_objectmeta" + "id": "pkg_webhook_deployment_go_context", + "community": 59, + "norm_label": "context" }, { - "label": ".mutateMetadataOnUpdate()", + "label": "getSpecDeployment()", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L41", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L69", "_origin": "ast", - "community": 134, - "norm_label": ".mutatemetadataonupdate()", - "id": "handler_webhookhandler_mutatemetadataonupdate" + "id": "webhook_deployment_getspecdeployment", + "community": 59, + "norm_label": "getspecdeployment()" }, { - "label": "mutateLabelsOnUpdate()", + "label": "Deployment", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L53", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L69", "_origin": "ast", - "community": 134, - "norm_label": "mutatelabelsonupdate()", - "id": "handler_metadata_mutatelabelsonupdate" + "id": "pkg_webhook_deployment_go_deployment", + "community": 59, + "norm_label": "deployment" }, { - "label": "mutateWorkspaceIdLabel()", + "label": "getWebhooksServerResources()", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L68", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L221", "_origin": "ast", - "community": 134, - "norm_label": "mutateworkspaceidlabel()", - "id": "handler_metadata_mutateworkspaceidlabel" + "id": "webhook_deployment_getwebhooksserverresources", + "community": 59, + "norm_label": "getwebhooksserverresources()" }, { - "label": "mutateCreatorLabel()", + "label": "ResourceRequirements", "file_type": "code", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L90", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L221", "_origin": "ast", - "community": 134, - "norm_label": "mutatecreatorlabel()", - "id": "handler_metadata_mutatecreatorlabel" + "id": "pkg_webhook_deployment_go_resourcerequirements", + "community": 59, + "norm_label": "resourcerequirements" }, { - "label": "pod.go", + "label": "getClusterDeployment()", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L250", + "_origin": "ast", + "id": "webhook_deployment_getclusterdeployment", + "community": 59, + "norm_label": "getclusterdeployment()" + }, + { + "label": "info.go", + "file_type": "code", + "source_file": "pkg/webhook/info.go", "source_location": "L1", "_origin": "ast", - "community": 275, - "norm_label": "pod.go", - "id": "handler_pod" + "id": "webhook_info", + "community": 148, + "norm_label": "info.go" }, { - "label": "WebhookHandler", + "label": "GetWebhooksCreationTimestamp()", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "pkg/webhook/info.go", + "source_location": "L32", "_origin": "ast", - "community": 165, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_pod_go_handler_webhookhandler" + "id": "webhook_info_getwebhookscreationtimestamp", + "community": 148, + "norm_label": "getwebhookscreationtimestamp()" }, { - "label": ".MutatePodOnCreate()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "pkg/webhook/info.go", + "source_location": "L32", "_origin": "ast", - "community": 165, - "norm_label": ".mutatepodoncreate()", - "id": "handler_webhookhandler_mutatepodoncreate" + "id": "pkg_webhook_info_go_client", + "community": 148, + "norm_label": "client" }, { - "label": "Context", + "label": "Time", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "pkg/webhook/info.go", + "source_location": "L32", "_origin": "ast", - "community": 165, - "norm_label": "context", - "id": "webhook_workspace_handler_pod_go_context" + "id": "pkg_webhook_info_go_time", + "community": 148, + "norm_label": "time" }, { - "label": "Request", + "label": "init_cfg.go", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L1", "_origin": "ast", - "community": 165, - "norm_label": "request", - "id": "webhook_workspace_handler_pod_go_request" + "id": "webhook_init_cfg", + "community": 44, + "norm_label": "init_cfg.go" }, { - "label": "Response", + "label": "WebhookCfgsInit()", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L31", "_origin": "ast", - "community": 165, - "norm_label": "response", - "id": "webhook_workspace_handler_pod_go_response" + "id": "webhook_init_cfg_webhookcfgsinit", + "community": 44, + "norm_label": "webhookcfgsinit()" }, { - "label": ".MutatePodOnUpdate()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L42", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L31", "_origin": "ast", - "community": 165, - "norm_label": ".mutatepodonupdate()", - "id": "handler_webhookhandler_mutatepodonupdate" + "id": "pkg_webhook_init_cfg_go_client", + "community": 44, + "norm_label": "client" }, { - "label": "validate.go", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L1", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L31", "_origin": "ast", - "community": 276, - "norm_label": "validate.go", - "id": "handler_validate" + "id": "pkg_webhook_init_cfg_go_context", + "community": 44, + "norm_label": "context" }, { - "label": "WebhookHandler", + "label": "checkExistingConfigForConflict()", "file_type": "code", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L47", "_origin": "ast", - "community": 182, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_validate_go_handler_webhookhandler" + "id": "webhook_init_cfg_checkexistingconfigforconflict", + "community": 44, + "norm_label": "checkexistingconfigforconflict()" }, { - "label": ".ValidateDevfile()", + "label": "tls.go", "file_type": "code", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L1", "_origin": "ast", - "community": 182, - "norm_label": ".validatedevfile()", - "id": "handler_webhookhandler_validatedevfile" + "id": "kubernetes_tls", + "community": 70, + "norm_label": "tls.go" }, { - "label": "Context", + "label": "SetupSecureService()", "file_type": "code", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L30", "_origin": "ast", - "community": 182, - "norm_label": "context", - "id": "webhook_workspace_handler_validate_go_context" + "id": "kubernetes_tls_setupsecureservice", + "community": 70, + "norm_label": "setupsecureservice()" }, { - "label": "Request", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L30", "_origin": "ast", - "community": 182, - "norm_label": "request", - "id": "webhook_workspace_handler_validate_go_request" + "id": "pkg_webhook_kubernetes_tls_go_client", + "community": 70, + "norm_label": "client" }, { - "label": "Response", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L30", "_origin": "ast", - "community": 182, - "norm_label": "response", - "id": "webhook_workspace_handler_validate_go_response" + "id": "pkg_webhook_kubernetes_tls_go_context", + "community": 70, + "norm_label": "context" }, { - "label": "warning.go", + "label": "tls.go", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", + "source_file": "pkg/webhook/openshift/tls.go", "source_location": "L1", "_origin": "ast", - "community": 119, - "norm_label": "warning.go", - "id": "handler_warning" + "id": "openshift_tls", + "community": 70, + "norm_label": "tls.go" }, { - "label": "unsupportedWarnings", + "label": "SetupSecureService()", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L26", + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L29", "_origin": "ast", - "community": 119, - "norm_label": "unsupportedwarnings", - "id": "handler_unsupportedwarnings" + "id": "openshift_tls_setupsecureservice", + "community": 70, + "norm_label": "setupsecureservice()" }, { - "label": "newUnsupportedWarnings()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L35", + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L29", "_origin": "ast", - "community": 119, - "norm_label": "newunsupportedwarnings()", - "id": "handler_warning_newunsupportedwarnings" + "id": "pkg_webhook_openshift_tls_go_client", + "community": 70, + "norm_label": "client" }, { - "label": "checkUnsupportedFeatures()", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L45", + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L29", "_origin": "ast", - "community": 119, - "norm_label": "checkunsupportedfeatures()", - "id": "handler_warning_checkunsupportedfeatures" + "id": "pkg_webhook_openshift_tls_go_context", + "community": 70, + "norm_label": "context" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "role_bindings.go", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L45", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L1", "_origin": "ast", - "community": 119, - "norm_label": "devworkspacetemplatespec", - "id": "webhook_workspace_handler_warning_go_devworkspacetemplatespec" + "id": "webhook_role_bindings", + "community": 59, + "norm_label": "role_bindings.go" }, { - "label": "unsupportedWarningsPresent()", + "label": "CreateWebhookRoleBinding()", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L74", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L30", "_origin": "ast", - "community": 119, - "norm_label": "unsupportedwarningspresent()", - "id": "handler_warning_unsupportedwarningspresent" + "id": "webhook_role_bindings_createwebhookrolebinding", + "community": 59, + "norm_label": "createwebhookrolebinding()" }, { - "label": "formatUnsupportedFeaturesWarning()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L82", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L30", "_origin": "ast", - "community": 119, - "norm_label": "formatunsupportedfeatureswarning()", - "id": "handler_warning_formatunsupportedfeatureswarning" + "id": "pkg_webhook_role_bindings_go_client", + "community": 59, + "norm_label": "client" }, { - "label": "checkForAddedUnsupportedFeatures()", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L120", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L30", "_origin": "ast", - "community": 119, - "norm_label": "checkforaddedunsupportedfeatures()", - "id": "handler_warning_checkforaddedunsupportedfeatures" + "id": "pkg_webhook_role_bindings_go_context", + "community": 59, + "norm_label": "context" }, { - "label": "DevWorkspace", + "label": "getSpecRoleBinding()", "file_type": "code", - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L120", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L56", "_origin": "ast", - "community": 119, - "norm_label": "devworkspace", - "id": "webhook_workspace_handler_warning_go_devworkspace" + "id": "webhook_role_bindings_getspecrolebinding", + "community": 59, + "norm_label": "getspecrolebinding()" }, { - "label": "warning_test.go", + "label": "RoleBinding", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L1", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L56", "_origin": "ast", - "community": 101, - "norm_label": "warning_test.go", - "id": "handler_warning_test" + "id": "pkg_webhook_role_bindings_go_rolebinding", + "community": 59, + "norm_label": "rolebinding" }, { - "label": "testCase", + "label": "roles.go", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L28", + "source_file": "pkg/webhook/roles.go", + "source_location": "L1", "_origin": "ast", - "community": 101, - "norm_label": "testcase", - "id": "handler_testcase" + "id": "webhook_roles", + "community": 59, + "norm_label": "roles.go" }, { - "label": "testInput", + "label": "CreateWebhookRole()", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", + "source_file": "pkg/webhook/roles.go", "source_location": "L30", "_origin": "ast", - "community": 101, - "norm_label": "testinput", - "id": "webhook_workspace_handler_warning_test_go_testinput" + "id": "webhook_roles_createwebhookrole", + "community": 59, + "norm_label": "createwebhookrole()" }, { - "label": "testOutput", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L31", + "source_file": "pkg/webhook/roles.go", + "source_location": "L30", "_origin": "ast", - "community": 101, - "norm_label": "testoutput", - "id": "webhook_workspace_handler_warning_test_go_testoutput" + "id": "pkg_webhook_roles_go_client", + "community": 59, + "norm_label": "client" }, { - "label": "testInput", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L34", + "source_file": "pkg/webhook/roles.go", + "source_location": "L30", "_origin": "ast", - "community": 101, - "norm_label": "testinput", - "id": "handler_testinput" + "id": "pkg_webhook_roles_go_context", + "community": 59, + "norm_label": "context" }, { - "label": "DevWorkspaceTemplateSpec", + "label": "getSpecRole()", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L35", + "source_file": "pkg/webhook/roles.go", + "source_location": "L56", "_origin": "ast", - "community": 101, - "norm_label": "devworkspacetemplatespec", - "id": "webhook_workspace_handler_warning_test_go_devworkspacetemplatespec" + "id": "webhook_roles_getspecrole", + "community": 59, + "norm_label": "getspecrole()" }, { - "label": "testOutput", + "label": "Role", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L39", + "source_file": "pkg/webhook/roles.go", + "source_location": "L56", "_origin": "ast", - "community": 101, - "norm_label": "testoutput", - "id": "handler_testoutput" + "id": "pkg_webhook_roles_go_role", + "community": 59, + "norm_label": "role" }, { - "label": "loadTestCaseOrPanic()", + "label": "log.go", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L44", + "source_file": "pkg/webhook/service/log.go", + "source_location": "L1", "_origin": "ast", - "community": 101, - "norm_label": "loadtestcaseorpanic()", - "id": "handler_warning_test_loadtestcaseorpanic" + "id": "service_log", + "community": 280, + "norm_label": "log.go" }, { - "label": "T", + "label": "service.go", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L44", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L1", "_origin": "ast", - "community": 101, - "norm_label": "t", - "id": "webhook_workspace_handler_warning_test_go_t" + "id": "service_service", + "community": 70, + "norm_label": "service.go" }, { - "label": "loadAllTestCasesOrPanic()", + "label": "CreateOrUpdateSecureService()", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L56", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L30", "_origin": "ast", - "community": 101, - "norm_label": "loadalltestcasesorpanic()", - "id": "handler_warning_test_loadalltestcasesorpanic" + "id": "service_service_createorupdatesecureservice", + "community": 70, + "norm_label": "createorupdatesecureservice()" }, { - "label": "TestModifyWorkspaceWithUnsupportedFeatures()", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L71", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L30", "_origin": "ast", - "community": 101, - "norm_label": "testmodifyworkspacewithunsupportedfeatures()", - "id": "handler_warning_test_testmodifyworkspacewithunsupportedfeatures" + "id": "pkg_webhook_service_service_go_client", + "community": 70, + "norm_label": "client" }, { - "label": "workspace.go", + "label": "Context", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L1", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L30", "_origin": "ast", - "community": 166, - "norm_label": "workspace.go", - "id": "handler_workspace" + "id": "pkg_webhook_service_service_go_context", + "community": 70, + "norm_label": "context" }, { - "label": "WebhookHandler", + "label": "getClusterService()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L40", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L83", "_origin": "ast", - "community": 92, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_workspace_go_handler_webhookhandler" + "id": "service_service_getclusterservice", + "community": 70, + "norm_label": "getclusterservice()" }, { - "label": ".MutateWorkspaceV1alpha1OnCreate()", + "label": "Service", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L40", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L83", "_origin": "ast", - "community": 92, - "norm_label": ".mutateworkspacev1alpha1oncreate()", - "id": "handler_webhookhandler_mutateworkspacev1alpha1oncreate" + "id": "pkg_webhook_service_service_go_service", + "community": 70, + "norm_label": "service" }, { - "label": "Context", + "label": "entrypoint.sh", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L40", + "source_file": "project-backup/entrypoint.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "file" + }, "_origin": "ast", - "community": 92, - "norm_label": "context", - "id": "webhook_workspace_handler_workspace_go_context" + "id": "project_backup_entrypoint", + "community": 249, + "norm_label": "entrypoint.sh" }, { - "label": "Request", + "label": "entrypoint.sh script", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L40", + "source_file": "project-backup/entrypoint.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "bash_entrypoint" + }, "_origin": "ast", - "community": 92, - "norm_label": "request", - "id": "webhook_workspace_handler_workspace_go_request" + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_entrypoint_sh__entry", + "community": 249, + "norm_label": "entrypoint.sh script" }, { - "label": "Response", + "label": "workspace-recovery.sh", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L40", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "file" + }, "_origin": "ast", - "community": 92, - "norm_label": "response", - "id": "webhook_workspace_handler_workspace_go_response" + "id": "project_backup_workspace_recovery", + "community": 172, + "norm_label": "workspace-recovery.sh" }, { - "label": ".MutateWorkspaceV1alpha2OnCreate()", + "label": "workspace-recovery.sh script", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L56", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "bash_entrypoint" + }, "_origin": "ast", - "community": 92, - "norm_label": ".mutateworkspacev1alpha2oncreate()", - "id": "handler_webhookhandler_mutateworkspacev1alpha2oncreate" + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_workspace_recovery_sh__entry", + "community": 172, + "norm_label": "workspace-recovery.sh script" }, { - "label": ".MutateWorkspaceV1alpha1OnUpdate()", + "label": "setup_registry_auth()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L80", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L24", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 92, - "norm_label": ".mutateworkspacev1alpha1onupdate()", - "id": "handler_webhookhandler_mutateworkspacev1alpha1onupdate" + "id": "project_backup_workspace_recovery_setup_registry_auth", + "community": 172, + "norm_label": "setup_registry_auth()" }, { - "label": ".MutateWorkspaceV1alpha2OnUpdate()", + "label": "backup()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L122", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L68", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 92, - "norm_label": ".mutateworkspacev1alpha2onupdate()", - "id": "handler_webhookhandler_mutateworkspacev1alpha2onupdate" + "id": "project_backup_workspace_recovery_backup", + "community": 172, + "norm_label": "backup()" }, { - "label": ".ValidateWorkspaceV1alpha2Permissions()", + "label": "restore()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L227", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L111", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 92, - "norm_label": ".validateworkspacev1alpha2permissions()", - "id": "handler_webhookhandler_validateworkspacev1alpha2permissions" + "id": "project_backup_workspace_recovery_restore", + "community": 172, + "norm_label": "restore()" }, { - "label": "DevWorkspace", + "label": "usage()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L227", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L150", + "metadata": { + "language": "bash", + "kind": "bash_function" + }, "_origin": "ast", - "community": 166, - "norm_label": "devworkspace", - "id": "webhook_workspace_handler_workspace_go_devworkspace" + "id": "project_backup_workspace_recovery_usage", + "community": 172, + "norm_label": "usage()" }, { - "label": ".resolveDevWorkspace()", + "label": "bootstrap.go", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L287", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L1", "_origin": "ast", - "community": 149, - "norm_label": ".resolvedevworkspace()", - "id": "handler_webhookhandler_resolvedevworkspace" + "id": "bootstrap_bootstrap", + "community": 78, + "norm_label": "bootstrap.go" }, { - "label": "DevWorkspaceWithConfig", + "label": "NeedsBootstrap()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L287", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L28", "_origin": "ast", - "community": 149, - "norm_label": "devworkspacewithconfig", - "id": "webhook_workspace_handler_workspace_go_devworkspacewithconfig" + "id": "bootstrap_bootstrap_needsbootstrap", + "community": 78, + "norm_label": "needsbootstrap()" }, { "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L287", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L28", "_origin": "ast", - "community": 149, - "norm_label": "devworkspacetemplatespec", - "id": "webhook_workspace_handler_workspace_go_devworkspacetemplatespec" + "id": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec", + "community": 78, + "norm_label": "devworkspacetemplatespec" }, { - "label": "setValidatedPermissionsAnnotations()", + "label": "BootstrapWorkspace()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L319", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L43", "_origin": "ast", - "community": 166, - "norm_label": "setvalidatedpermissionsannotations()", - "id": "handler_workspace_setvalidatedpermissionsannotations" + "id": "bootstrap_bootstrap_bootstrapworkspace", + "community": 78, + "norm_label": "bootstrapworkspace()" }, { - "label": "hasFinalizer()", + "label": "updateWorkspaceFromDevfile()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L349", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L76", "_origin": "ast", - "community": 166, - "norm_label": "hasfinalizer()", - "id": "handler_workspace_hasfinalizer" + "id": "bootstrap_bootstrap_updateworkspacefromdevfile", + "community": 78, + "norm_label": "updateworkspacefromdevfile()" }, { - "label": "Object", + "label": "DevWorkspace", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L349", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L76", "_origin": "ast", - "community": 166, - "norm_label": "object", - "id": "webhook_workspace_handler_workspace_go_object" + "id": "project_clone_internal_bootstrap_bootstrap_go_devworkspace", + "community": 78, + "norm_label": "devworkspace" }, { - "label": "workspace_test.go", + "label": "mergeProjects()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L1", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L101", "_origin": "ast", - "community": 30, - "norm_label": "workspace_test.go", - "id": "handler_workspace_test" + "id": "bootstrap_bootstrap_mergeprojects", + "community": 78, + "norm_label": "mergeprojects()" }, { - "label": "buildUpdateRequest()", + "label": "Project", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L39", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L101", "_origin": "ast", - "community": 30, - "norm_label": "buildupdaterequest()", - "id": "handler_workspace_test_buildupdaterequest" + "id": "project_clone_internal_bootstrap_bootstrap_go_project", + "community": 78, + "norm_label": "project" }, { - "label": "T", + "label": "cluster.go", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L39", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L1", "_origin": "ast", - "community": 30, - "norm_label": "t", - "id": "webhook_workspace_handler_workspace_test_go_t" + "id": "bootstrap_cluster", + "community": 78, + "norm_label": "cluster.go" }, { - "label": "DevWorkspace", + "label": "setupKubeClient()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L39", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L28", "_origin": "ast", - "community": 30, - "norm_label": "devworkspace", - "id": "webhook_workspace_handler_workspace_test_go_devworkspace" + "id": "bootstrap_cluster_setupkubeclient", + "community": 78, + "norm_label": "setupkubeclient()" }, { - "label": "Request", + "label": "Client", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L39", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L28", "_origin": "ast", - "community": 30, - "norm_label": "request", - "id": "webhook_workspace_handler_workspace_test_go_request" + "id": "project_clone_internal_bootstrap_cluster_go_client", + "community": 78, + "norm_label": "client" }, { - "label": "newTestWebhookHandler()", + "label": "getWorkspaceNamespacedName()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L75", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L48", "_origin": "ast", - "community": 30, - "norm_label": "newtestwebhookhandler()", - "id": "handler_workspace_test_newtestwebhookhandler" + "id": "bootstrap_cluster_getworkspacenamespacedname", + "community": 78, + "norm_label": "getworkspacenamespacedname()" }, { - "label": "WebhookHandler", + "label": "NamespacedName", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L75", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L48", "_origin": "ast", - "community": 30, - "norm_label": "webhookhandler", - "id": "webhook_workspace_handler_workspace_test_go_webhookhandler" + "id": "project_clone_internal_bootstrap_cluster_go_namespacedname", + "community": 78, + "norm_label": "namespacedname" }, { - "label": "TestMutateWorkspaceV1alpha2OnUpdate_StopInvalidWorkspaceIsAllowed()", + "label": "util.go", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L96", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L1", "_origin": "ast", - "community": 30, - "norm_label": "testmutateworkspacev1alpha2onupdate_stopinvalidworkspaceisallowed()", - "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_stopinvalidworkspaceisallowed" + "id": "bootstrap_util", + "community": 177, + "norm_label": "util.go" }, { - "label": "TestMutateWorkspaceV1alpha2OnUpdate_UpdateStartedInvalidWorkspaceIsDenied()", + "label": "getBootstrapDevfile()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L109", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L27", "_origin": "ast", - "community": 30, - "norm_label": "testmutateworkspacev1alpha2onupdate_updatestartedinvalidworkspaceisdenied()", - "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_updatestartedinvalidworkspaceisdenied" + "id": "bootstrap_util_getbootstrapdevfile", + "community": 177, + "norm_label": "getbootstrapdevfile()" }, { - "label": "TestMutateWorkspaceV1alpha2OnUpdate_UpdateAlreadyStoppedWorkspaceRunsValidation()", + "label": "Project", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L122", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L27", "_origin": "ast", - "community": 30, - "norm_label": "testmutateworkspacev1alpha2onupdate_updatealreadystoppedworkspacerunsvalidation()", - "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_updatealreadystoppedworkspacerunsvalidation" + "id": "project_clone_internal_bootstrap_util_go_project", + "community": 177, + "norm_label": "project" }, { - "label": "TestMutateWorkspaceV1alpha2OnUpdate_StartingWorkspaceRunsValidation()", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L135", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L27", "_origin": "ast", - "community": 30, - "norm_label": "testmutateworkspacev1alpha2onupdate_startingworkspacerunsvalidation()", - "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_startingworkspacerunsvalidation" + "id": "project_clone_internal_bootstrap_util_go_devworkspacetemplatespec", + "community": 177, + "norm_label": "devworkspacetemplatespec" }, { - "label": "getDevWorkspaceWithBrokenKubernetesComponent()", + "label": "getDevfileFromProject()", "file_type": "code", - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L147", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L49", "_origin": "ast", - "community": 30, - "norm_label": "getdevworkspacewithbrokenkubernetescomponent()", - "id": "handler_workspace_test_getdevworkspacewithbrokenkubernetescomponent" + "id": "bootstrap_util_getdevfilefromproject", + "community": 177, + "norm_label": "getdevfilefromproject()" }, { - "label": "log.go", + "label": "devfile.go", "file_type": "code", - "source_file": "webhook/workspace/log.go", + "source_file": "project-clone/internal/devfile.go", "source_location": "L1", "_origin": "ast", - "community": 293, - "norm_label": "log.go", - "id": "workspace_log" + "id": "internal_devfile", + "community": 102, + "norm_label": "devfile.go" }, { - "label": "mutate.go", + "label": "ReadFlattenedDevWorkspace()", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L1", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L37", "_origin": "ast", - "community": 127, - "norm_label": "mutate.go", - "id": "workspace_mutate" + "id": "internal_devfile_readflatteneddevworkspace", + "community": 102, + "norm_label": "readflatteneddevworkspace()" }, { - "label": "ResourcesMutator", + "label": "DevWorkspaceTemplateSpec", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L32", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L37", "_origin": "ast", - "community": 127, - "norm_label": "resourcesmutator", - "id": "workspace_resourcesmutator" + "id": "project_clone_internal_devfile_go_devworkspacetemplatespec", + "community": 102, + "norm_label": "devworkspacetemplatespec" }, { - "label": "WebhookHandler", + "label": "StarterProjectToRegularProject()", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L33", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L59", "_origin": "ast", - "community": 127, - "norm_label": "webhookhandler", - "id": "webhook_workspace_mutate_go_webhookhandler" + "id": "internal_devfile_starterprojecttoregularproject", + "community": 102, + "norm_label": "starterprojecttoregularproject()" }, { - "label": "NewResourcesMutator()", + "label": "StarterProject", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L36", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L59", "_origin": "ast", - "community": 127, - "norm_label": "newresourcesmutator()", - "id": "workspace_mutate_newresourcesmutator" + "id": "project_clone_internal_devfile_go_starterproject", + "community": 102, + "norm_label": "starterproject" }, { - "label": "Manager", + "label": "Project", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L36", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L59", "_origin": "ast", - "community": 127, - "norm_label": "manager", - "id": "webhook_workspace_mutate_go_manager" + "id": "project_clone_internal_devfile_go_project", + "community": 102, + "norm_label": "project" }, { - "label": ".Handle()", + "label": "operations.go", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L41", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L1", "_origin": "ast", - "community": 127, - "norm_label": ".handle()", - "id": "workspace_resourcesmutator_handle" + "id": "git_operations", + "community": 22, + "norm_label": "operations.go" }, { - "label": "Context", + "label": "CloneProject()", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L41", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L33", "_origin": "ast", - "community": 127, - "norm_label": "context", - "id": "webhook_workspace_mutate_go_context" + "id": "git_operations_cloneproject", + "community": 22, + "norm_label": "cloneproject()" }, { - "label": "Request", + "label": "Project", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L41", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L33", "_origin": "ast", - "community": 127, - "norm_label": "request", - "id": "webhook_workspace_mutate_go_request" + "id": "project_clone_internal_git_operations_go_project", + "community": 22, + "norm_label": "project" }, { - "label": "Response", + "label": "SetupSparseCheckout()", "file_type": "code", - "source_file": "webhook/workspace/mutate.go", - "source_location": "L41", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L85", "_origin": "ast", - "community": 127, - "norm_label": "response", - "id": "webhook_workspace_mutate_go_response" + "id": "git_operations_setupsparsecheckout", + "community": 22, + "norm_label": "setupsparsecheckout()" }, { - "label": "mutating_cfg.go", + "label": "SetupRemotes()", "file_type": "code", - "source_file": "webhook/workspace/mutating_cfg.go", - "source_location": "L1", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L104", "_origin": "ast", - "community": 44, - "norm_label": "mutating_cfg.go", - "id": "workspace_mutating_cfg" + "id": "git_operations_setupremotes", + "community": 42, + "norm_label": "setupremotes()" }, { - "label": "BuildMutateWebhookCfg()", + "label": "Repository", "file_type": "code", - "source_file": "webhook/workspace/mutating_cfg.go", - "source_location": "L34", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L104", "_origin": "ast", - "community": 44, - "norm_label": "buildmutatewebhookcfg()", - "id": "workspace_mutating_cfg_buildmutatewebhookcfg" + "id": "project_clone_internal_git_operations_go_repository", + "community": 42, + "norm_label": "repository" }, { - "label": "MutatingWebhookConfiguration", + "label": "SetupSubmodules()", "file_type": "code", - "source_file": "webhook/workspace/mutating_cfg.go", - "source_location": "L34", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L123", "_origin": "ast", - "community": 44, - "norm_label": "mutatingwebhookconfiguration", - "id": "webhook_workspace_mutating_cfg_go_mutatingwebhookconfiguration" + "id": "git_operations_setupsubmodules", + "community": 22, + "norm_label": "setupsubmodules()" }, { - "label": "validate.go", + "label": "CheckoutReference()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L1", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L136", "_origin": "ast", - "community": 128, - "norm_label": "validate.go", - "id": "workspace_validate" + "id": "git_operations_checkoutreference", + "community": 22, + "norm_label": "checkoutreference()" }, { - "label": "ResourcesValidator", + "label": "checkoutLocalBranch()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L32", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L171", "_origin": "ast", - "community": 128, - "norm_label": "resourcesvalidator", - "id": "workspace_resourcesvalidator" + "id": "git_operations_checkoutlocalbranch", + "community": 22, + "norm_label": "checkoutlocalbranch()" }, { - "label": "WebhookHandler", + "label": "checkoutRemoteBranch()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L33", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L185", "_origin": "ast", - "community": 128, - "norm_label": "webhookhandler", - "id": "webhook_workspace_validate_go_webhookhandler" + "id": "git_operations_checkoutremotebranch", + "community": 22, + "norm_label": "checkoutremotebranch()" }, { - "label": "NewResourcesValidator()", + "label": "checkoutTag()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L36", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L194", "_origin": "ast", - "community": 128, - "norm_label": "newresourcesvalidator()", - "id": "workspace_validate_newresourcesvalidator" + "id": "git_operations_checkouttag", + "community": 22, + "norm_label": "checkouttag()" }, { - "label": "Manager", + "label": "checkoutCommit()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L36", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L203", "_origin": "ast", - "community": 128, - "norm_label": "manager", - "id": "webhook_workspace_validate_go_manager" + "id": "git_operations_checkoutcommit", + "community": 22, + "norm_label": "checkoutcommit()" }, { - "label": ".Handle()", + "label": "setup.go", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L40", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L1", "_origin": "ast", - "community": 128, - "norm_label": ".handle()", - "id": "workspace_resourcesvalidator_handle" + "id": "git_setup", + "community": 42, + "norm_label": "setup.go" }, { - "label": "Context", + "label": "SetupGitProject()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L40", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L31", "_origin": "ast", - "community": 128, - "norm_label": "context", - "id": "webhook_workspace_validate_go_context" + "id": "git_setup_setupgitproject", + "community": 42, + "norm_label": "setupgitproject()" }, { - "label": "Request", + "label": "Project", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L40", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L31", "_origin": "ast", - "community": 128, - "norm_label": "request", - "id": "webhook_workspace_validate_go_request" + "id": "project_clone_internal_git_setup_go_project", + "community": 42, + "norm_label": "project" }, { - "label": "Response", + "label": "doInitialGitClone()", "file_type": "code", - "source_file": "webhook/workspace/validate.go", - "source_location": "L40", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L46", "_origin": "ast", - "community": 128, - "norm_label": "response", - "id": "webhook_workspace_validate_go_response" + "id": "git_setup_doinitialgitclone", + "community": 42, + "norm_label": "doinitialgitclone()" }, { - "label": "validating_cfg.go", + "label": "delayBeforeRetry()", "file_type": "code", - "source_file": "webhook/workspace/validating_cfg.go", - "source_location": "L1", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L105", "_origin": "ast", - "community": 44, - "norm_label": "validating_cfg.go", - "id": "workspace_validating_cfg" + "id": "git_setup_delaybeforeretry", + "community": 42, + "norm_label": "delaybeforeretry()" }, { - "label": "buildValidatingWebhookCfg()", + "label": "setupRemotesForExistingProject()", "file_type": "code", - "source_file": "webhook/workspace/validating_cfg.go", - "source_location": "L31", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L111", "_origin": "ast", - "community": 44, - "norm_label": "buildvalidatingwebhookcfg()", - "id": "workspace_validating_cfg_buildvalidatingwebhookcfg" + "id": "git_setup_setupremotesforexistingproject", + "community": 42, + "norm_label": "setupremotesforexistingproject()" }, { - "label": "ValidatingWebhookConfiguration", + "label": "copyProjectFromTmpDir()", "file_type": "code", - "source_file": "webhook/workspace/validating_cfg.go", - "source_location": "L31", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L125", "_origin": "ast", - "community": 44, - "norm_label": "validatingwebhookconfiguration", - "id": "webhook_workspace_validating_cfg_go_validatingwebhookconfiguration" + "id": "git_setup_copyprojectfromtmpdir", + "community": 42, + "norm_label": "copyprojectfromtmpdir()" }, { - "label": "README-CHE-HAPPY-PATH.md", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "label": "global.go", + "file_type": "code", + "source_file": "project-clone/internal/global.go", "source_location": "L1", "_origin": "ast", - "community": 10, - "norm_label": "readme-che-happy-path.md", - "id": "ci_readme_che_happy_path" + "id": "internal_global", + "community": 142, + "norm_label": "global.go" }, { - "label": "Che Happy-Path Test", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L1", + "label": "init()", + "file_type": "code", + "source_file": "project-clone/internal/global.go", + "source_location": "L53", "_origin": "ast", - "community": 10, - "norm_label": "che happy-path test", - "id": "ci_readme_che_happy_path_che_happy_path_test" + "id": "internal_global_init", + "community": 142, + "norm_label": "init()" }, { - "label": "Overview", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L6", + "label": "GetAuthForHost()", + "file_type": "code", + "source_file": "project-clone/internal/global.go", + "source_location": "L85", "_origin": "ast", - "community": 10, - "norm_label": "overview", - "id": "ci_readme_che_happy_path_overview" + "id": "internal_global_getauthforhost", + "community": 142, + "norm_label": "getauthforhost()" }, { - "label": "Features", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L10", + "label": "AuthMethod", + "file_type": "code", + "source_file": "project-clone/internal/global.go", + "source_location": "L85", "_origin": "ast", - "community": 10, - "norm_label": "features", - "id": "ci_readme_che_happy_path_features" + "id": "authmethod", + "community": 142, + "norm_label": "authmethod" }, { - "label": "Retry Logic", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L12", + "label": "setupAuth()", + "file_type": "code", + "source_file": "project-clone/internal/global.go", + "source_location": "L122", "_origin": "ast", - "community": 10, - "norm_label": "retry logic", - "id": "ci_readme_che_happy_path_retry_logic" + "id": "internal_global_setupauth", + "community": 142, + "norm_label": "setupauth()" }, { - "label": "Health Checks", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L17", + "label": "parseCredentialsFile()", + "file_type": "code", + "source_file": "project-clone/internal/global.go", + "source_location": "L135", "_origin": "ast", - "community": 10, - "norm_label": "health checks", - "id": "ci_readme_che_happy_path_health_checks" + "id": "internal_global_parsecredentialsfile", + "community": 142, + "norm_label": "parsecredentialsfile()" }, { - "label": "Artifact Collection", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L22", + "label": "BasicAuth", + "file_type": "code", + "source_file": "project-clone/internal/global.go", + "source_location": "L135", "_origin": "ast", - "community": 10, - "norm_label": "artifact collection", - "id": "ci_readme_che_happy_path_artifact_collection" + "id": "basicauth", + "community": 142, + "norm_label": "basicauth" }, { - "label": "Error Handling", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L32", + "label": "execute.go", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L1", "_origin": "ast", - "community": 10, - "norm_label": "error handling", - "id": "ci_readme_che_happy_path_error_handling" + "id": "shell_execute", + "community": 22, + "norm_label": "execute.go" }, { - "label": "Configuration", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L37", + "label": "GitRefType", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L24", "_origin": "ast", - "community": 10, - "norm_label": "configuration", - "id": "ci_readme_che_happy_path_configuration" + "id": "shell_gitreftype", + "community": 22, + "norm_label": "gitreftype" }, { - "label": "Usage", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L50", + "label": "GitCloneProject()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L36", "_origin": "ast", - "community": 10, - "norm_label": "usage", - "id": "ci_readme_che_happy_path_usage" + "id": "shell_execute_gitcloneproject", + "community": 22, + "norm_label": "gitcloneproject()" }, { - "label": "In Prow CI", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L52", + "label": "GitSparseCloneProject()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L47", "_origin": "ast", - "community": 10, - "norm_label": "in prow ci", - "id": "ci_readme_che_happy_path_in_prow_ci" + "id": "shell_execute_gitsparsecloneproject", + "community": 22, + "norm_label": "gitsparsecloneproject()" }, { - "label": "Local Testing", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L68", + "label": "GitSetupSparseCheckout()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L59", "_origin": "ast", - "community": 10, - "norm_label": "local testing", - "id": "ci_readme_che_happy_path_local_testing" + "id": "shell_execute_gitsetupsparsecheckout", + "community": 22, + "norm_label": "gitsetupsparsecheckout()" }, { - "label": "Test Flow", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L75", + "label": "GitFetchRemote()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L63", "_origin": "ast", - "community": 10, - "norm_label": "test flow", - "id": "ci_readme_che_happy_path_test_flow" + "id": "shell_execute_gitfetchremote", + "community": 22, + "norm_label": "gitfetchremote()" }, { - "label": "Exit Codes", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L94", + "label": "GitCheckoutRef()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L67", "_origin": "ast", - "community": 10, - "norm_label": "exit codes", - "id": "ci_readme_che_happy_path_exit_codes" + "id": "shell_execute_gitcheckoutref", + "community": 22, + "norm_label": "gitcheckoutref()" }, { - "label": "Timeouts", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L99", + "label": "GitCheckoutBranch()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L71", "_origin": "ast", - "community": 10, - "norm_label": "timeouts", - "id": "ci_readme_che_happy_path_timeouts" + "id": "shell_execute_gitcheckoutbranch", + "community": 22, + "norm_label": "gitcheckoutbranch()" }, { - "label": "Common Failures", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L106", + "label": "GitCheckoutBranchLocal()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L75", "_origin": "ast", - "community": 10, - "norm_label": "common failures", - "id": "ci_readme_che_happy_path_common_failures" + "id": "shell_execute_gitcheckoutbranchlocal", + "community": 22, + "norm_label": "gitcheckoutbranchlocal()" }, { - "label": "OLM Infrastructure Not Ready", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L108", + "label": "GitSetTrackingRemoteBranch()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L79", "_origin": "ast", - "community": 10, - "norm_label": "olm infrastructure not ready", - "id": "ci_readme_che_happy_path_olm_infrastructure_not_ready" + "id": "shell_execute_gitsettrackingremotebranch", + "community": 22, + "norm_label": "gitsettrackingremotebranch()" }, { - "label": "DWO Deployment Fails", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L117", + "label": "GitResolveReference()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L86", "_origin": "ast", - "community": 10, - "norm_label": "dwo deployment fails", - "id": "ci_readme_che_happy_path_dwo_deployment_fails" + "id": "shell_execute_gitresolvereference", + "community": 22, + "norm_label": "gitresolvereference()" }, { - "label": "Che Deployment Timeout", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L122", + "label": "GitInitSubmodules()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L102", "_origin": "ast", - "community": 10, - "norm_label": "che deployment timeout", - "id": "ci_readme_che_happy_path_che_deployment_timeout" + "id": "shell_execute_gitinitsubmodules", + "community": 22, + "norm_label": "gitinitsubmodules()" }, { - "label": "Pod CrashLoopBackOff", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L132", + "label": "executeCommand()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L106", "_origin": "ast", - "community": 10, - "norm_label": "pod crashloopbackoff", - "id": "ci_readme_che_happy_path_pod_crashloopbackoff" + "id": "shell_execute_executecommand", + "community": 22, + "norm_label": "executecommand()" }, { - "label": "OLM Subscription Stuck", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L137", + "label": "executeCommandSilent()", + "file_type": "code", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L113", "_origin": "ast", - "community": 10, - "norm_label": "olm subscription stuck", - "id": "ci_readme_che_happy_path_olm_subscription_stuck" + "id": "shell_execute_executecommandsilent", + "community": 22, + "norm_label": "executecommandsilent()" }, { - "label": "Artifact Locations", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L146", + "label": "utils.go", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L1", "_origin": "ast", - "community": 10, - "norm_label": "artifact locations", - "id": "ci_readme_che_happy_path_artifact_locations" + "id": "internal_utils", + "community": 42, + "norm_label": "utils.go" }, { - "label": "Dependencies", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L172", + "label": "CheckProjectState()", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L37", "_origin": "ast", - "community": 10, - "norm_label": "dependencies", - "id": "ci_readme_che_happy_path_dependencies" + "id": "internal_utils_checkprojectstate", + "community": 42, + "norm_label": "checkprojectstate()" }, { - "label": "Advanced Troubleshooting", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L179", + "label": "Project", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L37", "_origin": "ast", - "community": 10, - "norm_label": "advanced troubleshooting", - "id": "ci_readme_che_happy_path_advanced_troubleshooting" + "id": "project_clone_internal_utils_go_project", + "community": 42, + "norm_label": "project" }, { - "label": "OLM Infrastructure Issues", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L181", + "label": "OpenRepo()", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L72", "_origin": "ast", - "community": 10, - "norm_label": "olm infrastructure issues", - "id": "ci_readme_che_happy_path_olm_infrastructure_issues" + "id": "internal_utils_openrepo", + "community": 42, + "norm_label": "openrepo()" }, { - "label": "Option 1: OLM Health Check (Implemented)", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L185", + "label": "Repository", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L72", "_origin": "ast", - "community": 10, - "norm_label": "option 1: olm health check (implemented)", - "id": "ci_readme_che_happy_path_option_1_olm_health_check_implemented" + "id": "project_clone_internal_utils_go_repository", + "community": 42, + "norm_label": "repository" }, { - "label": "Option 2: Monitor Subscription Progress (Advanced)", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L193", + "label": "DirExists()", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L85", "_origin": "ast", - "community": 10, - "norm_label": "option 2: monitor subscription progress (advanced)", - "id": "ci_readme_che_happy_path_option_2_monitor_subscription_progress_advanced" + "id": "internal_utils_direxists", + "community": 90, + "norm_label": "direxists()" }, { - "label": "Option 3: Skip OLM Installation (Alternative Approach)", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L212", + "label": "checkSubPathProjectState()", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L100", "_origin": "ast", - "community": 10, - "norm_label": "option 3: skip olm installation (alternative approach)", - "id": "ci_readme_che_happy_path_option_3_skip_olm_installation_alternative_approach" + "id": "internal_utils_checksubpathprojectstate", + "community": 42, + "norm_label": "checksubpathprojectstate()" }, { - "label": "Subscription Timeout Issues", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L233", + "label": "GetAdditionalCerts()", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L124", "_origin": "ast", - "community": 10, - "norm_label": "subscription timeout issues", - "id": "ci_readme_che_happy_path_subscription_timeout_issues" + "id": "internal_utils_getadditionalcerts", + "community": 102, + "norm_label": "getadditionalcerts()" }, { - "label": "CI Failure Reports", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L260", + "label": "CertPool", + "file_type": "code", + "source_file": "project-clone/internal/utils.go", + "source_location": "L124", "_origin": "ast", - "community": 10, - "norm_label": "ci failure reports", - "id": "ci_readme_che_happy_path_ci_failure_reports" + "id": "project_clone_internal_utils_go_certpool", + "community": 102, + "norm_label": "certpool" }, { - "label": "What gets reported", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L264", + "label": "setup.go", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L1", "_origin": "ast", - "community": 10, - "norm_label": "what gets reported", - "id": "ci_readme_che_happy_path_what_gets_reported" + "id": "zip_setup", + "community": 90, + "norm_label": "setup.go" }, { - "label": "Failure categories", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L272", + "label": "SetupZipProject()", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L39", "_origin": "ast", - "community": 10, - "norm_label": "failure categories", - "id": "ci_readme_che_happy_path_failure_categories" + "id": "zip_setup_setupzipproject", + "community": 90, + "norm_label": "setupzipproject()" }, { - "label": "Report artifacts", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L281", + "label": "Project", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L39", "_origin": "ast", - "community": 10, - "norm_label": "report artifacts", - "id": "ci_readme_che_happy_path_report_artifacts" + "id": "project_clone_internal_zip_setup_go_project", + "community": 90, + "norm_label": "project" }, { - "label": "Why these comments matter", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L288", + "label": "Client", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L39", "_origin": "ast", - "community": 10, - "norm_label": "why these comments matter", - "id": "ci_readme_che_happy_path_why_these_comments_matter" + "id": "project_clone_internal_zip_setup_go_client", + "community": 90, + "norm_label": "client" }, { - "label": "Related Documentation", - "file_type": "document", - "source_file": ".ci/README-CHE-HAPPY-PATH.md", - "source_location": "L296", + "label": "downloadZip()", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L93", "_origin": "ast", - "community": 10, - "norm_label": "related documentation", - "id": "ci_readme_che_happy_path_related_documentation" + "id": "zip_setup_downloadzip", + "community": 90, + "norm_label": "downloadzip()" }, { - "label": "CLAUDE.md", - "file_type": "document", - "source_file": ".claude/CLAUDE.md", - "source_location": "L1", + "label": "unzip()", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L122", "_origin": "ast", - "community": 229, - "norm_label": "claude.md", - "id": "claude_claude" + "id": "zip_setup_unzip", + "community": 90, + "norm_label": "unzip()" }, { - "label": "Project Rules", - "file_type": "document", - "source_file": ".claude/CLAUDE.md", - "source_location": "L1", + "label": "dropTopLevelFolder()", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L193", "_origin": "ast", - "community": 229, - "norm_label": "project rules", - "id": "claude_claude_project_rules" + "id": "zip_setup_droptoplevelfolder", + "community": 90, + "norm_label": "droptoplevelfolder()" }, { - "label": "Architecture Decision Records", - "file_type": "document", - "source_file": ".claude/CLAUDE.md", - "source_location": "L7", + "label": "closeSafe()", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L232", "_origin": "ast", - "community": 229, - "norm_label": "architecture decision records", - "id": "claude_claude_architecture_decision_records" + "id": "zip_setup_closesafe", + "community": 90, + "norm_label": "closesafe()" }, { - "label": "redhat-compliance-and-responsible-ai.md", - "file_type": "document", - "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", - "source_location": "L1", + "label": "Closer", + "file_type": "code", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L232", "_origin": "ast", - "community": 180, - "norm_label": "redhat-compliance-and-responsible-ai.md", - "id": "gemini_redhat_compliance_and_responsible_ai" + "id": "closer", + "community": 90, + "norm_label": "closer" }, { - "label": "Gemini Rules", - "file_type": "document", - "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", + "label": "main.go", + "file_type": "code", + "source_file": "project-clone/main.go", "source_location": "L1", "_origin": "ast", - "community": 180, - "norm_label": "gemini rules", - "id": "gemini_redhat_compliance_and_responsible_ai_gemini_rules" + "id": "project_clone_main", + "community": 102, + "norm_label": "main.go" }, { - "label": "RED HAT COMPLIANCE & RESPONSIBLE AI RULES", - "file_type": "document", - "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", - "source_location": "L10", + "label": "main()", + "file_type": "code", + "source_file": "project-clone/main.go", + "source_location": "L42", "_origin": "ast", - "community": 180, - "norm_label": "red hat compliance & responsible ai rules", - "id": "gemini_redhat_compliance_and_responsible_ai_red_hat_compliance_responsible_ai_rules" + "id": "project_clone_main_main", + "community": 102, + "norm_label": "main()" }, { - "label": "1. Copyright & Licensing (MANDATORY)", - "file_type": "document", - "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", - "source_location": "L12", + "label": "copyLogFileToProjectsRoot()", + "file_type": "code", + "source_file": "project-clone/main.go", + "source_location": "L138", "_origin": "ast", - "community": 180, - "norm_label": "1. copyright & licensing (mandatory)", - "id": "gemini_redhat_compliance_and_responsible_ai_1_copyright_licensing_mandatory" + "id": "project_clone_main_copylogfiletoprojectsroot", + "community": 102, + "norm_label": "copylogfiletoprojectsroot()" }, { - "label": "2. AI Contribution Marking", - "file_type": "document", - "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", - "source_location": "L18", + "label": "workspaces_test.go", + "file_type": "code", + "source_file": "test/e2e/cmd/workspaces_test.go", + "source_location": "L1", "_origin": "ast", - "community": 180, - "norm_label": "2. ai contribution marking", - "id": "gemini_redhat_compliance_and_responsible_ai_2_ai_contribution_marking" + "id": "cmd_workspaces_test", + "community": 231, + "norm_label": "workspaces_test.go" }, { - "label": "bug_report.md", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", - "source_location": "L1", + "label": "TestWorkspaceController()", + "file_type": "code", + "source_file": "test/e2e/cmd/workspaces_test.go", + "source_location": "L125", "_origin": "ast", - "community": 184, - "norm_label": "bug_report.md", - "id": "issue_template_bug_report" + "id": "cmd_workspaces_test_testworkspacecontroller", + "community": 231, + "norm_label": "testworkspacecontroller()" }, { - "label": "Description", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", - "source_location": "L10", + "label": "T", + "file_type": "code", + "source_file": "test/e2e/cmd/workspaces_test.go", + "source_location": "L125", "_origin": "ast", - "community": 184, - "norm_label": "description", - "id": "issue_template_bug_report_description" + "id": "test_e2e_cmd_workspaces_test_go_t", + "community": 231, + "norm_label": "t" }, { - "label": "How To Reproduce", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", - "source_location": "L13", + "label": "client.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L1", "_origin": "ast", - "community": 184, - "norm_label": "how to reproduce", - "id": "issue_template_bug_report_how_to_reproduce" + "id": "client_client", + "community": 89, + "norm_label": "client.go" }, { - "label": "Expected behavior", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", - "source_location": "L22", + "label": "init()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L41", "_origin": "ast", - "community": 184, - "norm_label": "expected behavior", - "id": "issue_template_bug_report_expected_behavior" + "id": "client_client_init", + "community": 89, + "norm_label": "init()" }, { - "label": "Additional context", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", - "source_location": "L25", + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L47", "_origin": "ast", - "community": 184, - "norm_label": "additional context", - "id": "issue_template_bug_report_additional_context" + "id": "test_e2e_pkg_client_client_go_client_k8sclient", + "community": 89, + "norm_label": "k8sclient" }, { - "label": "feature_request.md", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/feature_request.md", - "source_location": "L1", + "label": "Clientset", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L48", "_origin": "ast", - "community": 236, - "norm_label": "feature_request.md", - "id": "issue_template_feature_request" + "id": "clientset", + "community": 89, + "norm_label": "clientset" }, { - "label": "Description", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/feature_request.md", - "source_location": "L10", + "label": "Client", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L49", "_origin": "ast", - "community": 236, - "norm_label": "description", - "id": "issue_template_feature_request_description" + "id": "test_e2e_pkg_client_client_go_client", + "community": 89, + "norm_label": "client" }, { - "label": "Additional context", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/feature_request.md", - "source_location": "L13", + "label": "NewK8sClientWithKubeConfig()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L54", "_origin": "ast", - "community": 236, - "norm_label": "additional context", - "id": "issue_template_feature_request_additional_context" + "id": "client_client_newk8sclientwithkubeconfig", + "community": 89, + "norm_label": "newk8sclientwithkubeconfig()" }, { - "label": "other.md", - "file_type": "document", - "source_file": ".github/ISSUE_TEMPLATE/other.md", - "source_location": "L1", + "label": "NewK8sClientWithToken()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L86", "_origin": "ast", - "community": 277, - "norm_label": "other.md", - "id": "issue_template_other" + "id": "client_client_newk8sclientwithtoken", + "community": 89, + "norm_label": "newk8sclientwithtoken()" }, { - "label": "PULL_REQUEST_TEMPLATE.md", - "file_type": "document", - "source_file": ".github/PULL_REQUEST_TEMPLATE.md", - "source_location": "L1", + "label": ".Kube()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L124", "_origin": "ast", - "community": 181, - "norm_label": "pull_request_template.md", - "id": "github_pull_request_template" + "id": "client_k8sclient_kube", + "community": 89, + "norm_label": ".kube()" }, { - "label": "What does this PR do?", - "file_type": "document", - "source_file": ".github/PULL_REQUEST_TEMPLATE.md", - "source_location": "L1", + "label": "Interface", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L124", "_origin": "ast", - "community": 181, - "norm_label": "what does this pr do?", - "id": "github_pull_request_template_what_does_this_pr_do" + "id": "interface", + "community": 89, + "norm_label": "interface" }, { - "label": "What issues does this PR fix or reference?", - "file_type": "document", - "source_file": ".github/PULL_REQUEST_TEMPLATE.md", - "source_location": "L4", + "label": ".ControllerRuntimeClient()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L129", "_origin": "ast", - "community": 181, - "norm_label": "what issues does this pr fix or reference?", - "id": "github_pull_request_template_what_issues_does_this_pr_fix_or_reference" + "id": "client_k8sclient_controllerruntimeclient", + "community": 89, + "norm_label": ".controllerruntimeclient()" }, { - "label": "Is it tested? How?", - "file_type": "document", - "source_file": ".github/PULL_REQUEST_TEMPLATE.md", - "source_location": "L7", + "label": "copyFile()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L134", "_origin": "ast", - "community": 181, - "norm_label": "is it tested? how?", - "id": "github_pull_request_template_is_it_tested_how" + "id": "client_client_copyfile", + "community": 89, + "norm_label": "copyfile()" }, { - "label": "PR Checklist", - "file_type": "document", - "source_file": ".github/PULL_REQUEST_TEMPLATE.md", - "source_location": "L10", + "label": "generateUniqPrefixForFile()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L148", "_origin": "ast", - "community": 181, - "norm_label": "pr checklist", - "id": "github_pull_request_template_pr_checklist" + "id": "client_client_generateuniqprefixforfile", + "community": 89, + "norm_label": "generateuniqprefixforfile()" }, { - "label": "AGENTS.md", - "file_type": "document", - "source_file": "AGENTS.md", + "label": "devws.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", "source_location": "L1", "_origin": "ast", - "community": 104, - "norm_label": "agents.md", - "id": "agents" + "id": "client_devws", + "community": 257, + "norm_label": "devws.go" }, { - "label": "DevWorkspace Operator - AI Agent Instructions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L1", + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L34", "_origin": "ast", - "community": 104, - "norm_label": "devworkspace operator - ai agent instructions", - "id": "agents_devworkspace_operator_ai_agent_instructions" + "id": "test_e2e_pkg_client_devws_go_client_k8sclient", + "community": 105, + "norm_label": "k8sclient" }, { - "label": "APIs Provided by DevWorkspace Operator", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L9", + "label": ".UpdateDevWorkspaceStarted()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L34", "_origin": "ast", - "community": 104, - "norm_label": "apis provided by devworkspace operator", - "id": "agents_apis_provided_by_devworkspace_operator" + "id": "client_k8sclient_updatedevworkspacestarted", + "community": 105, + "norm_label": ".updatedevworkspacestarted()" }, { - "label": "Codebase Navigation (Graphify)", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L20", + "label": ".GetDevWsStatus()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L58", "_origin": "ast", - "community": 104, - "norm_label": "codebase navigation (graphify)", - "id": "agents_codebase_navigation_graphify" + "id": "client_k8sclient_getdevwsstatus", + "community": 105, + "norm_label": ".getdevwsstatus()" }, { - "label": "Advanced Features", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L31", + "label": "DevWorkspaceStatus", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L58", "_origin": "ast", - "community": 188, - "norm_label": "advanced features", - "id": "agents_advanced_features" + "id": "test_e2e_pkg_client_devws_go_devworkspacestatus", + "community": 105, + "norm_label": "devworkspacestatus" }, { - "label": "Workspace Bootstrapping", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L33", + "label": ".WaitDevWsStatus()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L73", "_origin": "ast", - "community": 188, - "norm_label": "workspace bootstrapping", - "id": "agents_workspace_bootstrapping" + "id": "client_k8sclient_waitdevwsstatus", + "community": 105, + "norm_label": ".waitdevwsstatus()" }, { - "label": "Networking & Routing Classes", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L43", + "label": "DevWorkspacePhase", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L73", "_origin": "ast", - "community": 188, - "norm_label": "networking & routing classes", - "id": "agents_networking_routing_classes" + "id": "test_e2e_pkg_client_devws_go_devworkspacephase", + "community": 105, + "norm_label": "devworkspacephase" }, { - "label": "Flexible Contributions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L51", + "label": ".DeleteDevWorkspace()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L99", "_origin": "ast", - "community": 188, - "norm_label": "flexible contributions", - "id": "agents_flexible_contributions" + "id": "client_k8sclient_deletedevworkspace", + "community": 105, + "norm_label": ".deletedevworkspace()" }, { - "label": "Quick Decision Guide", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L57", + "label": ".WaitForPVCDeleted()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L113", "_origin": "ast", - "community": 97, - "norm_label": "quick decision guide", - "id": "agents_quick_decision_guide" + "id": "client_k8sclient_waitforpvcdeleted", + "community": 105, + "norm_label": ".waitforpvcdeleted()" }, { - "label": "Error Handling Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L61", + "label": "Duration", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L113", "_origin": "ast", - "community": 97, - "norm_label": "error handling decisions", - "id": "agents_error_handling_decisions" + "id": "test_e2e_pkg_client_devws_go_duration", + "community": 105, + "norm_label": "duration" }, { - "label": "Client Usage Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L70", + "label": ".DeleteDevWorkspaceAndWait()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L133", "_origin": "ast", - "community": 97, - "norm_label": "client usage decisions", - "id": "agents_client_usage_decisions" + "id": "client_k8sclient_deletedevworkspaceandwait", + "community": 105, + "norm_label": ".deletedevworkspaceandwait()" }, { - "label": "Metrics Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L77", + "label": "namespace.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L1", "_origin": "ast", - "community": 97, - "norm_label": "metrics decisions", - "id": "agents_metrics_decisions" + "id": "client_namespace", + "community": 258, + "norm_label": "namespace.go" }, { - "label": "Infrastructure Detection Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L84", + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L32", "_origin": "ast", - "community": 97, - "norm_label": "infrastructure detection decisions", - "id": "agents_infrastructure_detection_decisions" + "id": "test_e2e_pkg_client_namespace_go_client_k8sclient", + "community": 195, + "norm_label": "k8sclient" }, { - "label": "Code Generation Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L91", + "label": ".CreateNamespace()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L32", "_origin": "ast", - "community": 97, - "norm_label": "code generation decisions", - "id": "agents_code_generation_decisions" + "id": "client_k8sclient_createnamespace", + "community": 195, + "norm_label": ".createnamespace()" }, { - "label": "Webhook Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L98", + "label": ".DeleteNamespace()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L41", "_origin": "ast", - "community": 97, - "norm_label": "webhook decisions", - "id": "agents_webhook_decisions" + "id": "client_k8sclient_deletenamespace", + "community": 195, + "norm_label": ".deletenamespace()" }, { - "label": "RBAC Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L105", + "label": ".WaitNamespaceIsTerminated()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L46", "_origin": "ast", - "community": 97, - "norm_label": "rbac decisions", - "id": "agents_rbac_decisions" + "id": "client_k8sclient_waitnamespaceisterminated", + "community": 195, + "norm_label": ".waitnamespaceisterminated()" }, { - "label": "Status Update Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L111", + "label": "oc.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L1", "_origin": "ast", - "community": 97, - "norm_label": "status update decisions", - "id": "agents_status_update_decisions" + "id": "client_oc", + "community": 259, + "norm_label": "oc.go" }, { - "label": "Testing Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L117", + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L26", "_origin": "ast", - "community": 97, - "norm_label": "testing decisions", - "id": "agents_testing_decisions" + "id": "test_e2e_pkg_client_oc_go_client_k8sclient", + "community": 269, + "norm_label": "k8sclient" }, { - "label": "Workspace Bootstrapping Decisions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L127", + "label": ".OcApplyWorkspace()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L26", "_origin": "ast", - "community": 97, - "norm_label": "workspace bootstrapping decisions", - "id": "agents_workspace_bootstrapping_decisions" + "id": "client_k8sclient_ocapplyworkspace", + "community": 269, + "norm_label": ".ocapplyworkspace()" }, { - "label": "Project-Specific Conventions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L132", + "label": ".ExecCommandInContainer()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L48", "_origin": "ast", - "community": 175, - "norm_label": "project-specific conventions", - "id": "agents_project_specific_conventions" + "id": "client_k8sclient_execcommandincontainer", + "community": 269, + "norm_label": ".execcommandincontainer()" }, { - "label": "File Headers", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L134", + "label": ".GetLogsForContainer()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L60", "_origin": "ast", - "community": 175, - "norm_label": "file headers", - "id": "agents_file_headers" + "id": "client_k8sclient_getlogsforcontainer", + "community": 269, + "norm_label": ".getlogsforcontainer()" }, { - "label": "Import Organization", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L154", + "label": "pod.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L1", "_origin": "ast", - "community": 175, - "norm_label": "import organization", - "id": "agents_import_organization" + "id": "client_pod", + "community": 260, + "norm_label": "pod.go" }, { - "label": "File Formatting", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L184", - "_origin": "ast", - "community": 175, - "norm_label": "file formatting", - "id": "agents_file_formatting" + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L30", + "_origin": "ast", + "id": "test_e2e_pkg_client_pod_go_client_k8sclient", + "community": 79, + "norm_label": "k8sclient" }, { - "label": "Naming Conventions", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L202", + "label": ".WaitForPodRunningByLabel()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L30", "_origin": "ast", - "community": 175, - "norm_label": "naming conventions", - "id": "agents_naming_conventions" + "id": "client_k8sclient_waitforpodrunningbylabel", + "community": 79, + "norm_label": ".waitforpodrunningbylabel()" }, { - "label": "Critical Patterns", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L210", + "label": ".WaitForRunningPodBySelector()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L49", "_origin": "ast", - "community": 87, - "norm_label": "critical patterns", - "id": "agents_critical_patterns" + "id": "client_k8sclient_waitforrunningpodbyselector", + "community": 79, + "norm_label": ".waitforrunningpodbyselector()" }, { - "label": "Error Handling with Custom Types", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L212", + "label": "Duration", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L49", "_origin": "ast", - "community": 87, - "norm_label": "error handling with custom types", - "id": "agents_error_handling_with_custom_types" + "id": "test_e2e_pkg_client_pod_go_duration", + "community": 79, + "norm_label": "duration" }, { - "label": "Status Updates with Defer", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L270", + "label": ".ListPods()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L70", "_origin": "ast", - "community": 87, - "norm_label": "status updates with defer", - "id": "agents_status_updates_with_defer" + "id": "client_k8sclient_listpods", + "community": 79, + "norm_label": ".listpods()" }, { - "label": "Failing Workspaces", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L293", + "label": "PodList", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L70", "_origin": "ast", - "community": 87, - "norm_label": "failing workspaces", - "id": "agents_failing_workspaces" + "id": "test_e2e_pkg_client_pod_go_podlist", + "community": 79, + "norm_label": "podlist" }, { - "label": "Infrastructure Detection Pattern", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L314", + "label": ".waitForPodRunning()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L82", "_origin": "ast", - "community": 87, - "norm_label": "infrastructure detection pattern", - "id": "agents_infrastructure_detection_pattern" + "id": "client_k8sclient_waitforpodrunning", + "community": 79, + "norm_label": ".waitforpodrunning()" }, { - "label": "Client Usage (Cached vs Non-Cached)", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L344", + "label": ".isPodRunning()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L88", "_origin": "ast", - "community": 87, - "norm_label": "client usage (cached vs non-cached)", - "id": "agents_client_usage_cached_vs_non_cached" + "id": "client_k8sclient_ispodrunning", + "community": 79, + "norm_label": ".ispodrunning()" }, { - "label": "Webhook Pattern", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L367", + "label": "ConditionFunc", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L88", "_origin": "ast", - "community": 87, - "norm_label": "webhook pattern", - "id": "agents_webhook_pattern" + "id": "conditionfunc", + "community": 79, + "norm_label": "conditionfunc" }, { - "label": "RBAC Markers", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L403", + "label": ".GetPodNameBySelector()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L106", "_origin": "ast", - "community": 87, - "norm_label": "rbac markers", - "id": "agents_rbac_markers" + "id": "client_k8sclient_getpodnamebyselector", + "community": 79, + "norm_label": ".getpodnamebyselector()" }, { - "label": "Testing Pattern", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L420", + "label": ".WaitForPodContainerToReady()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L124", "_origin": "ast", - "community": 87, - "norm_label": "testing pattern", - "id": "agents_testing_pattern" + "id": "client_k8sclient_waitforpodcontainertoready", + "community": 79, + "norm_label": ".waitforpodcontainertoready()" }, { - "label": "E2E Test Cleanup Pattern", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L447", + "label": ".IsPodContainerReady()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L146", "_origin": "ast", - "community": 87, - "norm_label": "e2e test cleanup pattern", - "id": "agents_e2e_test_cleanup_pattern" + "id": "client_k8sclient_ispodcontainerready", + "community": 79, + "norm_label": ".ispodcontainerready()" }, { - "label": "Deep Copy Pattern", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L511", + "label": "Pod", + "file_type": "code", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L146", "_origin": "ast", - "community": 87, - "norm_label": "deep copy pattern", - "id": "agents_deep_copy_pattern" + "id": "test_e2e_pkg_client_pod_go_pod", + "community": 79, + "norm_label": "pod" }, { - "label": "Reconciliation Best Practices", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L532", + "label": "rbac.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L1", "_origin": "ast", - "community": 87, - "norm_label": "reconciliation best practices", - "id": "agents_reconciliation_best_practices" + "id": "client_rbac", + "community": 261, + "norm_label": "rbac.go" }, { - "label": "Directory Structure", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L546", + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L33", "_origin": "ast", - "community": 104, - "norm_label": "directory structure", - "id": "agents_directory_structure" + "id": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "community": 144, + "norm_label": "k8sclient" }, { - "label": "Common Pitfalls (Don'ts)", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L575", + "label": ".CreateSA()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L33", "_origin": "ast", - "community": 138, - "norm_label": "common pitfalls (don'ts)", - "id": "agents_common_pitfalls_don_ts" + "id": "client_k8sclient_createsa", + "community": 144, + "norm_label": ".createsa()" }, { - "label": "Code Quality", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L577", + "label": ".AssignRoleToSA()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L46", "_origin": "ast", - "community": 138, - "norm_label": "code quality", - "id": "agents_code_quality" + "id": "client_k8sclient_assignroletosa", + "community": 144, + "norm_label": ".assignroletosa()" }, { - "label": "Error Handling", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L589", + "label": ".CheckK8sVersion()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L70", "_origin": "ast", - "community": 138, - "norm_label": "error handling", - "id": "agents_error_handling" + "id": "client_k8sclient_checkk8sversion", + "community": 144, + "norm_label": ".checkk8sversion()" }, { - "label": "Infrastructure & Configuration", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L595", + "label": ".CreateSAToken()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L78", "_origin": "ast", - "community": 138, - "norm_label": "infrastructure & configuration", - "id": "agents_infrastructure_configuration" + "id": "client_k8sclient_createsatoken", + "community": 144, + "norm_label": ".createsatoken()" }, { - "label": "Code Generation", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L601", + "label": ".WaitSAToken()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L90", "_origin": "ast", - "community": 138, - "norm_label": "code generation", - "id": "agents_code_generation" + "id": "client_k8sclient_waitsatoken", + "community": 144, + "norm_label": ".waitsatoken()" }, { - "label": "API Changes", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L607", + "label": ".getSAToken()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L120", "_origin": "ast", - "community": 138, - "norm_label": "api changes", - "id": "agents_api_changes" + "id": "client_k8sclient_getsatoken", + "community": 144, + "norm_label": ".getsatoken()" }, { - "label": "Testing", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L616", + "label": "webhooks.go", + "file_type": "code", + "source_file": "test/e2e/pkg/client/webhooks.go", + "source_location": "L1", "_origin": "ast", - "community": 138, - "norm_label": "testing", - "id": "agents_testing" + "id": "client_webhooks", + "community": 262, + "norm_label": "webhooks.go" }, { - "label": "Debugging", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L624", + "label": "K8sClient", + "file_type": "code", + "source_file": "test/e2e/pkg/client/webhooks.go", + "source_location": "L26", "_origin": "ast", - "community": 154, - "norm_label": "debugging", - "id": "agents_debugging" + "id": "test_e2e_pkg_client_webhooks_go_client_k8sclient", + "community": 241, + "norm_label": "k8sclient" }, { - "label": "Log Format and Workspace Identification", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L626", + "label": ".WaitForMutatingWebhooksConfigurations()", + "file_type": "code", + "source_file": "test/e2e/pkg/client/webhooks.go", + "source_location": "L26", "_origin": "ast", - "community": 154, - "norm_label": "log format and workspace identification", - "id": "agents_log_format_and_workspace_identification" + "id": "client_k8sclient_waitformutatingwebhooksconfigurations", + "community": 241, + "norm_label": ".waitformutatingwebhooksconfigurations()" }, { - "label": "Experimental Diff Logging", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L645", + "label": "config.go", + "file_type": "code", + "source_file": "test/e2e/pkg/config/config.go", + "source_location": "L1", "_origin": "ast", - "community": 154, - "norm_label": "experimental diff logging", - "id": "agents_experimental_diff_logging" + "id": "test_e2e_pkg_config_config_go_config_config", + "community": 283, + "norm_label": "config.go" }, { - "label": "Local Debugging", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L655", + "label": "metadata.go", + "file_type": "code", + "source_file": "test/e2e/pkg/metadata/metadata.go", + "source_location": "L1", "_origin": "ast", - "community": 154, - "norm_label": "local debugging", - "id": "agents_local_debugging" + "id": "test_e2e_pkg_metadata_metadata_go_metadata_metadata", + "community": 245, + "norm_label": "metadata.go" }, { - "label": "Webhook Debugging", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L668", + "label": "OperatorNamespace", + "file_type": "code", + "source_file": "test/e2e/pkg/metadata/metadata.go", + "source_location": "L18", "_origin": "ast", - "community": 154, - "norm_label": "webhook debugging", - "id": "agents_webhook_debugging" + "id": "metadata_operatornamespace", + "community": 245, + "norm_label": "operatornamespace" }, { - "label": "Reproducing Issues", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L675", + "label": "automount_volume_sanitization_tests.go", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", + "source_location": "L1", "_origin": "ast", - "community": 154, - "norm_label": "reproducing issues", - "id": "agents_reproducing_issues" + "id": "tests_automount_volume_sanitization_tests", + "community": 239, + "norm_label": "automount_volume_sanitization_tests.go" }, { - "label": "Build & Development", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L686", + "label": "getPodVolumeNames()", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", + "source_location": "L191", "_origin": "ast", - "community": 173, - "norm_label": "build & development", - "id": "agents_build_development" + "id": "tests_automount_volume_sanitization_tests_getpodvolumenames", + "community": 239, + "norm_label": "getpodvolumenames()" }, { - "label": "Common Make Targets", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L690", + "label": "Pod", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", + "source_location": "L191", "_origin": "ast", - "community": 173, - "norm_label": "common make targets", - "id": "agents_common_make_targets" + "id": "test_e2e_pkg_tests_automount_volume_sanitization_tests_go_pod", + "community": 239, + "norm_label": "pod" }, { - "label": "Development Workflow", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L702", + "label": "custom_init_container_tests.go", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/custom_init_container_tests.go", + "source_location": "L1", "_origin": "ast", - "community": 173, - "norm_label": "development workflow", - "id": "agents_development_workflow" + "id": "tests_custom_init_container_tests", + "community": 251, + "norm_label": "custom_init_container_tests.go" }, { - "label": "Code Generation Triggers", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L710", + "label": "getProjectRoot()", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/custom_init_container_tests.go", + "source_location": "L36", "_origin": "ast", - "community": 173, - "norm_label": "code generation triggers", - "id": "agents_code_generation_triggers" + "id": "tests_custom_init_container_tests_getprojectroot", + "community": 251, + "norm_label": "getprojectroot()" }, { - "label": "Environment Variables", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L720", + "label": "devworkspace_debug_poststart_tests.go", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/devworkspace_debug_poststart_tests.go", + "source_location": "L1", "_origin": "ast", - "community": 173, - "norm_label": "environment variables", - "id": "agents_environment_variables" + "id": "tests_devworkspace_debug_poststart_tests", + "community": 284, + "norm_label": "devworkspace_debug_poststart_tests.go" }, { - "label": "Version Information", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L726", + "label": "devworkspace_restart_tests.go", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/devworkspace_restart_tests.go", + "source_location": "L1", "_origin": "ast", - "community": 104, - "norm_label": "version information", - "id": "agents_version_information" + "id": "tests_devworkspace_restart_tests", + "community": 285, + "norm_label": "devworkspace_restart_tests.go" }, { - "label": "Common Operations Reference", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L737", + "label": "devworkspaces_tests.go", + "file_type": "code", + "source_file": "test/e2e/pkg/tests/devworkspaces_tests.go", + "source_location": "L1", "_origin": "ast", - "community": 174, - "norm_label": "common operations reference", - "id": "agents_common_operations_reference" + "id": "tests_devworkspaces_tests", + "community": 286, + "norm_label": "devworkspaces_tests.go" }, { - "label": "Get Controller Logs", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L741", + "label": "update_devworkspace_crds.sh", + "file_type": "code", + "source_file": "update_devworkspace_crds.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "file" + }, "_origin": "ast", - "community": 174, - "norm_label": "get controller logs", - "id": "agents_get_controller_logs" + "id": "update_devworkspace_crds", + "community": 250, + "norm_label": "update_devworkspace_crds.sh" }, { - "label": "Stop a Workspace", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L746", + "label": "update_devworkspace_crds.sh script", + "file_type": "code", + "source_file": "update_devworkspace_crds.sh", + "source_location": "L1", + "metadata": { + "language": "bash", + "kind": "bash_entrypoint" + }, "_origin": "ast", - "community": 174, - "norm_label": "stop a workspace", - "id": "agents_stop_a_workspace" + "id": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_update_devworkspace_crds_sh__entry", + "community": 250, + "norm_label": "update_devworkspace_crds.sh script" }, { - "label": "Start a Workspace", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L751", + "label": "version.go", + "file_type": "code", + "source_file": "version/version.go", + "source_location": "L1", "_origin": "ast", - "community": 174, - "norm_label": "start a workspace", - "id": "agents_start_a_workspace" + "id": "version_version", + "community": 290, + "norm_label": "version.go" }, { - "label": "Force Reconcile (Touch)", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L756", + "label": "main.go", + "file_type": "code", + "source_file": "webhook/main.go", + "source_location": "L1", "_origin": "ast", - "community": 174, - "norm_label": "force reconcile (touch)", - "id": "agents_force_reconcile_touch" + "id": "webhook_main", + "community": 98, + "norm_label": "main.go" }, { - "label": "Architecture Decision Records (ADRs)", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L762", + "label": "init()", + "file_type": "code", + "source_file": "webhook/main.go", + "source_location": "L68", "_origin": "ast", - "community": 104, - "norm_label": "architecture decision records (adrs)", - "id": "agents_architecture_decision_records_adrs" + "id": "webhook_main_init", + "community": 80, + "norm_label": "init()" }, { - "label": "When to Create an ADR", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L766", + "label": "main()", + "file_type": "code", + "source_file": "webhook/main.go", + "source_location": "L87", "_origin": "ast", - "community": 104, - "norm_label": "when to create an adr", - "id": "agents_when_to_create_an_adr" + "id": "webhook_main_main", + "community": 98, + "norm_label": "main()" }, { - "label": "How to Create an ADR", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L779", + "label": "createWebhooks()", + "file_type": "code", + "source_file": "webhook/main.go", + "source_location": "L217", "_origin": "ast", - "community": 104, - "norm_label": "how to create an adr", - "id": "agents_how_to_create_an_adr" + "id": "webhook_main_createwebhooks", + "community": 98, + "norm_label": "createwebhooks()" }, { - "label": "See Also", - "file_type": "document", - "source_file": "AGENTS.md", - "source_location": "L783", + "label": "Manager", + "file_type": "code", + "source_file": "webhook/main.go", + "source_location": "L217", "_origin": "ast", - "community": 104, - "norm_label": "see also", - "id": "agents_see_also" + "id": "webhook_main_go_manager", + "community": 98, + "norm_label": "manager" }, { - "label": "CHANGELOG.md", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L1", + "label": "setupConfigCacheWatcher()", + "file_type": "code", + "source_file": "webhook/main.go", + "source_location": "L231", "_origin": "ast", - "community": 157, - "norm_label": "changelog.md", - "id": "changelog" + "id": "webhook_main_setupconfigcachewatcher", + "community": 98, + "norm_label": "setupconfigcachewatcher()" }, { - "label": "DevWorkspace Operator Changelog", - "file_type": "document", - "source_file": "CHANGELOG.md", + "label": "server.go", + "file_type": "code", + "source_file": "webhook/server/server.go", "source_location": "L1", "_origin": "ast", - "community": 157, - "norm_label": "devworkspace operator changelog", - "id": "changelog_devworkspace_operator_changelog" + "id": "server_server", + "community": 98, + "norm_label": "server.go" }, { - "label": "v1.0.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L3", + "label": "ConfigureWebhookServer()", + "file_type": "code", + "source_file": "webhook/server/server.go", + "source_location": "L73", "_origin": "ast", - "community": 159, - "norm_label": "v1.0.0", - "id": "changelog_v1_0_0" + "id": "server_server_configurewebhookserver", + "community": 98, + "norm_label": "configurewebhookserver()" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L5", + "label": "Manager", + "file_type": "code", + "source_file": "webhook/server/server.go", + "source_location": "L73", "_origin": "ast", - "community": 159, - "norm_label": "features", - "id": "changelog_features" + "id": "webhook_server_server_go_manager", + "community": 98, + "norm_label": "manager" }, { - "label": "Optional per-workspace NetworkPolicy provisioning [#1710](https://github.com/devfile/devworkspace-operator/pull/1710)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L7", + "label": "GetWebhookServer()", + "file_type": "code", + "source_file": "webhook/server/server.go", + "source_location": "L104", "_origin": "ast", - "community": 159, - "norm_label": "optional per-workspace networkpolicy provisioning [#1710](https://github.com/devfile/devworkspace-operator/pull/1710)", - "id": "changelog_optional_per_workspace_networkpolicy_provisioning_1710_https_github_com_devfile_devworkspace_operator_pull_1710" + "id": "server_server_getwebhookserver", + "community": 98, + "norm_label": "getwebhookserver()" }, { - "label": "OpenShift-aware TLS configuration for metrics and webhook servers [#1695](https://github.com/devfile/devworkspace-operator/pull/1695)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L27", + "label": "Server", + "file_type": "code", + "source_file": "webhook/server/server.go", + "source_location": "L104", "_origin": "ast", - "community": 159, - "norm_label": "openshift-aware tls configuration for metrics and webhook servers [#1695](https://github.com/devfile/devworkspace-operator/pull/1695)", - "id": "changelog_openshift_aware_tls_configuration_for_metrics_and_webhook_servers_1695_https_github_com_devfile_devworkspace_operator_pull_1695" + "id": "server", + "community": 98, + "norm_label": "server" }, { - "label": "Tolerate additional labels and annotations on workspace deployments [#1711](https://github.com/devfile/devworkspace-operator/pull/1711)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L31", + "label": "IsSetUp()", + "file_type": "code", + "source_file": "webhook/server/server.go", + "source_location": "L109", "_origin": "ast", - "community": 159, - "norm_label": "tolerate additional labels and annotations on workspace deployments [#1711](https://github.com/devfile/devworkspace-operator/pull/1711)", - "id": "changelog_tolerate_additional_labels_and_annotations_on_workspace_deployments_1711_https_github_com_devfile_devworkspace_operator_pull_1711" + "id": "server_server_issetup", + "community": 98, + "norm_label": "issetup()" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L35", + "label": "annotations.go", + "file_type": "code", + "source_file": "webhook/workspace/annotations.go", + "source_location": "L1", "_origin": "ast", - "community": 159, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements" + "id": "workspace_annotations", + "community": 44, + "norm_label": "annotations.go" }, { - "label": "v0.43.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L39", + "label": "getWebhookAnnotations()", + "file_type": "code", + "source_file": "webhook/workspace/annotations.go", + "source_location": "L24", "_origin": "ast", - "community": 157, - "norm_label": "v0.43.0", - "id": "changelog_v0_43_0" + "id": "workspace_annotations_getwebhookannotations", + "community": 44, + "norm_label": "getwebhookannotations()" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L41", + "label": "annotations_test.go", + "file_type": "code", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L1", "_origin": "ast", - "community": 157, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_41" + "id": "workspace_annotations_test", + "community": 44, + "norm_label": "annotations_test.go" }, { - "label": "v0.42.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L48", + "label": "TestGetWebhookAnnotationsWithOpenShift()", + "file_type": "code", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L25", "_origin": "ast", - "community": 193, - "norm_label": "v0.42.0", - "id": "changelog_v0_42_0" + "id": "workspace_annotations_test_testgetwebhookannotationswithopenshift", + "community": 44, + "norm_label": "testgetwebhookannotationswithopenshift()" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L50", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L25", "_origin": "ast", - "community": 193, - "norm_label": "features", - "id": "changelog_features_50" + "id": "webhook_workspace_annotations_test_go_t", + "community": 44, + "norm_label": "t" }, { - "label": "Configurable field-level restrictions for container and pod overrides [#1653](https://github.com/devfile/devworkspace-operator/pull/1653)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L52", + "label": "TestGetWebhookAnnotationsWithKubernetes()", + "file_type": "code", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L33", "_origin": "ast", - "community": 193, - "norm_label": "configurable field-level restrictions for container and pod overrides [#1653](https://github.com/devfile/devworkspace-operator/pull/1653)", - "id": "changelog_configurable_field_level_restrictions_for_container_and_pod_overrides_1653_https_github_com_devfile_devworkspace_operator_pull_1653" + "id": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", + "community": 44, + "norm_label": "testgetwebhookannotationswithkubernetes()" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L75", + "label": "config.go", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L1", "_origin": "ast", - "community": 193, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_75" + "id": "workspace_config", + "community": 62, + "norm_label": "config.go" }, { - "label": "v0.41.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L83", + "label": "Configure()", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L39", "_origin": "ast", - "community": 160, - "norm_label": "v0.41.0", - "id": "changelog_v0_41_0" + "id": "workspace_config_configure", + "community": 62, + "norm_label": "configure()" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L85", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L39", "_origin": "ast", - "community": 160, - "norm_label": "features", - "id": "changelog_features_85" + "id": "webhook_workspace_config_go_context", + "community": 62, + "norm_label": "context" }, { - "label": "Mount automount resources only to specific DevWorkspaces [#1619](https://github.com/devfile/devworkspace-operator/pull/1619)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L87", + "label": "Manager", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L39", "_origin": "ast", - "community": 160, - "norm_label": "mount automount resources only to specific devworkspaces [#1619](https://github.com/devfile/devworkspace-operator/pull/1619)", - "id": "changelog_mount_automount_resources_only_to_specific_devworkspaces_1619_https_github_com_devfile_devworkspace_operator_pull_1619" + "id": "webhook_workspace_config_go_manager", + "community": 62, + "norm_label": "manager" }, { - "label": "Prevent workspace restart when automount resources are created or modified [#1533](https://github.com/devfile/devworkspace-operator/pull/1533)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L98", + "label": "getMutatingWebhook()", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L122", "_origin": "ast", - "community": 160, - "norm_label": "prevent workspace restart when automount resources are created or modified [#1533](https://github.com/devfile/devworkspace-operator/pull/1533)", - "id": "changelog_prevent_workspace_restart_when_automount_resources_are_created_or_modified_1533_https_github_com_devfile_devworkspace_operator_pull_1533" + "id": "workspace_config_getmutatingwebhook", + "community": 62, + "norm_label": "getmutatingwebhook()" }, { - "label": "Mount PVC subdirectory into workspace using subPath [#1595](https://github.com/devfile/devworkspace-operator/pull/1595)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L117", + "label": "Client", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L122", "_origin": "ast", - "community": 160, - "norm_label": "mount pvc subdirectory into workspace using subpath [#1595](https://github.com/devfile/devworkspace-operator/pull/1595)", - "id": "changelog_mount_pvc_subdirectory_into_workspace_using_subpath_1595_https_github_com_devfile_devworkspace_operator_pull_1595" + "id": "webhook_workspace_config_go_client", + "community": 62, + "norm_label": "client" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L132", + "label": "MutatingWebhookConfiguration", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L122", "_origin": "ast", - "community": 160, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_132" + "id": "webhook_workspace_config_go_mutatingwebhookconfiguration", + "community": 62, + "norm_label": "mutatingwebhookconfiguration" }, { - "label": "v0.40.1", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L138", + "label": "getValidateWebhook()", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L131", "_origin": "ast", - "community": 190, - "norm_label": "v0.40.1", - "id": "changelog_v0_40_1" + "id": "workspace_config_getvalidatewebhook", + "community": 62, + "norm_label": "getvalidatewebhook()" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L140", + "label": "ValidatingWebhookConfiguration", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L131", "_origin": "ast", - "community": 190, - "norm_label": "features", - "id": "changelog_features_140" + "id": "webhook_workspace_config_go_validatingwebhookconfiguration", + "community": 62, + "norm_label": "validatingwebhookconfiguration" }, { - "label": "Project clone retries [#1613](https://github.com/devfile/devworkspace-operator/pull/1613)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L142", + "label": "controllerSAUID()", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L140", "_origin": "ast", - "community": 190, - "norm_label": "project clone retries [#1613](https://github.com/devfile/devworkspace-operator/pull/1613)", - "id": "changelog_project_clone_retries_1613_https_github_com_devfile_devworkspace_operator_pull_1613" + "id": "workspace_config_controllersauid", + "community": 62, + "norm_label": "controllersauid()" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L146", + "label": "createClient()", + "file_type": "code", + "source_file": "webhook/workspace/config.go", + "source_location": "L164", "_origin": "ast", - "community": 190, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_146" + "id": "workspace_config_createclient", + "community": 62, + "norm_label": "createclient()" }, { - "label": "v0.40.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L155", + "label": "config_test.go", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L1", "_origin": "ast", - "community": 143, - "norm_label": "v0.40.0", - "id": "changelog_v0_40_0" + "id": "workspace_config_test", + "community": 303, + "norm_label": "config_test.go" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L157", + "label": "TestConfigurePropagatesEndpointIndexFailure()", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L28", "_origin": "ast", - "community": 143, - "norm_label": "features", - "id": "changelog_features_157" + "id": "workspace_config_test_testconfigurepropagatesendpointindexfailure", + "community": 303, + "norm_label": "testconfigurepropagatesendpointindexfailure()" }, { - "label": "Per-workspace backup status tracking [#1549](https://github.com/devfile/devworkspace-operator/issues/1549)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L159", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L28", "_origin": "ast", - "community": 143, - "norm_label": "per-workspace backup status tracking [#1549](https://github.com/devfile/devworkspace-operator/issues/1549)", - "id": "changelog_per_workspace_backup_status_tracking_1549_https_github_com_devfile_devworkspace_operator_issues_1549" + "id": "webhook_workspace_config_test_go_t", + "community": 303, + "norm_label": "t" }, { - "label": "Restore workspace from backup [#1525](https://github.com/devfile/devworkspace-operator/issues/1525)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L168", + "label": "endpointIndexManager", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L34", "_origin": "ast", - "community": 143, - "norm_label": "restore workspace from backup [#1525](https://github.com/devfile/devworkspace-operator/issues/1525)", - "id": "changelog_restore_workspace_from_backup_1525_https_github_com_devfile_devworkspace_operator_issues_1525" + "id": "workspace_endpointindexmanager", + "community": 303, + "norm_label": "endpointindexmanager" }, { - "label": "Configurable backup job retry limit [#1579](https://github.com/devfile/devworkspace-operator/issues/1579)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L184", + "label": "Manager", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L35", "_origin": "ast", - "community": 143, - "norm_label": "configurable backup job retry limit [#1579](https://github.com/devfile/devworkspace-operator/issues/1579)", - "id": "changelog_configurable_backup_job_retry_limit_1579_https_github_com_devfile_devworkspace_operator_issues_1579" + "id": "webhook_workspace_config_test_go_manager", + "community": 303, + "norm_label": "manager" }, { - "label": "Inject HOST_USERS environment variable for user namespace configuration [#1582](https://github.com/devfile/devworkspace-operator/pull/1582)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L199", + "label": "FieldIndexer", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L36", "_origin": "ast", - "community": 143, - "norm_label": "inject host_users environment variable for user namespace configuration [#1582](https://github.com/devfile/devworkspace-operator/pull/1582)", - "id": "changelog_inject_host_users_environment_variable_for_user_namespace_configuration_1582_https_github_com_devfile_devworkspace_operator_pull_1582" + "id": "webhook_workspace_config_test_go_fieldindexer", + "community": 303, + "norm_label": "fieldindexer" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L203", + "label": ".GetFieldIndexer()", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L39", "_origin": "ast", - "community": 143, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_203" + "id": "workspace_endpointindexmanager_getfieldindexer", + "community": 303, + "norm_label": ".getfieldindexer()" }, { - "label": "v0.39.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L210", + "label": "failingEndpointIndexer", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L41", "_origin": "ast", - "community": 158, - "norm_label": "v0.39.0", - "id": "changelog_v0_39_0" + "id": "workspace_failingendpointindexer", + "community": 303, + "norm_label": "failingendpointindexer" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L211", + "label": ".IndexField()", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "_origin": "ast", - "community": 158, - "norm_label": "features", - "id": "changelog_features_211" + "id": "workspace_failingendpointindexer_indexfield", + "community": 303, + "norm_label": ".indexfield()" }, { - "label": "Implement backup feature for DevWorkspaces [#1524](https://github.com/devfile/devworkspace-operator/issues/1524)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L212", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "_origin": "ast", - "community": 158, - "norm_label": "implement backup feature for devworkspaces [#1524](https://github.com/devfile/devworkspace-operator/issues/1524)", - "id": "changelog_implement_backup_feature_for_devworkspaces_1524_https_github_com_devfile_devworkspace_operator_issues_1524" + "id": "webhook_workspace_config_test_go_context", + "community": 303, + "norm_label": "context" }, { - "label": "Add the ability to configure custom init containers [#1559](https://github.com/devfile/devworkspace-operator/issues/1559)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L222", + "label": "Object", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "_origin": "ast", - "community": 158, - "norm_label": "add the ability to configure custom init containers [#1559](https://github.com/devfile/devworkspace-operator/issues/1559)", - "id": "changelog_add_the_ability_to_configure_custom_init_containers_1559_https_github_com_devfile_devworkspace_operator_issues_1559" + "id": "webhook_workspace_config_test_go_object", + "community": 303, + "norm_label": "object" }, { - "label": "Add container resource caps enforcement [#1561](https://github.com/devfile/devworkspace-operator/issues/1561)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L247", + "label": "IndexerFunc", + "file_type": "code", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "_origin": "ast", - "community": 158, - "norm_label": "add container resource caps enforcement [#1561](https://github.com/devfile/devworkspace-operator/issues/1561)", - "id": "changelog_add_container_resource_caps_enforcement_1561_https_github_com_devfile_devworkspace_operator_issues_1561" + "id": "webhook_workspace_config_test_go_indexerfunc", + "community": 303, + "norm_label": "indexerfunc" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L269", + "label": "access_control.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L1", "_origin": "ast", - "community": 158, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_269" + "id": "handler_access_control", + "community": 270, + "norm_label": "access_control.go" }, { - "label": "v0.38.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L272", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "_origin": "ast", - "community": 191, - "norm_label": "v0.38.0", - "id": "changelog_v0_38_0" + "id": "webhook_workspace_handler_access_control_go_handler_webhookhandler", + "community": 151, + "norm_label": "webhookhandler" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L273", + "label": ".validateUserPermissions()", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "_origin": "ast", - "community": 191, - "norm_label": "features", - "id": "changelog_features_273" + "id": "handler_webhookhandler_validateuserpermissions", + "community": 151, + "norm_label": ".validateuserpermissions()" }, { - "label": "Improved debugging for failing postStart commands [#1538](https://github.com/devfile/devworkspace-operator/issues/1538)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L274", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "_origin": "ast", - "community": 191, - "norm_label": "improved debugging for failing poststart commands [#1538](https://github.com/devfile/devworkspace-operator/issues/1538)", - "id": "changelog_improved_debugging_for_failing_poststart_commands_1538_https_github_com_devfile_devworkspace_operator_issues_1538" + "id": "webhook_workspace_handler_access_control_go_context", + "community": 151, + "norm_label": "context" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L281", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "_origin": "ast", - "community": 191, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_281" + "id": "webhook_workspace_handler_access_control_go_request", + "community": 151, + "norm_label": "request" }, { - "label": "v0.37.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L286", + "label": "DevWorkspaceTemplateSpec", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "_origin": "ast", - "community": 178, - "norm_label": "v0.37.0", - "id": "changelog_v0_37_0" + "id": "webhook_workspace_handler_access_control_go_devworkspacetemplatespec", + "community": 151, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L287", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "_origin": "ast", - "community": 178, - "norm_label": "features", - "id": "changelog_features_287" + "id": "webhook_workspace_handler_access_control_go_devworkspace", + "community": 151, + "norm_label": "devworkspace" }, { - "label": "Add hostUsers field to DWOC [#1493](https://github.com/devfile/devworkspace-operator/issues/1493)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L288", + "label": ".validateOpenShiftSCC()", + "file_type": "code", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L88", "_origin": "ast", - "community": 178, - "norm_label": "add hostusers field to dwoc [#1493](https://github.com/devfile/devworkspace-operator/issues/1493)", - "id": "changelog_add_hostusers_field_to_dwoc_1493_https_github_com_devfile_devworkspace_operator_issues_1493" + "id": "handler_webhookhandler_validateopenshiftscc", + "community": 151, + "norm_label": ".validateopenshiftscc()" }, { - "label": "Provide timeout for postStart events [#1496](https://github.com/devfile/devworkspace-operator/issues/1496)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L303", + "label": "attributes.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/attributes.go", + "source_location": "L1", "_origin": "ast", - "community": 178, - "norm_label": "provide timeout for poststart events [#1496](https://github.com/devfile/devworkspace-operator/issues/1496)", - "id": "changelog_provide_timeout_for_poststart_events_1496_https_github_com_devfile_devworkspace_operator_issues_1496" + "id": "handler_attributes", + "community": 316, + "norm_label": "attributes.go" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L316", + "label": "checkMultipleContainerContributionTargets()", + "file_type": "code", + "source_file": "webhook/workspace/handler/attributes.go", + "source_location": "L32", "_origin": "ast", - "community": 178, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_316" + "id": "handler_attributes_checkmultiplecontainercontributiontargets", + "community": 316, + "norm_label": "checkmultiplecontainercontributiontargets()" }, { - "label": "v0.36.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L322", + "label": "DevWorkspaceTemplateSpec", + "file_type": "code", + "source_file": "webhook/workspace/handler/attributes.go", + "source_location": "L32", "_origin": "ast", - "community": 179, - "norm_label": "v0.36.0", - "id": "changelog_v0_36_0" + "id": "webhook_workspace_handler_attributes_go_devworkspacetemplatespec", + "community": 316, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L323", + "label": "deployment.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L1", "_origin": "ast", - "community": 179, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_323" + "id": "handler_deployment", + "community": 271, + "norm_label": "deployment.go" }, { - "label": "Remove `kube-rbac-proxy` from the controller Deployment [#1437](https://github.com/devfile/devworkspace-operator/pull/1437)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L324", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "_origin": "ast", - "community": 179, - "norm_label": "remove `kube-rbac-proxy` from the controller deployment [#1437](https://github.com/devfile/devworkspace-operator/pull/1437)", - "id": "changelog_remove_kube_rbac_proxy_from_the_controller_deployment_1437_https_github_com_devfile_devworkspace_operator_pull_1437" + "id": "webhook_workspace_handler_deployment_go_handler_webhookhandler", + "community": 164, + "norm_label": "webhookhandler" }, { - "label": "Execute preStart devfile events after the project-clone init-container has run [#1454](https://github.com/devfile/devworkspace-operator/issues/1454)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L329", + "label": ".MutateDeploymentOnCreate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "_origin": "ast", - "community": 179, - "norm_label": "execute prestart devfile events after the project-clone init-container has run [#1454](https://github.com/devfile/devworkspace-operator/issues/1454)", - "id": "changelog_execute_prestart_devfile_events_after_the_project_clone_init_container_has_run_1454_https_github_com_devfile_devworkspace_operator_issues_1454" + "id": "handler_webhookhandler_mutatedeploymentoncreate", + "community": 164, + "norm_label": ".mutatedeploymentoncreate()" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L332", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "_origin": "ast", - "community": 179, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_332" + "id": "webhook_workspace_handler_deployment_go_context", + "community": 164, + "norm_label": "context" }, { - "label": "v0.35.1", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L336", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "_origin": "ast", - "community": 157, - "norm_label": "v0.35.1", - "id": "changelog_v0_35_1" + "id": "webhook_workspace_handler_deployment_go_request", + "community": 164, + "norm_label": "request" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L337", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "_origin": "ast", - "community": 157, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_337" + "id": "webhook_workspace_handler_deployment_go_response", + "community": 164, + "norm_label": "response" }, { - "label": "v0.35.0", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L340", + "label": ".MutateDeploymentOnUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L47", "_origin": "ast", - "community": 192, - "norm_label": "v0.35.0", - "id": "changelog_v0_35_0" + "id": "handler_webhookhandler_mutatedeploymentonupdate", + "community": 164, + "norm_label": ".mutatedeploymentonupdate()" }, { - "label": "Features", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L342", + "label": "endpoint_cache_test.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L1", "_origin": "ast", - "community": 192, - "norm_label": "features", - "id": "changelog_features_342" + "id": "handler_endpoint_cache_test", + "community": 115, + "norm_label": "endpoint_cache_test.go" }, { - "label": "Make workspace PVC's Access mode configurable [#1019](https://github.com/devfile/devworkspace-operator/issues/1019)", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L343", + "label": "newEndpointCache()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "_origin": "ast", - "community": 192, - "norm_label": "make workspace pvc's access mode configurable [#1019](https://github.com/devfile/devworkspace-operator/issues/1019)", - "id": "changelog_make_workspace_pvc_s_access_mode_configurable_1019_https_github_com_devfile_devworkspace_operator_issues_1019" + "id": "handler_endpoint_cache_test_newendpointcache", + "community": 115, + "norm_label": "newendpointcache()" }, { - "label": "Bug Fixes & Improvements", - "file_type": "document", - "source_file": "CHANGELOG.md", - "source_location": "L358", + "label": "TB", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "_origin": "ast", - "community": 192, - "norm_label": "bug fixes & improvements", - "id": "changelog_bug_fixes_improvements_358" + "id": "tb", + "community": 115, + "norm_label": "tb" }, { - "label": "CONTRIBUTING.md", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L1", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "_origin": "ast", - "community": 21, - "norm_label": "contributing.md", - "id": "contributing" + "id": "webhook_workspace_handler_endpoint_cache_test_go_devworkspace", + "community": 115, + "norm_label": "devworkspace" }, { - "label": "Contributing", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L1", + "label": "Cache", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "_origin": "ast", - "community": 21, - "norm_label": "contributing", - "id": "contributing_contributing" + "id": "cache", + "community": 115, + "norm_label": "cache" }, { - "label": "Code of Conduct", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L5", + "label": "RaceFreeFakeWatcher", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "_origin": "ast", - "community": 21, - "norm_label": "code of conduct", - "id": "contributing_code_of_conduct" + "id": "racefreefakewatcher", + "community": 115, + "norm_label": "racefreefakewatcher" }, { - "label": "Getting Started", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L9", + "label": "TestDiscoverableEndpointCacheLifecycle()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L134", "_origin": "ast", - "community": 21, - "norm_label": "getting started", - "id": "contributing_getting_started" + "id": "handler_endpoint_cache_test_testdiscoverableendpointcachelifecycle", + "community": 115, + "norm_label": "testdiscoverableendpointcachelifecycle()" }, { - "label": "Issues", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L11", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L134", "_origin": "ast", - "community": 21, - "norm_label": "issues", - "id": "contributing_issues" + "id": "webhook_workspace_handler_endpoint_cache_test_go_t", + "community": 115, + "norm_label": "t" }, { - "label": "Pull Requests", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L16", + "label": "endpoint_contract_test.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L1", "_origin": "ast", - "community": 21, - "norm_label": "pull requests", - "id": "contributing_pull_requests" + "id": "handler_endpoint_contract_test", + "community": 114, + "norm_label": "endpoint_contract_test.go" }, { - "label": "CI", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L34", + "label": "TestDiscoverableEndpointContract()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L36", "_origin": "ast", - "community": 21, - "norm_label": "ci", - "id": "contributing_ci" + "id": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "community": 114, + "norm_label": "testdiscoverableendpointcontract()" }, { - "label": "GitHub actions", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L36", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L36", "_origin": "ast", - "community": 21, - "norm_label": "github actions", - "id": "contributing_github_actions" + "id": "webhook_workspace_handler_endpoint_contract_test_go_t", + "community": 114, + "norm_label": "t" }, { - "label": "Development", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L41", + "label": "endpoint_index_test.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L1", "_origin": "ast", - "community": 21, - "norm_label": "development", - "id": "contributing_development" + "id": "handler_endpoint_index_test", + "community": 170, + "norm_label": "endpoint_index_test.go" }, { - "label": "Codebase Navigation (Graphify)", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L45", + "label": "endpointIndexRegistration", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L31", "_origin": "ast", - "community": 21, - "norm_label": "codebase navigation (graphify)", - "id": "contributing_codebase_navigation_graphify" + "id": "handler_endpointindexregistration", + "community": 170, + "norm_label": "endpointindexregistration" }, { - "label": "Prerequisites", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L71", + "label": "Object", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L32", "_origin": "ast", - "community": 21, - "norm_label": "prerequisites", - "id": "contributing_prerequisites" + "id": "webhook_workspace_handler_endpoint_index_test_go_object", + "community": 170, + "norm_label": "object" }, { - "label": "macOS Specific Issues", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L88", + "label": "IndexerFunc", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L34", "_origin": "ast", - "community": 21, - "norm_label": "macos specific issues", - "id": "contributing_macos_specific_issues" + "id": "webhook_workspace_handler_endpoint_index_test_go_indexerfunc", + "community": 170, + "norm_label": "indexerfunc" }, { - "label": "Multi-Architecture Builds", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L115", + "label": ".IndexField()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L38", "_origin": "ast", - "community": 21, - "norm_label": "multi-architecture builds", - "id": "contributing_multi_architecture_builds" + "id": "handler_endpointindexregistration_indexfield", + "community": 170, + "norm_label": ".indexfield()" }, { - "label": "Container Tool Selection", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L136", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L38", "_origin": "ast", - "community": 21, - "norm_label": "container tool selection", - "id": "contributing_container_tool_selection" + "id": "webhook_workspace_handler_endpoint_index_test_go_context", + "community": 170, + "norm_label": "context" }, { - "label": "Makefile", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L156", + "label": "newIndexedWorkspaceClientBuilder()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "_origin": "ast", - "community": 21, - "norm_label": "makefile", - "id": "contributing_makefile" + "id": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "community": 114, + "norm_label": "newindexedworkspaceclientbuilder()" }, { - "label": "DevWorkspace Operator first time development setup", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L182", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "_origin": "ast", - "community": 21, - "norm_label": "devworkspace operator first time development setup", - "id": "contributing_devworkspace_operator_first_time_development_setup" + "id": "webhook_workspace_handler_endpoint_index_test_go_t", + "community": 170, + "norm_label": "t" }, { - "label": "Test run controller", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L227", + "label": "Scheme", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "_origin": "ast", - "community": 21, - "norm_label": "test run controller", - "id": "contributing_test_run_controller" + "id": "webhook_workspace_handler_endpoint_index_test_go_scheme", + "community": 114, + "norm_label": "scheme" }, { - "label": "Run controller locally", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L233", + "label": "ClientBuilder", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "_origin": "ast", - "community": 21, - "norm_label": "run controller locally", - "id": "contributing_run_controller_locally" + "id": "clientbuilder", + "community": 114, + "norm_label": "clientbuilder" }, { - "label": "Run controller locally and debug", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L258", + "label": "TestRegisterDiscoverableEndpointIndexFailure()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L51", "_origin": "ast", - "community": 21, - "norm_label": "run controller locally and debug", - "id": "contributing_run_controller_locally_and_debug" + "id": "handler_endpoint_index_test_testregisterdiscoverableendpointindexfailure", + "community": 170, + "norm_label": "testregisterdiscoverableendpointindexfailure()" }, { - "label": "Run webhook server locally and debug", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L274", + "label": "TestValidateEndpointsListFailure()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L57", "_origin": "ast", - "community": 21, - "norm_label": "run webhook server locally and debug", - "id": "contributing_run_webhook_server_locally_and_debug" + "id": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "community": 170, + "norm_label": "testvalidateendpointslistfailure()" }, { - "label": "Running Tests", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L288", + "label": "endpointListFailureClient", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L75", "_origin": "ast", - "community": 21, - "norm_label": "running tests", - "id": "contributing_running_tests" + "id": "handler_endpointlistfailureclient", + "community": 170, + "norm_label": "endpointlistfailureclient" }, { - "label": "Updating devfile API", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L306", + "label": "Client", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L76", "_origin": "ast", - "community": 21, - "norm_label": "updating devfile api", - "id": "contributing_updating_devfile_api" + "id": "webhook_workspace_handler_endpoint_index_test_go_client", + "community": 170, + "norm_label": "client" }, { - "label": "Remove controller from your K8s/OS Cluster", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L320", + "label": ".List()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L80", "_origin": "ast", - "community": 21, - "norm_label": "remove controller from your k8s/os cluster", - "id": "contributing_remove_controller_from_your_k8s_os_cluster" + "id": "handler_endpointlistfailureclient_list", + "community": 170, + "norm_label": ".list()" }, { - "label": "Build a custom OLM bundle", - "file_type": "document", - "source_file": "CONTRIBUTING.md", - "source_location": "L330", + "label": "ObjectList", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L80", "_origin": "ast", - "community": 21, - "norm_label": "build a custom olm bundle", - "id": "contributing_build_a_custom_olm_bundle" + "id": "webhook_workspace_handler_endpoint_index_test_go_objectlist", + "community": 170, + "norm_label": "objectlist" }, { - "label": "README.md", - "file_type": "document", - "source_file": "README.md", - "source_location": "L1", + "label": "TestValidateEndpointsUsesUniqueIndexedQueries()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L85", "_origin": "ast", - "community": 73, - "norm_label": "readme.md", - "id": "readme" + "id": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "community": 170, + "norm_label": "testvalidateendpointsusesuniqueindexedqueries()" }, { - "label": "DevWorkspace Operator", - "file_type": "document", - "source_file": "README.md", - "source_location": "L3", + "label": "endpointQueryClient", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L105", "_origin": "ast", - "community": 73, - "norm_label": "devworkspace operator", - "id": "readme_devworkspace_operator" + "id": "handler_endpointqueryclient", + "community": 170, + "norm_label": "endpointqueryclient" }, { - "label": "What is the DevWorkspace Operator?", - "file_type": "document", - "source_file": "README.md", - "source_location": "L11", + "label": ".List()", + "file_type": "code", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L111", "_origin": "ast", - "community": 73, - "norm_label": "what is the devworkspace operator?", - "id": "readme_what_is_the_devworkspace_operator" + "id": "handler_endpointqueryclient_list", + "community": 170, + "norm_label": ".list()" }, { - "label": "Example", - "file_type": "document", - "source_file": "README.md", - "source_location": "L27", + "label": "exec.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L1", "_origin": "ast", - "community": 73, - "norm_label": "example", - "id": "readme_example" + "id": "handler_exec", + "community": 272, + "norm_label": "exec.go" }, { - "label": "DevWorkspace Template", - "file_type": "document", - "source_file": "README.md", - "source_location": "L35", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "_origin": "ast", - "community": 73, - "norm_label": "devworkspace template", - "id": "readme_devworkspace_template" + "id": "webhook_workspace_handler_exec_go_handler_webhookhandler", + "community": 183, + "norm_label": "webhookhandler" }, { - "label": "DevWorkspace Contributions", - "file_type": "document", - "source_file": "README.md", - "source_location": "L42", + "label": ".ValidateExecOnConnect()", + "file_type": "code", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "_origin": "ast", - "community": 73, - "norm_label": "devworkspace contributions", - "id": "readme_devworkspace_contributions" + "id": "handler_webhookhandler_validateexeconconnect", + "community": 183, + "norm_label": ".validateexeconconnect()" }, { - "label": "Additional configuration", - "file_type": "document", - "source_file": "README.md", - "source_location": "L51", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "_origin": "ast", - "community": 73, - "norm_label": "additional configuration", - "id": "readme_additional_configuration" + "id": "webhook_workspace_handler_exec_go_context", + "community": 183, + "norm_label": "context" }, { - "label": "DevWorkspace Operator on Developer Sandbox", - "file_type": "document", - "source_file": "README.md", - "source_location": "L56", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "_origin": "ast", - "community": 73, - "norm_label": "devworkspace operator on developer sandbox", - "id": "readme_devworkspace_operator_on_developer_sandbox" + "id": "webhook_workspace_handler_exec_go_request", + "community": 183, + "norm_label": "request" }, { - "label": "DevWorkspace Operator Installation", - "file_type": "document", - "source_file": "README.md", - "source_location": "L70", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "_origin": "ast", - "community": 73, - "norm_label": "devworkspace operator installation", - "id": "readme_devworkspace_operator_installation" + "id": "webhook_workspace_handler_exec_go_response", + "community": 183, + "norm_label": "response" }, { - "label": "Platform-Specific Installation Guides", - "file_type": "document", - "source_file": "README.md", - "source_location": "L76", + "label": "handler.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L1", "_origin": "ast", - "community": 73, - "norm_label": "platform-specific installation guides", - "id": "readme_platform_specific_installation_guides" + "id": "handler_handler", + "community": 2, + "norm_label": "handler.go" }, { - "label": "Installing the Operator Lifecycle Manager", - "file_type": "document", - "source_file": "README.md", - "source_location": "L89", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L27", "_origin": "ast", - "community": 73, - "norm_label": "installing the operator lifecycle manager", - "id": "readme_installing_the_operator_lifecycle_manager" + "id": "webhook_workspace_handler_handler_go_handler_webhookhandler", + "community": 2, + "norm_label": "webhookhandler" }, { - "label": "Adding the DevWorkspace Operator catalog source", - "file_type": "document", - "source_file": "README.md", - "source_location": "L97", + "label": "Client", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L30", "_origin": "ast", - "community": 73, - "norm_label": "adding the devworkspace operator catalog source", - "id": "readme_adding_the_devworkspace_operator_catalog_source" + "id": "webhook_workspace_handler_handler_go_client", + "community": 2, + "norm_label": "client" }, { - "label": "Create the DevWorkspace Operator Subscription", - "file_type": "document", - "source_file": "README.md", - "source_location": "L127", + "label": "Decoder", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L31", "_origin": "ast", - "community": 73, - "norm_label": "create the devworkspace operator subscription", - "id": "readme_create_the_devworkspace_operator_subscription" + "id": "decoder", + "community": 2, + "norm_label": "decoder" }, { - "label": "Contributing", - "file_type": "document", - "source_file": "README.md", - "source_location": "L147", + "label": ".parse()", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L36", "_origin": "ast", - "community": 73, - "norm_label": "contributing", - "id": "readme_contributing" + "id": "handler_webhookhandler_parse", + "community": 2, + "norm_label": ".parse()" }, { - "label": "2026-05-11-backup-auth-secret-lifecycle.md", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L1", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L36", "_origin": "ast", - "community": 52, - "norm_label": "2026-05-11-backup-auth-secret-lifecycle.md", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle" + "id": "webhook_workspace_handler_handler_go_request", + "community": 2, + "norm_label": "request" }, { - "label": "Backup Auth Secret Must Not Be Owned by Any Workspace", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L1", + "label": "Object", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L36", "_origin": "ast", - "community": 52, - "norm_label": "backup auth secret must not be owned by any workspace", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_backup_auth_secret_must_not_be_owned_by_any_workspace" + "id": "webhook_workspace_handler_handler_go_object", + "community": 2, + "norm_label": "object" }, { - "label": "Context", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L8", + "label": ".returnPatched()", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L49", "_origin": "ast", - "community": 52, - "norm_label": "context", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_context" + "id": "handler_webhookhandler_returnpatched", + "community": 2, + "norm_label": ".returnpatched()" }, { - "label": "Decision", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L32", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L49", "_origin": "ast", - "community": 52, - "norm_label": "decision", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_decision" + "id": "webhook_workspace_handler_handler_go_response", + "community": 2, + "norm_label": "response" }, { - "label": "What Changes", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L36", + "label": "immutable.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L1", "_origin": "ast", - "community": 52, - "norm_label": "what changes", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_what_changes" + "id": "handler_immutable", + "community": 29, + "norm_label": "immutable.go" }, { - "label": "What Doesn't Change", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L42", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "_origin": "ast", - "community": 52, - "norm_label": "what doesn't change", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_what_doesn_t_change" + "id": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "community": 29, + "norm_label": "webhookhandler" }, { - "label": "Considered Alternatives", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L48", + "label": ".HandleRestrictedAccessUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "_origin": "ast", - "community": 52, - "norm_label": "considered alternatives", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_considered_alternatives" + "id": "handler_webhookhandler_handlerestrictedaccessupdate", + "community": 29, + "norm_label": ".handlerestrictedaccessupdate()" }, { - "label": "Alternative 1: Multi-owner references (non-controller)", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L50", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "_origin": "ast", - "community": 52, - "norm_label": "alternative 1: multi-owner references (non-controller)", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_alternative_1_multi_owner_references_non_controller" + "id": "webhook_workspace_handler_immutable_go_context", + "community": 29, + "norm_label": "context" }, { - "label": "Alternative 2: Finalizer-based cleanup", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L59", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "_origin": "ast", - "community": 52, - "norm_label": "alternative 2: finalizer-based cleanup", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_alternative_2_finalizer_based_cleanup" + "id": "webhook_workspace_handler_immutable_go_request", + "community": 29, + "norm_label": "request" }, { - "label": "Alternative 3: Per-workspace auth secrets", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L68", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "_origin": "ast", - "community": 52, - "norm_label": "alternative 3: per-workspace auth secrets", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_alternative_3_per_workspace_auth_secrets" + "id": "webhook_workspace_handler_immutable_go_response", + "community": 29, + "norm_label": "response" }, { - "label": "Consequences", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L77", + "label": ".HandleRestrictedAccessCreate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L79", "_origin": "ast", - "community": 52, - "norm_label": "consequences", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_consequences" + "id": "handler_webhookhandler_handlerestrictedaccesscreate", + "community": 29, + "norm_label": ".handlerestrictedaccesscreate()" }, { - "label": "Positive", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L79", + "label": ".checkRestrictedAccessWorkspaceV1alpha1()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L99", "_origin": "ast", - "community": 52, - "norm_label": "positive", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_positive" + "id": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", + "community": 29, + "norm_label": ".checkrestrictedaccessworkspacev1alpha1()" }, { - "label": "Negative", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L85", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L99", "_origin": "ast", - "community": 52, - "norm_label": "negative", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_negative" + "id": "webhook_workspace_handler_immutable_go_devworkspace", + "community": 29, + "norm_label": "devworkspace" }, { - "label": "Neutral", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L89", + "label": ".checkRestrictedAccessWorkspaceV1alpha2()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L113", "_origin": "ast", - "community": 52, - "norm_label": "neutral", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_neutral" + "id": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", + "community": 29, + "norm_label": ".checkrestrictedaccessworkspacev1alpha2()" }, { - "label": "References", - "file_type": "document", - "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", - "source_location": "L93", + "label": ".handleImmutableObj()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L127", "_origin": "ast", - "community": 52, - "norm_label": "references", - "id": "adr_2026_05_11_backup_auth_secret_lifecycle_references" + "id": "handler_webhookhandler_handleimmutableobj", + "community": 29, + "norm_label": ".handleimmutableobj()" }, { - "label": "2026-08-26-sanitize-automount-volume-names.md", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L1", + "label": "Object", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L127", "_origin": "ast", - "community": 85, - "norm_label": "2026-08-26-sanitize-automount-volume-names.md", - "id": "adr_2026_08_26_sanitize_automount_volume_names" + "id": "webhook_workspace_handler_immutable_go_object", + "community": 29, + "norm_label": "object" }, { - "label": "Sanitize automount volume names to be DNS-1123 compliant", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L1", + "label": ".handleImmutablePod()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L134", "_origin": "ast", - "community": 85, - "norm_label": "sanitize automount volume names to be dns-1123 compliant", - "id": "adr_2026_08_26_sanitize_automount_volume_names_sanitize_automount_volume_names_to_be_dns_1123_compliant" + "id": "handler_webhookhandler_handleimmutablepod", + "community": 29, + "norm_label": ".handleimmutablepod()" }, { - "label": "Context", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L8", + "label": "Pod", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L134", "_origin": "ast", - "community": 85, - "norm_label": "context", - "id": "adr_2026_08_26_sanitize_automount_volume_names_context" + "id": "webhook_workspace_handler_immutable_go_pod", + "community": 29, + "norm_label": "pod" }, { - "label": "Decision", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L27", + "label": ".handleImmutableRoute()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L171", "_origin": "ast", - "community": 85, - "norm_label": "decision", - "id": "adr_2026_08_26_sanitize_automount_volume_names_decision" + "id": "handler_webhookhandler_handleimmutableroute", + "community": 29, + "norm_label": ".handleimmutableroute()" }, { - "label": "Considered Alternatives", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L38", + "label": ".handleImmutableService()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L178", "_origin": "ast", - "community": 85, - "norm_label": "considered alternatives", - "id": "adr_2026_08_26_sanitize_automount_volume_names_considered_alternatives" + "id": "handler_webhookhandler_handleimmutableservice", + "community": 29, + "norm_label": ".handleimmutableservice()" }, { - "label": "Alternative 1: Reject invalid object names at admission (webhook validation)", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L40", + "label": ".checkRestrictedAccessAnnotation()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L187", "_origin": "ast", - "community": 85, - "norm_label": "alternative 1: reject invalid object names at admission (webhook validation)", - "id": "adr_2026_08_26_sanitize_automount_volume_names_alternative_1_reject_invalid_object_names_at_admission_webhook_validation" + "id": "handler_webhookhandler_checkrestrictedaccessannotation", + "community": 29, + "norm_label": ".checkrestrictedaccessannotation()" }, { - "label": "Alternative 2: Keep names verbatim, only truncate for length", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L53", + "label": "checkRestrictedWorkspaceMetadata()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L202", "_origin": "ast", - "community": 85, - "norm_label": "alternative 2: keep names verbatim, only truncate for length", - "id": "adr_2026_08_26_sanitize_automount_volume_names_alternative_2_keep_names_verbatim_only_truncate_for_length" + "id": "handler_immutable_checkrestrictedworkspacemetadata", + "community": 29, + "norm_label": "checkrestrictedworkspacemetadata()" }, { - "label": "Consequences", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L62", + "label": "ObjectMeta", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L202", "_origin": "ast", - "community": 85, - "norm_label": "consequences", - "id": "adr_2026_08_26_sanitize_automount_volume_names_consequences" + "id": "webhook_workspace_handler_immutable_go_objectmeta", + "community": 29, + "norm_label": "objectmeta" }, { - "label": "Positive", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L64", + "label": "changePermitted()", + "file_type": "code", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L210", "_origin": "ast", - "community": 85, - "norm_label": "positive", - "id": "adr_2026_08_26_sanitize_automount_volume_names_positive" + "id": "handler_immutable_changepermitted", + "community": 29, + "norm_label": "changepermitted()" }, { - "label": "Negative", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L71", + "label": "kind.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/kind.go", + "source_location": "L1", "_origin": "ast", - "community": 85, - "norm_label": "negative", - "id": "adr_2026_08_26_sanitize_automount_volume_names_negative" + "id": "handler_kind", + "community": 273, + "norm_label": "kind.go" }, { - "label": "Neutral", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L82", + "label": "kubernetes.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L1", "_origin": "ast", - "community": 85, - "norm_label": "neutral", - "id": "adr_2026_08_26_sanitize_automount_volume_names_neutral" + "id": "handler_kubernetes", + "community": 49, + "norm_label": "kubernetes.go" }, { - "label": "References", - "file_type": "document", - "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", - "source_location": "L88", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "_origin": "ast", - "community": 85, - "norm_label": "references", - "id": "adr_2026_08_26_sanitize_automount_volume_names_references" + "id": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", + "community": 49, + "norm_label": "webhookhandler" }, { - "label": "AGENTS.md", - "file_type": "document", - "source_file": "adr/AGENTS.md", - "source_location": "L1", + "label": ".validateKubernetesObjectPermissions()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "_origin": "ast", - "community": 153, - "norm_label": "agents.md", - "id": "adr_agents" + "id": "handler_webhookhandler_validatekubernetesobjectpermissions", + "community": 49, + "norm_label": ".validatekubernetesobjectpermissions()" }, { - "label": "ADR Maintenance Guide for AI Agents", - "file_type": "document", - "source_file": "adr/AGENTS.md", - "source_location": "L1", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "_origin": "ast", - "community": 153, - "norm_label": "adr maintenance guide for ai agents", - "id": "adr_agents_adr_maintenance_guide_for_ai_agents" + "id": "webhook_workspace_handler_kubernetes_go_context", + "community": 49, + "norm_label": "context" }, { - "label": "Creating a New ADR", - "file_type": "document", - "source_file": "adr/AGENTS.md", - "source_location": "L5", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "_origin": "ast", - "community": 153, - "norm_label": "creating a new adr", - "id": "adr_agents_creating_a_new_adr" + "id": "webhook_workspace_handler_kubernetes_go_request", + "community": 49, + "norm_label": "request" }, { - "label": "Naming Convention", - "file_type": "document", - "source_file": "adr/AGENTS.md", - "source_location": "L12", + "label": "DevWorkspaceTemplateSpec", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "_origin": "ast", - "community": 153, - "norm_label": "naming convention", - "id": "adr_agents_naming_convention" + "id": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec", + "community": 49, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Superseding an ADR", - "file_type": "document", - "source_file": "adr/AGENTS.md", - "source_location": "L20", + "label": ".validatePermissionsOnObject()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L77", "_origin": "ast", - "community": 153, - "norm_label": "superseding an adr", - "id": "adr_agents_superseding_an_adr" + "id": "handler_webhookhandler_validatepermissionsonobject", + "community": 49, + "norm_label": ".validatepermissionsonobject()" }, { - "label": "Format Rules", - "file_type": "document", - "source_file": "adr/AGENTS.md", - "source_location": "L28", + "label": "TypeMeta", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L77", "_origin": "ast", - "community": 153, - "norm_label": "format rules", - "id": "adr_agents_format_rules" + "id": "webhook_workspace_handler_kubernetes_go_typemeta", + "community": 49, + "norm_label": "typemeta" }, { - "label": "README.md", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L1", + "label": "getKubeComponentsFromWorkspace()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L138", "_origin": "ast", - "community": 137, - "norm_label": "readme.md", - "id": "adr_readme" + "id": "handler_kubernetes_getkubecomponentsfromworkspace", + "community": 49, + "norm_label": "getkubecomponentsfromworkspace()" }, { - "label": "Architecture Decision Records (ADRs)", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L1", + "label": "K8sLikeComponent", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L138", "_origin": "ast", - "community": 137, - "norm_label": "architecture decision records (adrs)", - "id": "adr_readme_architecture_decision_records_adrs" + "id": "webhook_workspace_handler_kubernetes_go_k8slikecomponent", + "community": 49, + "norm_label": "k8slikecomponent" }, { - "label": "What is an ADR?", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L5", + "label": "getKubeLikeComponent()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L153", "_origin": "ast", - "community": 137, - "norm_label": "what is an adr?", - "id": "adr_readme_what_is_an_adr" + "id": "handler_kubernetes_getkubelikecomponent", + "community": 49, + "norm_label": "getkubelikecomponent()" }, { - "label": "When to Write an ADR", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L9", + "label": "Component", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L153", "_origin": "ast", - "community": 137, - "norm_label": "when to write an adr", - "id": "adr_readme_when_to_write_an_adr" + "id": "webhook_workspace_handler_kubernetes_go_component", + "community": 49, + "norm_label": "component" }, { - "label": "Lifecycle", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L20", + "label": ".validateKubernetesObjectPermissions_v1alpha1()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L163", "_origin": "ast", - "community": 137, - "norm_label": "lifecycle", - "id": "adr_readme_lifecycle" + "id": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", + "community": 49, + "norm_label": ".validatekubernetesobjectpermissions_v1alpha1()" }, { - "label": "Naming Convention", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L31", + "label": "getKubeComponentsFromWorkspace_v1alpha1()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L187", "_origin": "ast", - "community": 137, - "norm_label": "naming convention", - "id": "adr_readme_naming_convention" + "id": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", + "community": 49, + "norm_label": "getkubecomponentsfromworkspace_v1alpha1()" }, { - "label": "Creating a New ADR", - "file_type": "document", - "source_file": "adr/README.md", - "source_location": "L37", + "label": "getKubeLikeComponent_v1alpha1()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L199", "_origin": "ast", - "community": 137, - "norm_label": "creating a new adr", - "id": "adr_readme_creating_a_new_adr" + "id": "handler_kubernetes_getkubelikecomponent_v1alpha1", + "community": 49, + "norm_label": "getkubelikecomponent_v1alpha1()" }, { - "label": "TEMPLATE.md", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L1", + "label": ".checkSAR()", + "file_type": "code", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L209", "_origin": "ast", - "community": 86, - "norm_label": "template.md", - "id": "adr_template" + "id": "handler_webhookhandler_checksar", + "community": 49, + "norm_label": ".checksar()" }, { - "label": "[Title of Decision]", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", + "label": "log.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/log.go", "source_location": "L1", "_origin": "ast", - "community": 86, - "norm_label": "[title of decision]", - "id": "adr_template_title_of_decision" + "id": "handler_log", + "community": 274, + "norm_label": "log.go" }, { - "label": "Context", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L8", + "label": "metadata.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L1", "_origin": "ast", - "community": 86, - "norm_label": "context", - "id": "adr_template_context" + "id": "handler_metadata", + "community": 134, + "norm_label": "metadata.go" }, { - "label": "Decision", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L12", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L26", "_origin": "ast", - "community": 86, - "norm_label": "decision", - "id": "adr_template_decision" + "id": "webhook_workspace_handler_metadata_go_handler_webhookhandler", + "community": 134, + "norm_label": "webhookhandler" }, { - "label": "Considered Alternatives", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L16", + "label": ".mutateMetadataOnCreate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L26", "_origin": "ast", - "community": 86, - "norm_label": "considered alternatives", - "id": "adr_template_considered_alternatives" + "id": "handler_webhookhandler_mutatemetadataoncreate", + "community": 134, + "norm_label": ".mutatemetadataoncreate()" }, { - "label": "Alternative 1: [Name]", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L18", + "label": "ObjectMeta", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L26", "_origin": "ast", - "community": 86, - "norm_label": "alternative 1: [name]", - "id": "adr_template_alternative_1_name" + "id": "webhook_workspace_handler_metadata_go_objectmeta", + "community": 134, + "norm_label": "objectmeta" }, { - "label": "Alternative 2: [Name]", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L26", + "label": ".mutateMetadataOnUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L41", "_origin": "ast", - "community": 86, - "norm_label": "alternative 2: [name]", - "id": "adr_template_alternative_2_name" + "id": "handler_webhookhandler_mutatemetadataonupdate", + "community": 134, + "norm_label": ".mutatemetadataonupdate()" }, { - "label": "Consequences", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L34", + "label": "mutateLabelsOnUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L53", "_origin": "ast", - "community": 86, - "norm_label": "consequences", - "id": "adr_template_consequences" + "id": "handler_metadata_mutatelabelsonupdate", + "community": 134, + "norm_label": "mutatelabelsonupdate()" }, { - "label": "Positive", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L36", + "label": "mutateWorkspaceIdLabel()", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L68", "_origin": "ast", - "community": 86, - "norm_label": "positive", - "id": "adr_template_positive" + "id": "handler_metadata_mutateworkspaceidlabel", + "community": 134, + "norm_label": "mutateworkspaceidlabel()" }, { - "label": "Negative", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L41", + "label": "mutateCreatorLabel()", + "file_type": "code", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L90", "_origin": "ast", - "community": 86, - "norm_label": "negative", - "id": "adr_template_negative" + "id": "handler_metadata_mutatecreatorlabel", + "community": 134, + "norm_label": "mutatecreatorlabel()" }, { - "label": "Neutral", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L45", + "label": "pod.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L1", "_origin": "ast", - "community": 86, - "norm_label": "neutral", - "id": "adr_template_neutral" + "id": "handler_pod", + "community": 275, + "norm_label": "pod.go" }, { - "label": "References", - "file_type": "document", - "source_file": "adr/TEMPLATE.md", - "source_location": "L49", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "_origin": "ast", - "community": 86, - "norm_label": "references", - "id": "adr_template_references" + "id": "webhook_workspace_handler_pod_go_handler_webhookhandler", + "community": 165, + "norm_label": "webhookhandler" }, { - "label": "dwo-configuration.md", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L1", + "label": ".MutatePodOnCreate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "_origin": "ast", - "community": 28, - "norm_label": "dwo-configuration.md", - "id": "docs_dwo_configuration" + "id": "handler_webhookhandler_mutatepodoncreate", + "community": 165, + "norm_label": ".mutatepodoncreate()" }, { - "label": "DevWorkspace Operator Configuration", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L1", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "_origin": "ast", - "community": 28, - "norm_label": "devworkspace operator configuration", - "id": "docs_dwo_configuration_devworkspace_operator_configuration" + "id": "webhook_workspace_handler_pod_go_context", + "community": 165, + "norm_label": "context" }, { - "label": "Controller configuration", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L5", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "_origin": "ast", - "community": 28, - "norm_label": "controller configuration", - "id": "docs_dwo_configuration_controller_configuration" + "id": "webhook_workspace_handler_pod_go_request", + "community": 165, + "norm_label": "request" }, { - "label": "Global configuration for the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L17", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "_origin": "ast", - "community": 28, - "norm_label": "global configuration for the devworkspace operator", - "id": "docs_dwo_configuration_global_configuration_for_the_devworkspace_operator" + "id": "webhook_workspace_handler_pod_go_response", + "community": 165, + "norm_label": "response" }, { - "label": "DevWorkspace specific configuration", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L31", + "label": ".MutatePodOnUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L42", "_origin": "ast", - "community": 28, - "norm_label": "devworkspace specific configuration", - "id": "docs_dwo_configuration_devworkspace_specific_configuration" + "id": "handler_webhookhandler_mutatepodonupdate", + "community": 165, + "norm_label": ".mutatepodonupdate()" }, { - "label": "Configuring the Webhook deployment", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L49", + "label": "validate.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L1", "_origin": "ast", - "community": 28, - "norm_label": "configuring the webhook deployment", - "id": "docs_dwo_configuration_configuring_the_webhook_deployment" + "id": "handler_validate", + "community": 182, + "norm_label": "validate.go" }, { - "label": "Configuring Cleanup CronJob", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L80", + "label": "RegisterDiscoverableEndpointIndex()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L39", "_origin": "ast", - "community": 28, - "norm_label": "configuring cleanup cronjob", - "id": "docs_dwo_configuration_configuring_cleanup_cronjob" + "id": "handler_validate_registerdiscoverableendpointindex", + "community": 182, + "norm_label": "registerdiscoverableendpointindex()" }, { - "label": "Configuring Backup CronJob", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L110", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L39", "_origin": "ast", - "community": 28, - "norm_label": "configuring backup cronjob", - "id": "docs_dwo_configuration_configuring_backup_cronjob" + "id": "webhook_workspace_handler_validate_go_context", + "community": 182, + "norm_label": "context" }, { - "label": "Integrated OpenShift container registry", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L134", + "label": "FieldIndexer", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L39", "_origin": "ast", - "community": 28, - "norm_label": "integrated openshift container registry", - "id": "docs_dwo_configuration_integrated_openshift_container_registry" + "id": "webhook_workspace_handler_validate_go_fieldindexer", + "community": 182, + "norm_label": "fieldindexer" }, { - "label": "Regular OCI-compatible registry", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L162", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L50", "_origin": "ast", - "community": 28, - "norm_label": "regular oci-compatible registry", - "id": "docs_dwo_configuration_regular_oci_compatible_registry" + "id": "webhook_workspace_handler_validate_go_handler_webhookhandler", + "community": 182, + "norm_label": "webhookhandler" }, { - "label": "Restore workspace from backup", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L199", + "label": ".ValidateDevfile()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L50", "_origin": "ast", - "community": 28, - "norm_label": "restore workspace from backup", - "id": "docs_dwo_configuration_restore_workspace_from_backup" + "id": "handler_webhookhandler_validatedevfile", + "community": 182, + "norm_label": ".validatedevfile()" }, { - "label": "Configuring PVC storage access mode", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L215", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L50", "_origin": "ast", - "community": 28, - "norm_label": "configuring pvc storage access mode", - "id": "docs_dwo_configuration_configuring_pvc_storage_access_mode" + "id": "webhook_workspace_handler_validate_go_request", + "community": 182, + "norm_label": "request" }, { - "label": "Configuring Workspace NetworkPolicy", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L234", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L50", "_origin": "ast", - "community": 28, - "norm_label": "configuring workspace networkpolicy", - "id": "docs_dwo_configuration_configuring_workspace_networkpolicy" + "id": "webhook_workspace_handler_validate_go_response", + "community": 182, + "norm_label": "response" }, { - "label": "Configuring Custom Init Containers", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L275", + "label": ".shouldCheckEndpointConflicts()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L129", "_origin": "ast", - "community": 28, - "norm_label": "configuring custom init containers", - "id": "docs_dwo_configuration_configuring_custom_init_containers" + "id": "handler_webhookhandler_shouldcheckendpointconflicts", + "community": 182, + "norm_label": ".shouldcheckendpointconflicts()" }, { - "label": "Basic Example: Injecting Custom Tools", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L285", + "label": "discoverableEndpointNames()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L167", "_origin": "ast", - "community": 28, - "norm_label": "basic example: injecting custom tools", - "id": "docs_dwo_configuration_basic_example_injecting_custom_tools" + "id": "handler_validate_discoverableendpointnames", + "community": 182, + "norm_label": "discoverableendpointnames()" }, { - "label": "Special Container: `init-persistent-home`", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L308", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L167", "_origin": "ast", - "community": 28, - "norm_label": "special container: `init-persistent-home`", - "id": "docs_dwo_configuration_special_container_init_persistent_home" + "id": "webhook_workspace_handler_validate_go_devworkspace", + "community": 182, + "norm_label": "devworkspace" }, { - "label": "Example: Custom Persistent Home Initialization", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L324", + "label": ".validateEndpoints()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L184", "_origin": "ast", - "community": 28, - "norm_label": "example: custom persistent home initialization", - "id": "docs_dwo_configuration_example_custom_persistent_home_initialization" + "id": "handler_webhookhandler_validateendpoints", + "community": 182, + "norm_label": ".validateendpoints()" }, { - "label": "Execution Order", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L351", + "label": "ServiceConflictError", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L184", "_origin": "ast", - "community": 28, - "norm_label": "execution order", - "id": "docs_dwo_configuration_execution_order" + "id": "serviceconflicterror", + "community": 182, + "norm_label": "serviceconflicterror" }, { - "label": "Always-restricted override fields", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L355", + "label": "validate_test.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L1", "_origin": "ast", - "community": 28, - "norm_label": "always-restricted override fields", - "id": "docs_dwo_configuration_always_restricted_override_fields" + "id": "handler_validate_test", + "community": 114, + "norm_label": "validate_test.go" }, { - "label": "Restricting override fields", - "file_type": "document", - "source_file": "docs/dwo-configuration.md", - "source_location": "L367", + "label": "newRawExtension()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "_origin": "ast", - "community": 28, - "norm_label": "restricting override fields", - "id": "docs_dwo_configuration_restricting_override_fields" + "id": "handler_validate_test_newrawextension", + "community": 114, + "norm_label": "newrawextension()" }, { - "label": "README.md", - "file_type": "document", - "source_file": "docs/grafana/README.md", - "source_location": "L1", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "_origin": "ast", - "community": 235, - "norm_label": "readme.md", - "id": "grafana_readme" + "id": "webhook_workspace_handler_validate_test_go_t", + "community": 114, + "norm_label": "t" }, { - "label": "Grafana dashboards for the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/grafana/README.md", - "source_location": "L1", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "_origin": "ast", - "community": 235, - "norm_label": "grafana dashboards for the devworkspace operator", - "id": "grafana_readme_grafana_dashboards_for_the_devworkspace_operator" + "id": "webhook_workspace_handler_validate_test_go_devworkspace", + "community": 114, + "norm_label": "devworkspace" }, { - "label": "Testing DevWorkspace Operator metrics locally", - "file_type": "document", - "source_file": "docs/grafana/README.md", - "source_location": "L5", + "label": "RawExtension", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "_origin": "ast", - "community": 235, - "norm_label": "testing devworkspace operator metrics locally", - "id": "grafana_readme_testing_devworkspace_operator_metrics_locally" + "id": "rawextension", + "community": 114, + "norm_label": "rawextension" }, { - "label": "kind-without-olm-linux.md", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L1", + "label": "loadObjectFromFile()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L43", "_origin": "ast", - "community": 81, - "norm_label": "kind-without-olm-linux.md", - "id": "installation_kind_without_olm_linux" + "id": "handler_validate_test_loadobjectfromfile", + "community": 114, + "norm_label": "loadobjectfromfile()" }, { - "label": "Installation on Kind Without OLM (Linux)", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L1", + "label": "Object", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L43", "_origin": "ast", - "community": 81, - "norm_label": "installation on kind without olm (linux)", - "id": "installation_kind_without_olm_linux_installation_on_kind_without_olm_linux" + "id": "webhook_workspace_handler_validate_test_go_object", + "community": 114, + "norm_label": "object" }, { - "label": "Prerequisites", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L3", + "label": "setupWorkspace()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L57", "_origin": "ast", - "community": 81, - "norm_label": "prerequisites", - "id": "installation_kind_without_olm_linux_prerequisites" + "id": "handler_validate_test_setupworkspace", + "community": 114, + "norm_label": "setupworkspace()" }, { - "label": "Steps", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L11", + "label": "TestValidateEndpoints()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L66", "_origin": "ast", - "community": 81, - "norm_label": "steps", - "id": "installation_kind_without_olm_linux_steps" + "id": "handler_validate_test_testvalidateendpoints", + "community": 114, + "norm_label": "testvalidateendpoints()" }, { - "label": "1. Create Kind Cluster with Extra Port Mappings", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L13", + "label": "TestValidateDevfilePeerDiscoverability()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L252", "_origin": "ast", - "community": 81, - "norm_label": "1. create kind cluster with extra port mappings", - "id": "installation_kind_without_olm_linux_1_create_kind_cluster_with_extra_port_mappings" + "id": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "community": 114, + "norm_label": "testvalidatedevfilepeerdiscoverability()" }, { - "label": "2. Install NGINX Ingress Controller", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L33", + "label": "TestShouldCheckEndpointConflicts()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L303", "_origin": "ast", - "community": 81, - "norm_label": "2. install nginx ingress controller", - "id": "installation_kind_without_olm_linux_2_install_nginx_ingress_controller" + "id": "handler_validate_test_testshouldcheckendpointconflicts", + "community": 114, + "norm_label": "testshouldcheckendpointconflicts()" }, { - "label": "3. Create Namespace", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L60", + "label": "TestValidateDevfileEndpointConflictGating()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L430", "_origin": "ast", - "community": 81, - "norm_label": "3. create namespace", - "id": "installation_kind_without_olm_linux_3_create_namespace" + "id": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "community": 114, + "norm_label": "testvalidatedevfileendpointconflictgating()" }, { - "label": "4. Install cert-manager", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L68", + "label": "TestValidateDevfileEndpointExposure()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L519", "_origin": "ast", - "community": 81, - "norm_label": "4. install cert-manager", - "id": "installation_kind_without_olm_linux_4_install_cert_manager" + "id": "handler_validate_test_testvalidatedevfileendpointexposure", + "community": 114, + "norm_label": "testvalidatedevfileendpointexposure()" }, { - "label": "5. Install the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L85", + "label": "TestValidateDevfileEndpointExposureChanges()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L563", "_origin": "ast", - "community": 81, - "norm_label": "5. install the devworkspace operator", - "id": "installation_kind_without_olm_linux_5_install_the_devworkspace_operator" + "id": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "community": 114, + "norm_label": "testvalidatedevfileendpointexposurechanges()" }, { - "label": "6. Create the DevWorkspace Operator Config", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L102", + "label": "TestValidateDevfileNamespaceFallback()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L612", "_origin": "ast", - "community": 81, - "norm_label": "6. create the devworkspace operator config", - "id": "installation_kind_without_olm_linux_6_create_the_devworkspace_operator_config" + "id": "handler_validate_test_testvalidatedevfilenamespacefallback", + "community": 114, + "norm_label": "testvalidatedevfilenamespacefallback()" }, { - "label": "6.1 Get Kind Node IP", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L104", + "label": "TestValidateDevfileNamespaceMissing()", + "file_type": "code", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L690", "_origin": "ast", - "community": 81, - "norm_label": "6.1 get kind node ip", - "id": "installation_kind_without_olm_linux_6_1_get_kind_node_ip" + "id": "handler_validate_test_testvalidatedevfilenamespacemissing", + "community": 114, + "norm_label": "testvalidatedevfilenamespacemissing()" }, { - "label": "6.2 Create the DevWorkspaceOperatorConfig", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L114", + "label": "warning.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L1", "_origin": "ast", - "community": 81, - "norm_label": "6.2 create the devworkspaceoperatorconfig", - "id": "installation_kind_without_olm_linux_6_2_create_the_devworkspaceoperatorconfig" + "id": "handler_warning", + "community": 119, + "norm_label": "warning.go" }, { - "label": "7. Create a Sample DevWorkspace", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-linux.md", - "source_location": "L131", + "label": "unsupportedWarnings", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L26", "_origin": "ast", - "community": 81, - "norm_label": "7. create a sample devworkspace", - "id": "installation_kind_without_olm_linux_7_create_a_sample_devworkspace" + "id": "handler_unsupportedwarnings", + "community": 119, + "norm_label": "unsupportedwarnings" }, { - "label": "kind-without-olm-macos.md", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L1", + "label": "newUnsupportedWarnings()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L35", "_origin": "ast", - "community": 63, - "norm_label": "kind-without-olm-macos.md", - "id": "installation_kind_without_olm_macos" + "id": "handler_warning_newunsupportedwarnings", + "community": 119, + "norm_label": "newunsupportedwarnings()" }, { - "label": "Installation on Kind Without OLM (MacOs)", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L1", + "label": "checkUnsupportedFeatures()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L45", "_origin": "ast", - "community": 63, - "norm_label": "installation on kind without olm (macos)", - "id": "installation_kind_without_olm_macos_installation_on_kind_without_olm_macos" + "id": "handler_warning_checkunsupportedfeatures", + "community": 119, + "norm_label": "checkunsupportedfeatures()" }, { - "label": "Prerequisites", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L3", + "label": "DevWorkspaceTemplateSpec", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L45", "_origin": "ast", - "community": 63, - "norm_label": "prerequisites", - "id": "installation_kind_without_olm_macos_prerequisites" + "id": "webhook_workspace_handler_warning_go_devworkspacetemplatespec", + "community": 119, + "norm_label": "devworkspacetemplatespec" }, { - "label": "Steps", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L11", + "label": "unsupportedWarningsPresent()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L74", "_origin": "ast", - "community": 63, - "norm_label": "steps", - "id": "installation_kind_without_olm_macos_steps" + "id": "handler_warning_unsupportedwarningspresent", + "community": 119, + "norm_label": "unsupportedwarningspresent()" }, { - "label": "1. Create Kind Cluster", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L13", + "label": "formatUnsupportedFeaturesWarning()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L82", "_origin": "ast", - "community": 63, - "norm_label": "1. create kind cluster", - "id": "installation_kind_without_olm_macos_1_create_kind_cluster" + "id": "handler_warning_formatunsupportedfeatureswarning", + "community": 119, + "norm_label": "formatunsupportedfeatureswarning()" }, { - "label": "2. Install MetalLB", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L21", + "label": "checkForAddedUnsupportedFeatures()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L120", "_origin": "ast", - "community": 63, - "norm_label": "2. install metallb", - "id": "installation_kind_without_olm_macos_2_install_metallb" + "id": "handler_warning_checkforaddedunsupportedfeatures", + "community": 119, + "norm_label": "checkforaddedunsupportedfeatures()" }, { - "label": "3. Define MetalLB IP Address Pool", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L38", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L120", "_origin": "ast", - "community": 63, - "norm_label": "3. define metallb ip address pool", - "id": "installation_kind_without_olm_macos_3_define_metallb_ip_address_pool" + "id": "webhook_workspace_handler_warning_go_devworkspace", + "community": 119, + "norm_label": "devworkspace" }, { - "label": "4. Install NGINX Ingress Controller", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L79", + "label": "warning_test.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L1", "_origin": "ast", - "community": 63, - "norm_label": "4. install nginx ingress controller", - "id": "installation_kind_without_olm_macos_4_install_nginx_ingress_controller" + "id": "handler_warning_test", + "community": 101, + "norm_label": "warning_test.go" }, { - "label": "5. Create Namespace", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L96", + "label": "testCase", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L28", "_origin": "ast", - "community": 63, - "norm_label": "5. create namespace", - "id": "installation_kind_without_olm_macos_5_create_namespace" + "id": "handler_testcase", + "community": 101, + "norm_label": "testcase" }, { - "label": "6. Install cert-manager", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L104", + "label": "testInput", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L30", "_origin": "ast", - "community": 63, - "norm_label": "6. install cert-manager", - "id": "installation_kind_without_olm_macos_6_install_cert_manager" + "id": "webhook_workspace_handler_warning_test_go_testinput", + "community": 101, + "norm_label": "testinput" }, { - "label": "7. Install the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L121", + "label": "testOutput", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L31", "_origin": "ast", - "community": 63, - "norm_label": "7. install the devworkspace operator", - "id": "installation_kind_without_olm_macos_7_install_the_devworkspace_operator" + "id": "webhook_workspace_handler_warning_test_go_testoutput", + "community": 101, + "norm_label": "testoutput" }, { - "label": "8. Create the DevWorkspace Operator Config", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L138", + "label": "testInput", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L34", "_origin": "ast", - "community": 63, - "norm_label": "8. create the devworkspace operator config", - "id": "installation_kind_without_olm_macos_8_create_the_devworkspace_operator_config" + "id": "handler_testinput", + "community": 101, + "norm_label": "testinput" }, { - "label": "8.1 Get Load Balancer IP", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L140", + "label": "DevWorkspaceTemplateSpec", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L35", "_origin": "ast", - "community": 63, - "norm_label": "8.1 get load balancer ip", - "id": "installation_kind_without_olm_macos_8_1_get_load_balancer_ip" + "id": "webhook_workspace_handler_warning_test_go_devworkspacetemplatespec", + "community": 101, + "norm_label": "devworkspacetemplatespec" }, { - "label": "8.2 Create the DevWorkspaceOperatorConfig", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L153", + "label": "testOutput", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L39", "_origin": "ast", - "community": 63, - "norm_label": "8.2 create the devworkspaceoperatorconfig", - "id": "installation_kind_without_olm_macos_8_2_create_the_devworkspaceoperatorconfig" + "id": "handler_testoutput", + "community": 101, + "norm_label": "testoutput" }, { - "label": "9. Create a Sample DevWorkspace", - "file_type": "document", - "source_file": "docs/installation/kind-without-olm-macos.md", - "source_location": "L170", + "label": "loadTestCaseOrPanic()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L44", "_origin": "ast", - "community": 63, - "norm_label": "9. create a sample devworkspace", - "id": "installation_kind_without_olm_macos_9_create_a_sample_devworkspace" + "id": "handler_warning_test_loadtestcaseorpanic", + "community": 101, + "norm_label": "loadtestcaseorpanic()" }, { - "label": "minikube-without-olm.md", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L1", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L44", "_origin": "ast", - "community": 82, - "norm_label": "minikube-without-olm.md", - "id": "installation_minikube_without_olm" + "id": "webhook_workspace_handler_warning_test_go_t", + "community": 101, + "norm_label": "t" }, { - "label": "Installation on Minikube Without OLM", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L1", + "label": "loadAllTestCasesOrPanic()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L56", "_origin": "ast", - "community": 82, - "norm_label": "installation on minikube without olm", - "id": "installation_minikube_without_olm_installation_on_minikube_without_olm" + "id": "handler_warning_test_loadalltestcasesorpanic", + "community": 101, + "norm_label": "loadalltestcasesorpanic()" }, { - "label": "Prerequisites", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L3", + "label": "TestModifyWorkspaceWithUnsupportedFeatures()", + "file_type": "code", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L71", "_origin": "ast", - "community": 82, - "norm_label": "prerequisites", - "id": "installation_minikube_without_olm_prerequisites" + "id": "handler_warning_test_testmodifyworkspacewithunsupportedfeatures", + "community": 101, + "norm_label": "testmodifyworkspacewithunsupportedfeatures()" }, { - "label": "Steps", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L10", + "label": "workspace.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L1", "_origin": "ast", - "community": 82, - "norm_label": "steps", - "id": "installation_minikube_without_olm_steps" + "id": "handler_workspace", + "community": 166, + "norm_label": "workspace.go" }, { - "label": "1. Start Minikube", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L12", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L40", "_origin": "ast", - "community": 82, - "norm_label": "1. start minikube", - "id": "installation_minikube_without_olm_1_start_minikube" + "id": "webhook_workspace_handler_workspace_go_handler_webhookhandler", + "community": 92, + "norm_label": "webhookhandler" }, { - "label": "2. Ingress Addon", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L20", + "label": ".MutateWorkspaceV1alpha1OnCreate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L40", "_origin": "ast", - "community": 82, - "norm_label": "2. ingress addon", - "id": "installation_minikube_without_olm_2_ingress_addon" + "id": "handler_webhookhandler_mutateworkspacev1alpha1oncreate", + "community": 92, + "norm_label": ".mutateworkspacev1alpha1oncreate()" }, { - "label": "3. Create Namespace", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L28", + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L40", "_origin": "ast", - "community": 82, - "norm_label": "3. create namespace", - "id": "installation_minikube_without_olm_3_create_namespace" + "id": "webhook_workspace_handler_workspace_go_context", + "community": 92, + "norm_label": "context" }, { - "label": "4. Install cert-manager", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L36", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L40", "_origin": "ast", - "community": 82, - "norm_label": "4. install cert-manager", - "id": "installation_minikube_without_olm_4_install_cert_manager" + "id": "webhook_workspace_handler_workspace_go_request", + "community": 92, + "norm_label": "request" }, { - "label": "5. Install the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L53", + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L40", "_origin": "ast", - "community": 82, - "norm_label": "5. install the devworkspace operator", - "id": "installation_minikube_without_olm_5_install_the_devworkspace_operator" + "id": "webhook_workspace_handler_workspace_go_response", + "community": 92, + "norm_label": "response" }, { - "label": "6. Create the DevWorkspace Operator Config", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L70", + "label": ".MutateWorkspaceV1alpha2OnCreate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L56", "_origin": "ast", - "community": 82, - "norm_label": "6. create the devworkspace operator config", - "id": "installation_minikube_without_olm_6_create_the_devworkspace_operator_config" + "id": "handler_webhookhandler_mutateworkspacev1alpha2oncreate", + "community": 92, + "norm_label": ".mutateworkspacev1alpha2oncreate()" }, { - "label": "6.1 Get Minikube IP", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L72", + "label": ".MutateWorkspaceV1alpha1OnUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L80", "_origin": "ast", - "community": 82, - "norm_label": "6.1 get minikube ip", - "id": "installation_minikube_without_olm_6_1_get_minikube_ip" + "id": "handler_webhookhandler_mutateworkspacev1alpha1onupdate", + "community": 92, + "norm_label": ".mutateworkspacev1alpha1onupdate()" }, { - "label": "6.2 Create the DevWorkspaceOperatorConfig", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L82", + "label": ".MutateWorkspaceV1alpha2OnUpdate()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L122", "_origin": "ast", - "community": 82, - "norm_label": "6.2 create the devworkspaceoperatorconfig", - "id": "installation_minikube_without_olm_6_2_create_the_devworkspaceoperatorconfig" + "id": "handler_webhookhandler_mutateworkspacev1alpha2onupdate", + "community": 92, + "norm_label": ".mutateworkspacev1alpha2onupdate()" }, { - "label": "7. Create a Sample DevWorkspace", - "file_type": "document", - "source_file": "docs/installation/minikube-without-olm.md", - "source_location": "L99", + "label": ".ValidateWorkspaceV1alpha2Permissions()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L227", "_origin": "ast", - "community": 82, - "norm_label": "7. create a sample devworkspace", - "id": "installation_minikube_without_olm_7_create_a_sample_devworkspace" + "id": "handler_webhookhandler_validateworkspacev1alpha2permissions", + "community": 92, + "norm_label": ".validateworkspacev1alpha2permissions()" }, { - "label": "openshift-with-olm.md", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L1", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L227", "_origin": "ast", - "community": 120, - "norm_label": "openshift-with-olm.md", - "id": "installation_openshift_with_olm" + "id": "webhook_workspace_handler_workspace_go_devworkspace", + "community": 166, + "norm_label": "devworkspace" }, { - "label": "Installation on OpenShift With OLM", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L1", + "label": ".resolveDevWorkspace()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L287", "_origin": "ast", - "community": 120, - "norm_label": "installation on openshift with olm", - "id": "installation_openshift_with_olm_installation_on_openshift_with_olm" + "id": "handler_webhookhandler_resolvedevworkspace", + "community": 149, + "norm_label": ".resolvedevworkspace()" }, { - "label": "Prerequisites", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L3", + "label": "DevWorkspaceWithConfig", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L287", "_origin": "ast", - "community": 120, - "norm_label": "prerequisites", - "id": "installation_openshift_with_olm_prerequisites" + "id": "webhook_workspace_handler_workspace_go_devworkspacewithconfig", + "community": 149, + "norm_label": "devworkspacewithconfig" }, { - "label": "Steps", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L10", + "label": "DevWorkspaceTemplateSpec", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L287", "_origin": "ast", - "community": 120, - "norm_label": "steps", - "id": "installation_openshift_with_olm_steps" + "id": "webhook_workspace_handler_workspace_go_devworkspacetemplatespec", + "community": 149, + "norm_label": "devworkspacetemplatespec" }, { - "label": "1. Add the DevWorkspace Operator CatalogSource", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L12", + "label": "setValidatedPermissionsAnnotations()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L319", "_origin": "ast", - "community": 120, - "norm_label": "1. add the devworkspace operator catalogsource", - "id": "installation_openshift_with_olm_1_add_the_devworkspace_operator_catalogsource" + "id": "handler_workspace_setvalidatedpermissionsannotations", + "community": 166, + "norm_label": "setvalidatedpermissionsannotations()" }, { - "label": "2. Create the DevWorkspace Operator Subscription", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L34", + "label": "hasFinalizer()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L349", "_origin": "ast", - "community": 120, - "norm_label": "2. create the devworkspace operator subscription", - "id": "installation_openshift_with_olm_2_create_the_devworkspace_operator_subscription" + "id": "handler_workspace_hasfinalizer", + "community": 166, + "norm_label": "hasfinalizer()" }, { - "label": "3. Wait for Operator to be Ready", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L54", + "label": "Object", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L349", "_origin": "ast", - "community": 120, - "norm_label": "3. wait for operator to be ready", - "id": "installation_openshift_with_olm_3_wait_for_operator_to_be_ready" + "id": "webhook_workspace_handler_workspace_go_object", + "community": 166, + "norm_label": "object" }, { - "label": "4. Create DevWorkspaces Namespace", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L65", + "label": "workspace_test.go", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L1", "_origin": "ast", - "community": 120, - "norm_label": "4. create devworkspaces namespace", - "id": "installation_openshift_with_olm_4_create_devworkspaces_namespace" + "id": "handler_workspace_test", + "community": 30, + "norm_label": "workspace_test.go" }, { - "label": "5. Create a Sample DevWorkspace", - "file_type": "document", - "source_file": "docs/installation/openshift-with-olm.md", - "source_location": "L73", + "label": "buildUpdateRequest()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L39", "_origin": "ast", - "community": 120, - "norm_label": "5. create a sample devworkspace", - "id": "installation_openshift_with_olm_5_create_a_sample_devworkspace" + "id": "handler_workspace_test_buildupdaterequest", + "community": 30, + "norm_label": "buildupdaterequest()" }, { - "label": "openshift-without-olm.md", - "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L1", + "label": "T", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L39", "_origin": "ast", - "community": 135, - "norm_label": "openshift-without-olm.md", - "id": "installation_openshift_without_olm" + "id": "webhook_workspace_handler_workspace_test_go_t", + "community": 30, + "norm_label": "t" }, { - "label": "Installation on OpenShift Without OLM", - "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L1", + "label": "DevWorkspace", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L39", "_origin": "ast", - "community": 135, - "norm_label": "installation on openshift without olm", - "id": "installation_openshift_without_olm_installation_on_openshift_without_olm" + "id": "webhook_workspace_handler_workspace_test_go_devworkspace", + "community": 30, + "norm_label": "devworkspace" }, { - "label": "Prerequisites", - "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L3", + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L39", "_origin": "ast", - "community": 135, - "norm_label": "prerequisites", - "id": "installation_openshift_without_olm_prerequisites" + "id": "webhook_workspace_handler_workspace_test_go_request", + "community": 30, + "norm_label": "request" }, { - "label": "Steps", - "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L10", + "label": "newTestWebhookHandler()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L75", "_origin": "ast", - "community": 135, - "norm_label": "steps", - "id": "installation_openshift_without_olm_steps" + "id": "handler_workspace_test_newtestwebhookhandler", + "community": 30, + "norm_label": "newtestwebhookhandler()" }, { - "label": "1. Create Namespace for Operator", - "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L12", + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L75", "_origin": "ast", - "community": 135, - "norm_label": "1. create namespace for operator", - "id": "installation_openshift_without_olm_1_create_namespace_for_operator" + "id": "webhook_workspace_handler_workspace_test_go_webhookhandler", + "community": 30, + "norm_label": "webhookhandler" }, { - "label": "2. Install the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L20", + "label": "TestMutateWorkspaceV1alpha2OnUpdate_StopInvalidWorkspaceIsAllowed()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L96", "_origin": "ast", - "community": 135, - "norm_label": "2. install the devworkspace operator", - "id": "installation_openshift_without_olm_2_install_the_devworkspace_operator" + "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_stopinvalidworkspaceisallowed", + "community": 30, + "norm_label": "testmutateworkspacev1alpha2onupdate_stopinvalidworkspaceisallowed()" }, { - "label": "3. Create DevWorkspaces Namespace", + "label": "TestMutateWorkspaceV1alpha2OnUpdate_UpdateStartedInvalidWorkspaceIsDenied()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L109", + "_origin": "ast", + "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_updatestartedinvalidworkspaceisdenied", + "community": 30, + "norm_label": "testmutateworkspacev1alpha2onupdate_updatestartedinvalidworkspaceisdenied()" + }, + { + "label": "TestMutateWorkspaceV1alpha2OnUpdate_UpdateAlreadyStoppedWorkspaceRunsValidation()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L122", + "_origin": "ast", + "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_updatealreadystoppedworkspacerunsvalidation", + "community": 30, + "norm_label": "testmutateworkspacev1alpha2onupdate_updatealreadystoppedworkspacerunsvalidation()" + }, + { + "label": "TestMutateWorkspaceV1alpha2OnUpdate_StartingWorkspaceRunsValidation()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L135", + "_origin": "ast", + "id": "handler_workspace_test_testmutateworkspacev1alpha2onupdate_startingworkspacerunsvalidation", + "community": 30, + "norm_label": "testmutateworkspacev1alpha2onupdate_startingworkspacerunsvalidation()" + }, + { + "label": "getDevWorkspaceWithBrokenKubernetesComponent()", + "file_type": "code", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L147", + "_origin": "ast", + "id": "handler_workspace_test_getdevworkspacewithbrokenkubernetescomponent", + "community": 30, + "norm_label": "getdevworkspacewithbrokenkubernetescomponent()" + }, + { + "label": "log.go", + "file_type": "code", + "source_file": "webhook/workspace/log.go", + "source_location": "L1", + "_origin": "ast", + "id": "workspace_log", + "community": 293, + "norm_label": "log.go" + }, + { + "label": "mutate.go", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L1", + "_origin": "ast", + "id": "workspace_mutate", + "community": 127, + "norm_label": "mutate.go" + }, + { + "label": "ResourcesMutator", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L32", + "_origin": "ast", + "id": "workspace_resourcesmutator", + "community": 127, + "norm_label": "resourcesmutator" + }, + { + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L33", + "_origin": "ast", + "id": "webhook_workspace_mutate_go_webhookhandler", + "community": 127, + "norm_label": "webhookhandler" + }, + { + "label": "NewResourcesMutator()", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L36", + "_origin": "ast", + "id": "workspace_mutate_newresourcesmutator", + "community": 127, + "norm_label": "newresourcesmutator()" + }, + { + "label": "Manager", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L36", + "_origin": "ast", + "id": "webhook_workspace_mutate_go_manager", + "community": 127, + "norm_label": "manager" + }, + { + "label": ".Handle()", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L41", + "_origin": "ast", + "id": "workspace_resourcesmutator_handle", + "community": 127, + "norm_label": ".handle()" + }, + { + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L41", + "_origin": "ast", + "id": "webhook_workspace_mutate_go_context", + "community": 127, + "norm_label": "context" + }, + { + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L41", + "_origin": "ast", + "id": "webhook_workspace_mutate_go_request", + "community": 127, + "norm_label": "request" + }, + { + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/mutate.go", + "source_location": "L41", + "_origin": "ast", + "id": "webhook_workspace_mutate_go_response", + "community": 127, + "norm_label": "response" + }, + { + "label": "mutating_cfg.go", + "file_type": "code", + "source_file": "webhook/workspace/mutating_cfg.go", + "source_location": "L1", + "_origin": "ast", + "id": "workspace_mutating_cfg", + "community": 44, + "norm_label": "mutating_cfg.go" + }, + { + "label": "BuildMutateWebhookCfg()", + "file_type": "code", + "source_file": "webhook/workspace/mutating_cfg.go", + "source_location": "L34", + "_origin": "ast", + "id": "workspace_mutating_cfg_buildmutatewebhookcfg", + "community": 44, + "norm_label": "buildmutatewebhookcfg()" + }, + { + "label": "MutatingWebhookConfiguration", + "file_type": "code", + "source_file": "webhook/workspace/mutating_cfg.go", + "source_location": "L34", + "_origin": "ast", + "id": "webhook_workspace_mutating_cfg_go_mutatingwebhookconfiguration", + "community": 44, + "norm_label": "mutatingwebhookconfiguration" + }, + { + "label": "validate.go", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L1", + "_origin": "ast", + "id": "workspace_validate", + "community": 128, + "norm_label": "validate.go" + }, + { + "label": "ResourcesValidator", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L32", + "_origin": "ast", + "id": "workspace_resourcesvalidator", + "community": 128, + "norm_label": "resourcesvalidator" + }, + { + "label": "WebhookHandler", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L33", + "_origin": "ast", + "id": "webhook_workspace_validate_go_webhookhandler", + "community": 128, + "norm_label": "webhookhandler" + }, + { + "label": "NewResourcesValidator()", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L36", + "_origin": "ast", + "id": "workspace_validate_newresourcesvalidator", + "community": 128, + "norm_label": "newresourcesvalidator()" + }, + { + "label": "Manager", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L36", + "_origin": "ast", + "id": "webhook_workspace_validate_go_manager", + "community": 128, + "norm_label": "manager" + }, + { + "label": ".Handle()", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L40", + "_origin": "ast", + "id": "workspace_resourcesvalidator_handle", + "community": 128, + "norm_label": ".handle()" + }, + { + "label": "Context", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L40", + "_origin": "ast", + "id": "webhook_workspace_validate_go_context", + "community": 128, + "norm_label": "context" + }, + { + "label": "Request", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L40", + "_origin": "ast", + "id": "webhook_workspace_validate_go_request", + "community": 128, + "norm_label": "request" + }, + { + "label": "Response", + "file_type": "code", + "source_file": "webhook/workspace/validate.go", + "source_location": "L40", + "_origin": "ast", + "id": "webhook_workspace_validate_go_response", + "community": 128, + "norm_label": "response" + }, + { + "label": "validating_cfg.go", + "file_type": "code", + "source_file": "webhook/workspace/validating_cfg.go", + "source_location": "L1", + "_origin": "ast", + "id": "workspace_validating_cfg", + "community": 44, + "norm_label": "validating_cfg.go" + }, + { + "label": "buildValidatingWebhookCfg()", + "file_type": "code", + "source_file": "webhook/workspace/validating_cfg.go", + "source_location": "L31", + "_origin": "ast", + "id": "workspace_validating_cfg_buildvalidatingwebhookcfg", + "community": 44, + "norm_label": "buildvalidatingwebhookcfg()" + }, + { + "label": "ValidatingWebhookConfiguration", + "file_type": "code", + "source_file": "webhook/workspace/validating_cfg.go", + "source_location": "L31", + "_origin": "ast", + "id": "webhook_workspace_validating_cfg_go_validatingwebhookconfiguration", + "community": 44, + "norm_label": "validatingwebhookconfiguration" + }, + { + "label": "README-CHE-HAPPY-PATH.md", "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L1", + "_origin": "ast", + "id": "ci_readme_che_happy_path", + "community": 10, + "norm_label": "readme-che-happy-path.md" + }, + { + "label": "Che Happy-Path Test", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L1", + "_origin": "ast", + "id": "ci_readme_che_happy_path_che_happy_path_test", + "community": 10, + "norm_label": "che happy-path test" + }, + { + "label": "Overview", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L6", + "_origin": "ast", + "id": "ci_readme_che_happy_path_overview", + "community": 10, + "norm_label": "overview" + }, + { + "label": "Features", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L10", + "_origin": "ast", + "id": "ci_readme_che_happy_path_features", + "community": 10, + "norm_label": "features" + }, + { + "label": "Retry Logic", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L12", + "_origin": "ast", + "id": "ci_readme_che_happy_path_retry_logic", + "community": 10, + "norm_label": "retry logic" + }, + { + "label": "Health Checks", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L17", + "_origin": "ast", + "id": "ci_readme_che_happy_path_health_checks", + "community": 10, + "norm_label": "health checks" + }, + { + "label": "Artifact Collection", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L22", + "_origin": "ast", + "id": "ci_readme_che_happy_path_artifact_collection", + "community": 10, + "norm_label": "artifact collection" + }, + { + "label": "Error Handling", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L32", + "_origin": "ast", + "id": "ci_readme_che_happy_path_error_handling", + "community": 10, + "norm_label": "error handling" + }, + { + "label": "Configuration", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", "source_location": "L37", "_origin": "ast", - "community": 135, - "norm_label": "3. create devworkspaces namespace", - "id": "installation_openshift_without_olm_3_create_devworkspaces_namespace" + "id": "ci_readme_che_happy_path_configuration", + "community": 10, + "norm_label": "configuration" }, { - "label": "4. Create a Sample DevWorkspace", + "label": "Usage", "file_type": "document", - "source_file": "docs/installation/openshift-without-olm.md", - "source_location": "L45", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L50", "_origin": "ast", - "community": 135, - "norm_label": "4. create a sample devworkspace", - "id": "installation_openshift_without_olm_4_create_a_sample_devworkspace" + "id": "ci_readme_che_happy_path_usage", + "community": 10, + "norm_label": "usage" }, { - "label": "README.md", + "label": "In Prow CI", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L1", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L52", "_origin": "ast", - "community": 96, - "norm_label": "readme.md", - "id": "release_readme" + "id": "ci_readme_che_happy_path_in_prow_ci", + "community": 10, + "norm_label": "in prow ci" }, { - "label": "DevWorkspace Operator release process", + "label": "Local Testing", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L1", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L68", "_origin": "ast", - "community": 96, - "norm_label": "devworkspace operator release process", - "id": "release_readme_devworkspace_operator_release_process" + "id": "ci_readme_che_happy_path_local_testing", + "community": 10, + "norm_label": "local testing" }, { - "label": "Preparing for a release", + "label": "Test Flow", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L5", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L75", "_origin": "ast", - "community": 96, - "norm_label": "preparing for a release", - "id": "release_readme_preparing_for_a_release" + "id": "ci_readme_che_happy_path_test_flow", + "community": 10, + "norm_label": "test flow" }, { - "label": "Creating a milestone", + "label": "Exit Codes", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L9", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L94", "_origin": "ast", - "community": 96, - "norm_label": "creating a milestone", - "id": "release_readme_creating_a_milestone" + "id": "ci_readme_che_happy_path_exit_codes", + "community": 10, + "norm_label": "exit codes" }, { - "label": "Adding resolved issues to the milestone", + "label": "Timeouts", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L13", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L99", "_origin": "ast", - "community": 96, - "norm_label": "adding resolved issues to the milestone", - "id": "release_readme_adding_resolved_issues_to_the_milestone" + "id": "ci_readme_che_happy_path_timeouts", + "community": 10, + "norm_label": "timeouts" }, { - "label": "GitHub Action", + "label": "Common Failures", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L21", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L106", "_origin": "ast", - "community": 96, - "norm_label": "github action", - "id": "release_readme_github_action" + "id": "ci_readme_che_happy_path_common_failures", + "community": 10, + "norm_label": "common failures" }, { - "label": "Preparing release branch", + "label": "OLM Infrastructure Not Ready", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L25", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L108", "_origin": "ast", - "community": 96, - "norm_label": "preparing release branch", - "id": "release_readme_preparing_release_branch" + "id": "ci_readme_che_happy_path_olm_infrastructure_not_ready", + "community": 10, + "norm_label": "olm infrastructure not ready" }, { - "label": "Testing prerelease artifacts", + "label": "DWO Deployment Fails", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L34", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L117", "_origin": "ast", - "community": 96, - "norm_label": "testing prerelease artifacts", - "id": "release_readme_testing_prerelease_artifacts" + "id": "ci_readme_che_happy_path_dwo_deployment_fails", + "community": 10, + "norm_label": "dwo deployment fails" }, { - "label": "Releasing a new version", + "label": "Che Deployment Timeout", "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L57", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L122", "_origin": "ast", - "community": 96, - "norm_label": "releasing a new version", - "id": "release_readme_releasing_a_new_version" + "id": "ci_readme_che_happy_path_che_deployment_timeout", + "community": 10, + "norm_label": "che deployment timeout" + }, + { + "label": "Pod CrashLoopBackOff", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L132", + "_origin": "ast", + "id": "ci_readme_che_happy_path_pod_crashloopbackoff", + "community": 10, + "norm_label": "pod crashloopbackoff" + }, + { + "label": "OLM Subscription Stuck", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L137", + "_origin": "ast", + "id": "ci_readme_che_happy_path_olm_subscription_stuck", + "community": 10, + "norm_label": "olm subscription stuck" + }, + { + "label": "Artifact Locations", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L146", + "_origin": "ast", + "id": "ci_readme_che_happy_path_artifact_locations", + "community": 10, + "norm_label": "artifact locations" + }, + { + "label": "Dependencies", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L172", + "_origin": "ast", + "id": "ci_readme_che_happy_path_dependencies", + "community": 10, + "norm_label": "dependencies" + }, + { + "label": "Advanced Troubleshooting", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L179", + "_origin": "ast", + "id": "ci_readme_che_happy_path_advanced_troubleshooting", + "community": 10, + "norm_label": "advanced troubleshooting" + }, + { + "label": "OLM Infrastructure Issues", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L181", + "_origin": "ast", + "id": "ci_readme_che_happy_path_olm_infrastructure_issues", + "community": 10, + "norm_label": "olm infrastructure issues" + }, + { + "label": "Option 1: OLM Health Check (Implemented)", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L185", + "_origin": "ast", + "id": "ci_readme_che_happy_path_option_1_olm_health_check_implemented", + "community": 10, + "norm_label": "option 1: olm health check (implemented)" + }, + { + "label": "Option 2: Monitor Subscription Progress (Advanced)", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L193", + "_origin": "ast", + "id": "ci_readme_che_happy_path_option_2_monitor_subscription_progress_advanced", + "community": 10, + "norm_label": "option 2: monitor subscription progress (advanced)" + }, + { + "label": "Option 3: Skip OLM Installation (Alternative Approach)", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L212", + "_origin": "ast", + "id": "ci_readme_che_happy_path_option_3_skip_olm_installation_alternative_approach", + "community": 10, + "norm_label": "option 3: skip olm installation (alternative approach)" + }, + { + "label": "Subscription Timeout Issues", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L233", + "_origin": "ast", + "id": "ci_readme_che_happy_path_subscription_timeout_issues", + "community": 10, + "norm_label": "subscription timeout issues" + }, + { + "label": "CI Failure Reports", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L260", + "_origin": "ast", + "id": "ci_readme_che_happy_path_ci_failure_reports", + "community": 10, + "norm_label": "ci failure reports" + }, + { + "label": "What gets reported", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L264", + "_origin": "ast", + "id": "ci_readme_che_happy_path_what_gets_reported", + "community": 10, + "norm_label": "what gets reported" + }, + { + "label": "Failure categories", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L272", + "_origin": "ast", + "id": "ci_readme_che_happy_path_failure_categories", + "community": 10, + "norm_label": "failure categories" + }, + { + "label": "Report artifacts", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L281", + "_origin": "ast", + "id": "ci_readme_che_happy_path_report_artifacts", + "community": 10, + "norm_label": "report artifacts" + }, + { + "label": "Why these comments matter", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L288", + "_origin": "ast", + "id": "ci_readme_che_happy_path_why_these_comments_matter", + "community": 10, + "norm_label": "why these comments matter" + }, + { + "label": "Related Documentation", + "file_type": "document", + "source_file": ".ci/README-CHE-HAPPY-PATH.md", + "source_location": "L296", + "_origin": "ast", + "id": "ci_readme_che_happy_path_related_documentation", + "community": 10, + "norm_label": "related documentation" + }, + { + "label": "CLAUDE.md", + "file_type": "document", + "source_file": ".claude/CLAUDE.md", + "source_location": "L1", + "_origin": "ast", + "id": "claude_claude", + "community": 229, + "norm_label": "claude.md" + }, + { + "label": "Project Rules", + "file_type": "document", + "source_file": ".claude/CLAUDE.md", + "source_location": "L1", + "_origin": "ast", + "id": "claude_claude_project_rules", + "community": 229, + "norm_label": "project rules" + }, + { + "label": "Architecture Decision Records", + "file_type": "document", + "source_file": ".claude/CLAUDE.md", + "source_location": "L7", + "_origin": "ast", + "id": "claude_claude_architecture_decision_records", + "community": 229, + "norm_label": "architecture decision records" + }, + { + "label": "redhat-compliance-and-responsible-ai.md", + "file_type": "document", + "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", + "source_location": "L1", + "_origin": "ast", + "id": "gemini_redhat_compliance_and_responsible_ai", + "community": 180, + "norm_label": "redhat-compliance-and-responsible-ai.md" + }, + { + "label": "Gemini Rules", + "file_type": "document", + "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", + "source_location": "L1", + "_origin": "ast", + "id": "gemini_redhat_compliance_and_responsible_ai_gemini_rules", + "community": 180, + "norm_label": "gemini rules" + }, + { + "label": "RED HAT COMPLIANCE & RESPONSIBLE AI RULES", + "file_type": "document", + "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", + "source_location": "L10", + "_origin": "ast", + "id": "gemini_redhat_compliance_and_responsible_ai_red_hat_compliance_responsible_ai_rules", + "community": 180, + "norm_label": "red hat compliance & responsible ai rules" + }, + { + "label": "1. Copyright & Licensing (MANDATORY)", + "file_type": "document", + "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", + "source_location": "L12", + "_origin": "ast", + "id": "gemini_redhat_compliance_and_responsible_ai_1_copyright_licensing_mandatory", + "community": 180, + "norm_label": "1. copyright & licensing (mandatory)" + }, + { + "label": "2. AI Contribution Marking", + "file_type": "document", + "source_file": ".gemini/redhat-compliance-and-responsible-ai.md", + "source_location": "L18", + "_origin": "ast", + "id": "gemini_redhat_compliance_and_responsible_ai_2_ai_contribution_marking", + "community": 180, + "norm_label": "2. ai contribution marking" + }, + { + "label": "bug_report.md", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", + "source_location": "L1", + "_origin": "ast", + "id": "issue_template_bug_report", + "community": 184, + "norm_label": "bug_report.md" + }, + { + "label": "Description", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", + "source_location": "L10", + "_origin": "ast", + "id": "issue_template_bug_report_description", + "community": 184, + "norm_label": "description" + }, + { + "label": "How To Reproduce", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", + "source_location": "L13", + "_origin": "ast", + "id": "issue_template_bug_report_how_to_reproduce", + "community": 184, + "norm_label": "how to reproduce" + }, + { + "label": "Expected behavior", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", + "source_location": "L22", + "_origin": "ast", + "id": "issue_template_bug_report_expected_behavior", + "community": 184, + "norm_label": "expected behavior" + }, + { + "label": "Additional context", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/bug_report.md", + "source_location": "L25", + "_origin": "ast", + "id": "issue_template_bug_report_additional_context", + "community": 184, + "norm_label": "additional context" + }, + { + "label": "feature_request.md", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/feature_request.md", + "source_location": "L1", + "_origin": "ast", + "id": "issue_template_feature_request", + "community": 236, + "norm_label": "feature_request.md" + }, + { + "label": "Description", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/feature_request.md", + "source_location": "L10", + "_origin": "ast", + "id": "issue_template_feature_request_description", + "community": 236, + "norm_label": "description" + }, + { + "label": "Additional context", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/feature_request.md", + "source_location": "L13", + "_origin": "ast", + "id": "issue_template_feature_request_additional_context", + "community": 236, + "norm_label": "additional context" + }, + { + "label": "other.md", + "file_type": "document", + "source_file": ".github/ISSUE_TEMPLATE/other.md", + "source_location": "L1", + "_origin": "ast", + "id": "issue_template_other", + "community": 277, + "norm_label": "other.md" + }, + { + "label": "PULL_REQUEST_TEMPLATE.md", + "file_type": "document", + "source_file": ".github/PULL_REQUEST_TEMPLATE.md", + "source_location": "L1", + "_origin": "ast", + "id": "github_pull_request_template", + "community": 181, + "norm_label": "pull_request_template.md" + }, + { + "label": "What does this PR do?", + "file_type": "document", + "source_file": ".github/PULL_REQUEST_TEMPLATE.md", + "source_location": "L1", + "_origin": "ast", + "id": "github_pull_request_template_what_does_this_pr_do", + "community": 181, + "norm_label": "what does this pr do?" + }, + { + "label": "What issues does this PR fix or reference?", + "file_type": "document", + "source_file": ".github/PULL_REQUEST_TEMPLATE.md", + "source_location": "L4", + "_origin": "ast", + "id": "github_pull_request_template_what_issues_does_this_pr_fix_or_reference", + "community": 181, + "norm_label": "what issues does this pr fix or reference?" + }, + { + "label": "Is it tested? How?", + "file_type": "document", + "source_file": ".github/PULL_REQUEST_TEMPLATE.md", + "source_location": "L7", + "_origin": "ast", + "id": "github_pull_request_template_is_it_tested_how", + "community": 181, + "norm_label": "is it tested? how?" + }, + { + "label": "PR Checklist", + "file_type": "document", + "source_file": ".github/PULL_REQUEST_TEMPLATE.md", + "source_location": "L10", + "_origin": "ast", + "id": "github_pull_request_template_pr_checklist", + "community": 181, + "norm_label": "pr checklist" + }, + { + "label": "AGENTS.md", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L1", + "_origin": "ast", + "id": "agents", + "community": 104, + "norm_label": "agents.md" + }, + { + "label": "DevWorkspace Operator - AI Agent Instructions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L1", + "_origin": "ast", + "id": "agents_devworkspace_operator_ai_agent_instructions", + "community": 104, + "norm_label": "devworkspace operator - ai agent instructions" + }, + { + "label": "APIs Provided by DevWorkspace Operator", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L9", + "_origin": "ast", + "id": "agents_apis_provided_by_devworkspace_operator", + "community": 104, + "norm_label": "apis provided by devworkspace operator" + }, + { + "label": "Codebase Navigation (Graphify)", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L20", + "_origin": "ast", + "id": "agents_codebase_navigation_graphify", + "community": 104, + "norm_label": "codebase navigation (graphify)" + }, + { + "label": "Advanced Features", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L31", + "_origin": "ast", + "id": "agents_advanced_features", + "community": 188, + "norm_label": "advanced features" + }, + { + "label": "Workspace Bootstrapping", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L33", + "_origin": "ast", + "id": "agents_workspace_bootstrapping", + "community": 188, + "norm_label": "workspace bootstrapping" + }, + { + "label": "Networking & Routing Classes", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L43", + "_origin": "ast", + "id": "agents_networking_routing_classes", + "community": 188, + "norm_label": "networking & routing classes" + }, + { + "label": "Flexible Contributions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L51", + "_origin": "ast", + "id": "agents_flexible_contributions", + "community": 188, + "norm_label": "flexible contributions" + }, + { + "label": "Quick Decision Guide", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L57", + "_origin": "ast", + "id": "agents_quick_decision_guide", + "community": 97, + "norm_label": "quick decision guide" + }, + { + "label": "Error Handling Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L61", + "_origin": "ast", + "id": "agents_error_handling_decisions", + "community": 97, + "norm_label": "error handling decisions" + }, + { + "label": "Client Usage Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L70", + "_origin": "ast", + "id": "agents_client_usage_decisions", + "community": 97, + "norm_label": "client usage decisions" + }, + { + "label": "Metrics Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L77", + "_origin": "ast", + "id": "agents_metrics_decisions", + "community": 97, + "norm_label": "metrics decisions" + }, + { + "label": "Infrastructure Detection Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L84", + "_origin": "ast", + "id": "agents_infrastructure_detection_decisions", + "community": 97, + "norm_label": "infrastructure detection decisions" + }, + { + "label": "Code Generation Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L91", + "_origin": "ast", + "id": "agents_code_generation_decisions", + "community": 97, + "norm_label": "code generation decisions" + }, + { + "label": "Webhook Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L98", + "_origin": "ast", + "id": "agents_webhook_decisions", + "community": 97, + "norm_label": "webhook decisions" + }, + { + "label": "RBAC Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L105", + "_origin": "ast", + "id": "agents_rbac_decisions", + "community": 97, + "norm_label": "rbac decisions" + }, + { + "label": "Status Update Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L111", + "_origin": "ast", + "id": "agents_status_update_decisions", + "community": 97, + "norm_label": "status update decisions" + }, + { + "label": "Testing Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L117", + "_origin": "ast", + "id": "agents_testing_decisions", + "community": 97, + "norm_label": "testing decisions" + }, + { + "label": "Workspace Bootstrapping Decisions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L127", + "_origin": "ast", + "id": "agents_workspace_bootstrapping_decisions", + "community": 97, + "norm_label": "workspace bootstrapping decisions" + }, + { + "label": "Project-Specific Conventions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L132", + "_origin": "ast", + "id": "agents_project_specific_conventions", + "community": 175, + "norm_label": "project-specific conventions" + }, + { + "label": "File Headers", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L134", + "_origin": "ast", + "id": "agents_file_headers", + "community": 175, + "norm_label": "file headers" + }, + { + "label": "Import Organization", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L154", + "_origin": "ast", + "id": "agents_import_organization", + "community": 175, + "norm_label": "import organization" + }, + { + "label": "File Formatting", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L184", + "_origin": "ast", + "id": "agents_file_formatting", + "community": 175, + "norm_label": "file formatting" + }, + { + "label": "Naming Conventions", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L202", + "_origin": "ast", + "id": "agents_naming_conventions", + "community": 175, + "norm_label": "naming conventions" + }, + { + "label": "Critical Patterns", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L210", + "_origin": "ast", + "id": "agents_critical_patterns", + "community": 87, + "norm_label": "critical patterns" + }, + { + "label": "Error Handling with Custom Types", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L212", + "_origin": "ast", + "id": "agents_error_handling_with_custom_types", + "community": 87, + "norm_label": "error handling with custom types" + }, + { + "label": "Status Updates with Defer", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L270", + "_origin": "ast", + "id": "agents_status_updates_with_defer", + "community": 87, + "norm_label": "status updates with defer" + }, + { + "label": "Failing Workspaces", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L293", + "_origin": "ast", + "id": "agents_failing_workspaces", + "community": 87, + "norm_label": "failing workspaces" + }, + { + "label": "Infrastructure Detection Pattern", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L314", + "_origin": "ast", + "id": "agents_infrastructure_detection_pattern", + "community": 87, + "norm_label": "infrastructure detection pattern" + }, + { + "label": "Client Usage (Cached vs Non-Cached)", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L344", + "_origin": "ast", + "id": "agents_client_usage_cached_vs_non_cached", + "community": 87, + "norm_label": "client usage (cached vs non-cached)" + }, + { + "label": "Webhook Pattern", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L367", + "_origin": "ast", + "id": "agents_webhook_pattern", + "community": 87, + "norm_label": "webhook pattern" + }, + { + "label": "RBAC Markers", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L403", + "_origin": "ast", + "id": "agents_rbac_markers", + "community": 87, + "norm_label": "rbac markers" + }, + { + "label": "Testing Pattern", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L420", + "_origin": "ast", + "id": "agents_testing_pattern", + "community": 87, + "norm_label": "testing pattern" + }, + { + "label": "E2E Test Cleanup Pattern", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L447", + "_origin": "ast", + "id": "agents_e2e_test_cleanup_pattern", + "community": 87, + "norm_label": "e2e test cleanup pattern" + }, + { + "label": "Deep Copy Pattern", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L511", + "_origin": "ast", + "id": "agents_deep_copy_pattern", + "community": 87, + "norm_label": "deep copy pattern" + }, + { + "label": "Reconciliation Best Practices", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L532", + "_origin": "ast", + "id": "agents_reconciliation_best_practices", + "community": 87, + "norm_label": "reconciliation best practices" + }, + { + "label": "Directory Structure", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L546", + "_origin": "ast", + "id": "agents_directory_structure", + "community": 104, + "norm_label": "directory structure" + }, + { + "label": "Common Pitfalls (Don'ts)", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L575", + "_origin": "ast", + "id": "agents_common_pitfalls_don_ts", + "community": 138, + "norm_label": "common pitfalls (don'ts)" + }, + { + "label": "Code Quality", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L577", + "_origin": "ast", + "id": "agents_code_quality", + "community": 138, + "norm_label": "code quality" + }, + { + "label": "Error Handling", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L589", + "_origin": "ast", + "id": "agents_error_handling", + "community": 138, + "norm_label": "error handling" + }, + { + "label": "Infrastructure & Configuration", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L595", + "_origin": "ast", + "id": "agents_infrastructure_configuration", + "community": 138, + "norm_label": "infrastructure & configuration" + }, + { + "label": "Code Generation", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L601", + "_origin": "ast", + "id": "agents_code_generation", + "community": 138, + "norm_label": "code generation" + }, + { + "label": "API Changes", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L607", + "_origin": "ast", + "id": "agents_api_changes", + "community": 138, + "norm_label": "api changes" + }, + { + "label": "Testing", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L616", + "_origin": "ast", + "id": "agents_testing", + "community": 138, + "norm_label": "testing" + }, + { + "label": "Debugging", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L624", + "_origin": "ast", + "id": "agents_debugging", + "community": 154, + "norm_label": "debugging" + }, + { + "label": "Log Format and Workspace Identification", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L626", + "_origin": "ast", + "id": "agents_log_format_and_workspace_identification", + "community": 154, + "norm_label": "log format and workspace identification" + }, + { + "label": "Experimental Diff Logging", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L645", + "_origin": "ast", + "id": "agents_experimental_diff_logging", + "community": 154, + "norm_label": "experimental diff logging" + }, + { + "label": "Local Debugging", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L655", + "_origin": "ast", + "id": "agents_local_debugging", + "community": 154, + "norm_label": "local debugging" + }, + { + "label": "Webhook Debugging", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L668", + "_origin": "ast", + "id": "agents_webhook_debugging", + "community": 154, + "norm_label": "webhook debugging" + }, + { + "label": "Reproducing Issues", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L675", + "_origin": "ast", + "id": "agents_reproducing_issues", + "community": 154, + "norm_label": "reproducing issues" + }, + { + "label": "Build & Development", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L686", + "_origin": "ast", + "id": "agents_build_development", + "community": 173, + "norm_label": "build & development" + }, + { + "label": "Common Make Targets", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L690", + "_origin": "ast", + "id": "agents_common_make_targets", + "community": 173, + "norm_label": "common make targets" + }, + { + "label": "Development Workflow", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L702", + "_origin": "ast", + "id": "agents_development_workflow", + "community": 173, + "norm_label": "development workflow" + }, + { + "label": "Code Generation Triggers", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L710", + "_origin": "ast", + "id": "agents_code_generation_triggers", + "community": 173, + "norm_label": "code generation triggers" + }, + { + "label": "Environment Variables", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L720", + "_origin": "ast", + "id": "agents_environment_variables", + "community": 173, + "norm_label": "environment variables" + }, + { + "label": "Version Information", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L726", + "_origin": "ast", + "id": "agents_version_information", + "community": 104, + "norm_label": "version information" + }, + { + "label": "Common Operations Reference", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L737", + "_origin": "ast", + "id": "agents_common_operations_reference", + "community": 174, + "norm_label": "common operations reference" + }, + { + "label": "Get Controller Logs", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L741", + "_origin": "ast", + "id": "agents_get_controller_logs", + "community": 174, + "norm_label": "get controller logs" + }, + { + "label": "Stop a Workspace", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L746", + "_origin": "ast", + "id": "agents_stop_a_workspace", + "community": 174, + "norm_label": "stop a workspace" + }, + { + "label": "Start a Workspace", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L751", + "_origin": "ast", + "id": "agents_start_a_workspace", + "community": 174, + "norm_label": "start a workspace" + }, + { + "label": "Force Reconcile (Touch)", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L756", + "_origin": "ast", + "id": "agents_force_reconcile_touch", + "community": 174, + "norm_label": "force reconcile (touch)" + }, + { + "label": "Architecture Decision Records (ADRs)", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L762", + "_origin": "ast", + "id": "agents_architecture_decision_records_adrs", + "community": 104, + "norm_label": "architecture decision records (adrs)" + }, + { + "label": "When to Create an ADR", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L766", + "_origin": "ast", + "id": "agents_when_to_create_an_adr", + "community": 104, + "norm_label": "when to create an adr" + }, + { + "label": "How to Create an ADR", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L779", + "_origin": "ast", + "id": "agents_how_to_create_an_adr", + "community": 104, + "norm_label": "how to create an adr" + }, + { + "label": "See Also", + "file_type": "document", + "source_file": "AGENTS.md", + "source_location": "L783", + "_origin": "ast", + "id": "agents_see_also", + "community": 104, + "norm_label": "see also" + }, + { + "label": "CHANGELOG.md", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L1", + "_origin": "ast", + "id": "changelog", + "community": 157, + "norm_label": "changelog.md" + }, + { + "label": "DevWorkspace Operator Changelog", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L1", + "_origin": "ast", + "id": "changelog_devworkspace_operator_changelog", + "community": 157, + "norm_label": "devworkspace operator changelog" + }, + { + "label": "v1.1.1", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L3", + "_origin": "ast", + "id": "changelog_v1_1_1", + "community": 159, + "norm_label": "v1.1.1" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L5", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements", + "community": 159, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v1.1.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L9", + "_origin": "ast", + "id": "changelog_v1_1_0", + "community": 157, + "norm_label": "v1.1.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L11", + "_origin": "ast", + "id": "changelog_features", + "community": 159, + "norm_label": "features" + }, + { + "label": "Configurable pod scheduling for workspaces and operator-managed jobs [#1723](https://github.com/devfile/devworkspace-operator/pull/1723)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L13", + "_origin": "ast", + "id": "changelog_configurable_pod_scheduling_for_workspaces_and_operator_managed_jobs_1723_https_github_com_devfile_devworkspace_operator_pull_1723", + "community": 159, + "norm_label": "configurable pod scheduling for workspaces and operator-managed jobs [#1723](https://github.com/devfile/devworkspace-operator/pull/1723)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L37", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_37", + "community": 157, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v1.0.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L44", + "_origin": "ast", + "id": "changelog_v1_0_0", + "community": 159, + "norm_label": "v1.0.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L46", + "_origin": "ast", + "id": "changelog_features_46", + "community": 159, + "norm_label": "features" + }, + { + "label": "Optional per-workspace NetworkPolicy provisioning [#1710](https://github.com/devfile/devworkspace-operator/pull/1710)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L48", + "_origin": "ast", + "id": "changelog_optional_per_workspace_networkpolicy_provisioning_1710_https_github_com_devfile_devworkspace_operator_pull_1710", + "community": 159, + "norm_label": "optional per-workspace networkpolicy provisioning [#1710](https://github.com/devfile/devworkspace-operator/pull/1710)" + }, + { + "label": "OpenShift-aware TLS configuration for metrics and webhook servers [#1695](https://github.com/devfile/devworkspace-operator/pull/1695)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L68", + "_origin": "ast", + "id": "changelog_openshift_aware_tls_configuration_for_metrics_and_webhook_servers_1695_https_github_com_devfile_devworkspace_operator_pull_1695", + "community": 159, + "norm_label": "openshift-aware tls configuration for metrics and webhook servers [#1695](https://github.com/devfile/devworkspace-operator/pull/1695)" + }, + { + "label": "Tolerate additional labels and annotations on workspace deployments [#1711](https://github.com/devfile/devworkspace-operator/pull/1711)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L72", + "_origin": "ast", + "id": "changelog_tolerate_additional_labels_and_annotations_on_workspace_deployments_1711_https_github_com_devfile_devworkspace_operator_pull_1711", + "community": 159, + "norm_label": "tolerate additional labels and annotations on workspace deployments [#1711](https://github.com/devfile/devworkspace-operator/pull/1711)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L76", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_76", + "community": 159, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.43.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L80", + "_origin": "ast", + "id": "changelog_v0_43_0", + "community": 157, + "norm_label": "v0.43.0" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L82", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_82", + "community": 157, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.42.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L89", + "_origin": "ast", + "id": "changelog_v0_42_0", + "community": 193, + "norm_label": "v0.42.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L91", + "_origin": "ast", + "id": "changelog_features_91", + "community": 193, + "norm_label": "features" + }, + { + "label": "Configurable field-level restrictions for container and pod overrides [#1653](https://github.com/devfile/devworkspace-operator/pull/1653)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L93", + "_origin": "ast", + "id": "changelog_configurable_field_level_restrictions_for_container_and_pod_overrides_1653_https_github_com_devfile_devworkspace_operator_pull_1653", + "community": 193, + "norm_label": "configurable field-level restrictions for container and pod overrides [#1653](https://github.com/devfile/devworkspace-operator/pull/1653)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L116", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_116", + "community": 193, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.41.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L124", + "_origin": "ast", + "id": "changelog_v0_41_0", + "community": 160, + "norm_label": "v0.41.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L126", + "_origin": "ast", + "id": "changelog_features_126", + "community": 160, + "norm_label": "features" + }, + { + "label": "Mount automount resources only to specific DevWorkspaces [#1619](https://github.com/devfile/devworkspace-operator/pull/1619)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L128", + "_origin": "ast", + "id": "changelog_mount_automount_resources_only_to_specific_devworkspaces_1619_https_github_com_devfile_devworkspace_operator_pull_1619", + "community": 160, + "norm_label": "mount automount resources only to specific devworkspaces [#1619](https://github.com/devfile/devworkspace-operator/pull/1619)" + }, + { + "label": "Prevent workspace restart when automount resources are created or modified [#1533](https://github.com/devfile/devworkspace-operator/pull/1533)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L139", + "_origin": "ast", + "id": "changelog_prevent_workspace_restart_when_automount_resources_are_created_or_modified_1533_https_github_com_devfile_devworkspace_operator_pull_1533", + "community": 160, + "norm_label": "prevent workspace restart when automount resources are created or modified [#1533](https://github.com/devfile/devworkspace-operator/pull/1533)" + }, + { + "label": "Mount PVC subdirectory into workspace using subPath [#1595](https://github.com/devfile/devworkspace-operator/pull/1595)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L158", + "_origin": "ast", + "id": "changelog_mount_pvc_subdirectory_into_workspace_using_subpath_1595_https_github_com_devfile_devworkspace_operator_pull_1595", + "community": 160, + "norm_label": "mount pvc subdirectory into workspace using subpath [#1595](https://github.com/devfile/devworkspace-operator/pull/1595)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L173", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_173", + "community": 160, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.40.1", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L179", + "_origin": "ast", + "id": "changelog_v0_40_1", + "community": 190, + "norm_label": "v0.40.1" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L181", + "_origin": "ast", + "id": "changelog_features_181", + "community": 190, + "norm_label": "features" + }, + { + "label": "Project clone retries [#1613](https://github.com/devfile/devworkspace-operator/pull/1613)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L183", + "_origin": "ast", + "id": "changelog_project_clone_retries_1613_https_github_com_devfile_devworkspace_operator_pull_1613", + "community": 190, + "norm_label": "project clone retries [#1613](https://github.com/devfile/devworkspace-operator/pull/1613)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L187", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_187", + "community": 190, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.40.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L196", + "_origin": "ast", + "id": "changelog_v0_40_0", + "community": 143, + "norm_label": "v0.40.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L198", + "_origin": "ast", + "id": "changelog_features_198", + "community": 143, + "norm_label": "features" + }, + { + "label": "Per-workspace backup status tracking [#1549](https://github.com/devfile/devworkspace-operator/issues/1549)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L200", + "_origin": "ast", + "id": "changelog_per_workspace_backup_status_tracking_1549_https_github_com_devfile_devworkspace_operator_issues_1549", + "community": 143, + "norm_label": "per-workspace backup status tracking [#1549](https://github.com/devfile/devworkspace-operator/issues/1549)" + }, + { + "label": "Restore workspace from backup [#1525](https://github.com/devfile/devworkspace-operator/issues/1525)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L209", + "_origin": "ast", + "id": "changelog_restore_workspace_from_backup_1525_https_github_com_devfile_devworkspace_operator_issues_1525", + "community": 143, + "norm_label": "restore workspace from backup [#1525](https://github.com/devfile/devworkspace-operator/issues/1525)" + }, + { + "label": "Configurable backup job retry limit [#1579](https://github.com/devfile/devworkspace-operator/issues/1579)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L225", + "_origin": "ast", + "id": "changelog_configurable_backup_job_retry_limit_1579_https_github_com_devfile_devworkspace_operator_issues_1579", + "community": 143, + "norm_label": "configurable backup job retry limit [#1579](https://github.com/devfile/devworkspace-operator/issues/1579)" + }, + { + "label": "Inject HOST_USERS environment variable for user namespace configuration [#1582](https://github.com/devfile/devworkspace-operator/pull/1582)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L240", + "_origin": "ast", + "id": "changelog_inject_host_users_environment_variable_for_user_namespace_configuration_1582_https_github_com_devfile_devworkspace_operator_pull_1582", + "community": 143, + "norm_label": "inject host_users environment variable for user namespace configuration [#1582](https://github.com/devfile/devworkspace-operator/pull/1582)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L244", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_244", + "community": 143, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.39.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L251", + "_origin": "ast", + "id": "changelog_v0_39_0", + "community": 158, + "norm_label": "v0.39.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L252", + "_origin": "ast", + "id": "changelog_features_252", + "community": 158, + "norm_label": "features" + }, + { + "label": "Implement backup feature for DevWorkspaces [#1524](https://github.com/devfile/devworkspace-operator/issues/1524)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L253", + "_origin": "ast", + "id": "changelog_implement_backup_feature_for_devworkspaces_1524_https_github_com_devfile_devworkspace_operator_issues_1524", + "community": 158, + "norm_label": "implement backup feature for devworkspaces [#1524](https://github.com/devfile/devworkspace-operator/issues/1524)" + }, + { + "label": "Add the ability to configure custom init containers [#1559](https://github.com/devfile/devworkspace-operator/issues/1559)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L263", + "_origin": "ast", + "id": "changelog_add_the_ability_to_configure_custom_init_containers_1559_https_github_com_devfile_devworkspace_operator_issues_1559", + "community": 158, + "norm_label": "add the ability to configure custom init containers [#1559](https://github.com/devfile/devworkspace-operator/issues/1559)" + }, + { + "label": "Add container resource caps enforcement [#1561](https://github.com/devfile/devworkspace-operator/issues/1561)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L288", + "_origin": "ast", + "id": "changelog_add_container_resource_caps_enforcement_1561_https_github_com_devfile_devworkspace_operator_issues_1561", + "community": 158, + "norm_label": "add container resource caps enforcement [#1561](https://github.com/devfile/devworkspace-operator/issues/1561)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L310", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_310", + "community": 158, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.38.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L313", + "_origin": "ast", + "id": "changelog_v0_38_0", + "community": 191, + "norm_label": "v0.38.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L314", + "_origin": "ast", + "id": "changelog_features_314", + "community": 191, + "norm_label": "features" + }, + { + "label": "Improved debugging for failing postStart commands [#1538](https://github.com/devfile/devworkspace-operator/issues/1538)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L315", + "_origin": "ast", + "id": "changelog_improved_debugging_for_failing_poststart_commands_1538_https_github_com_devfile_devworkspace_operator_issues_1538", + "community": 191, + "norm_label": "improved debugging for failing poststart commands [#1538](https://github.com/devfile/devworkspace-operator/issues/1538)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L322", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_322", + "community": 191, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.37.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L327", + "_origin": "ast", + "id": "changelog_v0_37_0", + "community": 178, + "norm_label": "v0.37.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L328", + "_origin": "ast", + "id": "changelog_features_328", + "community": 178, + "norm_label": "features" + }, + { + "label": "Add hostUsers field to DWOC [#1493](https://github.com/devfile/devworkspace-operator/issues/1493)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L329", + "_origin": "ast", + "id": "changelog_add_hostusers_field_to_dwoc_1493_https_github_com_devfile_devworkspace_operator_issues_1493", + "community": 178, + "norm_label": "add hostusers field to dwoc [#1493](https://github.com/devfile/devworkspace-operator/issues/1493)" + }, + { + "label": "Provide timeout for postStart events [#1496](https://github.com/devfile/devworkspace-operator/issues/1496)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L344", + "_origin": "ast", + "id": "changelog_provide_timeout_for_poststart_events_1496_https_github_com_devfile_devworkspace_operator_issues_1496", + "community": 178, + "norm_label": "provide timeout for poststart events [#1496](https://github.com/devfile/devworkspace-operator/issues/1496)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L357", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_357", + "community": 178, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.36.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L363", + "_origin": "ast", + "id": "changelog_v0_36_0", + "community": 179, + "norm_label": "v0.36.0" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L364", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_364", + "community": 179, + "norm_label": "bug fixes & improvements" + }, + { + "label": "Remove `kube-rbac-proxy` from the controller Deployment [#1437](https://github.com/devfile/devworkspace-operator/pull/1437)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L365", + "_origin": "ast", + "id": "changelog_remove_kube_rbac_proxy_from_the_controller_deployment_1437_https_github_com_devfile_devworkspace_operator_pull_1437", + "community": 179, + "norm_label": "remove `kube-rbac-proxy` from the controller deployment [#1437](https://github.com/devfile/devworkspace-operator/pull/1437)" + }, + { + "label": "Execute preStart devfile events after the project-clone init-container has run [#1454](https://github.com/devfile/devworkspace-operator/issues/1454)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L370", + "_origin": "ast", + "id": "changelog_execute_prestart_devfile_events_after_the_project_clone_init_container_has_run_1454_https_github_com_devfile_devworkspace_operator_issues_1454", + "community": 179, + "norm_label": "execute prestart devfile events after the project-clone init-container has run [#1454](https://github.com/devfile/devworkspace-operator/issues/1454)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L373", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_373", + "community": 179, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.35.1", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L377", + "_origin": "ast", + "id": "changelog_v0_35_1", + "community": 157, + "norm_label": "v0.35.1" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L378", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_378", + "community": 157, + "norm_label": "bug fixes & improvements" + }, + { + "label": "v0.35.0", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L381", + "_origin": "ast", + "id": "changelog_v0_35_0", + "community": 192, + "norm_label": "v0.35.0" + }, + { + "label": "Features", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L383", + "_origin": "ast", + "id": "changelog_features_383", + "community": 192, + "norm_label": "features" + }, + { + "label": "Make workspace PVC's Access mode configurable [#1019](https://github.com/devfile/devworkspace-operator/issues/1019)", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L384", + "_origin": "ast", + "id": "changelog_make_workspace_pvc_s_access_mode_configurable_1019_https_github_com_devfile_devworkspace_operator_issues_1019", + "community": 192, + "norm_label": "make workspace pvc's access mode configurable [#1019](https://github.com/devfile/devworkspace-operator/issues/1019)" + }, + { + "label": "Bug Fixes & Improvements", + "file_type": "document", + "source_file": "CHANGELOG.md", + "source_location": "L399", + "_origin": "ast", + "id": "changelog_bug_fixes_improvements_399", + "community": 192, + "norm_label": "bug fixes & improvements" + }, + { + "label": "CONTRIBUTING.md", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L1", + "_origin": "ast", + "id": "contributing", + "community": 21, + "norm_label": "contributing.md" + }, + { + "label": "Contributing", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L1", + "_origin": "ast", + "id": "contributing_contributing", + "community": 21, + "norm_label": "contributing" + }, + { + "label": "Code of Conduct", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L5", + "_origin": "ast", + "id": "contributing_code_of_conduct", + "community": 21, + "norm_label": "code of conduct" + }, + { + "label": "Getting Started", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L9", + "_origin": "ast", + "id": "contributing_getting_started", + "community": 21, + "norm_label": "getting started" + }, + { + "label": "Issues", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L11", + "_origin": "ast", + "id": "contributing_issues", + "community": 21, + "norm_label": "issues" + }, + { + "label": "Pull Requests", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L16", + "_origin": "ast", + "id": "contributing_pull_requests", + "community": 21, + "norm_label": "pull requests" + }, + { + "label": "CI", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L34", + "_origin": "ast", + "id": "contributing_ci", + "community": 21, + "norm_label": "ci" + }, + { + "label": "GitHub actions", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L36", + "_origin": "ast", + "id": "contributing_github_actions", + "community": 21, + "norm_label": "github actions" + }, + { + "label": "Development", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L41", + "_origin": "ast", + "id": "contributing_development", + "community": 21, + "norm_label": "development" + }, + { + "label": "Codebase Navigation (Graphify)", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L45", + "_origin": "ast", + "id": "contributing_codebase_navigation_graphify", + "community": 21, + "norm_label": "codebase navigation (graphify)" + }, + { + "label": "Prerequisites", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L77", + "_origin": "ast", + "id": "contributing_prerequisites", + "community": 21, + "norm_label": "prerequisites" + }, + { + "label": "macOS Specific Issues", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L94", + "_origin": "ast", + "id": "contributing_macos_specific_issues", + "community": 21, + "norm_label": "macos specific issues" + }, + { + "label": "Multi-Architecture Builds", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L121", + "_origin": "ast", + "id": "contributing_multi_architecture_builds", + "community": 21, + "norm_label": "multi-architecture builds" + }, + { + "label": "Container Tool Selection", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L142", + "_origin": "ast", + "id": "contributing_container_tool_selection", + "community": 21, + "norm_label": "container tool selection" + }, + { + "label": "Makefile", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L162", + "_origin": "ast", + "id": "contributing_makefile", + "community": 21, + "norm_label": "makefile" + }, + { + "label": "DevWorkspace Operator first time development setup", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L188", + "_origin": "ast", + "id": "contributing_devworkspace_operator_first_time_development_setup", + "community": 21, + "norm_label": "devworkspace operator first time development setup" + }, + { + "label": "Test run controller", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L233", + "_origin": "ast", + "id": "contributing_test_run_controller", + "community": 21, + "norm_label": "test run controller" + }, + { + "label": "Run controller locally", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L239", + "_origin": "ast", + "id": "contributing_run_controller_locally", + "community": 21, + "norm_label": "run controller locally" + }, + { + "label": "Run controller locally and debug", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L264", + "_origin": "ast", + "id": "contributing_run_controller_locally_and_debug", + "community": 21, + "norm_label": "run controller locally and debug" + }, + { + "label": "Run webhook server locally and debug", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L280", + "_origin": "ast", + "id": "contributing_run_webhook_server_locally_and_debug", + "community": 21, + "norm_label": "run webhook server locally and debug" + }, + { + "label": "Running Tests", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L294", + "_origin": "ast", + "id": "contributing_running_tests", + "community": 21, + "norm_label": "running tests" + }, + { + "label": "Updating devfile API", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L312", + "_origin": "ast", + "id": "contributing_updating_devfile_api", + "community": 21, + "norm_label": "updating devfile api" + }, + { + "label": "Remove controller from your K8s/OS Cluster", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L326", + "_origin": "ast", + "id": "contributing_remove_controller_from_your_k8s_os_cluster", + "community": 21, + "norm_label": "remove controller from your k8s/os cluster" + }, + { + "label": "Build a custom OLM bundle", + "file_type": "document", + "source_file": "CONTRIBUTING.md", + "source_location": "L336", + "_origin": "ast", + "id": "contributing_build_a_custom_olm_bundle", + "community": 21, + "norm_label": "build a custom olm bundle" + }, + { + "label": "README.md", + "file_type": "document", + "source_file": "README.md", + "source_location": "L1", + "_origin": "ast", + "id": "readme", + "community": 73, + "norm_label": "readme.md" + }, + { + "label": "DevWorkspace Operator", + "file_type": "document", + "source_file": "README.md", + "source_location": "L3", + "_origin": "ast", + "id": "readme_devworkspace_operator", + "community": 73, + "norm_label": "devworkspace operator" + }, + { + "label": "What is the DevWorkspace Operator?", + "file_type": "document", + "source_file": "README.md", + "source_location": "L11", + "_origin": "ast", + "id": "readme_what_is_the_devworkspace_operator", + "community": 73, + "norm_label": "what is the devworkspace operator?" + }, + { + "label": "Example", + "file_type": "document", + "source_file": "README.md", + "source_location": "L27", + "_origin": "ast", + "id": "readme_example", + "community": 73, + "norm_label": "example" + }, + { + "label": "DevWorkspace Template", + "file_type": "document", + "source_file": "README.md", + "source_location": "L35", + "_origin": "ast", + "id": "readme_devworkspace_template", + "community": 73, + "norm_label": "devworkspace template" + }, + { + "label": "DevWorkspace Contributions", + "file_type": "document", + "source_file": "README.md", + "source_location": "L42", + "_origin": "ast", + "id": "readme_devworkspace_contributions", + "community": 73, + "norm_label": "devworkspace contributions" + }, + { + "label": "Additional configuration", + "file_type": "document", + "source_file": "README.md", + "source_location": "L51", + "_origin": "ast", + "id": "readme_additional_configuration", + "community": 73, + "norm_label": "additional configuration" + }, + { + "label": "DevWorkspace Operator on Developer Sandbox", + "file_type": "document", + "source_file": "README.md", + "source_location": "L56", + "_origin": "ast", + "id": "readme_devworkspace_operator_on_developer_sandbox", + "community": 73, + "norm_label": "devworkspace operator on developer sandbox" + }, + { + "label": "DevWorkspace Operator Installation", + "file_type": "document", + "source_file": "README.md", + "source_location": "L70", + "_origin": "ast", + "id": "readme_devworkspace_operator_installation", + "community": 73, + "norm_label": "devworkspace operator installation" + }, + { + "label": "Platform-Specific Installation Guides", + "file_type": "document", + "source_file": "README.md", + "source_location": "L76", + "_origin": "ast", + "id": "readme_platform_specific_installation_guides", + "community": 73, + "norm_label": "platform-specific installation guides" + }, + { + "label": "Installing the Operator Lifecycle Manager", + "file_type": "document", + "source_file": "README.md", + "source_location": "L89", + "_origin": "ast", + "id": "readme_installing_the_operator_lifecycle_manager", + "community": 73, + "norm_label": "installing the operator lifecycle manager" + }, + { + "label": "Adding the DevWorkspace Operator catalog source", + "file_type": "document", + "source_file": "README.md", + "source_location": "L97", + "_origin": "ast", + "id": "readme_adding_the_devworkspace_operator_catalog_source", + "community": 73, + "norm_label": "adding the devworkspace operator catalog source" + }, + { + "label": "Create the DevWorkspace Operator Subscription", + "file_type": "document", + "source_file": "README.md", + "source_location": "L127", + "_origin": "ast", + "id": "readme_create_the_devworkspace_operator_subscription", + "community": 73, + "norm_label": "create the devworkspace operator subscription" + }, + { + "label": "Contributing", + "file_type": "document", + "source_file": "README.md", + "source_location": "L147", + "_origin": "ast", + "id": "readme_contributing", + "community": 73, + "norm_label": "contributing" + }, + { + "label": "2026-05-11-backup-auth-secret-lifecycle.md", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle", + "community": 52, + "norm_label": "2026-05-11-backup-auth-secret-lifecycle.md" + }, + { + "label": "Backup Auth Secret Must Not Be Owned by Any Workspace", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_backup_auth_secret_must_not_be_owned_by_any_workspace", + "community": 52, + "norm_label": "backup auth secret must not be owned by any workspace" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L8", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_context", + "community": 52, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L32", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_decision", + "community": 52, + "norm_label": "decision" + }, + { + "label": "What Changes", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L36", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_what_changes", + "community": 52, + "norm_label": "what changes" + }, + { + "label": "What Doesn't Change", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L42", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_what_doesn_t_change", + "community": 52, + "norm_label": "what doesn't change" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L48", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_considered_alternatives", + "community": 52, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Multi-owner references (non-controller)", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L50", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_alternative_1_multi_owner_references_non_controller", + "community": 52, + "norm_label": "alternative 1: multi-owner references (non-controller)" + }, + { + "label": "Alternative 2: Finalizer-based cleanup", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L59", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_alternative_2_finalizer_based_cleanup", + "community": 52, + "norm_label": "alternative 2: finalizer-based cleanup" + }, + { + "label": "Alternative 3: Per-workspace auth secrets", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L68", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_alternative_3_per_workspace_auth_secrets", + "community": 52, + "norm_label": "alternative 3: per-workspace auth secrets" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L77", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_consequences", + "community": 52, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L79", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_positive", + "community": 52, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L85", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_negative", + "community": 52, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L89", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_neutral", + "community": 52, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-05-11-backup-auth-secret-lifecycle.md", + "source_location": "L93", + "_origin": "ast", + "id": "adr_2026_05_11_backup_auth_secret_lifecycle_references", + "community": 52, + "norm_label": "references" + }, + { + "label": "2026-08-26-sanitize-automount-volume-names.md", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names", + "community": 85, + "norm_label": "2026-08-26-sanitize-automount-volume-names.md" + }, + { + "label": "Sanitize automount volume names to be DNS-1123 compliant", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_sanitize_automount_volume_names_to_be_dns_1123_compliant", + "community": 85, + "norm_label": "sanitize automount volume names to be dns-1123 compliant" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L8", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_context", + "community": 85, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L27", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_decision", + "community": 85, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L38", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_considered_alternatives", + "community": 85, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Reject invalid object names at admission (webhook validation)", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L40", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_alternative_1_reject_invalid_object_names_at_admission_webhook_validation", + "community": 85, + "norm_label": "alternative 1: reject invalid object names at admission (webhook validation)" + }, + { + "label": "Alternative 2: Keep names verbatim, only truncate for length", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L53", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_alternative_2_keep_names_verbatim_only_truncate_for_length", + "community": 85, + "norm_label": "alternative 2: keep names verbatim, only truncate for length" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L62", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_consequences", + "community": 85, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L64", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_positive", + "community": 85, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L71", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_negative", + "community": 85, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L82", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_neutral", + "community": 85, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-08-26-sanitize-automount-volume-names.md", + "source_location": "L88", + "_origin": "ast", + "id": "adr_2026_08_26_sanitize_automount_volume_names_references", + "community": 85, + "norm_label": "references" + }, + { + "label": "2026-10-07-discoverable-endpoint-index.md", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index", + "community": 295, + "norm_label": "2026-10-07-discoverable-endpoint-index.md" + }, + { + "label": "Index discoverable endpoints for admission conflict checks", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "community": 295, + "norm_label": "index discoverable endpoints for admission conflict checks" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L7", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_context", + "community": 295, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L11", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_decision", + "community": 295, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L21", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_considered_alternatives", + "community": 295, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Keep listing and scanning the whole namespace", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L23", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_alternative_1_keep_listing_and_scanning_the_whole_namespace", + "community": 295, + "norm_label": "alternative 1: keep listing and scanning the whole namespace" + }, + { + "label": "Alternative 2: Disable cache object copying", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L29", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_alternative_2_disable_cache_object_copying", + "community": 295, + "norm_label": "alternative 2: disable cache object copying" + }, + { + "label": "Alternative 3: Add a custom cache or external endpoint index owner", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L35", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_alternative_3_add_a_custom_cache_or_external_endpoint_index_owner", + "community": 295, + "norm_label": "alternative 3: add a custom cache or external endpoint index owner" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L41", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_consequences", + "community": 295, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L43", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_positive", + "community": 295, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L47", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_negative", + "community": 295, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L51", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_neutral", + "community": 295, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L55", + "_origin": "ast", + "id": "adr_2026_10_07_discoverable_endpoint_index_references", + "community": 295, + "norm_label": "references" + }, + { + "label": "2026-10-08-discoverable-service-certificates.md", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates", + "community": 296, + "norm_label": "2026-10-08-discoverable-service-certificates.md" + }, + { + "label": "Mount per-service certificates for discoverable endpoints", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "community": 296, + "norm_label": "mount per-service certificates for discoverable endpoints" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L7", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_context", + "community": 296, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L11", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_decision", + "community": 296, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L17", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_considered_alternatives", + "community": 296, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Share the aggregate certificate mount", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L19", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_alternative_1_share_the_aggregate_certificate_mount", + "community": 296, + "norm_label": "alternative 1: share the aggregate certificate mount" + }, + { + "label": "Alternative 2: Truncate long volume names or reject long Service names", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L25", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_alternative_2_truncate_long_volume_names_or_reject_long_service_names", + "community": 296, + "norm_label": "alternative 2: truncate long volume names or reject long service names" + }, + { + "label": "Alternative 3: Hash every volume name", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L31", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_alternative_3_hash_every_volume_name", + "community": 296, + "norm_label": "alternative 3: hash every volume name" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L37", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_consequences", + "community": 296, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L39", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_positive", + "community": 296, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L44", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_negative", + "community": 296, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L49", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_neutral", + "community": 296, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L54", + "_origin": "ast", + "id": "adr_2026_10_08_discoverable_service_certificates_references", + "community": 296, + "norm_label": "references" + }, + { + "label": "2026-10-08-routing-service-ownership.md", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership", + "community": 297, + "norm_label": "2026-10-08-routing-service-ownership.md" + }, + { + "label": "Guard routing Service ownership during synchronization", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "community": 297, + "norm_label": "guard routing service ownership during synchronization" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L7", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_context", + "community": 297, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L11", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_decision", + "community": 297, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L23", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_considered_alternatives", + "community": 297, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Trust admission conflict checks", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L25", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_alternative_1_trust_admission_conflict_checks", + "community": 297, + "norm_label": "alternative 1: trust admission conflict checks" + }, + { + "label": "Alternative 2: Treat workspace ID labels as ownership proof", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L31", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_alternative_2_treat_workspace_id_labels_as_ownership_proof", + "community": 297, + "norm_label": "alternative 2: treat workspace id labels as ownership proof" + }, + { + "label": "Alternative 3: Keep the generic AlreadyExists update fallback", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L37", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_alternative_3_keep_the_generic_alreadyexists_update_fallback", + "community": 297, + "norm_label": "alternative 3: keep the generic alreadyexists update fallback" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L43", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_consequences", + "community": 297, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L45", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_positive", + "community": 297, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L50", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_negative", + "community": 297, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L54", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_neutral", + "community": 297, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L58", + "_origin": "ast", + "id": "adr_2026_10_08_routing_service_ownership_references", + "community": 297, + "norm_label": "references" + }, + { + "label": "2026-10-12-routing-failure-recovery.md", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery", + "community": 299, + "norm_label": "2026-10-12-routing-failure-recovery.md" + }, + { + "label": "Recover failed routing after spec changes", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "community": 299, + "norm_label": "recover failed routing after spec changes" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L7", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_context", + "community": 299, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L11", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_decision", + "community": 299, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L19", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_considered_alternatives", + "community": 299, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Retry unchanged failures on resource events", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L21", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_alternative_1_retry_unchanged_failures_on_resource_events", + "community": 299, + "norm_label": "alternative 1: retry unchanged failures on resource events" + }, + { + "label": "Alternative 2: Require routing recreation", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L29", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_alternative_2_require_routing_recreation", + "community": 299, + "norm_label": "alternative 2: require routing recreation" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L37", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_consequences", + "community": 299, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L39", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_positive", + "community": 299, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L44", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_negative", + "community": 299, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L49", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_neutral", + "community": 299, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L54", + "_origin": "ast", + "id": "adr_2026_10_12_routing_failure_recovery_references", + "community": 299, + "norm_label": "references" + }, + { + "label": "2026-10-12-routing-solver-context.md", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context", + "community": 300, + "norm_label": "2026-10-12-routing-solver-context.md" + }, + { + "label": "Pass reconciliation context through routing solvers", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "community": 300, + "norm_label": "pass reconciliation context through routing solvers" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L7", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_context", + "community": 300, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L11", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_decision", + "community": 300, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L17", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_considered_alternatives", + "community": 300, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Retain legacy entry points alongside context-aware methods", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L19", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_alternative_1_retain_legacy_entry_points_alongside_context_aware_methods", + "community": 300, + "norm_label": "alternative 1: retain legacy entry points alongside context-aware methods" + }, + { + "label": "Alternative 2: Add a fixed timeout to Service lookup", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L25", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_alternative_2_add_a_fixed_timeout_to_service_lookup", + "community": 300, + "norm_label": "alternative 2: add a fixed timeout to service lookup" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L31", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_consequences", + "community": 300, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L33", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_positive", + "community": 300, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L37", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_negative", + "community": 300, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L41", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_neutral", + "community": 300, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L47", + "_origin": "ast", + "id": "adr_2026_10_12_routing_solver_context_references", + "community": 300, + "norm_label": "references" + }, + { + "label": "2026-10-12-serving-certificate-readiness.md", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness", + "community": 301, + "norm_label": "2026-10-12-serving-certificate-readiness.md" + }, + { + "label": "Validate serving certificates before publishing routing mounts", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "community": 301, + "norm_label": "validate serving certificates before publishing routing mounts" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L7", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_context", + "community": 301, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L11", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_decision", + "community": 301, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L19", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_considered_alternatives", + "community": 301, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: Change certificate Secret names", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L21", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_alternative_1_change_certificate_secret_names", + "community": 301, + "norm_label": "alternative 1: change certificate secret names" + }, + { + "label": "Alternative 2: Publish mounts immediately after Service creation", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L27", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_alternative_2_publish_mounts_immediately_after_service_creation", + "community": 301, + "norm_label": "alternative 2: publish mounts immediately after service creation" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L33", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_consequences", + "community": 301, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L35", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_positive", + "community": 301, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L40", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_negative", + "community": 301, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L46", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_neutral", + "community": 301, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L51", + "_origin": "ast", + "id": "adr_2026_10_12_serving_certificate_readiness_references", + "community": 301, + "norm_label": "references" + }, + { + "label": "AGENTS.md", + "file_type": "document", + "source_file": "adr/AGENTS.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_agents", + "community": 153, + "norm_label": "agents.md" + }, + { + "label": "ADR Maintenance Guide for AI Agents", + "file_type": "document", + "source_file": "adr/AGENTS.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_agents_adr_maintenance_guide_for_ai_agents", + "community": 153, + "norm_label": "adr maintenance guide for ai agents" + }, + { + "label": "Creating a New ADR", + "file_type": "document", + "source_file": "adr/AGENTS.md", + "source_location": "L5", + "_origin": "ast", + "id": "adr_agents_creating_a_new_adr", + "community": 153, + "norm_label": "creating a new adr" + }, + { + "label": "Naming Convention", + "file_type": "document", + "source_file": "adr/AGENTS.md", + "source_location": "L12", + "_origin": "ast", + "id": "adr_agents_naming_convention", + "community": 153, + "norm_label": "naming convention" + }, + { + "label": "Superseding an ADR", + "file_type": "document", + "source_file": "adr/AGENTS.md", + "source_location": "L20", + "_origin": "ast", + "id": "adr_agents_superseding_an_adr", + "community": 153, + "norm_label": "superseding an adr" + }, + { + "label": "Format Rules", + "file_type": "document", + "source_file": "adr/AGENTS.md", + "source_location": "L28", + "_origin": "ast", + "id": "adr_agents_format_rules", + "community": 153, + "norm_label": "format rules" + }, + { + "label": "README.md", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_readme", + "community": 137, + "norm_label": "readme.md" + }, + { + "label": "Architecture Decision Records (ADRs)", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_readme_architecture_decision_records_adrs", + "community": 137, + "norm_label": "architecture decision records (adrs)" + }, + { + "label": "What is an ADR?", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L5", + "_origin": "ast", + "id": "adr_readme_what_is_an_adr", + "community": 137, + "norm_label": "what is an adr?" + }, + { + "label": "When to Write an ADR", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L9", + "_origin": "ast", + "id": "adr_readme_when_to_write_an_adr", + "community": 137, + "norm_label": "when to write an adr" + }, + { + "label": "Lifecycle", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L20", + "_origin": "ast", + "id": "adr_readme_lifecycle", + "community": 137, + "norm_label": "lifecycle" + }, + { + "label": "Naming Convention", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L31", + "_origin": "ast", + "id": "adr_readme_naming_convention", + "community": 137, + "norm_label": "naming convention" + }, + { + "label": "Creating a New ADR", + "file_type": "document", + "source_file": "adr/README.md", + "source_location": "L37", + "_origin": "ast", + "id": "adr_readme_creating_a_new_adr", + "community": 137, + "norm_label": "creating a new adr" + }, + { + "label": "TEMPLATE.md", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_template", + "community": 86, + "norm_label": "template.md" + }, + { + "label": "[Title of Decision]", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L1", + "_origin": "ast", + "id": "adr_template_title_of_decision", + "community": 86, + "norm_label": "[title of decision]" + }, + { + "label": "Context", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L8", + "_origin": "ast", + "id": "adr_template_context", + "community": 86, + "norm_label": "context" + }, + { + "label": "Decision", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L12", + "_origin": "ast", + "id": "adr_template_decision", + "community": 86, + "norm_label": "decision" + }, + { + "label": "Considered Alternatives", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L16", + "_origin": "ast", + "id": "adr_template_considered_alternatives", + "community": 86, + "norm_label": "considered alternatives" + }, + { + "label": "Alternative 1: [Name]", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L18", + "_origin": "ast", + "id": "adr_template_alternative_1_name", + "community": 86, + "norm_label": "alternative 1: [name]" + }, + { + "label": "Alternative 2: [Name]", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L26", + "_origin": "ast", + "id": "adr_template_alternative_2_name", + "community": 86, + "norm_label": "alternative 2: [name]" + }, + { + "label": "Consequences", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L34", + "_origin": "ast", + "id": "adr_template_consequences", + "community": 86, + "norm_label": "consequences" + }, + { + "label": "Positive", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L36", + "_origin": "ast", + "id": "adr_template_positive", + "community": 86, + "norm_label": "positive" + }, + { + "label": "Negative", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L41", + "_origin": "ast", + "id": "adr_template_negative", + "community": 86, + "norm_label": "negative" + }, + { + "label": "Neutral", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L45", + "_origin": "ast", + "id": "adr_template_neutral", + "community": 86, + "norm_label": "neutral" + }, + { + "label": "References", + "file_type": "document", + "source_file": "adr/TEMPLATE.md", + "source_location": "L49", + "_origin": "ast", + "id": "adr_template_references", + "community": 86, + "norm_label": "references" + }, + { + "label": "dwo-configuration.md", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L1", + "_origin": "ast", + "id": "docs_dwo_configuration", + "community": 28, + "norm_label": "dwo-configuration.md" + }, + { + "label": "DevWorkspace Operator Configuration", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L1", + "_origin": "ast", + "id": "docs_dwo_configuration_devworkspace_operator_configuration", + "community": 28, + "norm_label": "devworkspace operator configuration" + }, + { + "label": "Controller configuration", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L5", + "_origin": "ast", + "id": "docs_dwo_configuration_controller_configuration", + "community": 28, + "norm_label": "controller configuration" + }, + { + "label": "Global configuration for the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L17", + "_origin": "ast", + "id": "docs_dwo_configuration_global_configuration_for_the_devworkspace_operator", + "community": 28, + "norm_label": "global configuration for the devworkspace operator" + }, + { + "label": "DevWorkspace specific configuration", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L31", + "_origin": "ast", + "id": "docs_dwo_configuration_devworkspace_specific_configuration", + "community": 28, + "norm_label": "devworkspace specific configuration" + }, + { + "label": "Configuring workspace pod scheduling", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L51", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_workspace_pod_scheduling", + "community": 28, + "norm_label": "configuring workspace pod scheduling" + }, + { + "label": "Configuring the Webhook deployment", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L117", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_the_webhook_deployment", + "community": 28, + "norm_label": "configuring the webhook deployment" + }, + { + "label": "Configuring Cleanup CronJob", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L148", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_cleanup_cronjob", + "community": 28, + "norm_label": "configuring cleanup cronjob" + }, + { + "label": "Configuring Backup CronJob", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L178", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_backup_cronjob", + "community": 28, + "norm_label": "configuring backup cronjob" + }, + { + "label": "Integrated OpenShift container registry", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L202", + "_origin": "ast", + "id": "docs_dwo_configuration_integrated_openshift_container_registry", + "community": 28, + "norm_label": "integrated openshift container registry" + }, + { + "label": "Regular OCI-compatible registry", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L230", + "_origin": "ast", + "id": "docs_dwo_configuration_regular_oci_compatible_registry", + "community": 28, + "norm_label": "regular oci-compatible registry" + }, + { + "label": "Restore workspace from backup", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L267", + "_origin": "ast", + "id": "docs_dwo_configuration_restore_workspace_from_backup", + "community": 28, + "norm_label": "restore workspace from backup" + }, + { + "label": "Configuring PVC storage access mode", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L283", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_pvc_storage_access_mode", + "community": 28, + "norm_label": "configuring pvc storage access mode" + }, + { + "label": "Configuring Workspace NetworkPolicy", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L302", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_workspace_networkpolicy", + "community": 28, + "norm_label": "configuring workspace networkpolicy" + }, + { + "label": "Configuring Custom Init Containers", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L343", + "_origin": "ast", + "id": "docs_dwo_configuration_configuring_custom_init_containers", + "community": 28, + "norm_label": "configuring custom init containers" + }, + { + "label": "Basic Example: Injecting Custom Tools", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L353", + "_origin": "ast", + "id": "docs_dwo_configuration_basic_example_injecting_custom_tools", + "community": 28, + "norm_label": "basic example: injecting custom tools" + }, + { + "label": "Special Container: `init-persistent-home`", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L376", + "_origin": "ast", + "id": "docs_dwo_configuration_special_container_init_persistent_home", + "community": 28, + "norm_label": "special container: `init-persistent-home`" + }, + { + "label": "Example: Custom Persistent Home Initialization", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L392", + "_origin": "ast", + "id": "docs_dwo_configuration_example_custom_persistent_home_initialization", + "community": 28, + "norm_label": "example: custom persistent home initialization" + }, + { + "label": "Execution Order", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L419", + "_origin": "ast", + "id": "docs_dwo_configuration_execution_order", + "community": 28, + "norm_label": "execution order" + }, + { + "label": "Always-restricted override fields", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L423", + "_origin": "ast", + "id": "docs_dwo_configuration_always_restricted_override_fields", + "community": 28, + "norm_label": "always-restricted override fields" + }, + { + "label": "Restricting override fields", + "file_type": "document", + "source_file": "docs/dwo-configuration.md", + "source_location": "L435", + "_origin": "ast", + "id": "docs_dwo_configuration_restricting_override_fields", + "community": 28, + "norm_label": "restricting override fields" + }, + { + "label": "README.md", + "file_type": "document", + "source_file": "docs/grafana/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "grafana_readme", + "community": 235, + "norm_label": "readme.md" + }, + { + "label": "Grafana dashboards for the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/grafana/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "grafana_readme_grafana_dashboards_for_the_devworkspace_operator", + "community": 235, + "norm_label": "grafana dashboards for the devworkspace operator" + }, + { + "label": "Testing DevWorkspace Operator metrics locally", + "file_type": "document", + "source_file": "docs/grafana/README.md", + "source_location": "L5", + "_origin": "ast", + "id": "grafana_readme_testing_devworkspace_operator_metrics_locally", + "community": 235, + "norm_label": "testing devworkspace operator metrics locally" + }, + { + "label": "kind-without-olm-linux.md", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_kind_without_olm_linux", + "community": 81, + "norm_label": "kind-without-olm-linux.md" + }, + { + "label": "Installation on Kind Without OLM (Linux)", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_installation_on_kind_without_olm_linux", + "community": 81, + "norm_label": "installation on kind without olm (linux)" + }, + { + "label": "Prerequisites", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L3", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_prerequisites", + "community": 81, + "norm_label": "prerequisites" + }, + { + "label": "Steps", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L11", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_steps", + "community": 81, + "norm_label": "steps" + }, + { + "label": "1. Create Kind Cluster with Extra Port Mappings", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L13", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_1_create_kind_cluster_with_extra_port_mappings", + "community": 81, + "norm_label": "1. create kind cluster with extra port mappings" + }, + { + "label": "2. Install NGINX Ingress Controller", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L33", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_2_install_nginx_ingress_controller", + "community": 81, + "norm_label": "2. install nginx ingress controller" + }, + { + "label": "3. Create Namespace", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L60", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_3_create_namespace", + "community": 81, + "norm_label": "3. create namespace" + }, + { + "label": "4. Install cert-manager", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L68", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_4_install_cert_manager", + "community": 81, + "norm_label": "4. install cert-manager" + }, + { + "label": "5. Install the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L85", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_5_install_the_devworkspace_operator", + "community": 81, + "norm_label": "5. install the devworkspace operator" + }, + { + "label": "6. Create the DevWorkspace Operator Config", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L102", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_6_create_the_devworkspace_operator_config", + "community": 81, + "norm_label": "6. create the devworkspace operator config" + }, + { + "label": "6.1 Get Kind Node IP", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L104", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_6_1_get_kind_node_ip", + "community": 81, + "norm_label": "6.1 get kind node ip" + }, + { + "label": "6.2 Create the DevWorkspaceOperatorConfig", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L114", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_6_2_create_the_devworkspaceoperatorconfig", + "community": 81, + "norm_label": "6.2 create the devworkspaceoperatorconfig" + }, + { + "label": "7. Create a Sample DevWorkspace", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-linux.md", + "source_location": "L131", + "_origin": "ast", + "id": "installation_kind_without_olm_linux_7_create_a_sample_devworkspace", + "community": 81, + "norm_label": "7. create a sample devworkspace" + }, + { + "label": "kind-without-olm-macos.md", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_kind_without_olm_macos", + "community": 63, + "norm_label": "kind-without-olm-macos.md" + }, + { + "label": "Installation on Kind Without OLM (MacOs)", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_installation_on_kind_without_olm_macos", + "community": 63, + "norm_label": "installation on kind without olm (macos)" + }, + { + "label": "Prerequisites", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L3", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_prerequisites", + "community": 63, + "norm_label": "prerequisites" + }, + { + "label": "Steps", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L11", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_steps", + "community": 63, + "norm_label": "steps" + }, + { + "label": "1. Create Kind Cluster", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L13", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_1_create_kind_cluster", + "community": 63, + "norm_label": "1. create kind cluster" + }, + { + "label": "2. Install MetalLB", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L21", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_2_install_metallb", + "community": 63, + "norm_label": "2. install metallb" + }, + { + "label": "3. Define MetalLB IP Address Pool", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L38", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_3_define_metallb_ip_address_pool", + "community": 63, + "norm_label": "3. define metallb ip address pool" + }, + { + "label": "4. Install NGINX Ingress Controller", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L79", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_4_install_nginx_ingress_controller", + "community": 63, + "norm_label": "4. install nginx ingress controller" + }, + { + "label": "5. Create Namespace", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L96", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_5_create_namespace", + "community": 63, + "norm_label": "5. create namespace" + }, + { + "label": "6. Install cert-manager", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L104", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_6_install_cert_manager", + "community": 63, + "norm_label": "6. install cert-manager" + }, + { + "label": "7. Install the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L121", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_7_install_the_devworkspace_operator", + "community": 63, + "norm_label": "7. install the devworkspace operator" + }, + { + "label": "8. Create the DevWorkspace Operator Config", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L138", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_8_create_the_devworkspace_operator_config", + "community": 63, + "norm_label": "8. create the devworkspace operator config" + }, + { + "label": "8.1 Get Load Balancer IP", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L140", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_8_1_get_load_balancer_ip", + "community": 63, + "norm_label": "8.1 get load balancer ip" + }, + { + "label": "8.2 Create the DevWorkspaceOperatorConfig", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L153", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_8_2_create_the_devworkspaceoperatorconfig", + "community": 63, + "norm_label": "8.2 create the devworkspaceoperatorconfig" + }, + { + "label": "9. Create a Sample DevWorkspace", + "file_type": "document", + "source_file": "docs/installation/kind-without-olm-macos.md", + "source_location": "L170", + "_origin": "ast", + "id": "installation_kind_without_olm_macos_9_create_a_sample_devworkspace", + "community": 63, + "norm_label": "9. create a sample devworkspace" + }, + { + "label": "minikube-without-olm.md", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_minikube_without_olm", + "community": 82, + "norm_label": "minikube-without-olm.md" + }, + { + "label": "Installation on Minikube Without OLM", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_minikube_without_olm_installation_on_minikube_without_olm", + "community": 82, + "norm_label": "installation on minikube without olm" + }, + { + "label": "Prerequisites", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L3", + "_origin": "ast", + "id": "installation_minikube_without_olm_prerequisites", + "community": 82, + "norm_label": "prerequisites" + }, + { + "label": "Steps", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L10", + "_origin": "ast", + "id": "installation_minikube_without_olm_steps", + "community": 82, + "norm_label": "steps" + }, + { + "label": "1. Start Minikube", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L12", + "_origin": "ast", + "id": "installation_minikube_without_olm_1_start_minikube", + "community": 82, + "norm_label": "1. start minikube" + }, + { + "label": "2. Ingress Addon", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L20", + "_origin": "ast", + "id": "installation_minikube_without_olm_2_ingress_addon", + "community": 82, + "norm_label": "2. ingress addon" + }, + { + "label": "3. Create Namespace", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L28", + "_origin": "ast", + "id": "installation_minikube_without_olm_3_create_namespace", + "community": 82, + "norm_label": "3. create namespace" + }, + { + "label": "4. Install cert-manager", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L36", + "_origin": "ast", + "id": "installation_minikube_without_olm_4_install_cert_manager", + "community": 82, + "norm_label": "4. install cert-manager" + }, + { + "label": "5. Install the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L53", + "_origin": "ast", + "id": "installation_minikube_without_olm_5_install_the_devworkspace_operator", + "community": 82, + "norm_label": "5. install the devworkspace operator" + }, + { + "label": "6. Create the DevWorkspace Operator Config", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L70", + "_origin": "ast", + "id": "installation_minikube_without_olm_6_create_the_devworkspace_operator_config", + "community": 82, + "norm_label": "6. create the devworkspace operator config" + }, + { + "label": "6.1 Get Minikube IP", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L72", + "_origin": "ast", + "id": "installation_minikube_without_olm_6_1_get_minikube_ip", + "community": 82, + "norm_label": "6.1 get minikube ip" + }, + { + "label": "6.2 Create the DevWorkspaceOperatorConfig", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L82", + "_origin": "ast", + "id": "installation_minikube_without_olm_6_2_create_the_devworkspaceoperatorconfig", + "community": 82, + "norm_label": "6.2 create the devworkspaceoperatorconfig" + }, + { + "label": "7. Create a Sample DevWorkspace", + "file_type": "document", + "source_file": "docs/installation/minikube-without-olm.md", + "source_location": "L99", + "_origin": "ast", + "id": "installation_minikube_without_olm_7_create_a_sample_devworkspace", + "community": 82, + "norm_label": "7. create a sample devworkspace" + }, + { + "label": "openshift-with-olm.md", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_openshift_with_olm", + "community": 120, + "norm_label": "openshift-with-olm.md" + }, + { + "label": "Installation on OpenShift With OLM", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_openshift_with_olm_installation_on_openshift_with_olm", + "community": 120, + "norm_label": "installation on openshift with olm" + }, + { + "label": "Prerequisites", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L3", + "_origin": "ast", + "id": "installation_openshift_with_olm_prerequisites", + "community": 120, + "norm_label": "prerequisites" + }, + { + "label": "Steps", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L10", + "_origin": "ast", + "id": "installation_openshift_with_olm_steps", + "community": 120, + "norm_label": "steps" + }, + { + "label": "1. Add the DevWorkspace Operator CatalogSource", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L12", + "_origin": "ast", + "id": "installation_openshift_with_olm_1_add_the_devworkspace_operator_catalogsource", + "community": 120, + "norm_label": "1. add the devworkspace operator catalogsource" + }, + { + "label": "2. Create the DevWorkspace Operator Subscription", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L34", + "_origin": "ast", + "id": "installation_openshift_with_olm_2_create_the_devworkspace_operator_subscription", + "community": 120, + "norm_label": "2. create the devworkspace operator subscription" + }, + { + "label": "3. Wait for Operator to be Ready", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L54", + "_origin": "ast", + "id": "installation_openshift_with_olm_3_wait_for_operator_to_be_ready", + "community": 120, + "norm_label": "3. wait for operator to be ready" + }, + { + "label": "4. Create DevWorkspaces Namespace", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L65", + "_origin": "ast", + "id": "installation_openshift_with_olm_4_create_devworkspaces_namespace", + "community": 120, + "norm_label": "4. create devworkspaces namespace" + }, + { + "label": "5. Create a Sample DevWorkspace", + "file_type": "document", + "source_file": "docs/installation/openshift-with-olm.md", + "source_location": "L73", + "_origin": "ast", + "id": "installation_openshift_with_olm_5_create_a_sample_devworkspace", + "community": 120, + "norm_label": "5. create a sample devworkspace" + }, + { + "label": "openshift-without-olm.md", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_openshift_without_olm", + "community": 135, + "norm_label": "openshift-without-olm.md" + }, + { + "label": "Installation on OpenShift Without OLM", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L1", + "_origin": "ast", + "id": "installation_openshift_without_olm_installation_on_openshift_without_olm", + "community": 135, + "norm_label": "installation on openshift without olm" + }, + { + "label": "Prerequisites", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L3", + "_origin": "ast", + "id": "installation_openshift_without_olm_prerequisites", + "community": 135, + "norm_label": "prerequisites" + }, + { + "label": "Steps", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L10", + "_origin": "ast", + "id": "installation_openshift_without_olm_steps", + "community": 135, + "norm_label": "steps" + }, + { + "label": "1. Create Namespace for Operator", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L12", + "_origin": "ast", + "id": "installation_openshift_without_olm_1_create_namespace_for_operator", + "community": 135, + "norm_label": "1. create namespace for operator" + }, + { + "label": "2. Install the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L20", + "_origin": "ast", + "id": "installation_openshift_without_olm_2_install_the_devworkspace_operator", + "community": 135, + "norm_label": "2. install the devworkspace operator" + }, + { + "label": "3. Create DevWorkspaces Namespace", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L37", + "_origin": "ast", + "id": "installation_openshift_without_olm_3_create_devworkspaces_namespace", + "community": 135, + "norm_label": "3. create devworkspaces namespace" + }, + { + "label": "4. Create a Sample DevWorkspace", + "file_type": "document", + "source_file": "docs/installation/openshift-without-olm.md", + "source_location": "L45", + "_origin": "ast", + "id": "installation_openshift_without_olm_4_create_a_sample_devworkspace", + "community": 135, + "norm_label": "4. create a sample devworkspace" + }, + { + "label": "README.md", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "release_readme", + "community": 96, + "norm_label": "readme.md" + }, + { + "label": "DevWorkspace Operator release process", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "release_readme_devworkspace_operator_release_process", + "community": 96, + "norm_label": "devworkspace operator release process" + }, + { + "label": "Preparing for a release", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L5", + "_origin": "ast", + "id": "release_readme_preparing_for_a_release", + "community": 96, + "norm_label": "preparing for a release" + }, + { + "label": "Creating a milestone", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L9", + "_origin": "ast", + "id": "release_readme_creating_a_milestone", + "community": 96, + "norm_label": "creating a milestone" + }, + { + "label": "Adding resolved issues to the milestone", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L13", + "_origin": "ast", + "id": "release_readme_adding_resolved_issues_to_the_milestone", + "community": 96, + "norm_label": "adding resolved issues to the milestone" + }, + { + "label": "GitHub Action", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L21", + "_origin": "ast", + "id": "release_readme_github_action", + "community": 96, + "norm_label": "github action" + }, + { + "label": "Preparing release branch", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L25", + "_origin": "ast", + "id": "release_readme_preparing_release_branch", + "community": 96, + "norm_label": "preparing release branch" + }, + { + "label": "Testing prerelease artifacts", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L34", + "_origin": "ast", + "id": "release_readme_testing_prerelease_artifacts", + "community": 96, + "norm_label": "testing prerelease artifacts" + }, + { + "label": "Releasing a new version", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L57", + "_origin": "ast", + "id": "release_readme_releasing_a_new_version", + "community": 96, + "norm_label": "releasing a new version" + }, + { + "label": "Post-release", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L75", + "_origin": "ast", + "id": "release_readme_post_release", + "community": 96, + "norm_label": "post-release" + }, + { + "label": "Copying bundles & adding channel entries", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L79", + "_origin": "ast", + "id": "release_readme_copying_bundles_adding_channel_entries", + "community": 96, + "norm_label": "copying bundles & adding channel entries" + }, + { + "label": "Creating a bugfix release", + "file_type": "document", + "source_file": "docs/release/README.md", + "source_location": "L85", + "_origin": "ast", + "id": "release_readme_creating_a_bugfix_release", + "community": 96, + "norm_label": "creating a bugfix release" + }, + { + "label": "uninstall.md", + "file_type": "document", + "source_file": "docs/uninstall.md", + "source_location": "L1", + "_origin": "ast", + "id": "docs_uninstall", + "community": 242, + "norm_label": "uninstall.md" + }, + { + "label": "Uninstalling the DevWorkspace Operator", + "file_type": "document", + "source_file": "docs/uninstall.md", + "source_location": "L1", + "_origin": "ast", + "id": "docs_uninstall_uninstalling_the_devworkspace_operator", + "community": 242, + "norm_label": "uninstalling the devworkspace operator" + }, + { + "label": "workspace-capabilities.md", + "file_type": "document", + "source_file": "docs/workspace-capabilities.md", + "source_location": "L1", + "_origin": "ast", + "id": "docs_workspace_capabilities", + "community": 243, + "norm_label": "workspace-capabilities.md" + }, + { + "label": "Default DevWorkspace cluster permissions", + "file_type": "document", + "source_file": "docs/workspace-capabilities.md", + "source_location": "L1", + "_origin": "ast", + "id": "docs_workspace_capabilities_default_devworkspace_cluster_permissions", + "community": 243, + "norm_label": "default devworkspace cluster permissions" + }, + { + "label": "README.md", + "file_type": "document", + "source_file": "project-backup/test-data/README.md", + "source_location": "L1", + "_origin": "ast", + "id": "test_data_readme", + "community": 282, + "norm_label": "readme.md" + }, + { + "label": "redhat-compliance-and-responsible-ai.md", + "file_type": "document", + "source_file": "redhat-compliance-and-responsible-ai.md", + "source_location": "L1", + "_origin": "ast", + "id": "redhat_compliance_and_responsible_ai", + "community": 199, + "norm_label": "redhat-compliance-and-responsible-ai.md" + }, + { + "label": "RED HAT COMPLIANCE & RESPONSIBLE AI RULES", + "file_type": "document", + "source_file": "redhat-compliance-and-responsible-ai.md", + "source_location": "L1", + "_origin": "ast", + "id": "redhat_compliance_and_responsible_ai_red_hat_compliance_responsible_ai_rules", + "community": 199, + "norm_label": "red hat compliance & responsible ai rules" + }, + { + "label": "1. Copyright & Licensing (MANDATORY)", + "file_type": "document", + "source_file": "redhat-compliance-and-responsible-ai.md", + "source_location": "L3", + "_origin": "ast", + "id": "redhat_compliance_and_responsible_ai_1_copyright_licensing_mandatory", + "community": 199, + "norm_label": "1. copyright & licensing (mandatory)" + }, + { + "label": "2. AI Contribution Marking", + "file_type": "document", + "source_file": "redhat-compliance-and-responsible-ai.md", + "source_location": "L9", + "_origin": "ast", + "id": "redhat_compliance_and_responsible_ai_2_ai_contribution_marking", + "community": 199, + "norm_label": "2. ai contribution marking" + } + ], + "links": [ + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/common.sh", + "source_location": "L22", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_common", + "target": "ci_common_artifact_dir" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/common.sh", + "source_location": "L25", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_common", + "target": "ci_common_bumppodsinfo" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": ".ci/common.sh", + "source_location": "L1", + "weight": 1.0, + "source": "ci_common", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_common_sh__entry", + "confidence_score": 1.0 + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L40", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_artifact_dir" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L36", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_base_delay" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L343", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_categorizefailure" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L34", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_che_namespace" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L28", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_ci" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L280", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_classifychefailure" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L317", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_classifytestfailure" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L180", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_cleanupfailedche" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L129", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_collectcheartifacts" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L462", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_commentpr" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L195", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_deployandverifyche" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L109", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_deployche" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L47", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_deploydwo" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L359", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_generatereport" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L31", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_git_committer_email" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L30", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_git_committer_name" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L503", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_main" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L37", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_max_jitter" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L35", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_max_retries" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L274", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_recordattempt" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L247", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_runhappypathtest" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L73", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "ci_oci_devworkspace_happy_path_verifyolmhealth" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L1", + "weight": 1.0, + "source": "ci_oci_devworkspace_happy_path", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_oci_devworkspace_happy_path_sh__entry", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L565", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_oci_devworkspace_happy_path_sh__entry", + "target": "ci_oci_devworkspace_happy_path_commentpr", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L561", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_oci_devworkspace_happy_path_sh__entry", + "target": "ci_oci_devworkspace_happy_path_generatereport", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L556", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_oci_devworkspace_happy_path_sh__entry", + "target": "ci_oci_devworkspace_happy_path_main", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L505", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_main", + "target": "ci_oci_devworkspace_happy_path_deploydwo" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L199", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_deployandverifyche", + "target": "ci_oci_devworkspace_happy_path_verifyolmhealth" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L214", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_deployandverifyche", + "target": "ci_oci_devworkspace_happy_path_deployche" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L202", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_deployandverifyche", + "target": "ci_oci_devworkspace_happy_path_collectcheartifacts" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L262", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_runhappypathtest", + "target": "ci_oci_devworkspace_happy_path_collectcheartifacts" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L235", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_deployandverifyche", + "target": "ci_oci_devworkspace_happy_path_cleanupfailedche" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L203", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_deployandverifyche", + "target": "ci_oci_devworkspace_happy_path_recordattempt" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L512", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_main", + "target": "ci_oci_devworkspace_happy_path_deployandverifyche" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L518", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_main", + "target": "ci_oci_devworkspace_happy_path_runhappypathtest" + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/oci-devworkspace-happy-path.sh", + "source_location": "L507", + "weight": 1.0, + "context": "call", + "confidence_score": 1.0, + "source": "ci_oci_devworkspace_happy_path_main", + "target": "ci_oci_devworkspace_happy_path_recordattempt" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L50", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_artifact_dir" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L33", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_bump_logs" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L35", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_bumplogs" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L47", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_ci" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L53", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_ci_component" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L72", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_clean_up_after_suite" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L57", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_dwo_img" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L61", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_git_committer_email" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L60", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_git_committer_name" + }, + { + "relation": "defines", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L51", + "weight": 1.0, + "confidence_score": 1.0, + "source": "ci_openshift_e2e", + "target": "ci_openshift_e2e_namespace" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L1", + "weight": 1.0, + "source": "ci_openshift_e2e", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_openshift_e2e_sh__entry", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": ".ci/openshift_e2e.sh", + "source_location": "L74", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_ci_openshift_e2e_sh__entry", + "target": "ci_openshift_e2e_bumplogs", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": ".opencode/plugins/graphify.js", + "source_location": "L6", + "weight": 1.0, + "confidence_score": 1.0, + "source": "plugins_graphify", + "target": "plugins_graphify_graphifyplugin" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L301", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_asinterface" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L260", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_booleans" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L37", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_exists" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L390", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_frombooleanmap", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L349", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_fromfloatmap", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L368", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_fromintegermap", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L448", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_frominterface", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L428", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_frommap", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L330", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_fromstringmap", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L184", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_get" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L154", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_getboolean" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L206", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_getinto" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L117", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_getnumber" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L44", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_getprimitive" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L90", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_getstring" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L279", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_into" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L25", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_marshaljson" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L241", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_numbers" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L408", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_put", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L380", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_putboolean", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L339", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_putfloat", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L358", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_putinteger", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L320", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_putstring", + "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L222", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_strings" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L31", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_attributes_unmarshaljson" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L42", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", + "target": "v1alpha1_convertprimitivefunc" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L44", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_getprimitive", + "target": "v1alpha1_convertprimitivefunc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L155", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_getboolean", + "target": "v1alpha1_attributes_getprimitive" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L118", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_getnumber", + "target": "v1alpha1_attributes_getprimitive" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L91", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_getstring", + "target": "v1alpha1_attributes_getprimitive" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L165", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_getboolean", + "target": "v1alpha1_attributes_getstring" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L128", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_getnumber", + "target": "v1alpha1_attributes_getstring" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L266", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_booleans", + "target": "v1alpha1_attributes_get" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L187", + "weight": 1.0, + "source": "v1alpha1_attributes_get", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L247", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_numbers", + "target": "v1alpha1_attributes_get" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L228", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_strings", + "target": "v1alpha1_attributes_get" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L49", + "weight": 1.0, + "source": "automount_projected_mergeprojectedvolumes", + "target": "v1alpha1_attributes_strings" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L313", + "weight": 1.0, + "source": "automount_projected_test_testprojectedvolume", + "target": "v1alpha1_attributes_strings" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L91", + "weight": 1.0, + "source": "handler_warning_formatunsupportedfeatureswarning", + "target": "v1alpha1_attributes_strings" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L326", + "weight": 1.0, + "source": "handler_workspace_setvalidatedpermissionsannotations", + "target": "v1alpha1_attributes_strings" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L309", + "weight": 1.0, + "source": "v1alpha1_attributes_asinterface", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L332", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_fromstringmap", + "target": "v1alpha1_attributes_putstring" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L351", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_fromfloatmap", + "target": "v1alpha1_attributes_putfloat" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L145", + "weight": 1.0, + "source": "config_sync_test_testcatchesnonexistentexternaldwoc", + "target": "v1alpha1_attributes_put" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L167", + "weight": 1.0, + "source": "config_sync_test_testmergeexternalconfig", + "target": "v1alpha1_attributes_put" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/attributes.go", + "source_location": "L433", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_frommap", + "target": "v1alpha1_attributes_put" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/common.go", + "source_location": "L21", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_common", + "target": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/common.go", + "source_location": "L41", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", + "target": "apis_controller_v1alpha1_common_go_container" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/common.go", + "source_location": "L56", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", + "target": "apis_controller_v1alpha1_common_go_localobjectreference" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/common.go", + "source_location": "L46", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", + "target": "apis_controller_v1alpha1_common_go_volume" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/common.go", + "source_location": "L51", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", + "target": "apis_controller_v1alpha1_common_go_volumemount" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devfile.go", + "source_location": "L18", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devfile", + "target": "v1alpha1_endpointattribute" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devfile.go", + "source_location": "L19", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devfile", + "target": "v1alpha1_endpointtype" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L99", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L53", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_cleanupcronjobconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L463", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_configmapreference" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L482", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L494", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L334", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L31", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L470", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L93", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_orasconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L154", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_overrideconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L313", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_persistenthomeconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L436", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L364", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_proxy" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L76", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_registryconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L451", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L123", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L387", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccountconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L404", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccounttoken" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L377", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_storagesizes" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L294", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_webhookconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L168", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L500", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_types", + "target": "v1alpha1_devworkspaceoperatorconfig_types_init" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L486", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L33", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_routingconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L36", + "weight": 1.0, + "context": "field", + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_workspaceconfig", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L46", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", + "target": "webhookconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L266", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_cleanupcronjobconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L106", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_registryconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L109", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_orasconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L268", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L147", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_configmapreference" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L144", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_proxy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L288", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_overrideconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L285", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_container" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L246", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_devworkspacetemplatespeccontent" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L291", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L209", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_persistentvolumeaccessmode" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L238", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_podsecuritycontext" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L260", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L242", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_securitycontext" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L187", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "deploymentstrategytype" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L212", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "persistenthomeconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L252", + "weight": 1.0, + "context": "field", + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "podaffinity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L255", + "weight": 1.0, + "context": "field", + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "podantiaffinity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L171", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "projectcloneconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L174", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "restoreconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L200", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "serviceaccountconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L206", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "storagesizes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L258", + "weight": 1.0, + "context": "field", + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", + "target": "topologyspreadconstraint", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L446", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L458", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L304", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_webhookconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_toleration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L361", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyegressrule" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L354", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyingressrule" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L384", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_storagesizes", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_quantity" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L401", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccountconfig", + "target": "serviceaccounttoken" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L504", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccounttoken", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L448", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_envvar" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L442", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_pullpolicy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L454", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_pullpolicy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L460", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_envvar" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L489", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L475", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_time" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L472", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus", + "target": "condition" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L484", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_objectmeta" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L483", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_typemeta" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L497", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L495", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_typemeta" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", + "source_location": "L496", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", + "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_listmeta" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L67", + "weight": 1.0, + "source": "asyncstorage_configmap_addauthorizedkeytoconfigmap", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L46", + "weight": 1.0, + "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L88", + "weight": 1.0, + "source": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L288", + "weight": 1.0, + "source": "automount_common_findgitconfigautomount", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L985", + "weight": 1.0, + "source": "automount_gitconfig_test_assertgitcredentialssecret", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L123", + "weight": 1.0, + "source": "automount_templates_mergegitcredentials", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L99", + "weight": 1.0, + "source": "client_client_newk8sclientwithtoken", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L57", + "weight": 1.0, + "source": "client_k8sclient_execcommandincontainer", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L68", + "weight": 1.0, + "source": "client_k8sclient_getlogsforcontainer", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L133", + "weight": 1.0, + "source": "client_k8sclient_getsatoken", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L33", + "weight": 1.0, + "source": "client_k8sclient_ocapplyworkspace", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L61", + "weight": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller_test_testreconcilemarksduplicateendpointroutingfailed", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L57", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_validateservingcertificates", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L144", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_envtest_test_newgenerationrecoveryrouting", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L447", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L413", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L430", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L262", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L133", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L64", + "weight": 1.0, + "source": "devworkspacerouting_util_test_createdwr", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L244", + "weight": 1.0, + "source": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L74", + "weight": 1.0, + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L172", + "weight": 1.0, + "source": "handler_validate_discoverableendpointnames", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L625", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L204", + "weight": 1.0, + "source": "handler_webhookhandler_validateendpoints", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L333", + "weight": 1.0, + "source": "handler_workspace_setvalidatedpermissionsannotations", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L175", + "weight": 1.0, + "source": "httpfactory_http_test_generatetestcacert", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L39", + "weight": 1.0, + "source": "infrastructure_namespace_getoperatornamespace", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/global.go", + "source_location": "L131", + "weight": 1.0, + "source": "internal_global_setupauth", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L99", + "weight": 1.0, + "source": "metadata_metadata_getspecmetadataconfigmap", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L45", + "weight": 1.0, + "source": "metrics_failure_reason_getfailurereason", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L76", + "weight": 1.0, + "source": "metrics_update_incrementmetricforworkspacefailure", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L141", + "weight": 1.0, + "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L250", + "weight": 1.0, + "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L118", + "weight": 1.0, + "source": "resources_helper_test_testaddresourcerequirements", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L161", + "weight": 1.0, + "source": "restrictions_restrictions_checkresourcelist", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L253", + "weight": 1.0, + "source": "solvers_basic_solver_test_testendpoint", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L152", + "weight": 1.0, + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L45", + "weight": 1.0, + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L47", + "weight": 1.0, + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L105", + "weight": 1.0, + "source": "solvers_common_getserviceforendpoints", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L40", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L285", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_duplicatenameorderisstable", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L162", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_multipleendpoints", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L240", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L80", + "weight": 1.0, + "source": "solvers_resolve_endpoints_geturlforendpoint", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L89", + "weight": 1.0, + "source": "solvers_service_names_test_testclustersolverrejectsdiscoverableendpointusingworkspaceservicename", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L51", + "weight": 1.0, + "source": "solvers_service_names_test_testgetdiscoverableservicesforendpointsrejectsemptyservicename", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L341", + "weight": 1.0, + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/condition.go", + "source_location": "L143", + "weight": 1.0, + "source": "workspace_condition_capitalizemessage", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L156", + "weight": 1.0, + "source": "workspace_config_controllersauid", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L715", + "weight": 1.0, + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L798", + "weight": 1.0, + "source": "workspace_devworkspacereconciler_getworkspaceid", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/status.go", + "source_location": "L259", + "weight": 1.0, + "source": "workspace_status_getinfomessage", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/status.go", + "source_location": "L236", + "weight": 1.0, + "source": "workspace_status_getmainurl", + "target": "v1alpha1_serviceaccounttoken_string" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L109", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_attributes" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L194", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L205", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L25", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L47", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L111", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L78", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpointlist" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L68", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpoint" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L80", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpointlist" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L211", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "v1alpha1_devworkspacerouting_types_init" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L36", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "v1alpha1_devworkspaceroutingclass" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L59", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "v1alpha1_devworkspaceroutingphase" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L85", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "v1alpha1_endpointexposure" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L103", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_types", + "target": "v1alpha1_endpointprotocol" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L198", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L29", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_devworkspaceroutingclass" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L31", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_endpointlist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L199", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L56", + "weight": 1.0, + "context": "field", + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_devworkspaceroutingphase", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L51", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_exposedendpointlist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L49", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_podadditions" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L75", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpoint", + "target": "attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L133", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", + "target": "v1alpha1_endpointexposure" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L39", + "weight": 1.0, + "source": "conversion_conversion_convertdevfileendpoint", + "target": "v1alpha1_endpointexposure" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L154", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", + "target": "v1alpha1_endpointprotocol" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L43", + "weight": 1.0, + "source": "conversion_conversion_convertdevfileendpoint", + "target": "v1alpha1_endpointprotocol" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L80", + "weight": 1.0, + "source": "solvers_resolve_endpoints_geturlforendpoint", + "target": "v1alpha1_endpointprotocol" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L177", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_attributes" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L196", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_objectmeta" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L195", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_typemeta" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L208", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L206", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_typemeta" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", + "source_location": "L207", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", + "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_listmeta" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/errors.go", + "source_location": "L19", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_errors", + "target": "apis_controller_v1alpha1_errors_go_v1alpha1_keynotfounderror" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/errors.go", + "source_location": "L23", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_errors_go_v1alpha1_keynotfounderror", + "target": "v1alpha1_keynotfounderror_error" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L42", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_attributes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L31", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_attributes_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_attributes" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L36", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L47", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_attributes_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L77", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_backupcronjobconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_backupcronjobconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L52", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_backupcronjobconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_backupcronjobconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L82", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_backupcronjobconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L107", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_cleanupcronjobconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_cleanupcronjobconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L87", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_cleanupcronjobconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_cleanupcronjobconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L112", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_cleanupcronjobconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L122", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_configmapreference_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_configmapreference" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L117", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_configmapreference_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_configmapreference" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L127", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_configmapreference_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L149", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L132", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L159", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig", + "target": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L135", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L154", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L159", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L160", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L191", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L218", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_deepcopyobject", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L250", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutinglist_deepcopyobject", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L181", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L167", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L191", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist", + "target": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L170", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L186", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L192", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L208", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L199", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L218", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting", + "target": "v1alpha1_devworkspacerouting_deepcopyobject" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L202", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L213", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L219", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspacerouting_deepcopyobject", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L240", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutinglist_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L226", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutinglist_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L250", + "weight": 1.0, + "confidence_score": 1.0, + "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist", + "target": "v1alpha1_devworkspaceroutinglist_deepcopyobject" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L229", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutinglist_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L245", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutinglist_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L251", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutinglist_deepcopyobject", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L288", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingspec_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingspec" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L258", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingspec_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingspec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L272", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingspec_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L293", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingspec_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L326", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingstatus_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingstatus" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L298", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingstatus_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingstatus" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L303", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingstatus_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L331", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_devworkspaceroutingstatus_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L355", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_endpoint_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpoint" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L336", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_endpoint_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpoint" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L342", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_endpoint_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L360", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_endpoint_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L376", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_endpointlist_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpointlist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L365", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_endpointlist_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpointlist" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L370", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_endpointlist_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L381", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_endpointlist_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L398", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpoint_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpoint" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L386", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpoint_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpoint" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L392", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpoint_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L403", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpoint_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L419", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpointlist_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpointlist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L408", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpointlist_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpointlist" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L413", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpointlist_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L424", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_exposedendpointlist_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L434", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_keynotfounderror_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_keynotfounderror" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L429", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_keynotfounderror_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_keynotfounderror" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L439", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_keynotfounderror_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L468", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_networkpolicyconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_networkpolicyconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L444", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_networkpolicyconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_networkpolicyconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L455", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_networkpolicyconfig_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L473", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_networkpolicyconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L503", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfiguration_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfiguration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L478", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfiguration_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L483", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfiguration_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L508", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfiguration_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L529", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfigurationstatus_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfigurationstatus" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L513", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfigurationstatus_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfigurationstatus" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L524", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfigurationstatus_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L519", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfigurationstatus_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L534", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_operatorconfigurationstatus_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L544", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_orasconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_orasconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L539", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_orasconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_orasconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L549", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_orasconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L569", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_overrideconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_overrideconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L554", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_overrideconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_overrideconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L574", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_overrideconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L594", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_persistenthomeconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_persistenthomeconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L579", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_persistenthomeconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_persistenthomeconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L599", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_persistenthomeconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L663", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_podadditions_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_podadditions" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L604", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_podadditions_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_podadditions" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L624", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_podadditions_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L668", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_podadditions_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L690", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_projectcloneconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_projectcloneconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L673", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_projectcloneconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_projectcloneconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L678", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_projectcloneconfig_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L695", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_projectcloneconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L720", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_proxy_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_proxy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L700", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_proxy_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_proxy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L725", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_proxy_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L735", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_registryconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_registryconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L730", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_registryconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_registryconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L740", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_registryconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L762", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_restoreconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_restoreconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L745", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_restoreconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_restoreconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L750", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_restoreconfig_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L767", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_restoreconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L787", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_routingconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_routingconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L772", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_routingconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_routingconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L777", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_routingconfig_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L792", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_routingconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L812", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_serviceaccountconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccountconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L797", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_serviceaccountconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccountconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L817", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_serviceaccountconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L827", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_serviceaccounttoken_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccounttoken" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L822", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_serviceaccounttoken_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccounttoken" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L832", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_serviceaccounttoken_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L852", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_storagesizes_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_storagesizes" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L837", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_storagesizes_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_storagesizes" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L841", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_storagesizes_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L857", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_storagesizes_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L886", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_webhookconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_webhookconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L862", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_webhookconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_webhookconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L875", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_webhookconfig_deepcopyinto", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L891", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_webhookconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L1015", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "v1alpha1_workspaceconfig_deepcopy", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_workspaceconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L896", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "v1alpha1_workspaceconfig_deepcopyinto", + "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_workspaceconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_location": "L1020", + "weight": 1.0, + "confidence_score": 1.0, + "source": "v1alpha1_workspaceconfig_deepcopy", + "target": "v1alpha1_workspaceconfig_deepcopyinto" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L504", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller", + "target": "backupcronjob_backupcronjob_controller_getimagepullpolicy" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L64", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller", + "target": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L53", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller", + "target": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_createbackupjob" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L231", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_executebackupsync" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L173", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_isbackupenabled" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L148", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_reconcile" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L82", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_setupwithmanager" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L183", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_startcron" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L214", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_stopcron" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L282", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L55", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "controllers_backupcronjob_backupcronjob_controller_go_client" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L59", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "controllers_backupcronjob_backupcronjob_controller_go_cron" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L56", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L57", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", + "target": "controllers_backupcronjob_backupcronjob_controller_go_scheme" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L64", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L231", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_executebackupsync", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L183", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_startcron", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L214", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_stopcron", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L282", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", + "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L64", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate", + "target": "controllers_backupcronjob_backupcronjob_controller_go_updateevent" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L88", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_setupwithmanager", + "target": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L82", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_setupwithmanager", + "target": "controllers_backupcronjob_backupcronjob_controller_go_manager" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L105", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_setupwithmanager", + "target": "infrastructure_namespace_getnamespace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L160", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_reconcile", + "target": "backupcronjob_backupcronjobreconciler_isbackupenabled" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L167", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_reconcile", + "target": "backupcronjob_backupcronjobreconciler_startcron" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L156", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_reconcile", + "target": "backupcronjob_backupcronjobreconciler_stopcron" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L148", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_reconcile", + "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L148", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_reconcile", + "target": "controllers_backupcronjob_backupcronjob_controller_go_request" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L148", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_reconcile", + "target": "controllers_backupcronjob_backupcronjob_controller_go_result" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L231", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_executebackupsync", + "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L183", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_startcron", + "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L173", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_isbackupenabled", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L504", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_getimagepullpolicy", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L231", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_executebackupsync", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L183", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_startcron", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L199", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_startcron", + "target": "backupcronjob_backupcronjobreconciler_executebackupsync" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L258", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_executebackupsync", + "target": "backupcronjob_backupcronjobreconciler_createbackupjob" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L245", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_executebackupsync", + "target": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L260", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_executebackupsync", + "target": "config_sync_resolveconfigforworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L282", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L282", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", + "target": "controllers_backupcronjob_backupcronjob_controller_go_time" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L298", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", + "target": "handler_webhookhandler_parse" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L420", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "backupcronjob_backupcronjob_controller_getimagepullpolicy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L493", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "common_scheduling_getworkspacepodaffinity" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L491", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "common_scheduling_getworkspacepodaffinitywithnodeaffinity" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L352", + "weight": 1.0, + "context": "parameter_type", + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "controllers_backupcronjob_backupcronjob_controller_go_operatorconfiguration", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L419", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "images_image_getprojectbackupimage" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L473", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "map_map_append" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L462", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "storage_shared_findnodeforpvc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L469", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "storage_shared_nodeaffinityforhostname" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L360", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_createbackupjob", + "target": "storage_storage_getworkspacepvcinfo" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L528", + "weight": 1.0, + "context": "parameter_type", + "source": "backupcronjob_backupcronjob_controller_getimagepullpolicy", + "target": "controllers_backupcronjob_backupcronjob_controller_go_operatorconfiguration", + "confidence_score": 1.0 + }, + { + "relation": "references", + "context": "return_type", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller.go", + "source_location": "L504", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_getimagepullpolicy", + "target": "controllers_backupcronjob_backupcronjob_controller_go_pullpolicy" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", + "source_location": "L1315", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_test", + "target": "backupcronjob_backupcronjob_controller_test_createauthsecret" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", + "source_location": "L1261", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_test", + "target": "backupcronjob_backupcronjob_controller_test_createdevworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", + "source_location": "L1261", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_test_createdevworkspace", + "target": "controllers_backupcronjob_backupcronjob_controller_test_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", + "source_location": "L1261", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_test_createdevworkspace", + "target": "controllers_backupcronjob_backupcronjob_controller_test_go_time" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", + "source_location": "L1309", + "weight": 1.0, + "source": "backupcronjob_backupcronjob_controller_test_createdevworkspace", + "target": "map_map_append" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", + "source_location": "L1315", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjob_controller_test_createauthsecret", + "target": "controllers_backupcronjob_backupcronjob_controller_test_go_secret" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L54", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L36", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_getbackupjobpredicate" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L140", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_getworkspacefromjob" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L71", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L115", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_recordbackupfailure" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L97", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_recordbackupsuccess" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L36", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_getbackupjobpredicate", + "target": "controllers_backupcronjob_backupcronjob_handler_go_funcs" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L61", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler", + "target": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L54", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler", + "target": "eventhandler" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L81", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", + "target": "backupcronjob_backupcronjobreconciler_getworkspacefromjob" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L90", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", + "target": "backupcronjob_backupcronjobreconciler_recordbackupfailure" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L88", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", + "target": "backupcronjob_backupcronjobreconciler_recordbackupsuccess" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L71", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", + "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L71", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", + "target": "controllers_backupcronjob_backupcronjob_handler_go_job" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L140", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", + "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L115", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_recordbackupfailure", + "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L97", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", + "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L140", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", + "target": "controllers_backupcronjob_backupcronjob_handler_go_job" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L97", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", + "target": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L97", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", + "target": "jobcondition" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L140", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", + "target": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L115", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_recordbackupfailure", + "target": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/backupcronjob_handler.go", + "source_location": "L115", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_recordbackupfailure", + "target": "jobcondition" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L83", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L128", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L39", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", + "target": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L68", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", + "target": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L72", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", + "target": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L39", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", + "target": "controllers_backupcronjob_rbac_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L39", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", + "target": "controllers_backupcronjob_rbac_go_devworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L66", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", + "target": "infrastructure_cluster_isopenshift" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L59", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", + "target": "sync_sync_syncobjectwithcluster" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L128", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", + "target": "controllers_backupcronjob_rbac_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L83", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", + "target": "controllers_backupcronjob_rbac_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L128", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", + "target": "controllers_backupcronjob_rbac_go_devworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L102", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", + "target": "common_naming_registryimagebuilderrolename" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L83", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", + "target": "controllers_backupcronjob_rbac_go_clusterapi" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L116", + "weight": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", + "target": "sync_sync_syncobjectwithcluster" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac.go", + "source_location": "L128", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", + "target": "controllers_backupcronjob_rbac_go_clusterapi" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac_test.go", + "source_location": "L42", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_rbac_test", + "target": "backupcronjob_rbac_test_createtestdevworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/rbac_test.go", + "source_location": "L42", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "backupcronjob_rbac_test_createtestdevworkspace", + "target": "controllers_backupcronjob_rbac_test_go_devworkspace" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/suite_test.go", + "source_location": "L25", + "weight": 1.0, + "confidence_score": 1.0, + "source": "backupcronjob_suite_test", + "target": "backupcronjob_suite_test_testbackupcronjob" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/backupcronjob/suite_test.go", + "source_location": "L25", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "backupcronjob_suite_test_testbackupcronjob", + "target": "controllers_backupcronjob_suite_test_go_t" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller", + "target": "cleanupcronjob_cleanupcronjob_controller_canprune" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L327", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller", + "target": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L56", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller", + "target": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L48", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller", + "target": "cleanupcronjob_cleanupcronjobreconciler" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L313", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L258", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L301", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L158", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_reconcile" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L110", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L205", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_startcron" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L242", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "cleanupcronjob_cleanupcronjobreconciler_stopcron" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L49", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_client" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L53", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_cron" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L50", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L51", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_scheme" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_canprune", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L327", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L56", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L313", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L258", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L301", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L205", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L242", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_stopcron", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L56", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_updateevent" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L116", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", + "target": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L110", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_manager" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L133", + "weight": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", + "target": "infrastructure_namespace_getnamespace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L200", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", + "target": "cleanupcronjob_cleanupcronjobreconciler_startcron" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L166", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", + "target": "cleanupcronjob_cleanupcronjobreconciler_stopcron" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L158", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L158", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_request" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L158", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_result" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L258", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L205", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L229", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", + "target": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L205", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", + "target": "cleanupcronjobconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L221", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L264", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", + "target": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L266", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", + "target": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L258", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_canprune", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L327", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L313", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L301", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L305", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", + "target": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L301", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", + "target": "strategyfunc" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L313", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", + "target": "strategyfunc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L317", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", + "target": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L336", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", + "target": "cleanupcronjob_cleanupcronjob_controller_canprune" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L327", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_object" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L337", + "weight": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", + "target": "map_map_append" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L352", + "weight": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_canprune", + "target": "conditions_conditions_getconditionbytype" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", + "source_location": "L344", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_canprune", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_devworkspace" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", + "source_location": "L465", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_test", + "target": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", + "source_location": "L465", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", + "source_location": "L465", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", + "target": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_time" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", + "source_location": "L490", + "weight": 1.0, + "source": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", + "target": "map_map_append" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/suite_test.go", + "source_location": "L23", + "weight": 1.0, + "confidence_score": 1.0, + "source": "cleanupcronjob_suite_test", + "target": "cleanupcronjob_suite_test_testapis" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/cleanupcronjob/suite_test.go", + "source_location": "L23", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "cleanupcronjob_suite_test_testapis", + "target": "controllers_cleanupcronjob_suite_test_go_t" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L60", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conversion_conversion", + "target": "conversion_conversion_convertalldevfileendpoints" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L37", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conversion_conversion", + "target": "conversion_conversion_convertdevfileendpoint" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L21", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conversion_conversion", + "target": "conversion_conversion_convertsecure" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L53", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conversion_conversion_convertdevfileendpoint", + "target": "conversion_conversion_convertsecure" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L64", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conversion_conversion_convertalldevfileendpoints", + "target": "conversion_conversion_convertdevfileendpoint" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L37", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "conversion_conversion_convertdevfileendpoint", + "target": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpoint" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L60", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "conversion_conversion_convertalldevfileendpoints", + "target": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpoint" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L60", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "conversion_conversion_convertalldevfileendpoints", + "target": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpointlist" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", + "source_location": "L64", + "weight": 1.0, + "source": "conversion_conversion_convertalldevfileendpoints", + "target": "map_map_append" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L114", + "weight": 1.0, + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "conversion_conversion_convertalldevfileendpoints" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L86", + "weight": 1.0, + "source": "workspace_routing_getspecrouting", + "target": "conversion_conversion_convertalldevfileendpoints" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L55", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L319", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L328", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller", + "target": "devworkspacerouting_devworkspacerouting_controller_remove" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L296", + "weight": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller", + "target": "devworkspacerouting_devworkspacerouting_controller_workspacename", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L58", + "weight": 1.0, + "confidence_score": 1.0, + "context": "field", + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_client" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L57", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L60", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolvergetter" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L58", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_scheme" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L262", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_finalize" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L281", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L73", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_reconcile" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L287", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L245", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L311", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L337", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L245", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L73", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L73", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_request" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L73", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_result" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L146", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "devworkspacerouting_devworkspacerouting_controller_workspacename", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L109", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "devworkspacerouting_devworkspaceroutingreconciler_finalize" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L94", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L144", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L124", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L113", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L205", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "infrastructure_cluster_isopenshift" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L164", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", + "target": "map_map_append" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L342", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L353", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L381", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L296", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspacerouting_controller_workspacename", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L214", + "weight": 1.0, + "source": "devworkspacerouting_workspace_name_test_testworkspacenamerequiresdevworkspacecontrollerowner", + "target": "devworkspacerouting_devworkspacerouting_controller_workspacename" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L262", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L281", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L287", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L245", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L311", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L305", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolver", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L246", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L251", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", + "target": "map_map_append" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L322", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolver", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L263", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L272", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", + "target": "devworkspacerouting_devworkspacerouting_controller_remove" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L287", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_exposedendpointlist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L287", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingobjects" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L300", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", + "target": "map_map_equal" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L343", + "weight": 1.0, + "source": "automount_common_checkautomountvolumeforpotentialerror", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L507", + "weight": 1.0, + "source": "automount_common_matchesanypattern", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L970", + "weight": 1.0, + "source": "automount_gitconfig_test_assertgitconfigcontains", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1000", + "weight": 1.0, + "source": "automount_gitconfig_test_assertgitcredentialsconfigmap", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1016", + "weight": 1.0, + "source": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L140", + "weight": 1.0, + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L165", + "weight": 1.0, + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L35", + "weight": 1.0, + "source": "client_k8sclient_ocapplyworkspace", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L102", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L150", + "weight": 1.0, + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L72", + "weight": 1.0, + "source": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L447", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L555", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfileendpointexposure", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L603", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L685", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L295", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L69", + "weight": 1.0, + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L164", + "weight": 1.0, + "source": "kubernetes_provision_restrictk8scomponent", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L140", + "weight": 1.0, + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L494", + "weight": 1.0, + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L663", + "weight": 1.0, + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L215", + "weight": 1.0, + "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L291", + "weight": 1.0, + "source": "lifecycle_poststart_test_testbuilduserscript", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/metrics/deployment_provisioning.go", + "source_location": "L40", + "weight": 1.0, + "source": "metrics_deployment_provisioning_determineprovisioningfailurereason", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L34", + "weight": 1.0, + "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L86", + "weight": 1.0, + "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L113", + "weight": 1.0, + "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L103", + "weight": 1.0, + "source": "rbac_role_test_testrejectssccrolewhenannotationempty", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L84", + "weight": 1.0, + "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L141", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L219", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_multipleendpoints", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L102", + "weight": 1.0, + "source": "solvers_service_names_test_testclustersolverrejectsdiscoverableendpointusingworkspaceservicename", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/status/check.go", + "source_location": "L159", + "weight": 1.0, + "source": "status_check_checkpodevents", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/status/check.go", + "source_location": "L182", + "weight": 1.0, + "source": "status_check_isservingcertmountfailure", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L367", + "weight": 1.0, + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L90", + "weight": 1.0, + "source": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", + "target": "devworkspacerouting_devworkspacerouting_controller_contains" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L331", + "weight": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller_remove", + "target": "map_map_append" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L220", + "weight": 1.0, + "source": "zip_setup_droptoplevelfolder", + "target": "devworkspacerouting_devworkspacerouting_controller_remove" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L338", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", + "target": "config_env_getmaxconcurrentreconciles" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L337", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_manager" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L362", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", + "target": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", + "source_location": "L351", + "weight": 1.0, + "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", + "target": "infrastructure_cluster_isopenshift" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L43", + "weight": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller_test", + "target": "devworkspacerouting_devworkspacerouting_controller_test_testreconcilemarksduplicateendpointroutingfailed", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L43", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspacerouting_controller_test_testreconcilemarksduplicateendpointroutingfailed", + "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L44", + "weight": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller_test_testreconcilemarksduplicateendpointroutingfailed", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller_test.go", + "source_location": "L86", + "weight": 1.0, + "source": "devworkspacerouting_devworkspacerouting_controller_test_testreconcilemarksduplicateendpointroutingfailed", + "target": "map_map_equal" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L164", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_envtest_test", + "target": "devworkspacerouting_generation_recovery_envtest_test_deletegenerationrecoveryobjects", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L143", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_envtest_test", + "target": "devworkspacerouting_generation_recovery_envtest_test_newgenerationrecoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_envtest_test.go", + "source_location": "L143", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_envtest_test_newgenerationrecoveryrouting", + "target": "controllers_controller_devworkspacerouting_generation_recovery_envtest_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L311", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_recoveryendpoints", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L343", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L300", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L120", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L82", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L158", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L251", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L283", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L234", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testreadynoopstillwriteswhenobservedgenerationisstale", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L37", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L183", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L267", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L348", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generationrecordingclient", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L358", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generationstatussnapshot", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L378", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test", + "target": "devworkspacerouting_generationstatuswriter", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L37", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L44", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L46", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L39", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L56", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "devworkspacerouting_generationstatuswriter_update", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L50", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L38", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreconcileretriesfailedroutingafterspecchange", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L120", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L82", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L158", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L251", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L283", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L234", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testreadynoopstillwriteswhenobservedgenerationisstale", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L183", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L267", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L89", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "target": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L91", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L84", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L94", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L83", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testfailedroutingremainsterminalwhenforeignserviceisremoved", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L128", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "devworkspacerouting_generation_recovery_test_recoveryendpoints", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L129", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L130", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L122", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L138", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L121", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testchangedinvalidspecfailsandthenbecomesterminal", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L162", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L163", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L160", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L167", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L159", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testlegacyfailedroutingrecoversfromzeroobservedgeneration", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L187", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L188", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L186", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L192", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L184", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testroutingphasesstampobservedgeneration", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L237", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreadynoopstillwriteswhenobservedgenerationisstale", + "target": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L235", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreadynoopstillwriteswhenobservedgenerationisstale", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L241", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testreadynoopstillwriteswhenobservedgenerationisstale", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L256", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "target": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L257", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L253", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L260", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L252", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testmatchingfailedgenerationdoesnotrepeatvalidationstatuswrite", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L272", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L273", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L269", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L276", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "target": "devworkspacerouting_serving_certificates_test_getrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L268", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_teststoppedroutingcanleavematchingfailedgeneration", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L287", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "target": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L290", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L285", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "target": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L284", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_testpreparingstatuswritefailurepreventsserviceprovisioning", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L300", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L305", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_recoveryrouting", + "target": "devworkspacerouting_generation_recovery_test_recoveryendpoints", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L343", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L311", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryendpoints", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_endpointlist", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L323", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspaceroutingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L325", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L326", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "target": "map_map_append" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L335", + "weight": 1.0, + "source": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "target": "devworkspacerouting_generation_recovery_test_recoveryreconciler", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L350", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_generationrecordingclient", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspaceroutingreconciler", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L349", + "weight": 1.0, + "source": "devworkspacerouting_generationrecordingclient", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L333", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrecordingreconciler", + "target": "generationrecordingclient", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L343", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generation_recovery_test_recoveryrequest", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_request", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L109", + "weight": 1.0, + "source": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L189", + "weight": 1.0, + "source": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "target": "devworkspacerouting_generation_recovery_test_recoveryrequest" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L365", + "weight": 1.0, + "source": "devworkspacerouting_generationrecordingclient", + "target": "devworkspacerouting_generationrecordingclient_create", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L373", + "weight": 1.0, + "source": "devworkspacerouting_generationrecordingclient", + "target": "devworkspacerouting_generationrecordingclient_status", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L354", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_generationrecordingclient", + "target": "generationstatussnapshot", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L380", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_generationstatuswriter", + "target": "devworkspacerouting_generationrecordingclient", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L359", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_generationstatussnapshot", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_devworkspaceroutingphase", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L365", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generationrecordingclient_create", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L365", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generationrecordingclient_create", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L384", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generationstatuswriter_update", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L384", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_generationstatuswriter_update", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L373", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_generationrecordingclient_status", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_subresourcewriter", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L379", + "weight": 1.0, + "source": "devworkspacerouting_generationstatuswriter", + "target": "controllers_controller_devworkspacerouting_generation_recovery_test_go_subresourcewriter", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L384", + "weight": 1.0, + "source": "devworkspacerouting_generationstatuswriter", + "target": "devworkspacerouting_generationstatuswriter_update", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/generation_recovery_test.go", + "source_location": "L387", + "weight": 1.0, + "source": "devworkspacerouting_generationstatuswriter_update", + "target": "map_map_append" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L26", + "weight": 1.0, + "confidence_score": 1.0, + "source": "devworkspacerouting_predicates", + "target": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L26", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc", + "target": "controllers_controller_devworkspacerouting_predicates_go_funcs" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/predicates.go", + "source_location": "L26", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc", + "target": "controllers_controller_devworkspacerouting_predicates_go_routingsolvergetter" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L37", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_context_test", + "target": "devworkspacerouting_service_sync_context_test_testsyncservicespassescontextandstopsoncancellation", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L37", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_service_sync_context_test_testsyncservicespassescontextandstopsoncancellation", + "target": "controllers_controller_devworkspacerouting_service_sync_context_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L50", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_context_test_testsyncservicespassescontextandstopsoncancellation", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_context_test.go", + "source_location": "L75", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_context_test_testsyncservicespassescontextandstopsoncancellation", + "target": "map_map_append" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L140", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L119", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L83", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L37", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L173", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_servicesyncreconcileclient", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L232", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_servicesyncreconcilestatuswriter", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L159", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test", + "target": "devworkspacerouting_servicesyncreconciletracker", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L37", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L77", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "target": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L47", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "target": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L48", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L46", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcilereturnsservicesynccontexterrors", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L140", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L83", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L85", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "target": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L104", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "target": "devworkspacerouting_servicesyncreconcileclient_get", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L86", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L84", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_testreconcileretriesordinaryservicesyncerror", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L119", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L71", + "weight": 1.0, + "source": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "target": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L150", + "weight": 1.0, + "source": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "target": "devworkspacerouting_service_sync_reconcile_context_test_servicesynccontextrouting" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L140", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_devworkspacerouting", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L140", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L143", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "target": "devworkspacerouting_servicesyncreconcileclient_get", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L150", + "weight": 1.0, + "source": "devworkspacerouting_service_sync_reconcile_context_test_assertservicesynccontextunchanged", + "target": "devworkspacerouting_servicesyncreconcileclient_list", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L174", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L175", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconciletracker", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L234", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_servicesyncreconcilestatuswriter", + "target": "devworkspacerouting_servicesyncreconciletracker", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L163", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_servicesyncreconciletracker", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_time", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L201", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconcileclient_create", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L217", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconcileclient_delete", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconcileclient_get", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L193", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconcileclient_list", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L225", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconcileclient_status", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L209", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient", + "target": "devworkspacerouting_servicesyncreconcileclient_update", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_get", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_get", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L180", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_get", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_objectkey", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L183", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient_get", + "target": "map_map_append" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L201", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_create", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L217", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_delete", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L193", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_list", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L209", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_update", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L238", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcilestatuswriter_update", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L201", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_create", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L217", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_delete", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L209", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_update", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L238", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcilestatuswriter_update", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L193", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicesyncreconcileclient_list", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_objectlist", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L195", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient_list", + "target": "map_map_append" }, { - "label": "Post-release", - "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L75", - "_origin": "ast", - "community": 96, - "norm_label": "post-release", - "id": "release_readme_post_release" + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L213", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient_update", + "target": "devworkspacerouting_servicesyncreconcilestatuswriter_update", + "confidence_score": 1.0 }, { - "label": "Copying bundles & adding channel entries", - "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L79", - "_origin": "ast", - "community": 96, - "norm_label": "copying bundles & adding channel entries", - "id": "release_readme_copying_bundles_adding_channel_entries" + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L225", + "weight": 1.0, + "context": "return_type", + "source": "devworkspacerouting_servicesyncreconcileclient_status", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_subresourcewriter", + "confidence_score": 1.0 }, { - "label": "Creating a bugfix release", - "file_type": "document", - "source_file": "docs/release/README.md", - "source_location": "L85", - "_origin": "ast", - "community": 96, - "norm_label": "creating a bugfix release", - "id": "release_readme_creating_a_bugfix_release" + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L226", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcileclient_status", + "target": "map_map_append" }, { - "label": "uninstall.md", - "file_type": "document", - "source_file": "docs/uninstall.md", - "source_location": "L1", - "_origin": "ast", - "community": 242, - "norm_label": "uninstall.md", - "id": "docs_uninstall" + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L233", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcilestatuswriter", + "target": "controllers_controller_devworkspacerouting_service_sync_reconcile_context_test_go_subresourcewriter", + "confidence_score": 1.0 }, { - "label": "Uninstalling the DevWorkspace Operator", - "file_type": "document", - "source_file": "docs/uninstall.md", - "source_location": "L1", - "_origin": "ast", - "community": 242, - "norm_label": "uninstalling the devworkspace operator", - "id": "docs_uninstall_uninstalling_the_devworkspace_operator" + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/service_sync_reconcile_context_test.go", + "source_location": "L238", + "weight": 1.0, + "source": "devworkspacerouting_servicesyncreconcilestatuswriter", + "target": "devworkspacerouting_servicesyncreconcilestatuswriter_update", + "confidence_score": 1.0 }, { - "label": "workspace-capabilities.md", - "file_type": "document", - "source_file": "docs/workspace-capabilities.md", - "source_location": "L1", - "_origin": "ast", - "community": 243, - "norm_label": "workspace-capabilities.md", - "id": "docs_workspace_capabilities" + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", + "weight": 1.0, + "source": "controllers_controller_devworkspacerouting_serving_certificates_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_validateservingcertificates", + "confidence_score": 1.0 }, { - "label": "Default DevWorkspace cluster permissions", - "file_type": "document", - "source_file": "docs/workspace-capabilities.md", - "source_location": "L1", - "_origin": "ast", - "community": 243, - "norm_label": "default devworkspace cluster permissions", - "id": "docs_workspace_capabilities_default_devworkspace_cluster_permissions" + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_validateservingcertificates", + "target": "controllers_controller_devworkspacerouting_serving_certificates_go_context", + "confidence_score": 1.0 }, { - "label": "README.md", - "file_type": "document", - "source_file": "project-backup/test-data/README.md", - "source_location": "L1", - "_origin": "ast", - "community": 282, - "norm_label": "readme.md", - "id": "test_data_readme" + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates.go", + "source_location": "L30", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_validateservingcertificates", + "target": "controllers_controller_devworkspacerouting_serving_certificates_go_service", + "confidence_score": 1.0 }, { - "label": "redhat-compliance-and-responsible-ai.md", - "file_type": "document", - "source_file": "redhat-compliance-and-responsible-ai.md", - "source_location": "L1", - "_origin": "ast", - "community": 199, - "norm_label": "redhat-compliance-and-responsible-ai.md", - "id": "redhat_compliance_and_responsible_ai" + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L525", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_recordingsecretclient", + "confidence_score": 1.0 }, { - "label": "RED HAT COMPLIANCE & RESPONSIBLE AI RULES", - "file_type": "document", - "source_file": "redhat-compliance-and-responsible-ai.md", - "source_location": "L1", - "_origin": "ast", - "community": 199, - "norm_label": "red hat compliance & responsible ai rules", - "id": "redhat_compliance_and_responsible_ai_red_hat_compliance_responsible_ai_rules" + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L514", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_secrethidingclient", + "confidence_score": 1.0 }, { - "label": "1. Copyright & Licensing (MANDATORY)", - "file_type": "document", - "source_file": "redhat-compliance-and-responsible-ai.md", - "source_location": "L3", - "_origin": "ast", - "community": 199, - "norm_label": "1. copyright & licensing (mandatory)", - "id": "redhat_compliance_and_responsible_ai_1_copyright_licensing_mandatory" + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L500", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_secretreaderrorclient", + "confidence_score": 1.0 }, { - "label": "2. AI Contribution Marking", - "file_type": "document", - "source_file": "redhat-compliance-and-responsible-ai.md", - "source_location": "L9", - "_origin": "ast", - "community": 199, - "norm_label": "2. ai contribution marking", - "id": "redhat_compliance_and_responsible_ai_2_ai_contribution_marking" - } - ], - "links": [ - { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/common.sh", - "source_location": "L22", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L490", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_common", - "target": "ci_common_artifact_dir" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_getrouting", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/common.sh", - "source_location": "L25", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_common", - "target": "ci_common_bumppodsinfo" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/common.sh", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L410", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_common", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_common_sh__entry" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L40", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L418", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_artifact_dir" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L36", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L423", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_base_delay" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L343", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L402", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_categorizefailure" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_servingcertservice", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L34", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L472", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_che_namespace" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L28", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L373", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_ci" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testreconcileplaintextclusterdoesnotreadsecrets", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L280", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L339", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_classifychefailure" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L317", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L256", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_classifytestfailure" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L180", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L50", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_cleanupfailedche" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L129", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L118", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_collectcheartifacts" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L462", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L239", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_commentpr" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatespreserveslookuperrors", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L195", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L211", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_deployandverifyche" + "source": "devworkspacerouting_serving_certificates_test", + "target": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatesusesfreshnamespacedreaderandcontext", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L109", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L50", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_deployche" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L96", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_deploydwo" + "source": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "target": "devworkspacerouting_recordingsecretclient_get", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L359", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L88", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_generatereport" + "source": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "target": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L52", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L51", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconcilewaitsforservingcertificatefromowningservice", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L490", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_git_committer_email" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_getrouting", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L30", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_git_committer_name" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L503", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L472", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_main" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L37", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L373", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_max_jitter" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testreconcileplaintextclusterdoesnotreadsecrets", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L35", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L339", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_max_retries" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L274", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L256", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_recordattempt" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L247", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L118", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_runhappypathtest" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L73", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L239", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "ci_oci_devworkspace_happy_path_verifyolmhealth" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatespreserveslookuperrors", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L211", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_oci_devworkspace_happy_path_sh__entry" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatesusesfreshnamespacedreaderandcontext", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L551", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L121", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_oci_devworkspace_happy_path_sh__entry", - "target": "ci_oci_devworkspace_happy_path_commentpr" + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L547", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L131", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_oci_devworkspace_happy_path_sh__entry", - "target": "ci_oci_devworkspace_happy_path_generatereport" + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L542", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L140", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_oci_devworkspace_happy_path_sh__entry", - "target": "ci_oci_devworkspace_happy_path_main" + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L505", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L120", "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "devworkspacerouting_serving_certificates_test_servingcertservice", + "confidence_score": 1.0 + }, + { + "relation": "calls", "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_main", - "target": "ci_oci_devworkspace_happy_path_deploydwo" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L185", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificates", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L199", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L213", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_deployandverifyche", - "target": "ci_oci_devworkspace_happy_path_verifyolmhealth" + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatesusesfreshnamespacedreaderandcontext", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L214", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L212", "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatesusesfreshnamespacedreaderandcontext", + "target": "devworkspacerouting_serving_certificates_test_servingcertservice", + "confidence_score": 1.0 + }, + { + "relation": "calls", "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_deployandverifyche", - "target": "ci_oci_devworkspace_happy_path_deployche" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L214", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatesusesfreshnamespacedreaderandcontext", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L202", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L240", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_deployandverifyche", - "target": "ci_oci_devworkspace_happy_path_collectcheartifacts" + "source": "devworkspacerouting_serving_certificates_test_testvalidateservingcertificatespreserveslookuperrors", + "target": "devworkspacerouting_serving_certificates_test_servingcertservice", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L262", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L284", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_runhappypathtest", - "target": "ci_oci_devworkspace_happy_path_collectcheartifacts" + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "devworkspacerouting_serving_certificates_test_getrouting", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L235", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L263", "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_deployandverifyche", - "target": "ci_oci_devworkspace_happy_path_cleanupfailedche" + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L273", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L203", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L268", "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "confidence_score": 1.0 + }, + { + "relation": "calls", "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_deployandverifyche", - "target": "ci_oci_devworkspace_happy_path_recordattempt" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L257", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatestransitionpendingreadyandfailed", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L512", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L355", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_main", - "target": "ci_oci_devworkspace_happy_path_deployandverifyche" + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "target": "devworkspacerouting_serving_certificates_test_getrouting", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L518", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L341", "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "target": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "confidence_score": 1.0 + }, + { + "relation": "calls", "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_main", - "target": "ci_oci_devworkspace_happy_path_runhappypathtest" + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L348", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "confidence_score": 1.0 }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/oci-devworkspace-happy-path.sh", - "source_location": "L507", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L346", "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "target": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "confidence_score": 1.0 + }, + { + "relation": "calls", "context": "call", - "confidence_score": 1.0, - "source": "ci_oci_devworkspace_happy_path_main", - "target": "ci_oci_devworkspace_happy_path_recordattempt" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L340", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconciletlscertificatereadfailureskeeproutingpending", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L50", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L396", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_artifact_dir" + "source": "devworkspacerouting_serving_certificates_test_testreconcileplaintextclusterdoesnotreadsecrets", + "target": "devworkspacerouting_serving_certificates_test_getrouting", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L383", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconcileplaintextclusterdoesnotreadsecrets", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L374", + "weight": 1.0, + "source": "devworkspacerouting_serving_certificates_test_testreconcileplaintextclusterdoesnotreadsecrets", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L402", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_bump_logs" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertservice", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_service", + "confidence_score": 1.0 }, { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L35", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L404", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_bumplogs" + "source": "devworkspacerouting_serving_certificates_test_servingcertservice", + "target": "uid" }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L410", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_ci" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_service", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L53", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L418", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_ci_component" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_service", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L72", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L423", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_clean_up_after_suite" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_service", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L57", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L472", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_dwo_img" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_service", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L61", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L410", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_git_committer_email" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_secret", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L60", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L411", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_git_committer_name" + "source": "devworkspacerouting_serving_certificates_test_servingcertsecret", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "confidence_score": 1.0 }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L51", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L418", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "ci_openshift_e2e_namespace" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_secret", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L1", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L423", "weight": 1.0, - "confidence_score": 1.0, - "source": "ci_openshift_e2e", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_openshift_e2e_sh__entry" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_secret", + "confidence_score": 1.0 }, { "relation": "calls", - "confidence": "EXTRACTED", - "source_file": ".ci/openshift_e2e.sh", - "source_location": "L74", - "weight": 1.0, "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_ci_openshift_e2e_sh__entry", - "target": "ci_openshift_e2e_bumplogs" - }, - { - "relation": "contains", "confidence": "EXTRACTED", - "source_file": ".opencode/plugins/graphify.js", - "source_location": "L6", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L419", "weight": 1.0, - "confidence_score": 1.0, - "source": "plugins_graphify", - "target": "plugins_graphify_graphifyplugin" + "source": "devworkspacerouting_serving_certificates_test_servingcertsecretwithannotations", + "target": "devworkspacerouting_serving_certificates_test_servingcertsecretwithdata", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L301", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_asinterface" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L260", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_booleans" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspacerouting", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L37", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_exists" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspaceroutingclass", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L184", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L444", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_get" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspaceroutingreconciler", + "confidence_score": 1.0 }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L154", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L462", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_getboolean" + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L206", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L447", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_getinto" + "source": "devworkspacerouting_serving_certificates_test_newtlsreconciler", + "target": "uid" }, { - "relation": "method", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L117", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L526", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_getnumber" + "source": "devworkspacerouting_recordingsecretclient", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L44", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L514", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_getprimitive" + "source": "devworkspacerouting_secrethidingclient", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L90", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L501", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_getstring" + "source": "devworkspacerouting_secretreaderrorclient", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L279", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L490", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_into" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_getrouting", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L25", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L472", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_marshaljson" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L241", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L490", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_numbers" + "context": "return_type", + "source": "devworkspacerouting_serving_certificates_test_getrouting", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspacerouting", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L222", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L472", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_strings" + "context": "parameter_type", + "source": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_devworkspacerouting", + "confidence_score": 1.0 }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L31", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L480", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_attributes_unmarshaljson" + "source": "devworkspacerouting_serving_certificates_test_settlsserviceuids", + "target": "uid" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L42", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L493", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes", - "target": "v1alpha1_convertprimitivefunc" + "source": "devworkspacerouting_serving_certificates_test_getrouting", + "target": "devworkspacerouting_recordingsecretclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L390", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_frombooleanmap", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "source": "devworkspacerouting_secretreaderrorclient", + "target": "devworkspacerouting_secretreaderrorclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L349", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_fromfloatmap", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_secretreaderrorclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L368", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_fromintegermap", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_secretreaderrorclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L448", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L506", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_frominterface", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_secretreaderrorclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_objectkey", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L428", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L510", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_frommap", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "source": "devworkspacerouting_secretreaderrorclient_get", + "target": "devworkspacerouting_recordingsecretclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L330", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L533", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_fromstringmap", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_recordingsecretclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L408", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L517", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_put", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_secrethidingclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L380", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L528", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_putboolean", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "field", + "source": "devworkspacerouting_recordingsecretclient", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L339", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L533", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_putfloat", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_recordingsecretclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L358", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L517", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_putinteger", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_secrethidingclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L320", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L533", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_putstring", - "target": "apis_controller_v1alpha1_attributes_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "devworkspacerouting_recordingsecretclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L44", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L517", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_attributes_getprimitive", - "target": "v1alpha1_convertprimitivefunc" + "source": "devworkspacerouting_secrethidingclient_get", + "target": "controllers_controller_devworkspacerouting_serving_certificates_test_go_object", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L155", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L517", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_getboolean", - "target": "v1alpha1_attributes_getprimitive" + "source": "devworkspacerouting_secrethidingclient", + "target": "devworkspacerouting_secrethidingclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L118", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L521", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_getnumber", - "target": "v1alpha1_attributes_getprimitive" + "source": "devworkspacerouting_secrethidingclient_get", + "target": "devworkspacerouting_recordingsecretclient_get", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L91", + "source_file": "controllers/controller/devworkspacerouting/serving_certificates_test.go", + "source_location": "L533", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_getstring", - "target": "v1alpha1_attributes_getprimitive" + "source": "devworkspacerouting_recordingsecretclient", + "target": "devworkspacerouting_recordingsecretclient_get", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L165", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L99", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_getboolean", - "target": "v1alpha1_attributes_getstring" + "source": "devworkspacerouting_solver_context_test", + "target": "devworkspacerouting_cancelonservicereadclient", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L128", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L123", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_getnumber", - "target": "v1alpha1_attributes_getstring" + "source": "devworkspacerouting_solver_context_test", + "target": "devworkspacerouting_servicewriterecordingclient", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L266", - "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_booleans", - "target": "v1alpha1_attributes_get" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L187", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L35", "weight": 1.0, - "source": "v1alpha1_attributes_get", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "devworkspacerouting_solver_context_test", + "target": "devworkspacerouting_solver_context_test_testreconcilepassescontexttodiscoverableserviceread", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L247", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L35", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_numbers", - "target": "v1alpha1_attributes_get" + "context": "parameter_type", + "source": "devworkspacerouting_solver_context_test_testreconcilepassescontexttodiscoverableserviceread", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L228", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L91", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_strings", - "target": "v1alpha1_attributes_get" + "source": "devworkspacerouting_solver_context_test_testreconcilepassescontexttodiscoverableserviceread", + "target": "devworkspacerouting_servicewriterecordingclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L49", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L37", "weight": 1.0, - "source": "automount_projected_mergeprojectedvolumes", - "target": "v1alpha1_attributes_strings" + "source": "devworkspacerouting_solver_context_test_testreconcilepassescontexttodiscoverableserviceread", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L313", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L36", "weight": 1.0, - "source": "automount_projected_test_testprojectedvolume", - "target": "v1alpha1_attributes_strings" + "source": "devworkspacerouting_solver_context_test_testreconcilepassescontexttodiscoverableserviceread", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L91", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L101", "weight": 1.0, - "source": "handler_warning_formatunsupportedfeatureswarning", - "target": "v1alpha1_attributes_strings" + "context": "field", + "source": "devworkspacerouting_cancelonservicereadclient", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_cancelfunc", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L326", + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L100", "weight": 1.0, - "source": "handler_workspace_setvalidatedpermissionsannotations", - "target": "v1alpha1_attributes_strings" + "source": "devworkspacerouting_cancelonservicereadclient", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_client", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L309", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L105", "weight": 1.0, - "source": "v1alpha1_attributes_asinterface", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "field", + "source": "devworkspacerouting_cancelonservicereadclient", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_time", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L332", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_fromstringmap", - "target": "v1alpha1_attributes_putstring" + "source": "devworkspacerouting_cancelonservicereadclient", + "target": "devworkspacerouting_cancelonservicereadclient_get", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L351", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L124", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_fromfloatmap", - "target": "v1alpha1_attributes_putfloat" + "source": "devworkspacerouting_servicewriterecordingclient", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_client", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L145", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "weight": 1.0, - "source": "config_sync_test_testcatchesnonexistentexternaldwoc", - "target": "v1alpha1_attributes_put" + "context": "parameter_type", + "source": "devworkspacerouting_cancelonservicereadclient_get", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L167", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", "weight": 1.0, - "source": "config_sync_test_testmergeexternalconfig", - "target": "v1alpha1_attributes_put" + "context": "parameter_type", + "source": "devworkspacerouting_cancelonservicereadclient_get", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L109", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_cancelonservicereadclient_get", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/attributes.go", - "source_location": "L433", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L111", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_attributes_frommap", - "target": "v1alpha1_attributes_put" + "source": "devworkspacerouting_cancelonservicereadclient_get", + "target": "devworkspacerouting_servicewriterecordingclient_get", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/common.go", - "source_location": "L21", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L139", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_common", - "target": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_create", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/common.go", - "source_location": "L41", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L153", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", - "target": "apis_controller_v1alpha1_common_go_container" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_delete", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/common.go", - "source_location": "L56", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L132", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", - "target": "apis_controller_v1alpha1_common_go_localobjectreference" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_get", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/common.go", - "source_location": "L46", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L160", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", - "target": "apis_controller_v1alpha1_common_go_volume" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_patch", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/common.go", - "source_location": "L51", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L146", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_common_go_v1alpha1_podadditions", - "target": "apis_controller_v1alpha1_common_go_volumemount" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_update", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_context", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devfile.go", - "source_location": "L18", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L132", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devfile", - "target": "v1alpha1_endpointattribute" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_get", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_objectkey", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devfile.go", - "source_location": "L19", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L139", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devfile", - "target": "v1alpha1_endpointtype" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_create", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L99", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L153", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_delete", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L53", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L132", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_cleanupcronjobconfig" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_get", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L463", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L160", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_configmapreference" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_patch", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L482", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L146", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig" + "context": "parameter_type", + "source": "devworkspacerouting_servicewriterecordingclient_update", + "target": "controllers_controller_devworkspacerouting_solver_context_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L494", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L139", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist" + "source": "devworkspacerouting_servicewriterecordingclient", + "target": "devworkspacerouting_servicewriterecordingclient_create", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L334", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L153", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig" + "source": "devworkspacerouting_servicewriterecordingclient", + "target": "devworkspacerouting_servicewriterecordingclient_delete", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L132", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration" + "source": "devworkspacerouting_servicewriterecordingclient", + "target": "devworkspacerouting_servicewriterecordingclient_get", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L470", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L160", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus" + "source": "devworkspacerouting_servicewriterecordingclient", + "target": "devworkspacerouting_servicewriterecordingclient_patch", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L93", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L146", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_orasconfig" + "source": "devworkspacerouting_servicewriterecordingclient", + "target": "devworkspacerouting_servicewriterecordingclient_update", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", + "context": "parameter_type", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L154", + "source_file": "controllers/controller/devworkspacerouting/solver_context_test.go", + "source_location": "L160", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_overrideconfig" + "source": "devworkspacerouting_servicewriterecordingclient_patch", + "target": "patch", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L313", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L60", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_persistenthomeconfig" + "source": "solvers_basic_solver", + "target": "solvers_basic_solver_newbasicsolver", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L436", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L50", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig" + "source": "solvers_basic_solver", + "target": "solvers_basicsolver" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L364", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L60", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_proxy" + "context": "return_type", + "source": "solvers_basic_solver_newbasicsolver", + "target": "solvers_basicsolver", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L76", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L54", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_registryconfig" + "context": "field", + "source": "solvers_basicsolver", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_client", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L451", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L58", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig" + "source": "solvers_basicsolver", + "target": "solvers_basicsolver_finalize" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L123", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L54", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig" + "source": "solvers_basicsolver", + "target": "solvers_basicsolver_finalizerrequired" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L387", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L84", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccountconfig" + "source": "solvers_basicsolver", + "target": "solvers_basicsolver_getexposedendpoints" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L404", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccounttoken" + "source": "solvers_basicsolver", + "target": "solvers_basicsolver_getspecobjects" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L377", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L60", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_storagesizes" + "context": "parameter_type", + "source": "solvers_basic_solver_newbasicsolver", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_client", + "confidence_score": 1.0 }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L294", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L55", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_webhookconfig" + "source": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "target": "solvers_basic_solver_newbasicsolver" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L168", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L109", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig" + "source": "solvers_solvergetter_getsolver", + "target": "solvers_basic_solver_newbasicsolver" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L500", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L54", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_types", - "target": "v1alpha1_devworkspaceoperatorconfig_types_init" + "source": "solvers_basicsolver_finalizerrequired", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L486", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L58", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration" + "source": "solvers_basicsolver_finalize", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L33", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L62", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_routingconfig" + "source": "solvers_basicsolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L66", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "config_sync_getglobalconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L46", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L74", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", - "target": "webhookconfig" + "context": "parameter_type", + "source": "solvers_basicsolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L36", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L62", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfiguration", - "target": "workspaceconfig" + "source": "solvers_basicsolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacemetadata" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L266", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L62", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_cleanupcronjobconfig" + "source": "solvers_basicsolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_routingobjects" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L75", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "infrastructure_cluster_isopenshift" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L73", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "map_map_append" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L73", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "solvers_common_getdiscoverableservicesforendpoints" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L78", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "solvers_common_getingressesforspec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L76", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "solvers_common_getroutesforspec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L72", + "weight": 1.0, + "source": "solvers_basicsolver_getspecobjects", + "target": "solvers_common_getservicesforendpoints" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L106", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L84", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_registryconfig" + "source": "solvers_basicsolver_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_routingobjects" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L109", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L84", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_orasconfig" + "source": "solvers_basicsolver_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_endpointlist" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L268", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", + "source_location": "L84", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_backupcronjobconfig" + "source": "solvers_basicsolver_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_exposedendpointlist" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L147", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_configmapreference" + "source": "solvers_basic_solver_test", + "target": "solvers_basic_solver_test_newbasicsolvertest", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L144", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L259", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_routingconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_proxy" + "source": "solvers_basic_solver_test", + "target": "solvers_basic_solver_test_routingforendpoints", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L288", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L141", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_overrideconfig" + "source": "solvers_basic_solver_test", + "target": "solvers_basic_solver_test_testbasicsolvergetspecobjectserrors", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L285", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L37", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_container" + "source": "solvers_basic_solver_test", + "target": "solvers_basic_solver_test_testbasicsolvergetspecobjectskubernetes", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L246", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_devworkspacetemplatespeccontent" + "source": "solvers_basic_solver_test", + "target": "solvers_basic_solver_test_testendpoint", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L291", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L264", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyconfig" + "source": "solvers_basic_solver_test", + "target": "solvers_failingservicegetclient", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L209", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L37", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_persistentvolumeaccessmode" + "context": "parameter_type", + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectskubernetes", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_t", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L238", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L38", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_podsecuritycontext" + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectskubernetes", + "target": "solvers_basic_solver_test_newbasicsolvertest", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L44", + "weight": 1.0, + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectskubernetes", + "target": "solvers_basic_solver_test_routingforendpoints", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L39", + "weight": 1.0, + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectskubernetes", + "target": "solvers_basic_solver_test_testendpoint", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L260", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + "context": "parameter_type", + "source": "solvers_basic_solver_test_newbasicsolvertest", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L242", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L141", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_securitycontext" + "context": "parameter_type", + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectserrors", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_t", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L187", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L204", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "deploymentstrategytype" + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectserrors", + "target": "solvers_basic_solver_test_newbasicsolvertest", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L212", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L205", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "persistenthomeconfig" + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectserrors", + "target": "solvers_basic_solver_test_routingforendpoints", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L171", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L152", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "projectcloneconfig" + "source": "solvers_basic_solver_test_testbasicsolvergetspecobjectserrors", + "target": "solvers_basic_solver_test_testendpoint", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L174", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "restoreconfig" + "context": "return_type", + "source": "solvers_basic_solver_test_newbasicsolvertest", + "target": "basicsolver", + "confidence_score": 1.0 }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L200", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L220", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "serviceaccountconfig" + "source": "solvers_basic_solver_test_newbasicsolvertest", + "target": "config_sync_getglobalconfig" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L206", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L221", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_workspaceconfig", - "target": "storagesizes" + "source": "solvers_basic_solver_test_newbasicsolvertest", + "target": "config_sync_setglobalconfigfortesting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L446", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L218", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + "context": "return_type", + "source": "solvers_basic_solver_test_newbasicsolvertest", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_devworkspacemetadata", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L223", + "weight": 1.0, + "source": "solvers_basic_solver_test_newbasicsolvertest", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L458", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_resourcerequirements" + "context": "return_type", + "source": "solvers_basic_solver_test_testendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_endpoint", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L304", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_webhookconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_toleration" + "context": "parameter_type", + "source": "solvers_basic_solver_test_testendpoint", + "target": "endpointexposure", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L361", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L250", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyegressrule" + "context": "parameter_type", + "source": "solvers_basic_solver_test_testendpoint", + "target": "endpointprotocol", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L354", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L259", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_networkpolicyconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_networkpolicyingressrule" + "context": "return_type", + "source": "solvers_basic_solver_test_routingforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_devworkspacerouting", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L384", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L259", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_storagesizes", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_quantity" + "context": "parameter_type", + "source": "solvers_basic_solver_test_routingforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_endpointlist", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L401", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L265", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccountconfig", - "target": "serviceaccounttoken" + "source": "solvers_failingservicegetclient", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_client", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L504", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_serviceaccounttoken", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_failingservicegetclient", + "target": "solvers_failingservicegetclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L448", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_envvar" + "context": "parameter_type", + "source": "solvers_failingservicegetclient_get", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L442", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_projectcloneconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_pullpolicy" + "context": "parameter_type", + "source": "solvers_failingservicegetclient_get", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L454", + "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver_test.go", + "source_location": "L271", + "weight": 1.0, + "context": "parameter_type", + "source": "solvers_failingservicegetclient_get", + "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_test_go_objectkey", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L122", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_pullpolicy" + "source": "solvers_cluster_solver", + "target": "solvers_cluster_solver_gethostnamefromservice" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L460", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L41", + "weight": 1.0, + "source": "solvers_cluster_solver", + "target": "solvers_cluster_solver_newclustersolver", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L108", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_restoreconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_envvar" + "source": "solvers_cluster_solver", + "target": "solvers_cluster_solver_resolveservicehostnameforendpoint" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L489", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L33", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus" + "source": "solvers_cluster_solver", + "target": "solvers_clustersolver" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L475", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L41", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_time" + "context": "return_type", + "source": "solvers_cluster_solver_newclustersolver", + "target": "solvers_clustersolver", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L472", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L35", "weight": 1.0, "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_operatorconfigurationstatus", - "target": "condition" + "source": "solvers_clustersolver", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_client", + "confidence_score": 1.0 }, { - "relation": "embeds", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L484", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L43", "weight": 1.0, "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_objectmeta" + "source": "solvers_clustersolver", + "target": "solvers_clustersolver_finalize" }, { - "relation": "embeds", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L483", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L39", "weight": 1.0, "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_typemeta" + "source": "solvers_clustersolver", + "target": "solvers_clustersolver_finalizerrequired" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L497", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L81", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfig" + "source": "solvers_clustersolver", + "target": "solvers_clustersolver_getexposedendpoints" }, { - "relation": "embeds", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L495", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L47", "weight": 1.0, "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_typemeta" + "source": "solvers_clustersolver", + "target": "solvers_clustersolver_getspecobjects" }, { - "relation": "embeds", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspaceoperatorconfig_types.go", - "source_location": "L496", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L41", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_v1alpha1_devworkspaceoperatorconfiglist", - "target": "apis_controller_v1alpha1_devworkspaceoperatorconfig_types_go_listmeta" + "context": "parameter_type", + "source": "solvers_cluster_solver_newclustersolver", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_client", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L67", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L165", "weight": 1.0, - "source": "asyncstorage_configmap_addauthorizedkeytoconfigmap", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "target": "solvers_cluster_solver_newclustersolver" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L46", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L82", "weight": 1.0, - "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "target": "solvers_cluster_solver_newclustersolver" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L88", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L51", "weight": 1.0, - "source": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "target": "solvers_cluster_solver_newclustersolver" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L288", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L79", "weight": 1.0, - "source": "automount_common_findgitconfigautomount", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_service_names_test_testclustersolverrejectsdiscoverableendpointusingworkspaceservicename", + "target": "solvers_cluster_solver_newclustersolver" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L985", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L111", "weight": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialssecret", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_solvergetter_getsolver", + "target": "solvers_cluster_solver_newclustersolver" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L123", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L39", "weight": 1.0, - "source": "automount_templates_mergegitcredentials", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_finalizerrequired", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L99", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L43", "weight": 1.0, - "source": "client_client_newk8sclientwithtoken", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_finalize", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L57", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L47", "weight": 1.0, - "source": "client_k8sclient_execcommandincontainer", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L59", "weight": 1.0, - "source": "client_k8sclient_getlogsforcontainer", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_clustersolver_getspecobjects", + "target": "common_naming_servingcertvolumename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L133", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L56", "weight": 1.0, - "source": "client_k8sclient_getsatoken", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "source": "solvers_clustersolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_context", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L33", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L47", "weight": 1.0, - "source": "client_k8sclient_ocapplyworkspace", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacemetadata" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L64", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L47", "weight": 1.0, - "source": "devworkspacerouting_util_test_createdwr", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "return_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_getspecobjects", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_routingobjects" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L333", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L58", "weight": 1.0, - "source": "handler_workspace_setvalidatedpermissionsannotations", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_clustersolver_getspecobjects", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L175", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L59", "weight": 1.0, - "source": "httpfactory_http_test_generatetestcacert", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_clustersolver_getspecobjects", + "target": "solvers_common_getdiscoverableservicesforendpoints" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L49", "weight": 1.0, - "source": "infrastructure_namespace_getoperatornamespace", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_clustersolver_getspecobjects", + "target": "solvers_common_getservicesforendpoints" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/global.go", - "source_location": "L131", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L81", "weight": 1.0, - "source": "internal_global_setupauth", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_routingobjects" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L99", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L81", "weight": 1.0, - "source": "metadata_metadata_getspecmetadataconfigmap", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpointlist" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L45", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L81", "weight": 1.0, - "source": "metrics_failure_reason_getfailurereason", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "return_type", + "confidence_score": 1.0, + "source": "solvers_clustersolver_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_exposedendpointlist" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L76", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L97", "weight": 1.0, - "source": "metrics_update_incrementmetricforworkspacefailure", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_clustersolver_getexposedendpoints", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L141", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L92", "weight": 1.0, - "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", - "target": "v1alpha1_serviceaccounttoken_string" + "confidence_score": 1.0, + "source": "solvers_clustersolver_getexposedendpoints", + "target": "solvers_cluster_solver_resolveservicehostnameforendpoint" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L250", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L108", "weight": 1.0, - "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_cluster_solver_resolveservicehostnameforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpoint" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L118", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L108", "weight": 1.0, - "source": "resources_helper_test_testaddresourcerequirements", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_cluster_solver_resolveservicehostnameforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_service" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L161", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L115", "weight": 1.0, - "source": "restrictions_restrictions_checkresourcelist", - "target": "v1alpha1_serviceaccounttoken_string" + "confidence_score": 1.0, + "source": "solvers_cluster_solver_resolveservicehostnameforendpoint", + "target": "solvers_cluster_solver_gethostnamefromservice" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L47", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_location": "L122", "weight": 1.0, - "source": "solvers_common_getdiscoverableservicesforendpoints", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "solvers_cluster_solver_gethostnamefromservice", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_service" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L105", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L130", "weight": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test", + "target": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L80", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L31", "weight": 1.0, - "source": "solvers_resolve_endpoints_geturlforendpoint", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test", + "target": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/condition.go", - "source_location": "L143", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L56", "weight": 1.0, - "source": "workspace_condition_capitalizemessage", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "target": "common_naming_servicename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L156", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L31", "weight": 1.0, - "source": "workspace_config_controllersauid", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L715", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L103", "weight": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectsservingcertmounts", + "target": "map_map_equal" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L798", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L130", "weight": 1.0, - "source": "workspace_devworkspacereconciler_getworkspaceid", - "target": "v1alpha1_serviceaccounttoken_string" + "context": "parameter_type", + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L259", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L144", "weight": 1.0, - "source": "workspace_status_getinfomessage", - "target": "v1alpha1_serviceaccounttoken_string" + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "target": "common_naming_servicename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L236", - "weight": 1.0, - "source": "workspace_status_getmainurl", - "target": "v1alpha1_serviceaccounttoken_string" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L109", + "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver_test.go", + "source_location": "L195", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_attributes" + "source": "solvers_cluster_solver_test_testclustersolvergetspecobjectslongservingcertvolumenames", + "target": "map_map_equal" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L194", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L39", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting" + "source": "solvers_common", + "target": "solvers_common_getdiscoverableservicesforendpoints" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L205", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L170", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist" + "source": "solvers_common", + "target": "solvers_common_getingressesforspec" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L25", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L213", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec" + "source": "solvers_common", + "target": "solvers_common_getingressforendpoint" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L183", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus" + "source": "solvers_common", + "target": "solvers_common_getrouteforendpoint" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L111", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L157", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint" + "source": "solvers_common", + "target": "solvers_common_getroutesforspec" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L78", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpointlist" + "source": "solvers_common", + "target": "solvers_common_getserviceforendpoints" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L142", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpoint" + "source": "solvers_common", + "target": "solvers_common_getservicesforendpoints" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L80", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpointlist" + "source": "solvers_common", + "target": "solvers_devworkspacemetadata" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L211", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L39", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "v1alpha1_devworkspacerouting_types_init" + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "solvers_devworkspacemetadata" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L36", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L170", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "v1alpha1_devworkspaceroutingclass" + "source": "solvers_common_getingressesforspec", + "target": "solvers_devworkspacemetadata" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L59", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L213", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "v1alpha1_devworkspaceroutingphase" + "source": "solvers_common_getingressforendpoint", + "target": "solvers_devworkspacemetadata" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L85", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L183", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "v1alpha1_endpointexposure" + "source": "solvers_common_getrouteforendpoint", + "target": "solvers_devworkspacemetadata" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L103", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L157", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_types", - "target": "v1alpha1_endpointprotocol" + "source": "solvers_common_getroutesforspec", + "target": "solvers_devworkspacemetadata" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L198", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L82", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec" + "source": "solvers_common_getserviceforendpoints", + "target": "solvers_devworkspacemetadata" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L29", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L142", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_devworkspaceroutingclass" + "source": "solvers_common_getservicesforendpoints", + "target": "solvers_devworkspacemetadata" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L41", "weight": 1.0, "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingspec", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_endpointlist" + "source": "solvers_devworkspacemetadata", + "target": "uid", + "confidence_score": 1.0 }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L199", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L225", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus" + "source": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "target": "uid" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L51", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L61", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_exposedendpointlist" + "source": "handler_validate_test_setupworkspace", + "target": "uid" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L49", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L71", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_podadditions" + "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", + "target": "uid" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L53", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L247", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutingstatus", - "target": "devworkspaceroutingphase" + "source": "storage_cleanup_test_makecleanupjob", + "target": "uid" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L75", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L284", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_exposedendpoint", - "target": "attributes" + "source": "storage_cleanup_test_makecleanuppod", + "target": "uid" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L133", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L209", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", - "target": "v1alpha1_endpointexposure" + "source": "storage_cleanup_test_maketerminatingworkspace", + "target": "uid" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L48", "weight": 1.0, - "source": "conversion_conversion_convertdevfileendpoint", - "target": "v1alpha1_endpointexposure" + "source": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "target": "uid" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L154", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L111", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", - "target": "v1alpha1_endpointprotocol" + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "solvers_common_getdiscoverableservicesforendpoints" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L43", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L52", "weight": 1.0, - "source": "conversion_conversion_convertdevfileendpoint", - "target": "v1alpha1_endpointprotocol" + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "common_naming_endpointname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L80", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L63", "weight": 1.0, - "source": "solvers_resolve_endpoints_geturlforendpoint", - "target": "v1alpha1_endpointprotocol" + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "common_naming_servicename" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L177", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_endpoint", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_attributes" + "context": "parameter_type", + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_client", + "confidence_score": 1.0 }, { - "relation": "embeds", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L196", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L48", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_objectmeta" + "context": "parameter_type", + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_context", + "confidence_score": 1.0 }, { - "relation": "embeds", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L195", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L39", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_typemeta" + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L208", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L39", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspacerouting" + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_service" }, { - "relation": "embeds", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L206", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L57", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_typemeta" + "source": "solvers_common_getdiscoverableservicesforendpoints", + "target": "map_map_append" }, { - "relation": "embeds", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/devworkspacerouting_types.go", - "source_location": "L207", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L133", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_devworkspacerouting_types_go_v1alpha1_devworkspaceroutinglist", - "target": "apis_controller_v1alpha1_devworkspacerouting_types_go_listmeta" + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints", + "target": "solvers_common_getdiscoverableservicesforendpoints" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/errors.go", - "source_location": "L19", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L303", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_errors", - "target": "apis_controller_v1alpha1_errors_go_v1alpha1_keynotfounderror" + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_duplicatenameorderisstable", + "target": "solvers_common_getdiscoverableservicesforendpoints" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/errors.go", - "source_location": "L23", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L191", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_multipleendpoints", + "target": "solvers_common_getdiscoverableservicesforendpoints" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L261", + "weight": 1.0, + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename", + "target": "solvers_common_getdiscoverableservicesforendpoints" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L48", + "weight": 1.0, + "source": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "target": "solvers_common_getdiscoverableservicesforendpoints" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L54", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_errors_go_v1alpha1_keynotfounderror", - "target": "v1alpha1_keynotfounderror_error" + "source": "solvers_service_names_test_testgetdiscoverableservicesforendpointsrejectsemptyservicename", + "target": "solvers_common_getdiscoverableservicesforendpoints" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L42", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L170", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_attributes_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_attributes" + "source": "solvers_common_getingressesforspec", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L31", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L157", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_attributes_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_attributes" + "source": "solvers_common_getroutesforspec", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L36", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L82", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_attributes_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_common_getserviceforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L47", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L142", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_attributes_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L77", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L82", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_backupcronjobconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_backupcronjobconfig" + "source": "solvers_common_getserviceforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_service" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L52", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L142", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_backupcronjobconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_backupcronjobconfig" + "source": "solvers_common_getservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_service" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L82", - "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_backupcronjobconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L107", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L113", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_cleanupcronjobconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_cleanupcronjobconfig" + "source": "solvers_common_getserviceforendpoints", + "target": "common_naming_endpointname" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L87", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L128", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_cleanupcronjobconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_cleanupcronjobconfig" + "source": "solvers_common_getserviceforendpoints", + "target": "common_naming_servicename" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", "source_location": "L112", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_cleanupcronjobconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getserviceforendpoints", + "target": "map_map_append" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L122", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L147", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_configmapreference_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_configmapreference" + "source": "solvers_common_getservicesforendpoints", + "target": "solvers_common_getserviceforendpoints" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L117", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L157", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_configmapreference_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_configmapreference" + "source": "solvers_common_getroutesforspec", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_route" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L127", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L164", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_configmapreference_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getroutesforspec", + "target": "map_map_append" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L159", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L164", "weight": 1.0, "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig", - "target": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject" + "source": "solvers_common_getroutesforspec", + "target": "solvers_common_getrouteforendpoint" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L149", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L183", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig" + "source": "solvers_common_getrouteforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_route" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L132", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L170", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfig" + "source": "solvers_common_getingressesforspec", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_ingress" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L135", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L177", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getingressesforspec", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L154", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L177", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getingressesforspec", + "target": "solvers_common_getingressforendpoint" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L159", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L213", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + "source": "solvers_common_getingressforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_ingress" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L160", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L185", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfig_deepcopyobject", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_common_getrouteforendpoint", + "target": "common_naming_endpointname" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L191", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L197", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + "source": "solvers_common_getrouteforendpoint", + "target": "common_naming_endpointpath" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L218", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L188", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_deepcopyobject", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + "source": "solvers_common_getrouteforendpoint", + "target": "common_naming_routename" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L250", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L204", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutinglist_deepcopyobject", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_object" + "source": "solvers_common_getrouteforendpoint", + "target": "common_naming_servicename" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L191", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L196", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist", - "target": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject" + "source": "solvers_common_getrouteforendpoint", + "target": "common_naming_workspacehostname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L181", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L183", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist" + "source": "solvers_common_getrouteforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpoint" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L167", + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L213", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceoperatorconfiglist" + "source": "solvers_common_getingressforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpoint" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L170", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L215", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getingressforendpoint", + "target": "common_naming_endpointhostname" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L186", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L214", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_getingressforendpoint", + "target": "common_naming_endpointname" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L192", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L219", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceoperatorconfiglist_deepcopyobject", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_common_getingressforendpoint", + "target": "common_naming_routename" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L218", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", + "source_location": "L237", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting", - "target": "v1alpha1_devworkspacerouting_deepcopyobject" + "source": "solvers_common_getingressforendpoint", + "target": "common_naming_servicename" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L208", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting" + "source": "solvers_common_test", + "target": "solvers_common_test_testgetdiscoverableservicesforendpoints", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L199", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L274", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspacerouting" + "source": "solvers_common_test", + "target": "solvers_common_test_testgetdiscoverableservicesforendpoints_duplicatenameorderisstable", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L202", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L150", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_test", + "target": "solvers_common_test_testgetdiscoverableservicesforendpoints_multipleendpoints", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L213", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L226", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_test", + "target": "solvers_common_test_testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L219", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L30", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspacerouting_deepcopyobject", - "target": "v1alpha1_workspaceconfig_deepcopy" + "context": "parameter_type", + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_test_go_t", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L250", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L274", "weight": 1.0, - "confidence_score": 1.0, - "source": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist", - "target": "v1alpha1_devworkspaceroutinglist_deepcopyobject" + "context": "parameter_type", + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_duplicatenameorderisstable", + "target": "controllers_controller_devworkspacerouting_solvers_common_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L240", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L150", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutinglist_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist" + "context": "parameter_type", + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_multipleendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_common_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", "source_location": "L226", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutinglist_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutinglist" + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename", + "target": "controllers_controller_devworkspacerouting_solvers_common_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L229", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L268", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutinglist_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_sameworkspaceduplicatename", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L245", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/common_test.go", + "source_location": "L308", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutinglist_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_common_test_testgetdiscoverableservicesforendpoints_duplicatenameorderisstable", + "target": "map_map_equal" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L251", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L92", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutinglist_deepcopyobject", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_context_test", + "target": "solvers_cancelinglookupclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L288", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L31", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingspec_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingspec" + "source": "solvers_context_test", + "target": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L258", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L90", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingspec_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingspec" + "source": "solvers_context_test", + "target": "solvers_lookupcontextkey", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L272", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L32", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingspec_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "target": "config_sync_getglobalconfig" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L33", + "weight": 1.0, + "source": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "target": "config_sync_setglobalconfigfortesting" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L293", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingspec_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "context": "parameter_type", + "source": "solvers_context_test_testdiscoverableservicelookuppreservescancellation", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L326", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L94", + "weight": 1.0, + "context": "field", + "source": "solvers_cancelinglookupclient", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_cancelfunc", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L93", + "weight": 1.0, + "source": "solvers_cancelinglookupclient", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L95", + "weight": 1.0, + "context": "field", + "source": "solvers_cancelinglookupclient", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingstatus_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingstatus" + "source": "solvers_cancelinglookupclient", + "target": "solvers_cancelinglookupclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L298", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingstatus_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_devworkspaceroutingstatus" + "source": "solvers_cancelinglookupclient_get", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_context", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L303", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingstatus_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "context": "parameter_type", + "source": "solvers_cancelinglookupclient_get", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_object", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L331", + "source_file": "controllers/controller/devworkspacerouting/solvers/context_test.go", + "source_location": "L98", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_devworkspaceroutingstatus_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "context": "parameter_type", + "source": "solvers_cancelinglookupclient_get", + "target": "controllers_controller_devworkspacerouting_solvers_context_test_go_objectkey", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L355", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_endpoint_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpoint" + "source": "solvers_errors", + "target": "solvers_duplicateendpointerror", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L336", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_endpoint_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpoint" + "source": "solvers_errors", + "target": "solvers_routinginvalid" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L342", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_endpoint_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_errors", + "target": "solvers_routingnotready" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L360", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L43", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_endpoint_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_duplicateendpointerror", + "target": "solvers_duplicateendpointerror_error", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L376", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L32", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "v1alpha1_endpointlist_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpointlist" + "source": "solvers_routingnotready", + "target": "controllers_controller_devworkspacerouting_solvers_errors_go_duration" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L365", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_endpointlist_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_endpointlist" + "source": "solvers_routingnotready", + "target": "solvers_routingnotready_error" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L370", + "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", + "source_location": "L45", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_endpointlist_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_routinginvalid", + "target": "solvers_routinginvalid_error" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L381", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_endpointlist_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints", + "target": "solvers_resolve_endpoints_getexposedendpoints" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L398", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L118", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_exposedendpoint_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpoint" + "source": "solvers_resolve_endpoints", + "target": "solvers_resolve_endpoints_getsecureprotocol" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L386", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L77", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_exposedendpoint_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpoint" + "source": "solvers_resolve_endpoints", + "target": "solvers_resolve_endpoints_geturlforendpoint" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L392", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L57", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_exposedendpoint_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_resolve_endpoints", + "target": "solvers_resolve_endpoints_resolveurlforendpoint" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L403", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_exposedendpoint_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpointlist" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L419", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_exposedendpointlist_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpointlist" + "source": "solvers_resolve_endpoints_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_exposedendpointlist" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L408", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L28", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_exposedendpointlist_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_exposedendpointlist" + "source": "solvers_resolve_endpoints_getexposedendpoints", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_routingobjects" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L413", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L47", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_exposedendpointlist_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints_getexposedendpoints", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L424", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L40", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_exposedendpointlist_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints_getexposedendpoints", + "target": "solvers_resolve_endpoints_resolveurlforendpoint" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L434", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L57", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_keynotfounderror_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_keynotfounderror" + "source": "solvers_resolve_endpoints_resolveurlforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_routingobjects" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L429", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_keynotfounderror_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_keynotfounderror" + "source": "solvers_resolve_endpoints_resolveurlforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpoint" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L439", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_keynotfounderror_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints_resolveurlforendpoint", + "target": "solvers_resolve_endpoints_geturlforendpoint" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L468", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L77", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_networkpolicyconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_networkpolicyconfig" + "source": "solvers_resolve_endpoints_geturlforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpoint" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L444", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L83", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_networkpolicyconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_networkpolicyconfig" + "source": "solvers_resolve_endpoints_geturlforendpoint", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L455", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", + "source_location": "L80", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_networkpolicyconfig_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints_geturlforendpoint", + "target": "solvers_resolve_endpoints_getsecureprotocol" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L473", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L161", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_networkpolicyconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_resolve_endpoints_test_testgeturlforendpoint", + "target": "solvers_resolve_endpoints_geturlforendpoint" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L503", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L23", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_operatorconfiguration_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfiguration" + "source": "solvers_resolve_endpoints_test", + "target": "solvers_resolve_endpoints_test_testgeturlforendpoint" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L478", + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L23", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_operatorconfiguration_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfiguration" + "source": "solvers_resolve_endpoints_test_testgeturlforendpoint", + "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_test_go_t" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", + "source_location": "L169", + "weight": 1.0, + "source": "solvers_resolve_endpoints_test_testgeturlforendpoint", + "target": "map_map_equal" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L483", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L68", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_operatorconfiguration_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_service_names_test", + "target": "solvers_service_names_test_testclustersolverrejectsdiscoverableendpointusingworkspaceservicename", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L508", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L30", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_operatorconfiguration_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_service_names_test", + "target": "solvers_service_names_test_testgetdiscoverableservicesforendpointsrejectsemptyservicename", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L529", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_operatorconfigurationstatus_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfigurationstatus" + "context": "parameter_type", + "source": "solvers_service_names_test_testgetdiscoverableservicesforendpointsrejectsemptyservicename", + "target": "controllers_controller_devworkspacerouting_solvers_service_names_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L59", + "weight": 1.0, + "source": "solvers_service_names_test_testgetdiscoverableservicesforendpointsrejectsemptyservicename", + "target": "map_map_equal" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L513", + "source_file": "controllers/controller/devworkspacerouting/solvers/service_names_test.go", + "source_location": "L68", "weight": 1.0, "context": "parameter_type", + "source": "solvers_service_names_test_testclustersolverrejectsdiscoverableendpointusingworkspaceservicename", + "target": "controllers_controller_devworkspacerouting_solvers_service_names_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L31", + "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_operatorconfigurationstatus_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_operatorconfigurationstatus" + "source": "solvers_solver", + "target": "solvers_routingobjects" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L524", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_operatorconfigurationstatus_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "solvers_solver", + "target": "solvers_routingsolver" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L519", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L64", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_operatorconfigurationstatus_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_solver", + "target": "solvers_routingsolvergetter" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L534", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L83", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_operatorconfigurationstatus_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_solver", + "target": "solvers_solvergetter" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L544", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L33", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "v1alpha1_orasconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_orasconfig" + "source": "solvers_routingobjects", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_ingress" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L539", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "v1alpha1_orasconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_orasconfig" + "source": "solvers_routingobjects", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_podadditions" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L549", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L34", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "v1alpha1_orasconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_routingobjects", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_route" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L569", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L32", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "v1alpha1_overrideconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_overrideconfig" + "source": "solvers_routingobjects", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_service" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L554", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L103", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_overrideconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_overrideconfig" + "source": "solvers_solvergetter_getsolver", + "target": "solvers_routingsolver" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L574", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L103", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_overrideconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_solvergetter", + "target": "solvers_solvergetter_getsolver" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L594", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L87", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_persistenthomeconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_persistenthomeconfig" + "source": "solvers_solvergetter", + "target": "solvers_solvergetter_hassolver" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L579", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L120", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_persistenthomeconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_persistenthomeconfig" + "source": "solvers_solvergetter", + "target": "solvers_solvergetter_setupcontrollermanager" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L599", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L87", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_persistenthomeconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_solvergetter_hassolver", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_devworkspaceroutingclass" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L663", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L103", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_podadditions_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_podadditions" + "source": "solvers_solvergetter_getsolver", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_devworkspaceroutingclass" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L604", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L103", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_podadditions_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_podadditions" + "source": "solvers_solvergetter_getsolver", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_client" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L624", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L104", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_podadditions_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "solvers_solvergetter_getsolver", + "target": "infrastructure_cluster_isopenshift" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", + "source_location": "L122", + "weight": 1.0, + "context": "parameter_type", + "source": "solvers_solvergetter_setupcontrollermanager", + "target": "controllers_controller_devworkspacerouting_solvers_solver_go_builder", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L668", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L35", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_podadditions_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_status_context_test", + "target": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L690", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L131", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_projectcloneconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_projectcloneconfig" + "source": "devworkspacerouting_status_context_test", + "target": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L673", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L35", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_projectcloneconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_projectcloneconfig" + "source": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "target": "controllers_controller_devworkspacerouting_status_context_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L678", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L76", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_projectcloneconfig_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L695", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L36", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_projectcloneconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_status_context_test_testreconcilepassescontexttoroutingstatuswrites", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L720", + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L131", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_proxy_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_proxy" + "context": "parameter_type", + "source": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "target": "controllers_controller_devworkspacerouting_status_context_test_go_t", + "confidence_score": 1.0 }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L700", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L153", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_proxy_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_proxy" + "source": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "target": "devworkspacerouting_sync_services_test_routingtestscheme" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/status_context_test.go", + "source_location": "L132", + "weight": 1.0, + "source": "devworkspacerouting_status_context_test_testreconcilereturnsstatuscontexterrorswithoutpersistingstatus", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L725", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L170", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_proxy_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_suite_test", + "target": "devworkspacerouting_suite_test_setupenvvars" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L735", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L66", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_registryconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_registryconfig" + "source": "devworkspacerouting_suite_test", + "target": "devworkspacerouting_suite_test_testapis" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L730", + "source_file": "controllers/controller/devworkspacerouting/suite_test.go", + "source_location": "L66", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_registryconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_registryconfig" + "source": "devworkspacerouting_suite_test_testapis", + "target": "controllers_controller_devworkspacerouting_suite_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L740", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L93", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_registryconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_sync_ingresses", + "target": "devworkspacerouting_sync_ingresses_getingressestodelete" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L762", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L103", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_restoreconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_restoreconfig" + "source": "devworkspacerouting_sync_ingresses", + "target": "devworkspacerouting_sync_ingresses_listcontainsingressbyname" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L745", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L76", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_restoreconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_restoreconfig" + "source": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L750", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_restoreconfig_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L767", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_restoreconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L787", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L32", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_routingconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_routingconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L772", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_routingconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_routingconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L777", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L40", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_routingconfig_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "target": "devworkspacerouting_sync_ingresses_getingressestodelete" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L792", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L70", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_routingconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L812", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L58", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "v1alpha1_serviceaccountconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccountconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L797", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L76", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_serviceaccountconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccountconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", + "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L817", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L76", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_serviceaccountconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", + "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L827", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L93", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_serviceaccounttoken_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccounttoken" + "source": "devworkspacerouting_sync_ingresses_getingressestodelete", + "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L822", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L103", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_serviceaccounttoken_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_serviceaccounttoken" + "source": "devworkspacerouting_sync_ingresses_listcontainsingressbyname", + "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L832", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L78", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_serviceaccounttoken_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", + "target": "handler_webhookhandler_parse" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L852", + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L96", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_storagesizes_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_storagesizes" + "source": "devworkspacerouting_sync_ingresses_getingressestodelete", + "target": "devworkspacerouting_sync_ingresses_listcontainsingressbyname" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", + "source_location": "L97", + "weight": 1.0, + "source": "devworkspacerouting_sync_ingresses_getingressestodelete", + "target": "map_map_append" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L837", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L103", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_storagesizes_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_storagesizes" + "source": "devworkspacerouting_sync_routes", + "target": "devworkspacerouting_sync_routes_getroutestodelete" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L841", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L113", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_storagesizes_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopy" + "source": "devworkspacerouting_sync_routes", + "target": "devworkspacerouting_sync_routes_listcontainsroutebyname" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L857", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_storagesizes_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L886", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L31", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_webhookconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_webhookconfig" + "source": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L862", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L31", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "v1alpha1_webhookconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_webhookconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "target": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L875", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L31", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_webhookconfig_deepcopyinto", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L891", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L34", "weight": 1.0, "confidence_score": 1.0, - "source": "v1alpha1_webhookconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L1015", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L39", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "v1alpha1_workspaceconfig_deepcopy", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_workspaceconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "target": "devworkspacerouting_sync_routes_getroutestodelete" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L896", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L69", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "v1alpha1_workspaceconfig_deepcopyinto", - "target": "apis_controller_v1alpha1_zz_generated_deepcopy_go_v1alpha1_workspaceconfig" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "apis/controller/v1alpha1/zz_generated.deepcopy.go", - "source_location": "L1020", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L57", "weight": 1.0, - "confidence_score": 1.0, - "source": "v1alpha1_workspaceconfig_deepcopy", - "target": "v1alpha1_workspaceconfig_deepcopyinto" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L504", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L75", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller", - "target": "backupcronjob_backupcronjob_controller_getimagepullpolicy" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", + "target": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L64", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L75", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller", - "target": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", + "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L53", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L103", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller", - "target": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler" + "source": "devworkspacerouting_sync_routes_getroutestodelete", + "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L113", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_createbackupjob" + "source": "devworkspacerouting_sync_routes_listcontainsroutebyname", + "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L231", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L77", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_executebackupsync" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", + "target": "handler_webhookhandler_parse" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L173", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L97", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_isbackupenabled" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", + "target": "map_map_append" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L106", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_reconcile" + "source": "devworkspacerouting_sync_routes_getroutestodelete", + "target": "devworkspacerouting_sync_routes_listcontainsroutebyname" }, { - "relation": "method", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", + "source_location": "L107", + "weight": 1.0, + "source": "devworkspacerouting_sync_routes_getroutestodelete", + "target": "map_map_append" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L92", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_setupwithmanager" + "source": "devworkspacerouting_sync_services", + "target": "devworkspacerouting_sync_services_getservicestodelete" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L183", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L102", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_startcron" + "source": "devworkspacerouting_sync_services", + "target": "devworkspacerouting_sync_services_listcontainsbyname" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L214", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_stopcron" + "source": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup" + "source": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting_devworkspaceroutingreconciler", + "target": "devworkspacerouting_devworkspaceroutingreconciler_syncservices" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L55", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L32", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "controllers_backupcronjob_backupcronjob_controller_go_client" + "context": "parameter_type", + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "controllers_controller_devworkspacerouting_sync_services_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L59", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L31", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "controllers_backupcronjob_backupcronjob_controller_go_cron" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L56", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L31", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "controllers_controller_devworkspacerouting_sync_services_go_service" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L57", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L34", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_controller_go_backupcronjob_backupcronjobreconciler", - "target": "controllers_backupcronjob_backupcronjob_controller_go_scheme" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L64", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L39", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "devworkspacerouting_sync_services_getservicestodelete" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L344", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L69", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L231", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L62", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_executebackupsync", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "sync_service_syncroutingservicewithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L183", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_startcron", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L214", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L80", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_stopcron", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", + "target": "controllers_controller_devworkspacerouting_sync_services_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L75", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", - "target": "controllers_backupcronjob_backupcronjob_controller_go_logger" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", + "target": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L64", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L75", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate", - "target": "controllers_backupcronjob_backupcronjob_controller_go_updateevent" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", + "target": "controllers_controller_devworkspacerouting_sync_services_go_service" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L88", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L92", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_setupwithmanager", - "target": "backupcronjob_backupcronjob_controller_shouldreconcileonupdate" + "source": "devworkspacerouting_sync_services_getservicestodelete", + "target": "controllers_controller_devworkspacerouting_sync_services_go_service" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L82", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L102", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_setupwithmanager", - "target": "controllers_backupcronjob_backupcronjob_controller_go_manager" + "source": "devworkspacerouting_sync_services_listcontainsbyname", + "target": "controllers_controller_devworkspacerouting_sync_services_go_service" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L105", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L77", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_setupwithmanager", - "target": "infrastructure_namespace_getnamespace" + "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L160", + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L95", "weight": 1.0, "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_reconcile", - "target": "backupcronjob_backupcronjobreconciler_isbackupenabled" + "source": "devworkspacerouting_sync_services_getservicestodelete", + "target": "devworkspacerouting_sync_services_listcontainsbyname" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_services.go", + "source_location": "L96", + "weight": 1.0, + "source": "devworkspacerouting_sync_services_getservicestodelete", + "target": "map_map_append" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L167", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L177", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_reconcile", - "target": "backupcronjob_backupcronjobreconciler_startcron" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_capturingsolvergetter", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L156", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L229", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_reconcile", - "target": "backupcronjob_backupcronjobreconciler_stopcron" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_servicelabelfilteredclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L165", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_reconcile", - "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_servicereaderrorclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L242", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_reconcile", - "target": "controllers_backupcronjob_backupcronjob_controller_go_request" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_staleservicecacheclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L148", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L152", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_reconcile", - "target": "controllers_backupcronjob_backupcronjob_controller_go_result" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_routingtestscheme", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L137", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testreconcilefailswithoutnoncachingclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L231", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L79", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_executebackupsync", - "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testreconcileignoresstaleforeignservicefromcache", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L183", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L43", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_startcron", - "target": "controllers_backupcronjob_backupcronjob_controller_go_context" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testreconcilemarkssynchronizationconflictfailed", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L173", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L117", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_isbackupenabled", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testreconcilereturnsauthoritativeservicereaderror", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L504", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L210", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_getimagepullpolicy", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testsyncservicesdeletesownedservice", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L191", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testsyncservicesdoesnotdeleteforeignservicewithworkspacelabel", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L231", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L255", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_executebackupsync", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_sync_services_test_testsyncservicesguardsaggregateanddiscoverableservices", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L163", + "weight": 1.0, + "source": "devworkspacerouting_sync_services_test", + "target": "devworkspacerouting_testcontextkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L183", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L43", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_startcron", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspaceoperatorconfig" + "source": "devworkspacerouting_sync_services_test_testreconcilemarkssynchronizationconflictfailed", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L199", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L64", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_startcron", - "target": "backupcronjob_backupcronjobreconciler_executebackupsync" + "source": "devworkspacerouting_sync_services_test_testreconcilemarkssynchronizationconflictfailed", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L44", + "weight": 1.0, + "source": "devworkspacerouting_sync_services_test_testreconcilemarkssynchronizationconflictfailed", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L258", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L152", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_executebackupsync", - "target": "backupcronjob_backupcronjobreconciler_createbackupjob" + "context": "parameter_type", + "source": "devworkspacerouting_sync_services_test_routingtestscheme", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L245", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L137", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_executebackupsync", - "target": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup" + "context": "parameter_type", + "source": "devworkspacerouting_sync_services_test_testreconcilefailswithoutnoncachingclient", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L79", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspace" + "source": "devworkspacerouting_sync_services_test_testreconcileignoresstaleforeignservicefromcache", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L282", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L117", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", - "target": "controllers_backupcronjob_backupcronjob_controller_go_time" + "source": "devworkspacerouting_sync_services_test_testreconcilereturnsauthoritativeservicereaderror", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L298", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L210", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_wasstoppedsincelastbackup", - "target": "handler_webhookhandler_parse" + "context": "parameter_type", + "source": "devworkspacerouting_sync_services_test_testsyncservicesdeletesownedservice", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L191", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "controllers_backupcronjob_backupcronjob_controller_go_devworkspace" + "source": "devworkspacerouting_sync_services_test_testsyncservicesdoesnotdeleteforeignservicewithworkspacelabel", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L255", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_sync_services_test_testsyncservicesguardsaggregateanddiscoverableservices", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L420", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L104", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "backupcronjob_backupcronjob_controller_getimagepullpolicy" + "source": "devworkspacerouting_sync_services_test_testreconcileignoresstaleforeignservicefromcache", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L419", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L80", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "images_image_getprojectbackupimage" + "source": "devworkspacerouting_sync_services_test_testreconcileignoresstaleforeignservicefromcache", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L473", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L129", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "map_map_append" + "source": "devworkspacerouting_sync_services_test_testreconcilereturnsauthoritativeservicereaderror", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L462", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L119", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "storage_shared_findnodeforpvc" + "source": "devworkspacerouting_sync_services_test_testreconcilereturnsauthoritativeservicereaderror", + "target": "devworkspacerouting_sync_services_test_routingtestscheme", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L469", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L118", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "storage_shared_nodeaffinityforhostname" + "source": "devworkspacerouting_sync_services_test_testreconcilereturnsauthoritativeservicereaderror", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L360", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L138", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_createbackupjob", - "target": "storage_storage_getworkspacepvcinfo" + "source": "devworkspacerouting_sync_services_test_testreconcilefailswithoutnoncachingclient", + "target": "devworkspacerouting_sync_services_test_routingtestscheme", + "confidence_score": 1.0 }, { "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L152", + "weight": 1.0, "context": "return_type", + "source": "devworkspacerouting_sync_services_test_routingtestscheme", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_scheme", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller.go", - "source_location": "L504", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L258", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_getimagepullpolicy", - "target": "controllers_backupcronjob_backupcronjob_controller_go_pullpolicy" + "source": "devworkspacerouting_sync_services_test_testsyncservicesguardsaggregateanddiscoverableservices", + "target": "devworkspacerouting_sync_services_test_routingtestscheme", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1315", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L166", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_test", - "target": "backupcronjob_backupcronjob_controller_test_createauthsecret" + "source": "devworkspacerouting_servicereaderrorclient", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_client", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1261", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_test", - "target": "backupcronjob_backupcronjob_controller_test_createdevworkspace" + "source": "devworkspacerouting_servicereaderrorclient", + "target": "devworkspacerouting_servicereaderrorclient_get", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L178", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_capturingsolvergetter", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L185", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_capturingsolvergetter_getsolver", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L229", + "weight": 1.0, + "source": "devworkspacerouting_servicelabelfilteredclient", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L243", + "weight": 1.0, + "source": "devworkspacerouting_staleservicecacheclient", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicereaderrorclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicereaderrorclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L170", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicereaderrorclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_objectkey", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L174", + "weight": 1.0, + "source": "devworkspacerouting_servicereaderrorclient_get", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L231", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_servicelabelfilteredclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L247", + "weight": 1.0, + "context": "parameter_type", + "source": "devworkspacerouting_staleservicecacheclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1261", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L231", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_test_createdevworkspace", - "target": "controllers_backupcronjob_backupcronjob_controller_test_go_devworkspace" + "context": "parameter_type", + "source": "devworkspacerouting_servicelabelfilteredclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1261", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L247", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_test_createdevworkspace", - "target": "controllers_backupcronjob_backupcronjob_controller_test_go_time" + "source": "devworkspacerouting_staleservicecacheclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_objectkey", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1309", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L231", "weight": 1.0, - "source": "backupcronjob_backupcronjob_controller_test_createdevworkspace", - "target": "map_map_append" + "context": "parameter_type", + "source": "devworkspacerouting_servicelabelfilteredclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_controller_test.go", - "source_location": "L1315", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L247", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjob_controller_test_createauthsecret", - "target": "controllers_backupcronjob_backupcronjob_controller_test_go_secret" + "context": "parameter_type", + "source": "devworkspacerouting_staleservicecacheclient_get", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_object", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L54", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L185", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler" + "source": "devworkspacerouting_capturingsolvergetter", + "target": "devworkspacerouting_capturingsolvergetter_getsolver", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L36", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L182", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_getbackupjobpredicate" + "source": "devworkspacerouting_capturingsolvergetter", + "target": "devworkspacerouting_capturingsolvergetter_hassolver", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L140", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L181", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_getworkspacefromjob" + "source": "devworkspacerouting_capturingsolvergetter", + "target": "devworkspacerouting_capturingsolvergetter_setupcontrollermanager", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L71", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L181", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus" + "context": "parameter_type", + "source": "devworkspacerouting_capturingsolvergetter_setupcontrollermanager", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_builder", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L182", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_recordbackupfailure" + "context": "parameter_type", + "source": "devworkspacerouting_capturingsolvergetter_hassolver", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_devworkspaceroutingclass", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L97", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L185", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_backupcronjob_backupcronjob_handler_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_recordbackupsuccess" + "context": "parameter_type", + "source": "devworkspacerouting_capturingsolvergetter_getsolver", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_devworkspaceroutingclass", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L36", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L185", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_getbackupjobpredicate", - "target": "controllers_backupcronjob_backupcronjob_handler_go_funcs" + "source": "devworkspacerouting_capturingsolvergetter_getsolver", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_routingsolver", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L61", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L204", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler", - "target": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus" + "source": "devworkspacerouting_sync_services_test_testsyncservicesdoesnotdeleteforeignservicewithworkspacelabel", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L54", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L223", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_getbackupjobeventhandler", - "target": "eventhandler" + "source": "devworkspacerouting_sync_services_test_testsyncservicesdeletesownedservice", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L231", + "weight": 1.0, + "source": "devworkspacerouting_servicelabelfilteredclient", + "target": "devworkspacerouting_servicelabelfilteredclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L81", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L232", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", - "target": "backupcronjob_backupcronjobreconciler_getworkspacefromjob" + "source": "devworkspacerouting_servicelabelfilteredclient_get", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L244", + "weight": 1.0, + "context": "field", + "source": "devworkspacerouting_staleservicecacheclient", + "target": "controllers_controller_devworkspacerouting_sync_services_test_go_service", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L247", + "weight": 1.0, + "source": "devworkspacerouting_staleservicecacheclient", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L90", + "source_file": "controllers/controller/devworkspacerouting/sync_services_test.go", + "source_location": "L274", + "weight": 1.0, + "source": "devworkspacerouting_sync_services_test_testsyncservicesguardsaggregateanddiscoverableservices", + "target": "devworkspacerouting_staleservicecacheclient_get", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", - "target": "backupcronjob_backupcronjobreconciler_recordbackupfailure" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_createdwr" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L88", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L167", "weight": 1.0, "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", - "target": "backupcronjob_backupcronjobreconciler_recordbackupsuccess" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_deletedevworkspacerouting" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L71", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L157", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", - "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_deleteingress" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L71", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L196", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_handlebackupjobstatus", - "target": "controllers_backupcronjob_backupcronjob_handler_go_job" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_deleteobject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L140", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L147", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", - "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_deleteroute" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L137", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_recordbackupfailure", - "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_deleteservice" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L97", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L185", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", - "target": "controllers_backupcronjob_backupcronjob_handler_go_context" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_devworkspaceroutingownerref" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L140", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L112", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", - "target": "controllers_backupcronjob_backupcronjob_handler_go_job" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_getexistingdevworkspacerouting" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L97", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L125", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", - "target": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_getreadydevworkspacerouting" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L97", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L204", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_recordbackupsuccess", - "target": "jobcondition" + "source": "devworkspacerouting_util_test", + "target": "devworkspacerouting_util_test_namespacedname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L140", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L60", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_getworkspacefromjob", - "target": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + "source": "devworkspacerouting_util_test_createdwr", + "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L185", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_recordbackupfailure", - "target": "controllers_backupcronjob_backupcronjob_handler_go_devworkspace" + "source": "devworkspacerouting_util_test_devworkspaceroutingownerref", + "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/backupcronjob_handler.go", - "source_location": "L115", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L112", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_recordbackupfailure", - "target": "jobcondition" + "source": "devworkspacerouting_util_test_getexistingdevworkspacerouting", + "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L125", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding" + "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", + "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L128", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L115", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup" + "source": "devworkspacerouting_util_test_getexistingdevworkspacerouting", + "target": "devworkspacerouting_util_test_namespacedname" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L126", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_backupcronjob_rbac_go_backupcronjob_backupcronjobreconciler", - "target": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac" + "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", + "target": "devworkspacerouting_util_test_getexistingdevworkspacerouting" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L68", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L127", "weight": 1.0, "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", - "target": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding" + "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", + "target": "devworkspacerouting_util_test_namespacedname" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L72", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L133", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", - "target": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup" + "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", + "target": "map_map_equal" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L144", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", - "target": "controllers_backupcronjob_rbac_go_context" + "source": "devworkspacerouting_util_test_deleteservice", + "target": "devworkspacerouting_util_test_deleteobject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L39", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L139", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", - "target": "controllers_backupcronjob_rbac_go_devworkspace" + "source": "devworkspacerouting_util_test_deleteservice", + "target": "devworkspacerouting_util_test_namespacedname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L66", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L149", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", - "target": "infrastructure_cluster_isopenshift" + "source": "devworkspacerouting_util_test_deleteroute", + "target": "common_naming_routename" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L59", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L154", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensurejobrunnerrbac", - "target": "sync_sync_syncobjectwithcluster" + "confidence_score": 1.0, + "source": "devworkspacerouting_util_test_deleteroute", + "target": "devworkspacerouting_util_test_deleteobject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L128", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L149", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", - "target": "controllers_backupcronjob_rbac_go_context" + "source": "devworkspacerouting_util_test_deleteroute", + "target": "devworkspacerouting_util_test_namespacedname" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L159", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", - "target": "controllers_backupcronjob_rbac_go_devworkspace" + "source": "devworkspacerouting_util_test_deleteingress", + "target": "common_naming_routename" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L128", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L164", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", - "target": "controllers_backupcronjob_rbac_go_devworkspace" + "source": "devworkspacerouting_util_test_deleteingress", + "target": "devworkspacerouting_util_test_deleteobject" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L102", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L159", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", - "target": "common_naming_registryimagebuilderrolename" + "confidence_score": 1.0, + "source": "devworkspacerouting_util_test_deleteingress", + "target": "devworkspacerouting_util_test_namespacedname" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L83", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L168", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", - "target": "controllers_backupcronjob_rbac_go_clusterapi" + "source": "devworkspacerouting_util_test_deletedevworkspacerouting", + "target": "devworkspacerouting_util_test_namespacedname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L116", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L185", "weight": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagepushrolebinding", - "target": "sync_sync_syncobjectwithcluster" + "context": "return_type", + "confidence_score": 1.0, + "source": "devworkspacerouting_util_test_devworkspaceroutingownerref", + "target": "controllers_controller_devworkspacerouting_util_test_go_ownerreference" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac.go", - "source_location": "L128", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L196", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "backupcronjob_backupcronjobreconciler_ensureimagestreamforbackup", - "target": "controllers_backupcronjob_rbac_go_clusterapi" + "source": "devworkspacerouting_util_test_deleteobject", + "target": "controllers_controller_devworkspacerouting_util_test_go_object" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac_test.go", - "source_location": "L42", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L199", "weight": 1.0, "confidence_score": 1.0, - "source": "backupcronjob_rbac_test", - "target": "backupcronjob_rbac_test_createtestdevworkspace" + "source": "devworkspacerouting_util_test_deleteobject", + "target": "devworkspacerouting_util_test_namespacedname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/rbac_test.go", - "source_location": "L42", + "source_file": "controllers/controller/devworkspacerouting/util_test.go", + "source_location": "L204", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "backupcronjob_rbac_test_createtestdevworkspace", - "target": "controllers_backupcronjob_rbac_test_go_devworkspace" + "source": "devworkspacerouting_util_test_namespacedname", + "target": "controllers_controller_devworkspacerouting_util_test_go_namespacedname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/suite_test.go", - "source_location": "L25", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L86", "weight": 1.0, - "confidence_score": 1.0, - "source": "backupcronjob_suite_test", - "target": "backupcronjob_suite_test_testbackupcronjob" + "source": "devworkspacerouting_workspace_name_test", + "target": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/backupcronjob/suite_test.go", - "source_location": "L25", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "backupcronjob_suite_test_testbackupcronjob", - "target": "controllers_backupcronjob_suite_test_go_t" + "source": "devworkspacerouting_workspace_name_test", + "target": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L172", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller", - "target": "cleanupcronjob_cleanupcronjob_controller_canprune" + "source": "devworkspacerouting_workspace_name_test", + "target": "devworkspacerouting_workspace_name_test_testworkspacenamerequiresdevworkspacecontrollerowner", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L327", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L220", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller", - "target": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + "source": "devworkspacerouting_workspace_name_test", + "target": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L72", + "weight": 1.0, + "source": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "target": "common_naming_endpointname" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L56", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L41", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller", - "target": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate" + "context": "parameter_type", + "source": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "target": "controllers_controller_devworkspacerouting_workspace_name_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L48", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L49", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller", - "target": "cleanupcronjob_cleanupcronjobreconciler" + "source": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "target": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "confidence_score": 1.0 }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L313", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L42", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy" + "source": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L258", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L80", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces" + "source": "devworkspacerouting_workspace_name_test_testreconcileusesdevworkspaceownername", + "target": "map_map_equal" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L301", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L86", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy" + "context": "parameter_type", + "source": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "target": "controllers_controller_devworkspacerouting_workspace_name_test_go_t", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L158", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L172", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_reconcile" + "context": "parameter_type", + "source": "devworkspacerouting_workspace_name_test_testworkspacenamerequiresdevworkspacecontrollerowner", + "target": "controllers_controller_devworkspacerouting_workspace_name_test_go_t", + "confidence_score": 1.0 }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L110", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L114", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager" + "source": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "target": "common_naming_endpointname" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L205", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L105", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_startcron" + "source": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "target": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "confidence_score": 1.0 }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L242", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L98", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "cleanupcronjob_cleanupcronjobreconciler_stopcron" + "source": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "embeds", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L49", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L162", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_client" + "source": "devworkspacerouting_workspace_name_test_testreconcilerepairsowneddiscoverableservicewithstaleworkspaceid", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L53", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L214", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_cron" + "source": "devworkspacerouting_workspace_name_test_testworkspacenamerequiresdevworkspacecontrollerowner", + "target": "map_map_equal" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L50", + "source_file": "controllers/controller/devworkspacerouting/workspace_name_test.go", + "source_location": "L220", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "context": "return_type", + "source": "devworkspacerouting_workspace_name_test_workspacenametestrouting", + "target": "controllers_controller_devworkspacerouting_workspace_name_test_go_devworkspacerouting", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L51", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_scheme" + "source": "controllers_workspace_cleanup_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_deleteworkspaceownedobjects" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_canprune", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", + "target": "controllers_workspace_cleanup_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L327", + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", + "target": "controllers_workspace_cleanup_go_devworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/cleanup.go", + "source_location": "L31", + "weight": 1.0, + "source": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", + "target": "handler_webhookhandler_parse" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L56", + "source_file": "controllers/workspace/condition.go", + "source_location": "L137", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_condition", + "target": "workspace_condition_capitalizemessage" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L313", + "source_file": "controllers/workspace/condition.go", + "source_location": "L127", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_condition", + "target": "workspace_condition_getconditionindexinorder" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L258", + "source_file": "controllers/workspace/condition.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_condition", + "target": "workspace_condition_workspaceconditionsfromclusterobject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L301", + "source_file": "controllers/workspace/condition.go", + "source_location": "L40", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_condition", + "target": "workspace_workspaceconditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L205", + "source_file": "controllers/workspace/condition.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_condition_workspaceconditionsfromclusterobject", + "target": "workspace_workspaceconditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L242", + "source_file": "controllers/workspace/condition.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_stopcron", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_logger" + "source": "workspace_workspaceconditions", + "target": "controllers_workspace_condition_go_devworkspacecondition" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L56", + "source_file": "controllers/workspace/condition.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_updateevent" + "source": "workspace_workspaceconditions", + "target": "controllers_workspace_condition_go_devworkspaceconditiontype" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L116", + "source_file": "controllers/workspace/condition.go", + "source_location": "L94", "weight": 1.0, "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", - "target": "cleanupcronjob_cleanupcronjob_controller_shouldreconcileonupdate" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_addwarning" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L110", + "source_file": "controllers/workspace/condition.go", + "source_location": "L98", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_manager" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_addwarningwithreason" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L133", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/condition.go", + "source_location": "L108", "weight": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_setupwithmanager", - "target": "infrastructure_namespace_getnamespace" + "confidence_score": 1.0, + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_getfirstfalse" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L200", + "source_file": "controllers/workspace/condition.go", + "source_location": "L117", "weight": 1.0, "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", - "target": "cleanupcronjob_cleanupcronjobreconciler_startcron" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_getlasttrue" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L166", + "source_file": "controllers/workspace/condition.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", - "target": "cleanupcronjob_cleanupcronjobreconciler_stopcron" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_setcondition" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L158", + "source_file": "controllers/workspace/condition.go", + "source_location": "L83", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_setconditionfalse" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L158", + "source_file": "controllers/workspace/condition.go", + "source_location": "L59", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_request" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_setconditiontrue" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L158", + "source_file": "controllers/workspace/condition.go", + "source_location": "L63", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_reconcile", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_result" + "source": "workspace_workspaceconditions", + "target": "workspace_workspaceconditions_setconditiontruewithreason" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L258", + "source_file": "controllers/workspace/condition.go", + "source_location": "L127", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + "source": "workspace_condition_getconditionindexinorder", + "target": "controllers_workspace_condition_go_devworkspaceconditiontype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L205", + "source_file": "controllers/workspace/condition.go", + "source_location": "L75", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_context" + "source": "workspace_workspaceconditions_setcondition", + "target": "controllers_workspace_condition_go_devworkspaceconditiontype" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L229", + "source_file": "controllers/workspace/condition.go", + "source_location": "L83", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", - "target": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces" + "source": "workspace_workspaceconditions_setconditionfalse", + "target": "controllers_workspace_condition_go_devworkspaceconditiontype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L205", + "source_file": "controllers/workspace/condition.go", + "source_location": "L59", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", - "target": "cleanupcronjobconfig" + "source": "workspace_workspaceconditions_setconditiontrue", + "target": "controllers_workspace_condition_go_devworkspaceconditiontype" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L221", + "source_file": "controllers/workspace/condition.go", + "source_location": "L63", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_startcron", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "source": "workspace_workspaceconditions_setconditiontruewithreason", + "target": "controllers_workspace_condition_go_devworkspaceconditiontype" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L264", + "source_file": "controllers/workspace/condition.go", + "source_location": "L45", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", - "target": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy" + "source": "workspace_condition_workspaceconditionsfromclusterobject", + "target": "controllers_workspace_condition_go_devworkspacecondition" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L266", + "source_file": "controllers/workspace/condition.go", + "source_location": "L108", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", - "target": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy" + "source": "workspace_workspaceconditions_getfirstfalse", + "target": "controllers_workspace_condition_go_devworkspacecondition" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L258", + "source_file": "controllers/workspace/condition.go", + "source_location": "L117", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunedevworkspaces", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "source": "workspace_workspaceconditions_getlasttrue", + "target": "controllers_workspace_condition_go_devworkspacecondition" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/workspace/condition.go", + "source_location": "L75", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_canprune", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "source": "workspace_workspaceconditions_setcondition", + "target": "controllers_workspace_condition_go_devworkspacecondition" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L327", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/condition.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "source": "workspace_condition_workspaceconditionsfromclusterobject", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L313", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/status.go", + "source_location": "L342", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "source": "workspace_status_fmtstarttimeoutmessage", + "target": "workspace_condition_workspaceconditionsfromclusterobject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L301", + "source_file": "controllers/workspace/condition.go", + "source_location": "L60", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_duration" + "source": "workspace_workspaceconditions_setconditiontrue", + "target": "workspace_workspaceconditions_setconditiontruewithreason" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L305", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L715", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", - "target": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "workspace_workspaceconditions_setconditiontruewithreason" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L301", + "source_file": "controllers/workspace/condition.go", + "source_location": "L70", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_prunestrategy", - "target": "strategyfunc" + "source": "workspace_workspaceconditions_setconditiontruewithreason", + "target": "workspace_condition_capitalizemessage" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L313", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L631", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", - "target": "strategyfunc" + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "workspace_workspaceconditions_setcondition" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L317", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L644", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjobreconciler_dryrunprunestrategy", - "target": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime" + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "workspace_workspaceconditions_setconditionfalse" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L336", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L733", "weight": 1.0, - "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", - "target": "cleanupcronjob_cleanupcronjob_controller_canprune" + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "workspace_workspaceconditions_addwarning" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L327", + "source_file": "controllers/workspace/condition.go", + "source_location": "L95", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_object" + "source": "workspace_workspaceconditions_addwarning", + "target": "workspace_workspaceconditions_addwarningwithreason" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L337", + "source_file": "controllers/workspace/condition.go", + "source_location": "L99", "weight": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_filterbyinactivitytime", + "source": "workspace_workspaceconditions_addwarningwithreason", "target": "map_map_append" }, { @@ -35031,3605 +49301,3696 @@ "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L352", + "source_file": "controllers/workspace/status.go", + "source_location": "L180", "weight": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_canprune", - "target": "conditions_conditions_getconditionbytype" + "source": "workspace_status_syncconditions", + "target": "workspace_condition_getconditionindexinorder" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller.go", - "source_location": "L344", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L80", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_canprune", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_go_devworkspace" + "source": "workspace_devworkspace_controller", + "target": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", - "source_location": "L465", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L82", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_test", - "target": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "controllers_workspace_devworkspace_controller_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", - "source_location": "L465", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L83", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_devworkspace" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "controllers_workspace_devworkspace_controller_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", - "source_location": "L465", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L84", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", - "target": "controllers_cleanupcronjob_cleanupcronjob_controller_test_go_time" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "controllers_workspace_devworkspace_controller_go_scheme" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/cleanupcronjob/cleanupcronjob_controller_test.go", - "source_location": "L490", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", "weight": 1.0, - "source": "cleanupcronjob_cleanupcronjob_controller_test_createdevworkspace", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_checkdwerror" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/suite_test.go", - "source_location": "L23", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L656", "weight": 1.0, "confidence_score": 1.0, - "source": "cleanupcronjob_suite_test", - "target": "cleanupcronjob_suite_test_testapis" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_dostop" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/cleanupcronjob/suite_test.go", - "source_location": "L23", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "cleanupcronjob_suite_test_testapis", - "target": "controllers_cleanupcronjob_suite_test_go_t" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_failworkspace" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L60", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L782", "weight": 1.0, "confidence_score": 1.0, - "source": "conversion_conversion", - "target": "conversion_conversion_convertalldevfileendpoints" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_getworkspaceid" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L37", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "weight": 1.0, "confidence_score": 1.0, - "source": "conversion_conversion", - "target": "conversion_conversion_convertdevfileendpoint" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_reconcile" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L21", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L761", "weight": 1.0, "confidence_score": 1.0, - "source": "conversion_conversion", - "target": "conversion_conversion_convertsecure" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_removestartedatfromcluster" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L53", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L806", "weight": 1.0, "confidence_score": 1.0, - "source": "conversion_conversion_convertdevfileendpoint", - "target": "conversion_conversion_convertsecure" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_setupwithmanager" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L64", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", "weight": 1.0, "confidence_score": 1.0, - "source": "conversion_conversion_convertalldevfileendpoints", - "target": "conversion_conversion_convertdevfileendpoint" + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_stopworkspace" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L740", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_syncstartedattocluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L37", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "conversion_conversion_convertdevfileendpoint", - "target": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpoint" + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "controllers_workspace_devworkspace_controller_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L60", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L656", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "conversion_conversion_convertalldevfileendpoints", - "target": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpoint" + "source": "workspace_devworkspacereconciler_dostop", + "target": "controllers_workspace_devworkspace_controller_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L60", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "conversion_conversion_convertalldevfileendpoints", - "target": "controllers_controller_devworkspacerouting_conversion_conversion_go_endpointlist" + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "controllers_workspace_devworkspace_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L761", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_removestartedatfromcluster", + "target": "controllers_workspace_devworkspace_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "controllers_workspace_devworkspace_controller_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L740", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_syncstartedattocluster", + "target": "controllers_workspace_devworkspace_controller_go_logger" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/conversion/conversion.go", - "source_location": "L64", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L530", "weight": 1.0, - "source": "conversion_conversion_convertalldevfileendpoints", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "annotate_urls_addurlattributestoendpoints" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L86", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L484", "weight": 1.0, - "source": "workspace_routing_getspecrouting", - "target": "conversion_conversion_convertalldevfileendpoints" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L55", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L145", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspacerouting_controller", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "config_sync_getcurrentconfigstring" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L319", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L143", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspacerouting_controller", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "config_sync_getglobalconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L328", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L140", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspacerouting_controller", - "target": "devworkspacerouting_devworkspacerouting_controller_remove" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "config_sync_resolveconfigforworkspace" }, { - "relation": "embeds", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L56", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L347", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_client" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "container_container_getkubecontainersfromdevfile" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L57", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_logger" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "controllers_workspace_devworkspace_controller_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L60", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingsolvergetter" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "controllers_workspace_devworkspace_controller_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L58", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L115", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_scheme" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "controllers_workspace_devworkspace_controller_go_result" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L262", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L284", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_finalize" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "defaults_helper_applydefaulttemplate" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L281", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L283", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "defaults_helper_needsdefaulttemplate" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L292", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_reconcile" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "flatten_flatten_formatvariableswarning" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L323", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "home_persistenthome_addpersistenthomevolume" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L451", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "home_persistenthome_ensurehomeinitcontainerfields" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L311", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L322", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "home_persistenthome_needspersistenthomedirectory" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L337", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L429", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "home_persistenthome_persistuserhomeenabled" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L443", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_logger" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "initcontainers_merge_mergeinitcontainers" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L590", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_context" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L589", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_request" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "kubernetes_util_haskubelikecomponent" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L384", + "weight": 1.0, + "source": "workspace_devworkspacereconciler_reconcile", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L73", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L533", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_result" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "metadata_metadata_provisionworkspacemetadata" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L109", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L245", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "devworkspacerouting_devworkspaceroutingreconciler_finalize" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "metrics_deployment_provisioning_determineprovisioningfailurereason" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L94", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L224", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "metrics_update_workspacestarted" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L144", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L175", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "networkpolicy_networkpolicy_syncnetworkpolicy" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L124", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L411", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "projects_clone_getprojectcloneinitcontainer" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L113", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L367", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "projects_clone_validateallprojects" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L205", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L504", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "infrastructure_cluster_isopenshift" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "rbac_common_syncrbac" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L164", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L381", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcile", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "restore_restore_getworkspacerestoreinitcontainer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L370", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "restore_restore_isworkspacerestorerequested" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L246", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L354", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "restrictions_restrictions_getrestrictedcontainerfields" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L251", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L300", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "ssh_event_addsshagentpoststartevent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L245", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L297", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setfinalizer", - "target": "routingsolver" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "ssh_event_needssshpoststartevent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L262", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L242", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", - "target": "routingsolver" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "status_check_checkforignoredworkspacepodevents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L262", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L317", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "storage_provisioner_getprovisioner" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L281", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L599", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_markroutingfailed", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_deployment_syncdeploymenttocluster" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L176", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_devworkspacereconciler_checkdwerror" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L311", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L245", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setstatusstopped", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_devworkspacereconciler_failworkspace" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L263", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L162", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_devworkspacereconciler_getworkspaceid" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L272", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L204", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_finalize", - "target": "devworkspacerouting_devworkspacerouting_controller_remove" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_devworkspacereconciler_removestartedatfromcluster" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L205", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_exposedendpointlist" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_devworkspacereconciler_stopworkspace" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L287", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L254", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_routingobjects" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_devworkspacereconciler_syncstartedattocluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L300", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L510", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_reconcilestatus", - "target": "map_map_equal" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_routing_syncroutingtocluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L343", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L568", "weight": 1.0, - "source": "automount_common_checkautomountvolumeforpotentialerror", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_serviceaccount_syncserviceaccount" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L507", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L469", "weight": 1.0, - "source": "automount_common_matchesanypattern", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_ssh_provisionsshaskpass" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L970", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L185", "weight": 1.0, - "source": "automount_gitconfig_test_assertgitconfigcontains", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_status_checkforfailingtimeout" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1000", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L240", "weight": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialsconfigmap", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_status_checkforstarttimeout" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1016", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L608", "weight": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_status_checkserverstatus" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L140", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L521", "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_reconcile", + "target": "workspace_status_syncworkspacemainurl" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L165", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L656", "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_dostop", + "target": "controllers_workspace_devworkspace_controller_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L35", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L782", "weight": 1.0, - "source": "client_k8sclient_ocapplyworkspace", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_getworkspaceid", + "target": "controllers_workspace_devworkspace_controller_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L69", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L761", "weight": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_removestartedatfromcluster", + "target": "controllers_workspace_devworkspace_controller_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L164", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", "weight": 1.0, - "source": "kubernetes_provision_restrictk8scomponent", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "controllers_workspace_devworkspace_controller_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L140", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L740", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_syncstartedattocluster", + "target": "controllers_workspace_devworkspace_controller_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L494", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "controllers_workspace_devworkspace_controller_go_result" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "controllers_workspace_devworkspace_controller_go_result" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "controllers_workspace_devworkspace_controller_go_result" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L663", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L629", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "conditions_conditions_getconditionbytype" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L625", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L215", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L635", "weight": 1.0, - "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_stopworkspace", + "target": "workspace_devworkspacereconciler_dostop" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L656", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_dostop", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L782", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_getworkspaceid", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L761", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_removestartedatfromcluster", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L291", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L740", "weight": 1.0, - "source": "lifecycle_poststart_test_testbuilduserscript", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_syncstartedattocluster", + "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/metrics/deployment_provisioning.go", - "source_location": "L40", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L687", "weight": 1.0, - "source": "metrics_deployment_provisioning_determineprovisioningfailurereason", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_dostop", + "target": "common_naming_deploymentname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L34", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L666", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "source": "workspace_devworkspacereconciler_dostop", + "target": "common_naming_devworkspaceroutingname" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L86", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L731", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "workspace_devworkspacereconciler_failworkspace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L113", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "controllers_workspace_devworkspace_controller_go_currentstatus" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L103", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L712", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationempty", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_failworkspace", + "target": "controllers_workspace_devworkspace_controller_go_failurereason" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L84", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "controllers_workspace_devworkspace_controller_go_failurereason" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/status/check.go", - "source_location": "L159", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L722", "weight": 1.0, - "source": "status_check_checkpodevents", - "target": "devworkspacerouting_devworkspacerouting_controller_contains" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_checkdwerror", + "target": "controllers_workspace_devworkspace_controller_go_currentstatus" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L331", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L798", "weight": 1.0, - "source": "devworkspacerouting_devworkspacerouting_controller_remove", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_getworkspaceid", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L220", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L807", "weight": 1.0, - "source": "zip_setup_droptoplevelfolder", - "target": "devworkspacerouting_devworkspacerouting_controller_remove" + "source": "workspace_devworkspacereconciler_setupwithmanager", + "target": "config_env_getmaxconcurrentreconciles" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L338", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L816", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", - "target": "config_env_getmaxconcurrentreconciles" + "source": "workspace_devworkspacereconciler_setupwithmanager", + "target": "config_predicates_predicates" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L337", + "source_file": "controllers/workspace/devworkspace_controller.go", + "source_location": "L806", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", - "target": "controllers_controller_devworkspacerouting_devworkspacerouting_controller_go_manager" + "source": "workspace_devworkspacereconciler_setupwithmanager", + "target": "controllers_workspace_devworkspace_controller_go_manager" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L362", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller_test.go", + "source_location": "L46", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", - "target": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc" + "confidence_score": 1.0, + "source": "workspace_devworkspace_controller_test", + "target": "workspace_devworkspace_controller_test_loadobjectfromfile" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/devworkspace_controller_test.go", + "source_location": "L46", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspace_controller_test_loadobjectfromfile", + "target": "controllers_workspace_devworkspace_controller_test_go_object" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/devworkspacerouting_controller.go", - "source_location": "L351", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L48", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_setupwithmanager", - "target": "infrastructure_cluster_isopenshift" + "source": "workspace_util_test_createdevworkspace", + "target": "workspace_devworkspace_controller_test_loadobjectfromfile" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L26", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_predicates", - "target": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc" + "source": "workspace_eventhandlers", + "target": "workspace_eventhandlers_dwrelatedpodshandler" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L26", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc", - "target": "controllers_controller_devworkspacerouting_predicates_go_funcs" + "source": "workspace_eventhandlers_dwrelatedpodshandler", + "target": "controllers_workspace_eventhandlers_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/predicates.go", - "source_location": "L26", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_predicates_getroutingpredicatesforsolverfunc", - "target": "controllers_controller_devworkspacerouting_predicates_go_routingsolvergetter" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L50", - "weight": 1.0, - "confidence_score": 1.0, - "source": "solvers_basic_solver", - "target": "solvers_basicsolver" + "source": "workspace_eventhandlers_dwrelatedpodshandler", + "target": "controllers_workspace_eventhandlers_go_object" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L58", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L30", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_basicsolver", - "target": "solvers_basicsolver_finalize" + "source": "workspace_eventhandlers_dwrelatedpodshandler", + "target": "controllers_workspace_eventhandlers_go_request" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L54", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L51", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver", - "target": "solvers_basicsolver_finalizerrequired" + "source": "workspace_devworkspacereconciler_dwpvchandler", + "target": "controllers_workspace_eventhandlers_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L122", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver", - "target": "solvers_basicsolver_getexposedendpoints" + "source": "workspace_devworkspacereconciler_runningworkspaceshandler", + "target": "controllers_workspace_eventhandlers_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L51", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver", - "target": "solvers_basicsolver_getspecobjects" + "source": "workspace_devworkspacereconciler_dwpvchandler", + "target": "controllers_workspace_eventhandlers_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L54", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L122", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_finalizerrequired", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_runningworkspaceshandler", + "target": "controllers_workspace_eventhandlers_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L58", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_finalize", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_dwpvchandler", + "target": "controllers_workspace_eventhandlers_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L122", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacerouting" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L66", - "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "config_sync_getglobalconfig" + "source": "workspace_devworkspacereconciler_runningworkspaceshandler", + "target": "controllers_workspace_eventhandlers_go_request" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_devworkspacemetadata" + "source": "controllers_workspace_eventhandlers_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_dwpvchandler" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L62", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L122", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_routingobjects" + "source": "controllers_workspace_eventhandlers_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_runningworkspaceshandler" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L75", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L79", "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "infrastructure_cluster_isopenshift" + "source": "workspace_devworkspacereconciler_dwpvchandler", + "target": "config_sync_getglobalconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L73", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L102", "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_dwpvchandler", + "target": "config_sync_resolveconfigforworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L73", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L110", "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "solvers_common_getdiscoverableservicesforendpoints" + "source": "workspace_devworkspacereconciler_dwpvchandler", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L78", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L136", "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "solvers_common_getingressesforspec" + "source": "workspace_devworkspacereconciler_runningworkspaceshandler", + "target": "automount_common_matchesworkspacetarget" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L76", + "source_file": "controllers/workspace/eventhandlers.go", + "source_location": "L140", "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "solvers_common_getroutesforspec" + "source": "workspace_devworkspacereconciler_runningworkspaceshandler", + "target": "map_map_append" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L72", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", "weight": 1.0, - "source": "solvers_basicsolver_getspecobjects", - "target": "solvers_common_getservicesforendpoints" + "confidence_score": 1.0, + "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_finalize" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_finalizerbac" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_finalizeserviceaccount" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_finalizestorage" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L193", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_namespaceisterminating" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L40", + "weight": 1.0, + "confidence_score": 1.0, + "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_workspaceneedsfinalize" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L40", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_routingobjects" + "source": "workspace_devworkspacereconciler_workspaceneedsfinalize", + "target": "controllers_workspace_finalize_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_endpointlist" + "source": "workspace_devworkspacereconciler_finalize", + "target": "controllers_workspace_finalize_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/basic_solver.go", - "source_location": "L84", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_basicsolver_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_basic_solver_go_exposedendpointlist" + "source": "workspace_devworkspacereconciler_finalizerbac", + "target": "controllers_workspace_finalize_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L122", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_cluster_solver", - "target": "solvers_cluster_solver_gethostnamefromservice" + "source": "workspace_devworkspacereconciler_finalizeserviceaccount", + "target": "controllers_workspace_finalize_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L108", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "controllers_workspace_finalize_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_finalize", + "target": "controllers_workspace_finalize_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_finalize", + "target": "controllers_workspace_finalize_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L52", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_finalize", + "target": "controllers_workspace_finalize_go_result" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L76", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_cluster_solver", - "target": "solvers_cluster_solver_resolveservicehostnameforendpoint" + "source": "workspace_devworkspacereconciler_finalize", + "target": "workspace_devworkspacereconciler_finalizerbac" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L33", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L74", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_cluster_solver", - "target": "solvers_clustersolver" + "source": "workspace_devworkspacereconciler_finalize", + "target": "workspace_devworkspacereconciler_finalizeserviceaccount" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L43", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L72", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_clustersolver", - "target": "solvers_clustersolver_finalize" + "source": "workspace_devworkspacereconciler_finalize", + "target": "workspace_devworkspacereconciler_finalizestorage" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L39", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver", - "target": "solvers_clustersolver_finalizerrequired" + "source": "workspace_devworkspacereconciler_finalizerbac", + "target": "controllers_workspace_finalize_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver", - "target": "solvers_clustersolver_getexposedendpoints" + "source": "workspace_devworkspacereconciler_finalizeserviceaccount", + "target": "controllers_workspace_finalize_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver", - "target": "solvers_clustersolver_getspecobjects" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "controllers_workspace_finalize_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L39", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L193", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_finalizerrequired", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_namespaceisterminating", + "target": "controllers_workspace_finalize_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L43", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_finalize", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" + "source": "workspace_devworkspacereconciler_finalizerbac", + "target": "controllers_workspace_finalize_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_getspecobjects", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacerouting" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L59", - "weight": 1.0, - "source": "solvers_clustersolver_getspecobjects", - "target": "common_naming_servingcertvolumename" + "source": "workspace_devworkspacereconciler_finalizeserviceaccount", + "target": "controllers_workspace_finalize_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_getspecobjects", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_devworkspacemetadata" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "controllers_workspace_finalize_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L47", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_getspecobjects", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_routingobjects" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L58", - "weight": 1.0, - "source": "solvers_clustersolver_getspecobjects", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_finalizerbac", + "target": "controllers_workspace_finalize_go_result" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L49", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", "weight": 1.0, - "source": "solvers_clustersolver_getspecobjects", - "target": "solvers_common_getservicesforendpoints" + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_devworkspacereconciler_finalizeserviceaccount", + "target": "controllers_workspace_finalize_go_result" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_routingobjects" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "controllers_workspace_finalize_go_result" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L82", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_clustersolver_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpointlist" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "controllers_workspace_finalize_go_currentstatus" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L81", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/finalize.go", + "source_location": "L102", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "solvers_clustersolver_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_exposedendpointlist" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "storage_provisioner_getprovisioner" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L97", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L84", "weight": 1.0, - "source": "solvers_clustersolver_getexposedendpoints", - "target": "map_map_append" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "workspace_deployment_deleteworkspacedeployment" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", + "source_file": "controllers/workspace/finalize.go", "source_location": "L92", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_clustersolver_getexposedendpoints", - "target": "solvers_cluster_solver_resolveservicehostnameforendpoint" + "source": "workspace_devworkspacereconciler_finalizestorage", + "target": "workspace_devworkspacereconciler_namespaceisterminating" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L108", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L137", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_cluster_solver_resolveservicehostnameforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_endpoint" + "source": "workspace_devworkspacereconciler_finalizerbac", + "target": "controllers_workspace_finalize_go_currentstatus" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L108", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L177", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_cluster_solver_resolveservicehostnameforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_service" + "source": "workspace_devworkspacereconciler_finalizeserviceaccount", + "target": "controllers_workspace_finalize_go_currentstatus" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L115", - "weight": 1.0, - "confidence_score": 1.0, - "source": "solvers_cluster_solver_resolveservicehostnameforendpoint", - "target": "solvers_cluster_solver_gethostnamefromservice" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/cluster_solver.go", - "source_location": "L122", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "solvers_cluster_solver_gethostnamefromservice", - "target": "controllers_controller_devworkspacerouting_solvers_cluster_solver_go_service" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/workspace/finalize.go", + "source_location": "L138", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getdiscoverableservicesforendpoints" + "source": "workspace_devworkspacereconciler_finalizerbac", + "target": "workspace_devworkspacereconciler_namespaceisterminating" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L170", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getingressesforspec" + "source": "controllers_workspace_internal_testutil_http_go_testutil_http", + "target": "testutil_testresponse" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L213", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L23", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getingressforendpoint" + "source": "controllers_workspace_internal_testutil_http_go_testutil_http", + "target": "testutil_testroundtripper" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L183", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L24", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getrouteforendpoint" + "source": "testutil_testroundtripper", + "target": "testresponse" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L157", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getroutesforspec" + "source": "testutil_testroundtripper", + "target": "testutil_testroundtripper_roundtrip" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L82", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L33", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getserviceforendpoints" + "source": "testutil_testroundtripper_roundtrip", + "target": "controllers_workspace_internal_testutil_http_go_request" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L142", + "source_file": "controllers/workspace/internal/testutil/http.go", + "source_location": "L33", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_common_getservicesforendpoints" + "source": "testutil_testroundtripper_roundtrip", + "target": "controllers_workspace_internal_testutil_http_go_response" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L31", - "weight": 1.0, - "confidence_score": 1.0, - "source": "solvers_common", - "target": "solvers_devworkspacemetadata" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/workspace/metrics/deployment_provisioning.go", + "source_location": "L38", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getdiscoverableservicesforendpoints", - "target": "solvers_devworkspacemetadata" + "source": "metrics_deployment_provisioning", + "target": "metrics_deployment_provisioning_determineprovisioningfailurereason" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L170", + "source_file": "controllers/workspace/metrics/deployment_provisioning.go", + "source_location": "L38", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_common_getingressesforspec", - "target": "solvers_devworkspacemetadata" + "source": "metrics_deployment_provisioning_determineprovisioningfailurereason", + "target": "controllers_workspace_metrics_deployment_provisioning_go_failurereason" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L213", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "solvers_devworkspacemetadata" + "source": "metrics_failure_reason", + "target": "metrics_failure_reason_getfailurereason" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L183", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L24", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "solvers_devworkspacemetadata" + "source": "metrics_failure_reason", + "target": "metrics_failurereason" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L157", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_common_getroutesforspec", - "target": "solvers_devworkspacemetadata" + "source": "metrics_failure_reason_getfailurereason", + "target": "metrics_failurereason" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "solvers_devworkspacemetadata" + "source": "metrics_failure_reason_getfailurereason", + "target": "conditions_conditions_getconditionbytype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L142", + "source_file": "controllers/workspace/metrics/failure_reason.go", + "source_location": "L41", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getservicesforendpoints", - "target": "solvers_devworkspacemetadata" + "source": "metrics_failure_reason_getfailurereason", + "target": "controllers_workspace_metrics_failure_reason_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L52", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L75", "weight": 1.0, - "source": "solvers_common_getdiscoverableservicesforendpoints", - "target": "common_naming_endpointname" + "source": "metrics_update_incrementmetricforworkspacefailure", + "target": "metrics_failure_reason_getfailurereason" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/workspace/metrics/metrics.go", + "source_location": "L78", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getdiscoverableservicesforendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" + "source": "metrics_metrics", + "target": "metrics_metrics_init" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L39", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L54", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "solvers_common_getdiscoverableservicesforendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_service" + "source": "metrics_update", + "target": "metrics_update_incrementmetricforworkspace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L57", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L70", "weight": 1.0, - "source": "solvers_common_getdiscoverableservicesforendpoints", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "metrics_update", + "target": "metrics_update_incrementmetricforworkspacefailure" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L170", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L83", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getingressesforspec", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" + "source": "metrics_update", + "target": "metrics_update_incrementstarttimebucketforworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L157", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L50", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getroutesforspec", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" + "source": "metrics_update", + "target": "metrics_update_workspacefailed" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L82", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L40", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" + "source": "metrics_update", + "target": "metrics_update_workspacerunning" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L142", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L30", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getservicesforendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpointlist" + "source": "metrics_update", + "target": "metrics_update_workspacestarted" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L82", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_service" + "source": "metrics_update_workspacestarted", + "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L142", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getservicesforendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_service" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L113", - "weight": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "common_naming_endpointname" + "source": "metrics_update_workspacestarted", + "target": "controllers_workspace_metrics_update_go_logger" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L128", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L33", "weight": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "common_naming_servicename" + "confidence_score": 1.0, + "source": "metrics_update_workspacestarted", + "target": "metrics_update_incrementmetricforworkspace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L112", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L54", "weight": 1.0, - "source": "solvers_common_getserviceforendpoints", - "target": "map_map_append" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metrics_update_incrementmetricforworkspace", + "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L147", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L70", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getservicesforendpoints", - "target": "solvers_common_getserviceforendpoints" + "source": "metrics_update_incrementmetricforworkspacefailure", + "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L157", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L83", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getroutesforspec", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_route" + "source": "metrics_update_incrementstarttimebucketforworkspace", + "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L164", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L50", "weight": 1.0, - "source": "solvers_common_getroutesforspec", - "target": "map_map_append" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metrics_update_workspacefailed", + "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L164", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L40", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getroutesforspec", - "target": "solvers_common_getrouteforendpoint" + "source": "metrics_update_workspacerunning", + "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L183", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L54", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_route" + "source": "metrics_update_incrementmetricforworkspace", + "target": "controllers_workspace_metrics_update_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L170", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L70", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getingressesforspec", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_ingress" + "source": "metrics_update_incrementmetricforworkspacefailure", + "target": "controllers_workspace_metrics_update_go_logger" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L177", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L83", "weight": 1.0, - "source": "solvers_common_getingressesforspec", - "target": "map_map_append" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metrics_update_incrementstarttimebucketforworkspace", + "target": "controllers_workspace_metrics_update_go_logger" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L177", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L50", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getingressesforspec", - "target": "solvers_common_getingressforendpoint" + "source": "metrics_update_workspacefailed", + "target": "controllers_workspace_metrics_update_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L213", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L40", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_ingress" + "source": "metrics_update_workspacerunning", + "target": "controllers_workspace_metrics_update_go_logger" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L185", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L43", "weight": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "common_naming_endpointname" + "confidence_score": 1.0, + "source": "metrics_update_workspacerunning", + "target": "metrics_update_incrementmetricforworkspace" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L197", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L44", "weight": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "common_naming_endpointpath" + "confidence_score": 1.0, + "source": "metrics_update_workspacerunning", + "target": "metrics_update_incrementstarttimebucketforworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L188", + "source_file": "controllers/workspace/status.go", + "source_location": "L285", "weight": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "common_naming_routename" + "source": "workspace_status_updatemetricsforphase", + "target": "metrics_update_workspacerunning" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L204", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L51", "weight": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "common_naming_servicename" + "confidence_score": 1.0, + "source": "metrics_update_workspacefailed", + "target": "metrics_update_incrementmetricforworkspacefailure" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L196", + "source_file": "controllers/workspace/status.go", + "source_location": "L287", "weight": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "common_naming_workspacehostname" + "source": "workspace_status_updatemetricsforphase", + "target": "metrics_update_workspacefailed" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L183", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L54", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getrouteforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpoint" + "source": "metrics_update_incrementmetricforworkspace", + "target": "countervec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L213", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L70", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_common_go_endpoint" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L215", - "weight": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "common_naming_endpointhostname" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L214", - "weight": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "common_naming_endpointname" + "source": "metrics_update_incrementmetricforworkspacefailure", + "target": "countervec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L219", + "source_file": "controllers/workspace/metrics/update.go", + "source_location": "L96", "weight": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "common_naming_routename" + "source": "metrics_update_incrementstarttimebucketforworkspace", + "target": "conditions_conditions_getconditionbytype" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/common.go", - "source_location": "L237", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/predicates.go", + "source_location": "L102", "weight": 1.0, - "source": "solvers_common_getingressforendpoint", - "target": "common_naming_servicename" + "confidence_score": 1.0, + "source": "workspace_predicates", + "target": "workspace_predicates_objectisautomountresource" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L41", + "source_file": "controllers/workspace/predicates.go", + "source_location": "L102", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_errors", - "target": "solvers_routinginvalid" + "source": "workspace_predicates_objectisautomountresource", + "target": "controllers_workspace_predicates_go_object" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L31", + "source_file": "controllers/workspace/status.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_errors", - "target": "solvers_routingnotready" + "source": "workspace_status", + "target": "workspace_currentstatus" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L32", + "source_file": "controllers/workspace/status.go", + "source_location": "L320", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "solvers_routingnotready", - "target": "controllers_controller_devworkspacerouting_solvers_errors_go_duration" + "source": "workspace_status", + "target": "workspace_status_checkforfailingtimeout" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L35", + "source_file": "controllers/workspace/status.go", + "source_location": "L295", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_routingnotready", - "target": "solvers_routingnotready_error" + "source": "workspace_status", + "target": "workspace_status_checkforstarttimeout" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/errors.go", - "source_location": "L45", + "source_file": "controllers/workspace/status.go", + "source_location": "L202", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_routinginvalid", - "target": "solvers_routinginvalid_error" + "source": "workspace_status", + "target": "workspace_status_checkserverstatus" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/workspace/status.go", + "source_location": "L341", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_resolve_endpoints", - "target": "solvers_resolve_endpoints_getexposedendpoints" + "source": "workspace_status", + "target": "workspace_status_fmtstarttimeoutmessage" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L118", + "source_file": "controllers/workspace/status.go", + "source_location": "L244", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_resolve_endpoints", - "target": "solvers_resolve_endpoints_getsecureprotocol" + "source": "workspace_status", + "target": "workspace_status_getinfomessage" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L77", + "source_file": "controllers/workspace/status.go", + "source_location": "L233", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_resolve_endpoints", - "target": "solvers_resolve_endpoints_geturlforendpoint" + "source": "workspace_status", + "target": "workspace_status_getmainurl" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L57", + "source_file": "controllers/workspace/status.go", + "source_location": "L102", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_resolve_endpoints", - "target": "solvers_resolve_endpoints_resolveurlforendpoint" + "source": "workspace_status", + "target": "workspace_status_syncconditions" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpointlist" + "source": "workspace_status", + "target": "workspace_status_syncworkspacemainurl" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/workspace/status.go", + "source_location": "L279", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_exposedendpointlist" + "source": "workspace_status", + "target": "workspace_status_updatemetricsforphase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L28", + "source_file": "controllers/workspace/status.go", + "source_location": "L58", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_getexposedendpoints", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_routingobjects" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L47", - "weight": 1.0, - "source": "solvers_resolve_endpoints_getexposedendpoints", - "target": "map_map_append" + "source": "workspace_currentstatus", + "target": "controllers_workspace_status_go_devworkspacephase" }, { - "relation": "calls", - "context": "call", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L40", + "source_file": "controllers/workspace/status.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_getexposedendpoints", - "target": "solvers_resolve_endpoints_resolveurlforendpoint" + "source": "workspace_currentstatus", + "target": "workspaceconditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L57", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_resolveurlforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_routingobjects" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "workspace_currentstatus" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L57", + "source_file": "controllers/workspace/status.go", + "source_location": "L244", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_resolveurlforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpoint" + "source": "workspace_status_getinfomessage", + "target": "workspace_currentstatus" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L62", + "source_file": "controllers/workspace/status.go", + "source_location": "L102", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_resolveurlforendpoint", - "target": "solvers_resolve_endpoints_geturlforendpoint" + "source": "workspace_status_syncconditions", + "target": "workspace_currentstatus" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L77", + "source_file": "controllers/workspace/status.go", + "source_location": "L279", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_geturlforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_go_endpoint" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L83", - "weight": 1.0, - "source": "solvers_resolve_endpoints_geturlforendpoint", - "target": "handler_webhookhandler_parse" + "source": "workspace_status_updatemetricsforphase", + "target": "controllers_workspace_status_go_devworkspacephase" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints.go", - "source_location": "L80", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_geturlforendpoint", - "target": "solvers_resolve_endpoints_getsecureprotocol" + "source": "controllers_workspace_status_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_updateworkspacestatus" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L161", - "weight": 1.0, - "source": "solvers_resolve_endpoints_test_testgeturlforendpoint", - "target": "solvers_resolve_endpoints_geturlforendpoint" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L23", + "source_file": "controllers/workspace/status.go", + "source_location": "L75", "weight": 1.0, - "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_test", - "target": "solvers_resolve_endpoints_test_testgeturlforendpoint" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "conditions_conditions_countwarningconditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L23", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_resolve_endpoints_test_testgeturlforendpoint", - "target": "controllers_controller_devworkspacerouting_solvers_resolve_endpoints_test_go_t" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/resolve_endpoints_test.go", - "source_location": "L169", - "weight": 1.0, - "source": "solvers_resolve_endpoints_test_testgeturlforendpoint", - "target": "map_map_equal" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L31", - "weight": 1.0, - "confidence_score": 1.0, - "source": "solvers_solver", - "target": "solvers_routingobjects" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L38", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solver", - "target": "solvers_routingsolver" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "controllers_workspace_status_go_logger" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L64", + "source_file": "controllers/workspace/status.go", + "source_location": "L68", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "solvers_solver", - "target": "solvers_routingsolvergetter" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "controllers_workspace_status_go_result" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L83", + "source_file": "controllers/workspace/status.go", + "source_location": "L74", "weight": 1.0, "confidence_score": 1.0, - "source": "solvers_solver", - "target": "solvers_solvergetter" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "workspace_status_getinfomessage" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L33", + "source_file": "controllers/workspace/status.go", + "source_location": "L70", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "solvers_routingobjects", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_ingress" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "workspace_status_syncconditions" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L35", + "source_file": "controllers/workspace/status.go", + "source_location": "L96", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "solvers_routingobjects", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_podadditions" + "source": "workspace_devworkspacereconciler_updateworkspacestatus", + "target": "workspace_status_updatemetricsforphase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L34", + "source_file": "controllers/workspace/status.go", + "source_location": "L320", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_routingobjects", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_route" + "source": "workspace_status_checkforfailingtimeout", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L32", + "source_file": "controllers/workspace/status.go", + "source_location": "L295", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_routingobjects", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_service" + "source": "workspace_status_checkforstarttimeout", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L103", + "source_file": "controllers/workspace/status.go", + "source_location": "L202", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter_getsolver", - "target": "solvers_routingsolver" + "source": "workspace_status_checkserverstatus", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L103", + "source_file": "controllers/workspace/status.go", + "source_location": "L341", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter", - "target": "solvers_solvergetter_getsolver" + "source": "workspace_status_fmtstarttimeoutmessage", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L87", + "source_file": "controllers/workspace/status.go", + "source_location": "L244", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter", - "target": "solvers_solvergetter_hassolver" + "source": "workspace_status_getinfomessage", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L120", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter", - "target": "solvers_solvergetter_setupcontrollermanager" + "source": "workspace_status_syncworkspacemainurl", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L87", + "source_file": "controllers/workspace/status.go", + "source_location": "L279", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter_hassolver", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_devworkspaceroutingclass" + "source": "workspace_status_updatemetricsforphase", + "target": "controllers_workspace_status_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L103", + "source_file": "controllers/workspace/status.go", + "source_location": "L279", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter_getsolver", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_devworkspaceroutingclass" + "source": "workspace_status_updatemetricsforphase", + "target": "controllers_workspace_status_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L103", + "source_file": "controllers/workspace/status.go", + "source_location": "L102", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter_getsolver", - "target": "controllers_controller_devworkspacerouting_solvers_solver_go_client" + "source": "workspace_status_syncconditions", + "target": "controllers_workspace_status_go_devworkspacestatus" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L104", + "source_file": "controllers/workspace/status.go", + "source_location": "L120", "weight": 1.0, - "source": "solvers_solvergetter_getsolver", - "target": "infrastructure_cluster_isopenshift" + "source": "workspace_status_syncconditions", + "target": "map_map_append" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/solvers/solver.go", - "source_location": "L120", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "solvers_solvergetter_setupcontrollermanager", - "target": "builder" + "source": "workspace_status_syncworkspacemainurl", + "target": "controllers_workspace_status_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L170", + "source_file": "controllers/workspace/status.go", + "source_location": "L191", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_suite_test", - "target": "devworkspacerouting_suite_test_setupenvvars" + "source": "workspace_status_syncworkspacemainurl", + "target": "controllers_workspace_status_go_exposedendpointlist" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L66", + "source_file": "controllers/workspace/status.go", + "source_location": "L192", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_suite_test", - "target": "devworkspacerouting_suite_test_testapis" + "source": "workspace_status_syncworkspacemainurl", + "target": "workspace_status_getmainurl" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/suite_test.go", - "source_location": "L66", + "source_file": "controllers/workspace/status.go", + "source_location": "L233", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_suite_test_testapis", - "target": "controllers_controller_devworkspacerouting_suite_test_go_t" + "source": "workspace_status_getmainurl", + "target": "controllers_workspace_status_go_exposedendpointlist" }, { - "relation": "contains", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/status.go", + "source_location": "L208", + "weight": 1.0, + "source": "workspace_status_checkserverstatus", + "target": "handler_webhookhandler_parse" + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L93", + "source_file": "controllers/workspace/status.go", + "source_location": "L311", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_ingresses", - "target": "devworkspacerouting_sync_ingresses_getingressestodelete" + "source": "workspace_status_checkforstarttimeout", + "target": "workspace_status_fmtstarttimeoutmessage" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L103", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L207", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_ingresses", - "target": "devworkspacerouting_sync_ingresses_listcontainsingressbyname" + "source": "workspace_suite_test", + "target": "workspace_suite_test_getbasictesthttpclient" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L76", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L177", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses" + "source": "workspace_suite_test", + "target": "workspace_suite_test_setupenvvars" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L72", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses" + "source": "workspace_suite_test", + "target": "workspace_suite_test_testapis" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L72", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", - "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting" + "source": "workspace_suite_test_testapis", + "target": "controllers_workspace_suite_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L32", + "source_file": "controllers/workspace/suite_test.go", + "source_location": "L207", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", - "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" + "source": "workspace_suite_test_getbasictesthttpclient", + "target": "controllers_workspace_suite_test_go_client" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L35", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L136", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", - "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses" + "source": "workspace_util_test", + "target": "workspace_util_test_cleanuppvc" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L40", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L45", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", - "target": "devworkspacerouting_sync_ingresses_getingressestodelete" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L70", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", - "target": "map_map_append" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L58", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncingresses", - "target": "sync_sync_syncobjectwithcluster" + "source": "workspace_util_test", + "target": "workspace_util_test_createdevworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L76", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L155", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", - "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_devworkspacerouting" + "source": "workspace_util_test", + "target": "workspace_util_test_createobject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L76", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L61", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", - "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" + "source": "workspace_util_test", + "target": "workspace_util_test_createstarteddevworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L93", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L96", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_sync_ingresses_getingressestodelete", - "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" + "source": "workspace_util_test", + "target": "workspace_util_test_deletedevworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L103", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L162", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_sync_ingresses_listcontainsingressbyname", - "target": "controllers_controller_devworkspacerouting_sync_ingresses_go_ingress" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L78", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusteringresses", - "target": "handler_webhookhandler_parse" + "source": "workspace_util_test", + "target": "workspace_util_test_deleteobject" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L96", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L227", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_ingresses_getingressestodelete", - "target": "devworkspacerouting_sync_ingresses_listcontainsingressbyname" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_ingresses.go", - "source_location": "L97", - "weight": 1.0, - "source": "devworkspacerouting_sync_ingresses_getingressestodelete", - "target": "map_map_append" + "source": "workspace_util_test", + "target": "workspace_util_test_devworkspaceownerref" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L103", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L253", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_routes", - "target": "devworkspacerouting_sync_routes_getroutestodelete" + "source": "workspace_util_test", + "target": "workspace_util_test_generateconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L113", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L238", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_routes", - "target": "devworkspacerouting_sync_routes_listcontainsroutebyname" + "source": "workspace_util_test", + "target": "workspace_util_test_generatesecret" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L75", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes" + "source": "workspace_util_test", + "target": "workspace_util_test_getexistingdevworkspace" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L195", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes" + "source": "workspace_util_test", + "target": "workspace_util_test_markdeploymentready" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L170", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", - "target": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting" + "source": "workspace_util_test", + "target": "workspace_util_test_markroutingready" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L31", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L317", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", - "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" + "source": "workspace_util_test", + "target": "workspace_util_test_namespacedname" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L34", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L211", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", - "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes" + "source": "workspace_util_test", + "target": "workspace_util_test_scaledeploymenttozero" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L39", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L280", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", - "target": "devworkspacerouting_sync_routes_getroutestodelete" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L69", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", - "target": "map_map_append" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L57", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncroutes", - "target": "sync_sync_syncobjectwithcluster" + "source": "workspace_util_test", + "target": "workspace_util_test_volumefromconfigmap" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L75", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L267", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", - "target": "controllers_controller_devworkspacerouting_sync_routes_go_devworkspacerouting" + "source": "workspace_util_test", + "target": "workspace_util_test_volumefromsecret" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L75", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L305", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", - "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" + "source": "workspace_util_test", + "target": "workspace_util_test_volumemountfromconfigmap" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L103", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L293", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_sync_routes_getroutestodelete", - "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" + "source": "workspace_util_test", + "target": "workspace_util_test_volumemountfromsecret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L113", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L54", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_sync_routes_listcontainsroutebyname", - "target": "controllers_controller_devworkspacerouting_sync_routes_go_route" + "source": "workspace_util_test_createdevworkspace", + "target": "workspace_util_test_namespacedname" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L77", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L62", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", - "target": "handler_webhookhandler_parse" + "confidence_score": 1.0, + "source": "workspace_util_test_createstarteddevworkspace", + "target": "workspace_util_test_createdevworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L97", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterroutes", - "target": "map_map_append" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L106", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L70", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_sync_routes_getroutestodelete", - "target": "devworkspacerouting_sync_routes_listcontainsroutebyname" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "common_naming_deploymentname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_routes.go", - "source_location": "L107", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L67", "weight": 1.0, - "source": "devworkspacerouting_sync_routes_getroutestodelete", - "target": "map_map_append" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "common_naming_devworkspaceroutingname" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L92", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/util_test.go", + "source_location": "L79", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_sync_services", - "target": "devworkspacerouting_sync_services_getservicestodelete" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "map_map_equal" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L102", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L63", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_services", - "target": "devworkspacerouting_sync_services_listcontainsbyname" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "workspace_util_test_getexistingdevworkspace" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L75", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L70", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "workspace_util_test_markdeploymentready" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L67", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting_devworkspaceroutingreconciler", - "target": "devworkspacerouting_devworkspaceroutingreconciler_syncservices" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "workspace_util_test_markroutingready" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L74", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", - "target": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting" + "source": "workspace_util_test_createstarteddevworkspace", + "target": "workspace_util_test_namespacedname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L31", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L82", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", - "target": "controllers_controller_devworkspacerouting_sync_services_go_service" + "source": "workspace_util_test_getexistingdevworkspace", + "target": "controllers_workspace_util_test_go_devworkspace" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L34", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L85", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", - "target": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices" + "source": "workspace_util_test_getexistingdevworkspace", + "target": "workspace_util_test_namespacedname" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L39", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L227", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", - "target": "devworkspacerouting_sync_services_getservicestodelete" + "source": "workspace_util_test_devworkspaceownerref", + "target": "controllers_workspace_util_test_go_devworkspace" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L69", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L97", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "workspace_util_test_deletedevworkspace", + "target": "workspace_util_test_namespacedname" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L57", - "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_syncservices", - "target": "sync_sync_syncobjectwithcluster" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L75", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L139", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", - "target": "controllers_controller_devworkspacerouting_sync_services_go_devworkspacerouting" + "source": "workspace_util_test_cleanuppvc", + "target": "workspace_util_test_namespacedname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L75", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L155", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", - "target": "controllers_controller_devworkspacerouting_sync_services_go_service" + "source": "workspace_util_test_createobject", + "target": "controllers_workspace_util_test_go_object" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L92", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L158", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_sync_services_getservicestodelete", - "target": "controllers_controller_devworkspacerouting_sync_services_go_service" + "source": "workspace_util_test_createobject", + "target": "workspace_util_test_namespacedname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L102", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L162", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_sync_services_listcontainsbyname", - "target": "controllers_controller_devworkspacerouting_sync_services_go_service" + "source": "workspace_util_test_deleteobject", + "target": "controllers_workspace_util_test_go_object" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L77", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L165", "weight": 1.0, - "source": "devworkspacerouting_devworkspaceroutingreconciler_getclusterservices", - "target": "handler_webhookhandler_parse" + "confidence_score": 1.0, + "source": "workspace_util_test_deleteobject", + "target": "workspace_util_test_namespacedname" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L95", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L171", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_sync_services_getservicestodelete", - "target": "devworkspacerouting_sync_services_listcontainsbyname" + "source": "workspace_util_test_markroutingready", + "target": "workspace_util_test_namespacedname" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/sync_services.go", - "source_location": "L96", + "confidence": "EXTRACTED", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L196", "weight": 1.0, - "source": "devworkspacerouting_sync_services_getservicestodelete", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "workspace_util_test_markdeploymentready", + "target": "workspace_util_test_namespacedname" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L60", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L212", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_createdwr" + "source": "workspace_util_test_scaledeploymenttozero", + "target": "workspace_util_test_namespacedname" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L167", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L227", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_deletedevworkspacerouting" + "source": "workspace_util_test_devworkspaceownerref", + "target": "controllers_workspace_util_test_go_ownerreference" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L157", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L238", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_deleteingress" + "source": "workspace_util_test_generatesecret", + "target": "controllers_workspace_util_test_go_secret" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L196", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L238", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_deleteobject" + "source": "workspace_util_test_generatesecret", + "target": "secrettype" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L147", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L267", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_deleteroute" + "source": "workspace_util_test_volumefromsecret", + "target": "controllers_workspace_util_test_go_secret" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L137", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L293", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_deleteservice" + "source": "workspace_util_test_volumemountfromsecret", + "target": "controllers_workspace_util_test_go_secret" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L185", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L253", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_devworkspaceroutingownerref" + "source": "workspace_util_test_generateconfigmap", + "target": "controllers_workspace_util_test_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L112", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L280", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_getexistingdevworkspacerouting" + "source": "workspace_util_test_volumefromconfigmap", + "target": "controllers_workspace_util_test_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L125", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L305", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_getreadydevworkspacerouting" + "source": "workspace_util_test_volumemountfromconfigmap", + "target": "controllers_workspace_util_test_go_configmap" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L204", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/util_test.go", + "source_location": "L270", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "workspace_util_test_volumefromsecret", + "target": "common_naming_automountsecretvolumename" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L60", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L267", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_createdwr", - "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" + "source": "workspace_util_test_volumefromsecret", + "target": "controllers_workspace_util_test_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L185", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L280", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_devworkspaceroutingownerref", - "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" + "source": "workspace_util_test_volumefromconfigmap", + "target": "controllers_workspace_util_test_go_volume" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/util_test.go", + "source_location": "L283", + "weight": 1.0, + "source": "workspace_util_test_volumefromconfigmap", + "target": "common_naming_automountconfigmapvolumename" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/util_test.go", + "source_location": "L298", + "weight": 1.0, + "source": "workspace_util_test_volumemountfromsecret", + "target": "common_naming_automountsecretvolumename" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L112", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L293", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_getexistingdevworkspacerouting", - "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" + "source": "workspace_util_test_volumemountfromsecret", + "target": "controllers_workspace_util_test_go_volumemount" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L125", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L305", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", - "target": "controllers_controller_devworkspacerouting_util_test_go_devworkspacerouting" + "source": "workspace_util_test_volumemountfromconfigmap", + "target": "controllers_workspace_util_test_go_volumemount" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "controllers/workspace/util_test.go", + "source_location": "L310", + "weight": 1.0, + "source": "workspace_util_test_volumemountfromconfigmap", + "target": "common_naming_automountconfigmapvolumename" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L115", + "source_file": "controllers/workspace/util_test.go", + "source_location": "L317", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_getexistingdevworkspacerouting", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "workspace_util_test_namespacedname", + "target": "controllers_workspace_util_test_go_namespacedname" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L126", + "source_file": "controllers/workspace/validation.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", - "target": "devworkspacerouting_util_test_getexistingdevworkspacerouting" + "source": "controllers_workspace_validation_go_workspace_devworkspacereconciler", + "target": "workspace_devworkspacereconciler_validatecreatorlabel" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L127", + "source_file": "controllers/workspace/validation.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "workspace_devworkspacereconciler_validatecreatorlabel", + "target": "controllers_workspace_validation_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L133", + "source_file": "controllers/workspace/validation.go", + "source_location": "L37", "weight": 1.0, - "source": "devworkspacerouting_util_test_getreadydevworkspacerouting", - "target": "map_map_equal" + "source": "workspace_devworkspacereconciler_validatecreatorlabel", + "target": "webhook_info_getwebhookscreationtimestamp" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L144", + "source_file": "internal/images/image.go", + "source_location": "L66", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteservice", - "target": "devworkspacerouting_util_test_deleteobject" + "source": "images_image", + "target": "images_image_getasyncstorageserverimage" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L139", + "source_file": "internal/images/image.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteservice", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "images_image", + "target": "images_image_getasyncstoragesidecarimage" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "internal/images/image.go", + "source_location": "L93", + "weight": 1.0, + "confidence_score": 1.0, + "source": "images_image", + "target": "images_image_getprojectbackupimage" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "internal/images/image.go", + "source_location": "L84", + "weight": 1.0, + "confidence_score": 1.0, + "source": "images_image", + "target": "images_image_getprojectcloneimage" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "internal/images/image.go", + "source_location": "L57", + "weight": 1.0, + "confidence_score": 1.0, + "source": "images_image", + "target": "images_image_getpvccleanupjobimage" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "internal/images/image.go", + "source_location": "L46", + "weight": 1.0, + "confidence_score": 1.0, + "source": "images_image", + "target": "images_image_getwebhookserverimage" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L149", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L118", "weight": 1.0, - "source": "devworkspacerouting_util_test_deleteroute", - "target": "common_naming_routename" + "source": "webhook_deployment_getspecdeployment", + "target": "images_image_getwebhookserverimage" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L154", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L167", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteroute", - "target": "devworkspacerouting_util_test_deleteobject" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "images_image_getpvccleanupjobimage" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L149", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L100", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteroute", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "target": "images_image_getasyncstorageserverimage" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L310", + "weight": 1.0, + "source": "storage_asyncstorage_checkconfigured", + "target": "images_image_getasyncstorageserverimage" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L159", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L49", "weight": 1.0, - "source": "devworkspacerouting_util_test_deleteingress", - "target": "common_naming_routename" + "source": "asyncstorage_sidecar_getasyncsidecar", + "target": "images_image_getasyncstoragesidecarimage" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L164", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L313", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteingress", - "target": "devworkspacerouting_util_test_deleteobject" + "source": "storage_asyncstorage_checkconfigured", + "target": "images_image_getasyncstoragesidecarimage" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L159", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/projects/clone.go", + "source_location": "L108", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteingress", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "images_image_getprojectcloneimage" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L168", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/restore/restore.go", + "source_location": "L100", "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deletedevworkspacerouting", - "target": "devworkspacerouting_util_test_namespacedname" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "images_image_getprojectbackupimage" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L185", + "source_file": "internal/map/map.go", + "source_location": "L18", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_devworkspaceroutingownerref", - "target": "controllers_controller_devworkspacerouting_util_test_go_ownerreference" + "source": "map_map", + "target": "map_map_append" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L196", + "source_file": "internal/map/map.go", + "source_location": "L28", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteobject", - "target": "controllers_controller_devworkspacerouting_util_test_go_object" + "source": "map_map", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L199", - "weight": 1.0, - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_deleteobject", - "target": "devworkspacerouting_util_test_namespacedname" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/controller/devworkspacerouting/util_test.go", - "source_location": "L204", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L96", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "devworkspacerouting_util_test_namespacedname", - "target": "controllers_controller_devworkspacerouting_util_test_go_namespacedname" + "source": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L40", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_cleanup_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_deleteworkspaceownedobjects" + "source": "asyncstorage_sidecar_getasyncsidecar", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L306", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", - "target": "controllers_workspace_cleanup_go_context" + "source": "automount_common_filtergitconfigautomountvolume", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L221", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", - "target": "controllers_workspace_cleanup_go_devworkspacewithconfig" + "source": "automount_common_flattenautomountresources", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/cleanup.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L211", "weight": 1.0, - "source": "workspace_devworkspacereconciler_deleteworkspaceownedobjects", - "target": "handler_webhookhandler_parse" + "source": "automount_common_mergeautomountresources", + "target": "map_map_append" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L65", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_condition", - "target": "workspace_condition_capitalizemessage" + "source": "automount_common_provisionautomountresourcesinto", + "target": "map_map_append" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L127", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L389", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_condition", - "target": "workspace_condition_getconditionindexinorder" + "source": "automount_common_test_loadalltestcasesorpanic", + "target": "map_map_append" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L45", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L410", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_condition", - "target": "workspace_condition_workspaceconditionsfromclusterobject" + "source": "automount_common_test_loadtestcaseorpanic", + "target": "map_map_append" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L40", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L337", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_condition", - "target": "workspace_workspaceconditions" + "source": "automount_common_test_testcheckautomountvolumesforcollision", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L45", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L108", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_condition_workspaceconditionsfromclusterobject", - "target": "workspace_workspaceconditions" + "source": "automount_configmap_getautomountconfigmap", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L42", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L79", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "controllers_workspace_condition_go_devworkspacecondition" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L41", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L106", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "controllers_workspace_condition_go_devworkspaceconditiontype" + "source": "automount_gitconfig_getgitresources", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L94", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L174", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_addwarning" + "source": "automount_projected_checkcanuseprojectedvolumes", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L98", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L128", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_addwarningwithreason" + "source": "automount_projected_generateprojectedvolume", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L108", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_getfirstfalse" + "source": "automount_projected_mergeprojectedvolumes", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L117", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L316", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_getlasttrue" + "source": "automount_projected_test_testprojectedvolume", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L75", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L113", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_setcondition" + "source": "automount_pvcs_getautomountpvcs", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L62", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_setconditionfalse" + "source": "automount_templates_constructgitconfig", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L123", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_setconditiontrue" + "source": "automount_templates_mergegitcredentials", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L63", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L112", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions", - "target": "workspace_workspaceconditions_setconditiontruewithreason" + "source": "bootstrap_bootstrap_mergeprojects", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L127", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/config/config.go", + "source_location": "L65", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_condition_getconditionindexinorder", - "target": "controllers_workspace_condition_go_devworkspaceconditiontype" + "source": "config_config_readnamespacedconfig", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L75", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/defaults.go", + "source_location": "L267", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setcondition", - "target": "controllers_workspace_condition_go_devworkspaceconditiontype" + "source": "config_defaults_getdefaultnetworkpolicy", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync.go", + "source_location": "L651", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setconditionfalse", - "target": "controllers_workspace_condition_go_devworkspaceconditiontype" + "source": "config_sync_getcurrentconfigstring", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L95", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setconditiontrue", - "target": "controllers_workspace_condition_go_devworkspaceconditiontype" + "source": "container_container_getkubecontainersfromdevfile", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container_test.go", "source_location": "L63", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setconditiontruewithreason", - "target": "controllers_workspace_condition_go_devworkspaceconditiontype" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L45", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_condition_workspaceconditionsfromclusterobject", - "target": "controllers_workspace_condition_go_devworkspacecondition" + "source": "container_container_test_loadalltestcasesorpanic", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L108", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/conversion.go", + "source_location": "L66", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_getfirstfalse", - "target": "controllers_workspace_condition_go_devworkspacecondition" + "source": "container_conversion_devfileendpointstocontainerports", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L117", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/conversion.go", + "source_location": "L102", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_getlasttrue", - "target": "controllers_workspace_condition_go_devworkspacecondition" + "source": "container_conversion_devfileenvtocontainerenv", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L75", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setcondition", - "target": "controllers_workspace_condition_go_devworkspacecondition" + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/conversion.go", + "source_location": "L85", + "weight": 1.0, + "source": "container_conversion_devfilevolumemountstocontainervolumemounts", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/condition.go", - "source_location": "L51", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L73", "weight": 1.0, - "source": "workspace_condition_workspaceconditionsfromclusterobject", + "source": "container_mountsources_handlemountsources", "target": "map_map_append" }, { @@ -38637,98 +52998,98 @@ "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L342", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L33", "weight": 1.0, - "source": "workspace_status_fmtstarttimeoutmessage", - "target": "workspace_condition_workspaceconditionsfromclusterobject" + "source": "defaults_helper_applydefaulttemplate", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L60", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L344", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setconditiontrue", - "target": "workspace_workspaceconditions_setconditiontruewithreason" + "source": "flatten_flatten_formatvariableswarning", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L715", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L102", "weight": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "workspace_workspaceconditions_setconditiontruewithreason" + "source": "flatten_flatten_recursiveresolve", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L70", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L183", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_setconditiontruewithreason", - "target": "workspace_condition_capitalizemessage" + "source": "flatten_merge_mergecontainercontributions", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L631", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L298", "weight": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "workspace_workspaceconditions_setcondition" + "source": "flatten_merge_mergecontributionsinto", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L644", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L71", "weight": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "workspace_workspaceconditions_setconditionfalse" + "source": "flatten_merge_mergevolumecomponents", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L733", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L363", "weight": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "workspace_workspaceconditions_addwarning" + "source": "flatten_merge_updatecommandtargetsaftermerge", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/condition.go", - "source_location": "L95", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L40", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_workspaceconditions_addwarning", - "target": "workspace_workspaceconditions_addwarningwithreason" + "source": "flatten_resolutioncontexttree_addplugin", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/condition.go", - "source_location": "L99", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L53", "weight": 1.0, - "source": "workspace_workspaceconditions_addwarningwithreason", + "source": "flatten_resolutioncontexttree_hascycle", "target": "map_map_append" }, { @@ -38736,429 +53097,197 @@ "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L180", - "weight": 1.0, - "source": "workspace_status_syncconditions", - "target": "workspace_condition_getconditionindexinorder" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L80", - "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspace_controller", - "target": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L82", - "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "controllers_workspace_devworkspace_controller_go_client" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L83", - "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "controllers_workspace_devworkspace_controller_go_logger" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L84", - "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "controllers_workspace_devworkspace_controller_go_scheme" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_checkdwerror" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L656", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_dostop" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_failworkspace" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L782", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_getworkspaceid" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_reconcile" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L761", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_removestartedatfromcluster" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L806", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_setupwithmanager" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_stopworkspace" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L740", - "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_devworkspace_controller_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_syncstartedattocluster" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "controllers_workspace_devworkspace_controller_go_logger" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L656", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_dostop", - "target": "controllers_workspace_devworkspace_controller_go_logger" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "controllers_workspace_devworkspace_controller_go_logger" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L761", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_removestartedatfromcluster", - "target": "controllers_workspace_devworkspace_controller_go_logger" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "controllers_workspace_devworkspace_controller_go_logger" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L740", + "source_file": "webhook/workspace/handler/attributes.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_syncstartedattocluster", - "target": "controllers_workspace_devworkspace_controller_go_logger" + "source": "handler_attributes_checkmultiplecontainercontributiontargets", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L530", + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L121", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "annotate_urls_addurlattributestoendpoints" + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L484", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L91", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "automount_common_provisionautomountresourcesinto" + "source": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L145", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L120", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "config_sync_getcurrentconfigstring" + "source": "handler_endpointqueryclient_list", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L143", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L44", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "config_sync_getglobalconfig" + "source": "handler_validate_registerdiscoverableendpointindex", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L140", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L349", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "config_sync_resolveconfigforworkspace" + "source": "handler_validate_test_testshouldcheckendpointconflicts", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L347", - "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "container_container_getkubecontainersfromdevfile" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "controllers_workspace_devworkspace_controller_go_context" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "controllers_workspace_devworkspace_controller_go_request" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L115", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L504", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "controllers_workspace_devworkspace_controller_go_result" + "source": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L284", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L741", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "defaults_helper_applydefaulttemplate" + "source": "handler_validate_test_testvalidatedevfilenamespacemissing", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L283", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L180", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "defaults_helper_needsdefaulttemplate" + "source": "handler_validate_test_testvalidateendpoints", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L292", + "source_file": "webhook/workspace/handler/warning.go", + "source_location": "L89", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "flatten_flatten_formatvariableswarning" + "source": "handler_warning_formatunsupportedfeatureswarning", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L323", + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L66", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "home_persistenthome_addpersistenthomevolume" + "source": "handler_warning_test_loadalltestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L451", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L47", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "home_persistenthome_ensurehomeinitcontainerfields" + "source": "handler_webhookhandler_mutateworkspacev1alpha1oncreate", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L322", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L63", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "home_persistenthome_needspersistenthomedirectory" + "source": "handler_webhookhandler_mutateworkspacev1alpha2oncreate", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L429", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L51", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "home_persistenthome_persistuserhomeenabled" + "source": "handler_webhookhandler_validatedevfile", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L443", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L70", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "initcontainers_merge_mergeinitcontainers" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L590", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L339", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "kubernetes_provision_handlekubernetescomponents" + "source": "handler_workspace_setvalidatedpermissionsannotations", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L589", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L174", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "kubernetes_util_haskubelikecomponent" + "source": "home_persistenthome_addinitcontainer", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L384", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L235", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", + "source": "home_persistenthome_addinitcontainercomponent", "target": "map_map_append" }, { @@ -39166,809 +53295,571 @@ "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L533", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L73", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "metadata_metadata_provisionworkspacemetadata" + "source": "home_persistenthome_addpersistenthomevolume", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L245", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L71", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "metrics_deployment_provisioning_determineprovisioningfailurereason" + "source": "home_persistenthome_test_loadalltestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L224", + "source_file": "pkg/library/initcontainers/merge.go", + "source_location": "L86", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "metrics_update_workspacestarted" + "source": "initcontainers_merge_mergeinitcontainers", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L175", + "source_file": "project-clone/internal/utils.go", + "source_location": "L146", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "networkpolicy_networkpolicy_syncnetworkpolicy" + "source": "internal_utils_getadditionalcerts", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L411", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L721", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "projects_clone_getprojectcloneinitcontainer" + "source": "kubernetes_provision_test_collectclusterobj", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L367", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L695", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "projects_clone_validateallprojects" + "source": "kubernetes_provision_test_loadalltestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L504", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L109", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "rbac_common_syncrbac" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L381", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L364", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "restore_restore_getworkspacerestoreinitcontainer" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L370", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L357", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "restore_restore_isworkspacerestorerequested" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L354", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L408", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "restrictions_restrictions_getrestrictedcontainerfields" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L300", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L291", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "ssh_event_addsshagentpoststartevent" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L297", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L560", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "ssh_event_needssshpoststartevent" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L242", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L474", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "status_check_checkforignoredworkspacepodevents" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L317", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L315", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "storage_provisioner_getprovisioner" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L599", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L267", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_deployment_syncdeploymenttocluster" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L176", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L236", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_devworkspacereconciler_checkdwerror" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L245", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L193", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_devworkspacereconciler_failworkspace" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L162", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L516", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_devworkspacereconciler_getworkspaceid" + "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L204", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L230", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_devworkspacereconciler_removestartedatfromcluster" + "source": "kubernetes_provision_test_testhaskubelikecomponent", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L205", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L169", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_devworkspacereconciler_stopworkspace" + "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L254", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L49", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_devworkspacereconciler_syncstartedattocluster" + "source": "kubernetes_util_filterforkubelikecomponents", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L510", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L40", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_routing_syncroutingtocluster" + "source": "lifecycle_command_getcommandsforkeys", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L568", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L82", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_serviceaccount_syncserviceaccount" + "source": "lifecycle_command_removecommandsbykeys", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L469", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L68", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_ssh_provisionsshaskpass" + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L185", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L192", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_status_checkforfailingtimeout" + "source": "lifecycle_poststart_builduserscript", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L240", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L146", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_status_checkforstarttimeout" + "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L608", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L69", "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_status_checkserverstatus" + "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L521", - "weight": 1.0, - "source": "workspace_devworkspacereconciler_reconcile", - "target": "workspace_status_syncworkspacemainurl" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L656", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_dostop", - "target": "controllers_workspace_devworkspace_controller_go_context" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L782", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_getworkspaceid", - "target": "controllers_workspace_devworkspace_controller_go_context" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L761", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_removestartedatfromcluster", - "target": "controllers_workspace_devworkspace_controller_go_context" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "controllers_workspace_devworkspace_controller_go_context" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L740", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_syncstartedattocluster", - "target": "controllers_workspace_devworkspace_controller_go_context" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "controllers_workspace_devworkspace_controller_go_result" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "controllers_workspace_devworkspace_controller_go_result" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L65", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "controllers_workspace_devworkspace_controller_go_result" + "source": "lifecycle_prestart_getinitcontainers", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L629", - "weight": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "conditions_conditions_getconditionbytype" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L625", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L87", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + "source": "lifecycle_prestart_sethomeinitcontainertofront", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L635", - "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_stopworkspace", - "target": "workspace_devworkspacereconciler_dostop" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L656", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_dostop", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L782", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_getworkspaceid", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L761", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_removestartedatfromcluster", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L740", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L47", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_syncstartedattocluster", - "target": "controllers_workspace_devworkspace_controller_go_devworkspacewithconfig" + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L687", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L90", "weight": 1.0, - "source": "workspace_devworkspacereconciler_dostop", - "target": "common_naming_deploymentname" + "source": "lifecycle_prestop_processcommandsforprestop", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L666", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L66", "weight": 1.0, - "source": "workspace_devworkspacereconciler_dostop", - "target": "common_naming_devworkspaceroutingname" + "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L731", - "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "workspace_devworkspacereconciler_failworkspace" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "controllers_workspace_devworkspace_controller_go_currentstatus" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L712", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_failworkspace", - "target": "controllers_workspace_devworkspace_controller_go_failurereason" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "controllers_workspace_devworkspace_controller_go_failurereason" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L722", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L63", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_checkdwerror", - "target": "controllers_workspace_devworkspace_controller_go_currentstatus" + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L798", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L170", "weight": 1.0, - "source": "workspace_devworkspacereconciler_getworkspaceid", - "target": "handler_webhookhandler_parse" + "source": "overrides_containers_test_loadallcontainertestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L807", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L120", "weight": 1.0, - "source": "workspace_devworkspacereconciler_setupwithmanager", - "target": "config_env_getmaxconcurrentreconciles" + "source": "overrides_pods_getpodoverrides", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L816", - "weight": 1.0, - "source": "workspace_devworkspacereconciler_setupwithmanager", - "target": "config_predicates_predicates" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller.go", - "source_location": "L806", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_setupwithmanager", - "target": "controllers_workspace_devworkspace_controller_go_manager" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller_test.go", - "source_location": "L46", - "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspace_controller_test", - "target": "workspace_devworkspace_controller_test_loadobjectfromfile" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/devworkspace_controller_test.go", - "source_location": "L46", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L279", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspace_controller_test_loadobjectfromfile", - "target": "controllers_workspace_devworkspace_controller_test_go_object" + "source": "overrides_pods_test_loadallpodtestcasesorpanic", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L48", + "source_file": "project-clone/main.go", + "source_location": "L69", "weight": 1.0, - "source": "workspace_util_test_createdevworkspace", - "target": "workspace_devworkspace_controller_test_loadobjectfromfile" + "source": "project_clone_main_main", + "target": "map_map_append" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/projects/clone.go", + "source_location": "L53", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_eventhandlers", - "target": "workspace_eventhandlers_dwrelatedpodshandler" + "source": "projects_clone_validateallprojects", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L326", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_eventhandlers_dwrelatedpodshandler", - "target": "controllers_workspace_eventhandlers_go_context" + "source": "rbac_finalize_test_newregistryimagepullerrolebinding", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L87", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_eventhandlers_dwrelatedpodshandler", - "target": "controllers_workspace_eventhandlers_go_object" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L271", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_eventhandlers_dwrelatedpodshandler", - "target": "controllers_workspace_eventhandlers_go_request" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L51", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L104", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_dwpvchandler", - "target": "controllers_workspace_eventhandlers_go_context" + "source": "rbac_rolebinding_addserviceaccounttorolebinding", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L122", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L142", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_runningworkspaceshandler", - "target": "controllers_workspace_eventhandlers_go_context" + "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L51", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/restore/restore.go", + "source_location": "L103", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_dwpvchandler", - "target": "controllers_workspace_eventhandlers_go_object" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L122", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/ssh/event.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_runningworkspaceshandler", - "target": "controllers_workspace_eventhandlers_go_object" + "source": "ssh_event_addsshagentpoststartevent", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L51", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L260", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_dwpvchandler", - "target": "controllers_workspace_eventhandlers_go_request" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L122", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L173", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_runningworkspaceshandler", - "target": "controllers_workspace_eventhandlers_go_request" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L51", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L108", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_eventhandlers_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_dwpvchandler" + "source": "storage_commonstorage_test_loadalltestcasesorpanic", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L122", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L182", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_eventhandlers_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_runningworkspaceshandler" + "source": "storage_shared_addephemeralvolumestopodadditions", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L79", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L201", "weight": 1.0, - "source": "workspace_devworkspacereconciler_dwpvchandler", - "target": "config_sync_getglobalconfig" + "source": "storage_shared_getworkspacevolumes", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L102", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L419", "weight": 1.0, - "source": "workspace_devworkspacereconciler_dwpvchandler", - "target": "config_sync_resolveconfigforworkspace" + "source": "storage_shared_rewritecontainervolumemounts", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L110", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L74", "weight": 1.0, - "source": "workspace_devworkspacereconciler_dwpvchandler", + "source": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", "target": "map_map_append" }, { @@ -39976,3502 +53867,3876 @@ "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L136", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L119", "weight": 1.0, - "source": "workspace_devworkspacereconciler_runningworkspaceshandler", - "target": "automount_common_matchesworkspacetarget" + "source": "sync_service_collision_test_testgenericservicecollisionrepairsownedservice", + "target": "map_map_append" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/eventhandlers.go", - "source_location": "L140", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L64", "weight": 1.0, - "source": "workspace_devworkspacereconciler_runningworkspaceshandler", + "source": "sync_update_serviceaccountupdatefunc", "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/update.go", + "source_location": "L138", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_finalize" + "source": "sync_update_unrecognizedobjectupdatefunc", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L110", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_finalizerbac" + "source": "testutil_common_loadalltestsorpanic", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L147", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_finalizeserviceaccount" + "source": "workspace_deployment_getspecdeployment", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L322", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_finalizestorage" + "source": "workspace_deployment_mergepodadditions", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L193", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/mutating_cfg.go", + "source_location": "L144", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_namespaceisterminating" + "source": "workspace_mutating_cfg_buildmutatewebhookcfg", + "target": "map_map_append" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L40", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L200", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_finalize_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_workspaceneedsfinalize" + "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L40", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L86", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_workspaceneedsfinalize", - "target": "controllers_workspace_finalize_go_devworkspacewithconfig" + "source": "workspace_routing_getspecrouting", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L118", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "controllers_workspace_finalize_go_devworkspacewithconfig" + "source": "workspace_serviceaccount_removesccfromserviceaccount", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizerbac", - "target": "controllers_workspace_finalize_go_devworkspacewithconfig" + "source": "workspace_ssh_provisionsshaskpass", + "target": "map_map_append" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L64", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizeserviceaccount", - "target": "controllers_workspace_finalize_go_devworkspacewithconfig" + "source": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L1051", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "controllers_workspace_finalize_go_devworkspacewithconfig" + "source": "automount_common_test_testmatchesworkspacetarget", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L575", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "controllers_workspace_finalize_go_context" + "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L610", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "controllers_workspace_finalize_go_logger" + "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L639", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "controllers_workspace_finalize_go_result" + "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L76", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L705", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "workspace_devworkspacereconciler_finalizerbac" + "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L74", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L509", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "workspace_devworkspacereconciler_finalizeserviceaccount" + "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L72", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L538", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalize", - "target": "workspace_devworkspacereconciler_finalizestorage" + "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L676", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizerbac", - "target": "controllers_workspace_finalize_go_context" + "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L474", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizeserviceaccount", - "target": "controllers_workspace_finalize_go_context" + "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L142", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "controllers_workspace_finalize_go_context" + "source": "automount_common_test_testprovisionautomountresourcesinto", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L193", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L985", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_namespaceisterminating", - "target": "controllers_workspace_finalize_go_context" + "source": "automount_gitconfig_test_assertgitcredentialssecret", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L177", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizerbac", - "target": "controllers_workspace_finalize_go_logger" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L150", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizeserviceaccount", - "target": "controllers_workspace_finalize_go_logger" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L224", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "controllers_workspace_finalize_go_logger" + "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L191", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizerbac", - "target": "controllers_workspace_finalize_go_result" + "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L210", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizeserviceaccount", - "target": "controllers_workspace_finalize_go_result" + "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L234", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "controllers_workspace_finalize_go_result" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/common/naming_test.go", + "source_location": "L73", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "controllers_workspace_finalize_go_currentstatus" + "source": "common_naming_test_testsanitizevolumename", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/finalize.go", - "source_location": "L102", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L251", "weight": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "storage_provisioner_getprovisioner" + "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/finalize.go", - "source_location": "L84", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L286", "weight": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "workspace_deployment_deleteworkspacedeployment" + "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L92", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L145", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizestorage", - "target": "workspace_devworkspacereconciler_namespaceisterminating" + "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L137", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L69", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizerbac", - "target": "controllers_workspace_finalize_go_currentstatus" + "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L195", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizeserviceaccount", - "target": "controllers_workspace_finalize_go_currentstatus" + "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/finalize.go", - "source_location": "L138", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L155", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_finalizerbac", - "target": "workspace_devworkspacereconciler_namespaceisterminating" + "source": "config_sync_test_testcatchesnonexistentexternaldwoc", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L27", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L269", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_internal_testutil_http_go_testutil_http", - "target": "testutil_testresponse" + "source": "config_sync_test_testdetectsopenshiftroutesuffix", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L23", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L428", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_internal_testutil_http_go_testutil_http", - "target": "testutil_testroundtripper" + "source": "config_sync_test_testmergeconfighandlesproxysettings", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L24", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L446", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_testroundtripper", - "target": "testresponse" + "source": "config_sync_test_testmergeconfiglooksatallfields", + "target": "map_map_equal" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L33", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L614", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_testroundtripper", - "target": "testutil_testroundtripper_roundtrip" + "source": "config_sync_test_testmergeconfigmergesruntimeclassname", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L33", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L504", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "testutil_testroundtripper_roundtrip", - "target": "controllers_workspace_internal_testutil_http_go_request" + "source": "config_sync_test_testmergeconfigmergesschedulingfields", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/internal/testutil/http.go", - "source_location": "L33", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L464", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "testutil_testroundtripper_roundtrip", - "target": "controllers_workspace_internal_testutil_http_go_response" + "source": "config_sync_test_testmergeconfigmergesstorageaccessmode", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/deployment_provisioning.go", - "source_location": "L38", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L538", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_deployment_provisioning", - "target": "metrics_deployment_provisioning_determineprovisioningfailurereason" + "source": "config_sync_test_testmergeconfigmergesstorageclassname", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/deployment_provisioning.go", - "source_location": "L38", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L191", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "metrics_deployment_provisioning_determineprovisioningfailurereason", - "target": "controllers_workspace_metrics_deployment_provisioning_go_failurereason" + "source": "config_sync_test_testmergeexternalconfig", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L41", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L131", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_failure_reason", - "target": "metrics_failure_reason_getfailurereason" + "source": "config_sync_test_testmergesallfieldsfromclusterconfig", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L24", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L674", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_failure_reason", - "target": "metrics_failurereason" + "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L41", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L248", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "metrics_failure_reason_getfailurereason", - "target": "metrics_failurereason" + "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L42", + "source_file": "pkg/config/sync_test.go", + "source_location": "L66", "weight": 1.0, - "source": "metrics_failure_reason_getfailurereason", - "target": "conditions_conditions_getconditionbytype" + "source": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/failure_reason.go", - "source_location": "L41", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L52", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_failure_reason_getfailurereason", - "target": "controllers_workspace_metrics_failure_reason_go_devworkspacewithconfig" + "source": "config_sync_test_testsetupcontrollerconfigusesdefault", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L75", + "source_file": "pkg/config/sync_test.go", + "source_location": "L94", "weight": 1.0, - "source": "metrics_update_incrementmetricforworkspacefailure", - "target": "metrics_failure_reason_getfailurereason" + "source": "config_sync_test_testsetupcontrollermergesclusterconfig", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/metrics.go", - "source_location": "L78", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L314", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_metrics", - "target": "metrics_metrics_init" + "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L54", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L349", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update", - "target": "metrics_update_incrementmetricforworkspace" + "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L282", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update", - "target": "metrics_update_incrementmetricforworkspacefailure" + "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L295", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update", - "target": "metrics_update_incrementstarttimebucketforworkspace" + "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync_test.go", + "source_location": "L326", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update", - "target": "metrics_update_workspacefailed" + "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L40", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container_test.go", + "source_location": "L97", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update", - "target": "metrics_update_workspacerunning" + "source": "container_container_test_testgetkubecontainersfromdevfile", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L230", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update", - "target": "metrics_update_workspacestarted" + "source": "flatten_flatten_test_testmergecontainercontributions", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L253", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_workspacestarted", - "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L295", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_workspacestarted", - "target": "controllers_workspace_metrics_update_go_logger" + "source": "flatten_flatten_test_testmergeimplicitspeccontributions", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L33", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L207", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update_workspacestarted", - "target": "metrics_update_incrementmetricforworkspace" + "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L54", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L274", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementmetricforworkspace", - "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "source": "flatten_flatten_test_testmergespeccontributions", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L161", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementmetricforworkspacefailure", - "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "source": "flatten_flatten_test_testresolvedevworkspaceannotations", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L43", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementstarttimebucketforworkspace", - "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L138", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_workspacefailed", - "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "source": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L40", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L112", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_workspacerunning", - "target": "controllers_workspace_metrics_update_go_devworkspacewithconfig" + "source": "flatten_flatten_test_testresolvedevworkspaceparents", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L54", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L66", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementmetricforworkspace", - "target": "controllers_workspace_metrics_update_go_logger" + "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L89", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementmetricforworkspacefailure", - "target": "controllers_workspace_metrics_update_go_logger" + "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L184", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementstarttimebucketforworkspace", - "target": "controllers_workspace_metrics_update_go_logger" + "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L155", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_workspacefailed", - "target": "controllers_workspace_metrics_update_go_logger" + "source": "handler_endpoint_cache_test_testdiscoverableendpointcachelifecycle", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L40", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L148", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_workspacerunning", - "target": "controllers_workspace_metrics_update_go_logger" + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L43", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L553", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update_workspacerunning", - "target": "metrics_update_incrementmetricforworkspace" + "source": "handler_validate_test_testvalidatedevfileendpointexposure", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L44", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L598", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update_workspacerunning", - "target": "metrics_update_incrementstarttimebucketforworkspace" + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L285", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L644", "weight": 1.0, - "source": "workspace_status_updatemetricsforphase", - "target": "metrics_update_workspacerunning" + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L51", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L709", "weight": 1.0, - "confidence_score": 1.0, - "source": "metrics_update_workspacefailed", - "target": "metrics_update_incrementmetricforworkspacefailure" + "source": "handler_validate_test_testvalidatedevfilenamespacemissing", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L287", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L293", "weight": 1.0, - "source": "workspace_status_updatemetricsforphase", - "target": "metrics_update_workspacefailed" + "source": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L54", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L83", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementmetricforworkspace", - "target": "countervec" + "source": "handler_validate_test_testvalidateendpoints", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/warning_test.go", + "source_location": "L92", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metrics_update_incrementmetricforworkspacefailure", - "target": "countervec" + "source": "handler_warning_test_testmodifyworkspacewithunsupportedfeatures", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/metrics/update.go", - "source_location": "L96", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L107", "weight": 1.0, - "source": "metrics_update_incrementstarttimebucketforworkspace", - "target": "conditions_conditions_getconditionbytype" + "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/predicates.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L121", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_predicates", - "target": "workspace_predicates_objectisautomountresource" + "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/predicates.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L345", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_predicates_objectisautomountresource", - "target": "controllers_workspace_predicates_go_object" + "source": "home_custom_init_test_testinferworkspaceimage", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L55", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L102", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_currentstatus" + "source": "home_persistenthome_test_testpersistenthomevolume", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L320", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L141", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_checkforfailingtimeout" + "source": "initcontainers_merge_test_testmergeinitcontainers", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L295", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L87", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_checkforstarttimeout" + "source": "kubernetes_deserialize_test_testdeserializeobject", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L202", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L96", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_checkserverstatus" + "source": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L341", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L136", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_fmtstarttimeoutmessage" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L244", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L89", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_getinfomessage" + "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L233", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L294", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_getmainurl" + "source": "lifecycle_poststart_test_testbuilduserscript", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L627", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_syncconditions" + "source": "lifecycle_poststart_test_testgeneratescriptwithtimeout", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L75", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_syncworkspacemainurl" + "source": "lifecycle_prestart_test_testgetinitcontainers", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L279", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L85", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status", - "target": "workspace_status_updatemetricsforphase" + "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L58", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L150", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "workspace_currentstatus", - "target": "controllers_workspace_status_go_devworkspacephase" + "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", + "target": "map_map_equal" }, { - "relation": "embeds", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L56", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L108", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_currentstatus", - "target": "workspaceconditions" + "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L170", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "workspace_currentstatus" + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L244", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L139", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_getinfomessage", - "target": "workspace_currentstatus" + "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_syncconditions", - "target": "workspace_currentstatus" + "source": "overrides_containers_test_testapplycontaineroverrides", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L279", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L137", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_updatemetricsforphase", - "target": "controllers_workspace_status_go_devworkspacephase" + "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", + "target": "map_map_equal" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L108", "weight": 1.0, - "confidence_score": 1.0, - "source": "controllers_workspace_status_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_updateworkspacestatus" + "source": "overrides_containers_test_testrestrictcontaineroverride", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L75", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L52", "weight": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "conditions_conditions_countwarningconditions" + "source": "overrides_pods_test_testapplypodoverrides", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L246", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L173", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "controllers_workspace_status_go_logger" + "source": "overrides_pods_test_testneedspodoverride", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L68", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L209", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "controllers_workspace_status_go_result" + "source": "overrides_pods_test_testrestrictpodoverride", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L74", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L120", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "workspace_status_getinfomessage" + "source": "proxy_openshift_test_testmergeproxyconfigs", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L70", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L75", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "workspace_status_syncconditions" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L96", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L153", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_updateworkspacestatus", - "target": "workspace_status_updatemetricsforphase" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L320", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L191", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_checkforfailingtimeout", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L295", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_checkforstarttimeout", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L202", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L107", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_checkserverstatus", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L341", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L121", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_fmtstarttimeoutmessage", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "resources_helper_test_testaddresourcerequirements", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L244", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L372", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_getinfomessage", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "resources_helper_test_testapplycaps", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L297", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_syncworkspacemainurl", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "resources_helper_test_testapplydefaults", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L279", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L162", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_updatemetricsforphase", - "target": "controllers_workspace_status_go_devworkspacewithconfig" + "source": "resources_helper_test_testapplyresourcerequirementstocomponent", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L279", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L227", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_updatemetricsforphase", - "target": "controllers_workspace_status_go_logger" + "source": "resources_helper_test_testfilterresources", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L74", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_syncconditions", - "target": "controllers_workspace_status_go_devworkspacestatus" + "source": "resources_helper_test_testparseresourcesfromcomponent", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L120", + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L1143", "weight": 1.0, - "source": "workspace_status_syncconditions", - "target": "map_map_append" + "source": "restrictions_container_restrictions_test_testrestrictcontainer", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1432", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_syncworkspacemainurl", - "target": "controllers_workspace_status_go_clusterapi" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L191", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L141", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_syncworkspacemainurl", - "target": "controllers_workspace_status_go_exposedendpointlist" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L192", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L81", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status_syncworkspacemainurl", - "target": "workspace_status_getmainurl" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L233", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L160", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_status_getmainurl", - "target": "controllers_workspace_status_go_exposedendpointlist" + "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/status.go", - "source_location": "L208", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L191", "weight": 1.0, - "source": "workspace_status_checkserverstatus", - "target": "handler_webhookhandler_parse" + "source": "storage_commonstorage_test_testterminatingpvc", + "target": "map_map_equal" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/status.go", - "source_location": "L311", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L126", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_status_checkforstarttimeout", - "target": "workspace_status_fmtstarttimeoutmessage" + "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L207", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", + "source_location": "L47", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_suite_test", - "target": "workspace_suite_test_getbasictesthttpclient" + "source": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L177", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L84", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_suite_test", - "target": "workspace_suite_test_setupenvvars" + "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L72", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L182", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_suite_test", - "target": "workspace_suite_test_testapis" + "source": "storage_shared_test_testfindnodeforpvc", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L72", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L60", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_suite_test_testapis", - "target": "controllers_workspace_suite_test_go_t" + "source": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", + "target": "map_map_equal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/suite_test.go", - "source_location": "L207", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L41", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_suite_test_getbasictesthttpclient", - "target": "controllers_workspace_suite_test_go_client" + "source": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L136", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L78", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_cleanuppvc" + "source": "storage_shared_test_testnodeaffinityforhostname", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L45", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L59", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_createdevworkspace" + "source": "sync_diff_basicdifffunc", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L155", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L135", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_createobject" + "source": "sync_diff_deploymentdifffunc", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L61", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L188", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_createstarteddevworkspace" + "source": "sync_diff_poddifffunc", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L96", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L262", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_deletedevworkspace" + "source": "sync_diff_servicedifffunc", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L162", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L36", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_deleteobject" + "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L227", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L28", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_devworkspaceownerref" + "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", + "target": "map_map_equal" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L253", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L202", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_generateconfigmap" + "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", + "target": "map_map_equal" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L238", + "source_file": "main.go", + "source_location": "L71", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_generatesecret" + "source": "main", + "target": "main_init" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L82", + "source_file": "main.go", + "source_location": "L99", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_getexistingdevworkspace" + "source": "main", + "target": "main_main" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L195", + "source_file": "main.go", + "source_location": "L269", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_markdeploymentready" + "source": "main", + "target": "main_setupcontrollerconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L170", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L73", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_markroutingready" + "source": "main_init", + "target": "infrastructure_cluster_initialize" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L317", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L85", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_namespacedname" + "source": "main_init", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L211", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L128", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_scaledeploymenttozero" + "source": "main_main", + "target": "cache_cache_getcachefunc" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L280", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L108", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_volumefromconfigmap" + "source": "main_main", + "target": "config_env_getdevmodeenabled" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L267", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L187", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_volumefromsecret" + "source": "main_main", + "target": "config_sync_experimentalfeaturesenabled" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L305", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L106", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_volumemountfromconfigmap" + "source": "main_main", + "target": "handler_webhookhandler_parse" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L293", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L160", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test", - "target": "workspace_util_test_volumemountfromsecret" + "source": "main_main", + "target": "httpfactory_http_setuphttpclientsfactory" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L54", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L117", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test_createdevworkspace", - "target": "workspace_util_test_namespacedname" + "source": "main_main", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L62", + "source_file": "main.go", + "source_location": "L155", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "workspace_util_test_createdevworkspace" + "source": "main_main", + "target": "main_setupcontrollerconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L70", + "source_file": "main.go", + "source_location": "L121", "weight": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "common_naming_deploymentname" + "source": "main_main", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L67", + "source_file": "main.go", + "source_location": "L245", "weight": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "common_naming_devworkspaceroutingname" + "source": "main_main", + "target": "tlssetup_server_tls_registersecurityprofilewatcher" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L79", + "source_file": "main.go", + "source_location": "L228", "weight": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "map_map_equal" + "source": "main_main", + "target": "webhook_create_setupwebhooks" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "main.go", + "source_location": "L276", + "weight": 1.0, + "source": "main_setupcontrollerconfig", + "target": "config_migrate_migrateconfigfromconfigmap" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L63", + "source_file": "main.go", + "source_location": "L269", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "workspace_util_test_getexistingdevworkspace" + "source": "main_setupcontrollerconfig", + "target": "main_go_manager" }, { - "relation": "calls", - "context": "call", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L70", + "source_file": "make-release.sh", + "source_location": "L161", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "workspace_util_test_markdeploymentready" + "source": "make_release", + "target": "make_release_build_and_push_images" }, { - "relation": "calls", - "context": "call", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L67", + "source_file": "make-release.sh", + "source_location": "L65", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "workspace_util_test_markroutingready" + "source": "make_release", + "target": "make_release_dryrun" }, { - "relation": "calls", - "context": "call", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L74", + "source_file": "make-release.sh", + "source_location": "L192", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_createstarteddevworkspace", - "target": "workspace_util_test_namespacedname" + "source": "make_release", + "target": "make_release_git_commit_and_push" }, { - "relation": "references", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L82", + "source_file": "make-release.sh", + "source_location": "L69", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_getexistingdevworkspace", - "target": "controllers_workspace_util_test_go_devworkspace" + "source": "make_release", + "target": "make_release_parse_args" }, { - "relation": "calls", - "context": "call", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L85", + "source_file": "make-release.sh", + "source_location": "L231", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_getexistingdevworkspace", - "target": "workspace_util_test_namespacedname" + "source": "make_release", + "target": "make_release_prerelease" }, { - "relation": "references", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L227", + "source_file": "make-release.sh", + "source_location": "L272", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_util_test_devworkspaceownerref", - "target": "controllers_workspace_util_test_go_devworkspace" + "source": "make_release", + "target": "make_release_release" }, { - "relation": "calls", - "context": "call", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L97", + "source_file": "make-release.sh", + "source_location": "L124", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_deletedevworkspace", - "target": "workspace_util_test_namespacedname" + "source": "make_release", + "target": "make_release_update_images" }, { - "relation": "calls", - "context": "call", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L139", + "source_file": "make-release.sh", + "source_location": "L103", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_util_test_cleanuppvc", - "target": "workspace_util_test_namespacedname" + "source": "make_release", + "target": "make_release_update_version" }, { - "relation": "references", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L155", + "source_file": "make-release.sh", + "source_location": "L31", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_util_test_createobject", - "target": "controllers_workspace_util_test_go_object" + "source": "make_release", + "target": "make_release_usage" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "make-release.sh", + "source_location": "L1", + "weight": 1.0, + "source": "make_release", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_make_release_sh__entry", + "confidence_score": 1.0 }, { "relation": "calls", - "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L158", + "source_file": "make-release.sh", + "source_location": "L329", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_util_test_createobject", - "target": "workspace_util_test_namespacedname" + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_make_release_sh__entry", + "target": "make_release_parse_args", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L162", + "source_file": "make-release.sh", + "source_location": "L341", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_util_test_deleteobject", - "target": "controllers_workspace_util_test_go_object" + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_make_release_sh__entry", + "target": "make_release_prerelease", + "confidence_score": 1.0 }, { "relation": "calls", + "confidence": "EXTRACTED", + "source_file": "make-release.sh", + "source_location": "L343", + "weight": 1.0, "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_make_release_sh__entry", + "target": "make_release_release", + "confidence_score": 1.0 + }, + { + "relation": "calls", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L165", + "source_file": "make-release.sh", + "source_location": "L79", "weight": 1.0, + "context": "call", "confidence_score": 1.0, - "source": "workspace_util_test_deleteobject", - "target": "workspace_util_test_namespacedname" + "source": "make_release_parse_args", + "target": "make_release_usage" }, { "relation": "calls", - "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L171", + "source_file": "make-release.sh", + "source_location": "L249", "weight": 1.0, + "context": "call", "confidence_score": 1.0, - "source": "workspace_util_test_markroutingready", - "target": "workspace_util_test_namespacedname" + "source": "make_release_prerelease", + "target": "make_release_update_version" }, { "relation": "calls", - "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L196", + "source_file": "make-release.sh", + "source_location": "L250", "weight": 1.0, + "context": "call", "confidence_score": 1.0, - "source": "workspace_util_test_markdeploymentready", - "target": "workspace_util_test_namespacedname" + "source": "make_release_prerelease", + "target": "make_release_update_images" }, { "relation": "calls", - "context": "call", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L212", + "source_file": "make-release.sh", + "source_location": "L305", "weight": 1.0, + "context": "call", "confidence_score": 1.0, - "source": "workspace_util_test_scaledeploymenttozero", - "target": "workspace_util_test_namespacedname" + "source": "make_release_release", + "target": "make_release_build_and_push_images" }, { - "relation": "references", + "relation": "calls", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L227", + "source_file": "make-release.sh", + "source_location": "L252", "weight": 1.0, - "context": "return_type", + "context": "call", "confidence_score": 1.0, - "source": "workspace_util_test_devworkspaceownerref", - "target": "controllers_workspace_util_test_go_ownerreference" + "source": "make_release_prerelease", + "target": "make_release_git_commit_and_push" }, { - "relation": "references", + "relation": "calls", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L238", + "source_file": "make-release.sh", + "source_location": "L298", "weight": 1.0, - "context": "return_type", + "context": "call", "confidence_score": 1.0, - "source": "workspace_util_test_generatesecret", - "target": "controllers_workspace_util_test_go_secret" + "source": "make_release_release", + "target": "make_release_git_commit_and_push" }, { - "relation": "references", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L238", + "source_file": "patch/patch_crds.sh", + "source_location": "L44", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_util_test_generatesecret", - "target": "secrettype" + "source": "patch_patch_crds", + "target": "patch_patch_crds_update_routings_crd" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L267", + "source_file": "patch/patch_crds.sh", + "source_location": "L1", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_util_test_volumefromsecret", - "target": "controllers_workspace_util_test_go_secret" + "source": "patch_patch_crds", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_patch_patch_crds_sh__entry", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L293", + "source_file": "patch/patch_crds.sh", + "source_location": "L62", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_util_test_volumemountfromsecret", - "target": "controllers_workspace_util_test_go_secret" + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_patch_patch_crds_sh__entry", + "target": "patch_patch_crds_update_routings_crd", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L253", + "source_file": "pkg/cache/cache.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_generateconfigmap", - "target": "controllers_workspace_util_test_go_configmap" + "source": "cache_cache", + "target": "cache_cache_getcachefunc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L280", + "source_file": "pkg/cache/cache.go", + "source_location": "L113", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_util_test_volumefromconfigmap", - "target": "controllers_workspace_util_test_go_configmap" + "source": "cache_cache", + "target": "cache_cache_getwebhookscachefunc" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L305", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/cache/cache.go", + "source_location": "L38", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_util_test_volumemountfromconfigmap", - "target": "controllers_workspace_util_test_go_configmap" + "source": "cache_cache_getcachefunc", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L270", + "source_file": "pkg/cache/cache.go", + "source_location": "L100", "weight": 1.0, - "source": "workspace_util_test_volumefromsecret", - "target": "common_naming_automountsecretvolumename" + "source": "cache_cache_getcachefunc", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L267", + "source_file": "pkg/cache/cache.go", + "source_location": "L37", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_volumefromsecret", - "target": "controllers_workspace_util_test_go_volume" + "source": "cache_cache_getcachefunc", + "target": "newcachefunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L280", + "source_file": "pkg/cache/cache.go", + "source_location": "L113", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_volumefromconfigmap", - "target": "controllers_workspace_util_test_go_volume" + "source": "cache_cache_getwebhookscachefunc", + "target": "newcachefunc" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L283", + "source_file": "pkg/cache/cache.go", + "source_location": "L116", "weight": 1.0, - "source": "workspace_util_test_volumefromconfigmap", - "target": "common_naming_automountconfigmapvolumename" + "source": "cache_cache_getwebhookscachefunc", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L298", + "source_file": "webhook/main.go", + "source_location": "L126", "weight": 1.0, - "source": "workspace_util_test_volumemountfromsecret", + "source": "webhook_main_main", + "target": "cache_cache_getwebhookscachefunc" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L119", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_automountconfigmapvolumename" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L149", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_automountprojectedvolumename" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L127", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_automountpvcvolumename" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L123", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_naming", "target": "common_naming_automountsecretvolumename" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L293", + "source_file": "pkg/common/naming.go", + "source_location": "L99", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_volumemountfromsecret", - "target": "controllers_workspace_util_test_go_volumemount" + "source": "common_naming", + "target": "common_naming_deploymentname" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L305", + "source_file": "pkg/common/naming.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_volumemountfromconfigmap", - "target": "controllers_workspace_util_test_go_volumemount" + "source": "common_naming", + "target": "common_naming_devworkspaceroutingname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/workspace/util_test.go", - "source_location": "L310", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L73", "weight": 1.0, - "source": "workspace_util_test_volumemountfromconfigmap", - "target": "common_naming_automountconfigmapvolumename" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_endpointhostname" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/util_test.go", - "source_location": "L317", + "source_file": "pkg/common/naming.go", + "source_location": "L34", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "workspace_util_test_namespacedname", - "target": "controllers_workspace_util_test_go_namespacedname" + "source": "common_naming", + "target": "common_naming_endpointname" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/validation.go", - "source_location": "L31", + "source_file": "pkg/common/naming.go", + "source_location": "L91", "weight": 1.0, "confidence_score": 1.0, - "source": "controllers_workspace_validation_go_workspace_devworkspacereconciler", - "target": "workspace_devworkspacereconciler_validatecreatorlabel" + "source": "common_naming", + "target": "common_naming_endpointpath" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "controllers/workspace/validation.go", - "source_location": "L31", + "source_file": "pkg/common/naming.go", + "source_location": "L115", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_devworkspacereconciler_validatecreatorlabel", - "target": "controllers_workspace_validation_go_devworkspacewithconfig" + "source": "common_naming", + "target": "common_naming_metadataconfigmapname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "controllers/workspace/validation.go", - "source_location": "L37", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L169", "weight": 1.0, - "source": "workspace_devworkspacereconciler_validatecreatorlabel", - "target": "webhook_info_getwebhookscreationtimestamp" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_networkpolicyname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/images/image.go", - "source_location": "L66", + "source_file": "pkg/common/naming.go", + "source_location": "L205", "weight": 1.0, "confidence_score": 1.0, - "source": "images_image", - "target": "images_image_getasyncstorageserverimage" + "source": "common_naming", + "target": "common_naming_oldworkspacerolebindingname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/images/image.go", - "source_location": "L75", + "source_file": "pkg/common/naming.go", + "source_location": "L197", "weight": 1.0, "confidence_score": 1.0, - "source": "images_image", - "target": "images_image_getasyncstoragesidecarimage" + "source": "common_naming", + "target": "common_naming_oldworkspacerolename" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/images/image.go", - "source_location": "L93", + "source_file": "pkg/common/naming.go", + "source_location": "L111", "weight": 1.0, "confidence_score": 1.0, - "source": "images_image", - "target": "images_image_getprojectbackupimage" + "source": "common_naming", + "target": "common_naming_perworkspacepvcname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/images/image.go", - "source_location": "L84", + "source_file": "pkg/common/naming.go", + "source_location": "L41", "weight": 1.0, "confidence_score": 1.0, - "source": "images_image", - "target": "images_image_getprojectcloneimage" + "source": "common_naming", + "target": "common_naming_portname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/images/image.go", - "source_location": "L57", + "source_file": "pkg/common/naming.go", + "source_location": "L107", "weight": 1.0, "confidence_score": 1.0, - "source": "images_image", - "target": "images_image_getpvccleanupjobimage" + "source": "common_naming", + "target": "common_naming_pvccleanupjobname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/images/image.go", - "source_location": "L46", + "source_file": "pkg/common/naming.go", + "source_location": "L185", "weight": 1.0, "confidence_score": 1.0, - "source": "images_image", - "target": "images_image_getwebhookserverimage" + "source": "common_naming", + "target": "common_naming_registryimagebuilderrolename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/deployment.go", - "source_location": "L118", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L189", "weight": 1.0, - "source": "webhook_deployment_getspecdeployment", - "target": "images_image_getwebhookserverimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_registryimagepullerrolebindingname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L167", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L181", "weight": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "images_image_getpvccleanupjobimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_registryimagepullerrolename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L100", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L95", "weight": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", - "target": "images_image_getasyncstorageserverimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_routename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L310", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L139", "weight": 1.0, - "source": "storage_asyncstorage_checkconfigured", - "target": "images_image_getasyncstorageserverimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_sanitizevolumename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L49", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L59", "weight": 1.0, - "source": "asyncstorage_sidecar_getasyncsidecar", - "target": "images_image_getasyncstoragesidecarimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_serviceaccountlabels" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L313", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L52", "weight": 1.0, - "source": "storage_asyncstorage_checkconfigured", - "target": "images_image_getasyncstoragesidecarimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_serviceaccountname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/projects/clone.go", - "source_location": "L108", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L156", "weight": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "images_image_getprojectcloneimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_serviceaccounttokenprojectionname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/restore/restore.go", - "source_location": "L100", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L48", "weight": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "images_image_getprojectbackupimage" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_servicename" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/map/map.go", - "source_location": "L18", + "source_file": "pkg/common/naming.go", + "source_location": "L103", "weight": 1.0, "confidence_score": 1.0, - "source": "map_map", - "target": "map_map_append" + "source": "common_naming", + "target": "common_naming_servingcertvolumename" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "internal/map/map.go", - "source_location": "L28", + "source_file": "pkg/common/naming.go", + "source_location": "L83", "weight": 1.0, "confidence_score": 1.0, - "source": "map_map", - "target": "map_map_equal" + "source": "common_naming", + "target": "common_naming_workspacehostname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L96", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L165", "weight": 1.0, - "source": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_workspacerolebindingname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L40", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L161", "weight": 1.0, - "source": "asyncstorage_sidecar_getasyncsidecar", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_workspacerolename" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L306", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L177", "weight": 1.0, - "source": "automount_common_filtergitconfigautomountvolume", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_workspacesccrolebindingname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L221", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L173", "weight": 1.0, - "source": "automount_common_flattenautomountresources", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L211", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L111", "weight": 1.0, - "source": "automount_common_mergeautomountresources", - "target": "map_map_append" + "source": "workspace_routing_getspecrouting", + "target": "common_naming_devworkspaceroutingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L65", + "source_file": "pkg/common/naming_test.go", + "source_location": "L153", "weight": 1.0, - "source": "automount_common_provisionautomountresourcesinto", - "target": "map_map_append" + "source": "common_naming_test_fuzzendpointname", + "target": "common_naming_endpointname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L389", + "source_file": "pkg/common/naming_test.go", + "source_location": "L118", "weight": 1.0, - "source": "automount_common_test_loadalltestcasesorpanic", - "target": "map_map_append" + "source": "common_naming_test_testendpointname", + "target": "common_naming_endpointname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L410", + "source_file": "pkg/common/naming_test.go", + "source_location": "L137", "weight": 1.0, - "source": "automount_common_test_loadtestcaseorpanic", - "target": "map_map_append" + "source": "common_naming_test_testendpointnamerepeatedhyphensallocations", + "target": "common_naming_endpointname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L337", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L173", "weight": 1.0, - "source": "automount_common_test_testcheckautomountvolumesforcollision", - "target": "map_map_append" + "source": "handler_validate_discoverableendpointnames", + "target": "common_naming_endpointname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L108", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L205", "weight": 1.0, - "source": "automount_configmap_getautomountconfigmap", - "target": "map_map_append" + "source": "handler_webhookhandler_validateendpoints", + "target": "common_naming_endpointname" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L41", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "common_naming_portname", + "target": "pkg_common_naming_go_endpoint" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L79", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L68", "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "map_map_append" + "source": "container_conversion_devfileendpointstocontainerports", + "target": "common_naming_portname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L106", + "source_file": "pkg/library/status/check.go", + "source_location": "L159", "weight": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "map_map_append" + "source": "status_check_checkpodevents", + "target": "common_naming_servicename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L174", + "source_file": "pkg/library/status/check.go", + "source_location": "L182", "weight": 1.0, - "source": "automount_projected_checkcanuseprojectedvolumes", - "target": "map_map_append" + "source": "status_check_isservingcertmountfailure", + "target": "common_naming_servicename" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L52", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "common_naming_serviceaccountname", + "target": "pkg_common_naming_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L128", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L111", "weight": 1.0, - "source": "automount_projected_generateprojectedvolume", - "target": "map_map_append" + "source": "rbac_common_test_testsyncrbac", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L39", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L32", "weight": 1.0, - "source": "automount_projected_mergeprojectedvolumes", - "target": "map_map_append" + "source": "rbac_finalize_finalizerbac", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L316", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L84", "weight": 1.0, - "source": "automount_projected_test_testprojectedvolume", - "target": "map_map_append" + "source": "rbac_finalize_finalizeregistryrbac", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L113", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L61", "weight": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "map_map_append" + "source": "rbac_finalize_finalizesccrbac", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L62", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L181", "weight": 1.0, - "source": "automount_templates_constructgitconfig", - "target": "map_map_append" + "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L123", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L142", "weight": 1.0, - "source": "automount_templates_mergegitcredentials", - "target": "map_map_append" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L112", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L84", "weight": 1.0, - "source": "bootstrap_bootstrap_mergeprojects", - "target": "map_map_append" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/config/config.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L268", "weight": 1.0, - "source": "config_config_readnamespacedconfig", - "target": "map_map_append" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L267", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L32", "weight": 1.0, - "source": "config_defaults_getdefaultnetworkpolicy", - "target": "map_map_append" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L651", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L76", "weight": 1.0, - "source": "config_sync_getcurrentconfigstring", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L95", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L154", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/container_test.go", - "source_location": "L63", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L195", "weight": 1.0, - "source": "container_container_test_loadalltestcasesorpanic", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L66", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L46", "weight": 1.0, - "source": "container_conversion_devfileendpointstocontainerports", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L102", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L108", "weight": 1.0, - "source": "container_conversion_devfileenvtocontainerenv", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L85", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L84", "weight": 1.0, - "source": "container_conversion_devfilevolumemountstocontainervolumemounts", - "target": "map_map_append" + "source": "workspace_serviceaccount_finalizeserviceaccount", + "target": "common_naming_serviceaccountname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L73", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L41", "weight": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "map_map_append" + "source": "workspace_serviceaccount_syncserviceaccount", + "target": "common_naming_serviceaccountname" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L59", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "common_naming_serviceaccountlabels", + "target": "pkg_common_naming_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L33", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L47", "weight": 1.0, - "source": "defaults_helper_applydefaulttemplate", - "target": "map_map_append" + "source": "workspace_serviceaccount_syncserviceaccount", + "target": "common_naming_serviceaccountlabels" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L344", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L102", "weight": 1.0, - "source": "flatten_flatten_formatvariableswarning", - "target": "map_map_append" + "source": "workspace_deployment_deleteworkspacedeployment", + "target": "common_naming_deploymentname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L102", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L402", "weight": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "map_map_append" + "source": "workspace_deployment_getclusterdeployment", + "target": "common_naming_deploymentname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L183", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L178", "weight": 1.0, - "source": "flatten_merge_mergecontainercontributions", - "target": "map_map_append" + "source": "workspace_deployment_getspecdeployment", + "target": "common_naming_deploymentname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L298", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L120", "weight": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "map_map_append" + "source": "workspace_deployment_scaledeploymenttozero", + "target": "common_naming_deploymentname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L71", + "source_file": "pkg/library/status/check.go", + "source_location": "L159", "weight": 1.0, - "source": "flatten_merge_mergevolumecomponents", - "target": "map_map_append" + "source": "status_check_checkpodevents", + "target": "common_naming_servingcertvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L363", + "source_file": "pkg/library/status/check.go", + "source_location": "L182", "weight": 1.0, - "source": "flatten_merge_updatecommandtargetsaftermerge", - "target": "map_map_append" + "source": "status_check_isservingcertmountfailure", + "target": "common_naming_servingcertvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L140", "weight": 1.0, - "source": "flatten_resolutioncontexttree_addplugin", - "target": "map_map_append" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "common_naming_pvccleanupjobname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L53", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L88", "weight": 1.0, - "source": "flatten_resolutioncontexttree_hascycle", - "target": "map_map_append" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "common_naming_pvccleanupjobname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/attributes.go", - "source_location": "L42", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L164", "weight": 1.0, - "source": "handler_attributes_checkmultiplecontainercontributiontargets", - "target": "map_map_append" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "common_naming_perworkspacepvcname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/warning.go", - "source_location": "L89", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L69", "weight": 1.0, - "source": "handler_warning_formatunsupportedfeatureswarning", - "target": "map_map_append" + "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", + "target": "common_naming_perworkspacepvcname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L66", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L54", "weight": 1.0, - "source": "handler_warning_test_loadalltestcasesorpanic", - "target": "map_map_append" + "source": "storage_storage_getworkspacepvcinfo", + "target": "common_naming_perworkspacepvcname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L47", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L94", "weight": 1.0, - "source": "handler_webhookhandler_mutateworkspacev1alpha1oncreate", - "target": "map_map_append" + "source": "metadata_metadata_getspecmetadataconfigmap", + "target": "common_naming_metadataconfigmapname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L63", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L575", "weight": 1.0, - "source": "handler_webhookhandler_mutateworkspacev1alpha2oncreate", - "target": "map_map_append" + "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", + "target": "common_naming_automountconfigmapvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L51", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L610", "weight": 1.0, - "source": "handler_webhookhandler_validatedevfile", - "target": "map_map_append" + "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", + "target": "common_naming_automountconfigmapvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L70", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L639", "weight": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "map_map_append" + "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", + "target": "common_naming_automountconfigmapvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L339", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L92", "weight": 1.0, - "source": "handler_workspace_setvalidatedpermissionsannotations", - "target": "map_map_append" + "source": "automount_configmap_getautomountconfigmap", + "target": "common_naming_automountconfigmapvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L174", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L196", "weight": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "map_map_append" + "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", + "target": "common_naming_automountconfigmapvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L235", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L419", "weight": 1.0, - "source": "home_persistenthome_addinitcontainercomponent", - "target": "map_map_append" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", + "target": "common_naming_automountconfigmapvolumename" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L73", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L120", "weight": 1.0, - "source": "home_persistenthome_addpersistenthomevolume", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming_automountconfigmapvolumename", + "target": "common_naming_sanitizevolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L71", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L509", "weight": 1.0, - "source": "home_persistenthome_test_loadalltestcasesorpanic", - "target": "map_map_append" + "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", + "target": "common_naming_automountsecretvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/initcontainers/merge.go", - "source_location": "L86", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L538", "weight": 1.0, - "source": "initcontainers_merge_mergeinitcontainers", - "target": "map_map_append" + "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", + "target": "common_naming_automountsecretvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/internal/utils.go", - "source_location": "L146", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L474", "weight": 1.0, - "source": "internal_utils_getadditionalcerts", - "target": "map_map_append" + "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", + "target": "common_naming_automountsecretvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L721", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L191", "weight": 1.0, - "source": "kubernetes_provision_test_collectclusterobj", - "target": "map_map_append" + "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", + "target": "common_naming_automountsecretvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L695", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L299", "weight": 1.0, - "source": "kubernetes_provision_test_loadalltestcasesorpanic", - "target": "map_map_append" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "target": "common_naming_automountsecretvolumename" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L109", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L124", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming_automountsecretvolumename", + "target": "common_naming_sanitizevolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L364", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L696", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", - "target": "map_map_append" + "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", + "target": "common_naming_automountpvcvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L408", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L676", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", - "target": "map_map_append" + "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", + "target": "common_naming_automountpvcvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L560", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L97", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", - "target": "map_map_append" + "source": "automount_pvcs_getautomountpvcs", + "target": "common_naming_automountpvcvolumename" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L474", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming.go", + "source_location": "L128", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", - "target": "map_map_append" + "confidence_score": 1.0, + "source": "common_naming_automountpvcvolumename", + "target": "common_naming_sanitizevolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L315", + "source_file": "pkg/common/naming_test.go", + "source_location": "L72", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", - "target": "map_map_append" + "source": "common_naming_test_testsanitizevolumename", + "target": "common_naming_sanitizevolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L267", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L427", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", - "target": "map_map_append" + "source": "automount_common_test_loadtestcaseorpanic", + "target": "common_naming_automountprojectedvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L516", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L93", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", - "target": "map_map_append" + "source": "automount_projected_generateprojectedvolume", + "target": "common_naming_automountprojectedvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L230", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L113", "weight": 1.0, - "source": "kubernetes_provision_test_testhaskubelikecomponent", - "target": "map_map_append" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "common_naming_automountprojectedvolumename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L169", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L144", "weight": 1.0, - "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", - "target": "map_map_append" + "source": "rbac_common_test_testsyncrbac", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L49", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L33", "weight": 1.0, - "source": "kubernetes_util_filterforkubelikecomponents", - "target": "map_map_append" + "source": "rbac_finalize_finalizerbac", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/command.go", + "source_file": "pkg/provision/workspace/rbac/migrate.go", "source_location": "L40", "weight": 1.0, - "source": "lifecycle_command_getcommandsforkeys", - "target": "map_map_append" + "source": "rbac_migrate_cleanupdeprecatedrbac", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L82", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L81", "weight": 1.0, - "source": "lifecycle_command_removecommandsbykeys", - "target": "map_map_append" + "source": "rbac_role_generatedefaultrole", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L68", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L41", "weight": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "map_map_append" + "source": "rbac_role_test_testcreatesroleifnotexists", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L192", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L60", "weight": 1.0, - "source": "lifecycle_poststart_builduserscript", - "target": "map_map_append" + "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L146", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L33", "weight": 1.0, - "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", - "target": "map_map_append" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L69", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L75", "weight": 1.0, - "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L45", "weight": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "common_naming_workspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L87", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L158", "weight": 1.0, - "source": "lifecycle_prestart_sethomeinitcontainertofront", - "target": "map_map_append" + "source": "rbac_common_test_testsyncrbac", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L47", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L34", "weight": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "map_map_append" + "source": "rbac_finalize_finalizerbac", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L90", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L128", "weight": 1.0, - "source": "lifecycle_prestop_processcommandsforprestop", - "target": "map_map_append" + "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L66", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L108", "weight": 1.0, - "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", - "target": "map_map_append" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L63", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L72", "weight": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "map_map_append" + "source": "rbac_migrate_cleanupdeprecatedrbac", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L170", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L34", "weight": 1.0, - "source": "overrides_containers_test_loadallcontainertestcasesorpanic", - "target": "map_map_append" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L120", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L71", "weight": 1.0, - "source": "overrides_pods_getpodoverrides", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L279", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L41", "weight": 1.0, - "source": "overrides_pods_test_loadallpodtestcasesorpanic", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "common_naming_workspacerolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L69", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L127", "weight": 1.0, - "source": "project_clone_main_main", - "target": "map_map_append" + "source": "networkpolicy_networkpolicy_deletenetworkpolicy", + "target": "common_naming_networkpolicyname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/projects/clone.go", - "source_location": "L53", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L42", "weight": 1.0, - "source": "projects_clone_validateallprojects", - "target": "map_map_append" + "source": "networkpolicy_networkpolicy_generatenetworkpolicy", + "target": "common_naming_networkpolicyname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L326", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L96", "weight": 1.0, - "source": "rbac_finalize_test_newregistryimagepullerrolebinding", - "target": "map_map_append" + "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", + "target": "common_naming_networkpolicyname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L87", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L108", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "map_map_append" + "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "target": "common_naming_networkpolicyname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L271", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L151", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "map_map_append" + "source": "rbac_common_test_testsyncrbac", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L104", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L62", "weight": 1.0, - "source": "rbac_rolebinding_addserviceaccounttorolebinding", - "target": "map_map_append" + "source": "rbac_finalize_finalizesccrbac", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L142", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L138", "weight": 1.0, - "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", - "target": "map_map_append" + "source": "rbac_role_generateuseroleforscc", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/restore/restore.go", - "source_location": "L103", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L123", "weight": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "map_map_append" + "source": "rbac_role_test_testcreatessccroleifnotexists", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/ssh/event.go", - "source_location": "L57", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L146", "weight": 1.0, - "source": "ssh_event_addsshagentpoststartevent", - "target": "map_map_append" + "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L260", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L40", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "map_map_append" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L173", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L153", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L108", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L107", "weight": 1.0, - "source": "storage_commonstorage_test_loadalltestcasesorpanic", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "common_naming_workspacesccrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L182", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L167", "weight": 1.0, - "source": "storage_shared_addephemeralvolumestopodadditions", - "target": "map_map_append" + "source": "rbac_common_test_testsyncrbac", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L201", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L63", "weight": 1.0, - "source": "storage_shared_getworkspacevolumes", - "target": "map_map_append" + "source": "rbac_finalize_finalizesccrbac", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L419", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L312", "weight": 1.0, - "source": "storage_shared_rewritecontainervolumemounts", - "target": "map_map_append" + "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/update.go", - "source_location": "L64", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L292", "weight": 1.0, - "source": "sync_update_serviceaccountupdatefunc", - "target": "map_map_append" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/update.go", - "source_location": "L138", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L41", "weight": 1.0, - "source": "sync_update_unrecognizedobjectupdatefunc", - "target": "map_map_append" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L110", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L149", "weight": 1.0, - "source": "testutil_common_loadalltestsorpanic", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L147", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L103", "weight": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "common_naming_workspacesccrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L322", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L324", "weight": 1.0, - "source": "workspace_deployment_mergepodadditions", - "target": "map_map_append" + "source": "rbac_finalize_test_newregistryimagepullerrolebinding", + "target": "common_naming_registryimagepullerrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/mutating_cfg.go", - "source_location": "L144", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L49", "weight": 1.0, - "source": "workspace_mutating_cfg_buildmutatewebhookcfg", - "target": "map_map_append" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_registryimagepullerrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L200", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L192", "weight": 1.0, - "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", - "target": "map_map_append" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "common_naming_registryimagepullerrolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L86", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L85", "weight": 1.0, - "source": "workspace_routing_getspecrouting", - "target": "map_map_append" + "source": "rbac_finalize_finalizeregistryrbac", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L118", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L322", "weight": 1.0, - "source": "workspace_serviceaccount_removesccfromserviceaccount", - "target": "map_map_append" + "source": "rbac_finalize_test_newregistryimagepullerrolebinding", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L51", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L196", "weight": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "map_map_append" + "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L64", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L166", "weight": 1.0, - "source": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", - "target": "map_map_equal" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L1051", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L50", "weight": 1.0, - "source": "automount_common_test_testmatchesworkspacetarget", - "target": "map_map_equal" + "source": "rbac_rolebinding_syncrolebindings", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L575", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L185", "weight": 1.0, - "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", - "target": "map_map_equal" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L610", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L218", "weight": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", - "target": "map_map_equal" + "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", + "target": "common_naming_registryimagepullerrolebindingname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L639", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L45", "weight": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", - "target": "map_map_equal" + "source": "rbac_migrate_cleanupdeprecatedrbac", + "target": "common_naming_oldworkspacerolename" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L705", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L77", "weight": 1.0, - "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", - "target": "map_map_equal" + "source": "rbac_migrate_cleanupdeprecatedrbac", + "target": "common_naming_oldworkspacerolebindingname" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L146", + "weight": 1.0, + "source": "common_naming_test", + "target": "common_naming_test_fuzzendpointname", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L84", + "weight": 1.0, + "source": "common_naming_test", + "target": "common_naming_test_testendpointname", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L133", + "weight": 1.0, + "source": "common_naming_test", + "target": "common_naming_test_testendpointnamerepeatedhyphensallocations", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L24", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_naming_test", + "target": "common_naming_test_testsanitizevolumename" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L24", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "common_naming_test_testsanitizevolumename", + "target": "pkg_common_naming_test_go_t" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L84", + "weight": 1.0, + "context": "parameter_type", + "source": "common_naming_test_testendpointname", + "target": "pkg_common_naming_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L133", + "weight": 1.0, + "context": "parameter_type", + "source": "common_naming_test_testendpointnamerepeatedhyphensallocations", + "target": "pkg_common_naming_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/naming_test.go", + "source_location": "L146", + "weight": 1.0, + "context": "parameter_type", + "source": "common_naming_test_fuzzendpointname", + "target": "f", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L26", + "weight": 1.0, + "source": "common_scheduling", + "target": "common_scheduling_getworkspacepodaffinity", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L40", + "weight": 1.0, + "source": "common_scheduling", + "target": "common_scheduling_getworkspacepodaffinitywithnodeaffinity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L26", + "weight": 1.0, + "context": "return_type", + "source": "common_scheduling_getworkspacepodaffinity", + "target": "affinity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L26", + "weight": 1.0, + "context": "parameter_type", + "source": "common_scheduling_getworkspacepodaffinity", + "target": "pkg_common_scheduling_go_workspaceconfig", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L509", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L205", "weight": 1.0, - "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", - "target": "map_map_equal" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "common_scheduling_getworkspacepodaffinity" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L538", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L210", "weight": 1.0, - "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", - "target": "map_map_equal" + "source": "workspace_deployment_getspecdeployment", + "target": "common_scheduling_getworkspacepodaffinity" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L40", + "weight": 1.0, + "context": "parameter_type", + "source": "common_scheduling_getworkspacepodaffinitywithnodeaffinity", + "target": "pkg_common_scheduling_go_workspaceconfig", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L40", + "weight": 1.0, + "context": "return_type", + "source": "common_scheduling_getworkspacepodaffinitywithnodeaffinity", + "target": "affinity", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L293", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "storage_shared_nodeaffinityforhostname", + "target": "affinity" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/scheduling.go", + "source_location": "L40", + "weight": 1.0, + "context": "parameter_type", + "source": "common_scheduling_getworkspacepodaffinitywithnodeaffinity", + "target": "pkg_common_scheduling_go_nodeaffinity", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L676", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L203", "weight": 1.0, - "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", - "target": "map_map_equal" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "common_scheduling_getworkspacepodaffinitywithnodeaffinity" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/common/types.go", + "source_location": "L21", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_types", + "target": "common_devworkspacewithconfig" + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "pkg/common/types.go", + "source_location": "L22", + "weight": 1.0, + "confidence_score": 1.0, + "source": "common_devworkspacewithconfig", + "target": "pkg_common_types_go_devworkspace" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/common/types.go", + "source_location": "L23", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "common_devworkspacewithconfig", + "target": "pkg_common_types_go_operatorconfiguration" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L42", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conditions_conditions", + "target": "conditions_conditions_countwarningconditions" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L33", + "weight": 1.0, + "confidence_score": 1.0, + "source": "conditions_conditions", + "target": "conditions_conditions_getconditionbytype" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L33", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "conditions_conditions_getconditionbytype", + "target": "pkg_conditions_conditions_go_devworkspacecondition" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L33", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "conditions_conditions_getconditionbytype", + "target": "pkg_conditions_conditions_go_devworkspaceconditiontype" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/conditions/conditions.go", + "source_location": "L42", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "conditions_conditions_countwarningconditions", + "target": "pkg_conditions_conditions_go_devworkspacecondition" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L474", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L69", "weight": 1.0, - "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_common_test", + "target": "config_common_test_buildconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L142", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L79", "weight": 1.0, - "source": "automount_common_test_testprovisionautomountresourcesinto", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_common_test", + "target": "config_common_test_buildexternalconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L985", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L44", "weight": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialssecret", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_common_test", + "target": "config_common_test_init" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L177", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L52", "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_common_test", + "target": "config_common_test_setupfortest" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L150", + "source_file": "pkg/config/common_test.go", + "source_location": "L58", "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", - "target": "map_map_equal" + "source": "config_common_test_setupfortest", + "target": "config_defaults_setdefaultcontainersecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L224", + "source_file": "pkg/config/common_test.go", + "source_location": "L60", "weight": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", - "target": "map_map_equal" + "source": "config_common_test_setupfortest", + "target": "config_defaults_setdefaultnetworkpolicy" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L191", + "source_file": "pkg/config/common_test.go", + "source_location": "L59", "weight": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", - "target": "map_map_equal" + "source": "config_common_test_setupfortest", + "target": "config_defaults_setdefaultoverrideconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L210", + "source_file": "pkg/config/common_test.go", + "source_location": "L57", "weight": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", - "target": "map_map_equal" + "source": "config_common_test_setupfortest", + "target": "config_defaults_setdefaultpodsecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L234", + "source_file": "pkg/config/common_test.go", + "source_location": "L56", "weight": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "map_map_equal" + "source": "config_common_test_setupfortest", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/common/naming_test.go", - "source_location": "L73", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L52", "weight": 1.0, - "source": "common_naming_test_testsanitizevolumename", - "target": "map_map_equal" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_common_test_setupfortest", + "target": "pkg_config_common_test_go_t" }, { "relation": "calls", @@ -43479,10 +57744,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/migrate_test.go", - "source_location": "L251", + "source_location": "L206", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", - "target": "map_map_equal" + "source": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43490,10 +57755,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/migrate_test.go", - "source_location": "L286", + "source_location": "L214", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", - "target": "map_map_equal" + "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43501,10 +57766,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/migrate_test.go", - "source_location": "L145", + "source_location": "L255", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", - "target": "map_map_equal" + "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43512,10 +57777,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/migrate_test.go", - "source_location": "L69", + "source_location": "L290", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", - "target": "map_map_equal" + "source": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43523,54 +57788,54 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/migrate_test.go", - "source_location": "L195", + "source_location": "L103", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", - "target": "map_map_equal" + "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", + "target": "config_common_test_setupfortest" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L155", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L73", "weight": 1.0, - "source": "config_sync_test_testcatchesnonexistentexternaldwoc", - "target": "map_map_equal" + "source": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", + "target": "config_common_test_setupfortest" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L269", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L35", "weight": 1.0, - "source": "config_sync_test_testdetectsopenshiftroutesuffix", - "target": "map_map_equal" + "source": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", + "target": "config_common_test_setupfortest" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L428", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L51", "weight": 1.0, - "source": "config_sync_test_testmergeconfighandlesproxysettings", - "target": "map_map_equal" + "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", + "target": "config_common_test_setupfortest" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L446", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L156", "weight": 1.0, - "source": "config_sync_test_testmergeconfiglooksatallfields", - "target": "map_map_equal" + "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43578,10 +57843,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L614", + "source_location": "L137", "weight": 1.0, - "source": "config_sync_test_testmergeconfigmergesruntimeclassname", - "target": "map_map_equal" + "source": "config_sync_test_testcatchesnonexistentexternaldwoc", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43589,10 +57854,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L464", + "source_location": "L253", "weight": 1.0, - "source": "config_sync_test_testmergeconfigmergesstorageaccessmode", - "target": "map_map_equal" + "source": "config_sync_test_testdetectsopenshiftroutesuffix", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43600,10 +57865,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L538", + "source_location": "L365", "weight": 1.0, - "source": "config_sync_test_testmergeconfigmergesstorageclassname", - "target": "map_map_equal" + "source": "config_sync_test_testmergeconfighandlesproxysettings", + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43611,10 +57876,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L191", + "source_location": "L159", "weight": 1.0, "source": "config_sync_test_testmergeexternalconfig", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43622,10 +57887,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L131", + "source_location": "L98", "weight": 1.0, "source": "config_sync_test_testmergesallfieldsfromclusterconfig", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43633,10 +57898,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L674", + "source_location": "L620", "weight": 1.0, "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43644,10 +57909,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L248", + "source_location": "L227", "weight": 1.0, "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43655,10 +57920,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L66", + "source_location": "L56", "weight": 1.0, "source": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43666,10 +57931,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L52", + "source_location": "L46", "weight": 1.0, "source": "config_sync_test_testsetupcontrollerconfigusesdefault", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43677,10 +57942,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L94", + "source_location": "L70", "weight": 1.0, "source": "config_sync_test_testsetupcontrollermergesclusterconfig", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43688,10 +57953,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L314", + "source_location": "L299", "weight": 1.0, "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43699,10 +57964,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L349", + "source_location": "L333", "weight": 1.0, "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43710,10 +57975,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L282", + "source_location": "L273", "weight": 1.0, "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43721,10 +57986,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L295", + "source_location": "L286", "weight": 1.0, "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { "relation": "calls", @@ -43732,4468 +57997,4583 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/config/sync_test.go", - "source_location": "L326", + "source_location": "L318", "weight": 1.0, "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", - "target": "map_map_equal" + "target": "config_common_test_setupfortest" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container_test.go", - "source_location": "L97", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L69", "weight": 1.0, - "source": "container_container_test_testgetkubecontainersfromdevfile", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_common_test_buildconfig", + "target": "pkg_config_common_test_go_devworkspaceoperatorconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L230", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L69", "weight": 1.0, - "source": "flatten_flatten_test_testmergecontainercontributions", - "target": "map_map_equal" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_common_test_buildconfig", + "target": "pkg_config_common_test_go_operatorconfiguration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L253", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L79", "weight": 1.0, - "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", - "target": "map_map_equal" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_common_test_buildexternalconfig", + "target": "pkg_config_common_test_go_operatorconfiguration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L295", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/common_test.go", + "source_location": "L79", "weight": 1.0, - "source": "flatten_flatten_test_testmergeimplicitspeccontributions", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_common_test_buildexternalconfig", + "target": "pkg_config_common_test_go_devworkspaceoperatorconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L207", + "source_file": "pkg/config/sync_test.go", + "source_location": "L174", "weight": 1.0, - "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", - "target": "map_map_equal" + "source": "config_sync_test_testmergeexternalconfig", + "target": "config_common_test_buildexternalconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L274", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L107", "weight": 1.0, - "source": "flatten_flatten_test_testmergespeccontributions", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_config", + "target": "configmap_config_loadcontrollerconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L161", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L96", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceannotations", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_config", + "target": "configmap_config_syncconfigmapfromcluster" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L43", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L44", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_config", + "target": "configmap_controllerconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L138", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L61", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getclusterroutingsuffix" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L112", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L57", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceparents", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getdefaultroutingclass" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L66", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L68", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getexperimentalfeaturesenabled" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L89", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L80", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getproperty" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L184", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L72", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getpvcstorageclassname" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L76", + "weight": 1.0, + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getsidecarpullpolicy" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L92", + "weight": 1.0, + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getworkspaceidletimeout" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L53", + "weight": 1.0, + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_getworkspacepvcname" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L48", + "weight": 1.0, + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_update" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L88", + "weight": 1.0, + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "configmap_controllerconfig_validate" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L45", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "configmap_controllerconfig", + "target": "pkg_config_configmap_config_go_configmap" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L48", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "configmap_controllerconfig_update", + "target": "pkg_config_configmap_config_go_configmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/warning_test.go", - "source_location": "L92", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L102", "weight": 1.0, - "source": "handler_warning_test_testmodifyworkspacewithunsupportedfeatures", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_config_syncconfigmapfromcluster", + "target": "configmap_controllerconfig_update" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L107", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L54", "weight": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getworkspacepvcname", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L121", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L58", "weight": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getdefaultroutingclass", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L345", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L62", "weight": 1.0, - "source": "home_custom_init_test_testinferworkspaceimage", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getclusterroutingsuffix", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L102", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L69", "weight": 1.0, - "source": "home_persistenthome_test_testpersistenthomevolume", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getexperimentalfeaturesenabled", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/initcontainers/merge_test.go", - "source_location": "L141", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L73", "weight": 1.0, - "source": "initcontainers_merge_test_testmergeinitcontainers", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getpvcstorageclassname", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L87", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L77", "weight": 1.0, - "source": "kubernetes_deserialize_test_testdeserializeobject", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getsidecarpullpolicy", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L96", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L93", "weight": 1.0, - "source": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_controllerconfig_getworkspaceidletimeout", + "target": "configmap_controllerconfig_getproperty" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L136", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L142", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "configmap_config_loadcontrollerconfig", + "target": "configmap_config_syncconfigmapfromcluster" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L89", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L96", "weight": 1.0, - "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", - "target": "map_map_equal" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "configmap_config_syncconfigmapfromcluster", + "target": "pkg_config_configmap_config_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L294", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L96", "weight": 1.0, - "source": "lifecycle_poststart_test_testbuilduserscript", - "target": "map_map_equal" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "configmap_config_syncconfigmapfromcluster", + "target": "pkg_config_configmap_config_go_object" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L627", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L107", "weight": 1.0, - "source": "lifecycle_poststart_test_testgeneratescriptwithtimeout", - "target": "map_map_equal" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "configmap_config_loadcontrollerconfig", + "target": "pkg_config_configmap_config_go_client" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L75", + "source_file": "pkg/config/migrate.go", + "source_location": "L85", "weight": 1.0, - "source": "lifecycle_prestart_test_testgetinitcontainers", - "target": "map_map_equal" + "source": "config_migrate_convertconfigmaptoconfigcrd", + "target": "configmap_config_loadcontrollerconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L85", + "source_file": "pkg/config/configmap/config.go", + "source_location": "L116", "weight": 1.0, - "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", - "target": "map_map_equal" + "source": "configmap_config_loadcontrollerconfig", + "target": "infrastructure_namespace_getnamespace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L150", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L287", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_deepcopyegressrules" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L108", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L276", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_deepcopyingressrules" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L170", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L247", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_getdefaultnetworkpolicy" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L139", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L198", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_setdefaultcontainersecuritycontext" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L45", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L222", "weight": 1.0, - "source": "overrides_containers_test_testapplycontaineroverrides", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_setdefaultnetworkpolicy" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L137", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L210", "weight": 1.0, - "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_setdefaultoverrideconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L108", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L186", "weight": 1.0, - "source": "overrides_containers_test_testrestrictcontaineroverride", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults", + "target": "config_defaults_setdefaultpodsecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L52", + "source_file": "pkg/config/defaults.go", + "source_location": "L187", "weight": 1.0, - "source": "overrides_pods_test_testapplypodoverrides", - "target": "map_map_equal" + "source": "config_defaults_setdefaultpodsecuritycontext", + "target": "infrastructure_cluster_isinitialized" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L246", + "source_file": "pkg/config/defaults.go", + "source_location": "L190", "weight": 1.0, - "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", - "target": "map_map_equal" + "source": "config_defaults_setdefaultpodsecuritycontext", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L173", + "source_file": "pkg/config/sync.go", + "source_location": "L102", "weight": 1.0, - "source": "overrides_pods_test_testneedspodoverride", - "target": "map_map_equal" + "source": "config_sync_setglobalconfigfortesting", + "target": "config_defaults_setdefaultpodsecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L209", + "source_file": "pkg/config/sync.go", + "source_location": "L114", "weight": 1.0, - "source": "overrides_pods_test_testrestrictpodoverride", - "target": "map_map_equal" + "source": "config_sync_setupcontrollerconfig", + "target": "config_defaults_setdefaultpodsecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L120", + "source_file": "pkg/config/defaults.go", + "source_location": "L199", "weight": 1.0, - "source": "proxy_openshift_test_testmergeproxyconfigs", - "target": "map_map_equal" + "source": "config_defaults_setdefaultcontainersecuritycontext", + "target": "infrastructure_cluster_isinitialized" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L75", + "source_file": "pkg/config/defaults.go", + "source_location": "L202", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "map_map_equal" + "source": "config_defaults_setdefaultcontainersecuritycontext", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L153", + "source_file": "pkg/config/sync.go", + "source_location": "L103", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "map_map_equal" + "source": "config_sync_setglobalconfigfortesting", + "target": "config_defaults_setdefaultcontainersecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L191", + "source_file": "pkg/config/sync.go", + "source_location": "L117", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "map_map_equal" + "source": "config_sync_setupcontrollerconfig", + "target": "config_defaults_setdefaultcontainersecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L45", + "source_file": "pkg/config/defaults.go", + "source_location": "L211", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "map_map_equal" + "source": "config_defaults_setdefaultoverrideconfig", + "target": "infrastructure_cluster_isinitialized" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L107", + "source_file": "pkg/config/defaults.go", + "source_location": "L214", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "map_map_equal" + "source": "config_defaults_setdefaultoverrideconfig", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L121", + "source_file": "pkg/config/sync.go", + "source_location": "L104", "weight": 1.0, - "source": "resources_helper_test_testaddresourcerequirements", - "target": "map_map_equal" + "source": "config_sync_setglobalconfigfortesting", + "target": "config_defaults_setdefaultoverrideconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L372", + "source_file": "pkg/config/sync.go", + "source_location": "L120", "weight": 1.0, - "source": "resources_helper_test_testapplycaps", - "target": "map_map_equal" + "source": "config_sync_setupcontrollerconfig", + "target": "config_defaults_setdefaultoverrideconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L297", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L231", "weight": 1.0, - "source": "resources_helper_test_testapplydefaults", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults_setdefaultnetworkpolicy", + "target": "config_defaults_getdefaultnetworkpolicy" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L162", + "source_file": "pkg/config/defaults.go", + "source_location": "L223", "weight": 1.0, - "source": "resources_helper_test_testapplyresourcerequirementstocomponent", - "target": "map_map_equal" + "source": "config_defaults_setdefaultnetworkpolicy", + "target": "infrastructure_cluster_isinitialized" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L227", + "source_file": "pkg/config/defaults.go", + "source_location": "L226", "weight": 1.0, - "source": "resources_helper_test_testfilterresources", - "target": "map_map_equal" + "source": "config_defaults_setdefaultnetworkpolicy", + "target": "infrastructure_namespace_getnamespace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L74", + "source_file": "pkg/config/sync.go", + "source_location": "L105", "weight": 1.0, - "source": "resources_helper_test_testparseresourcesfromcomponent", - "target": "map_map_equal" + "source": "config_sync_setglobalconfigfortesting", + "target": "config_defaults_setdefaultnetworkpolicy" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L1143", + "source_file": "pkg/config/sync.go", + "source_location": "L123", "weight": 1.0, - "source": "restrictions_container_restrictions_test_testrestrictcontainer", - "target": "map_map_equal" + "source": "config_sync_setupcontrollerconfig", + "target": "config_defaults_setdefaultnetworkpolicy" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1432", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L273", "weight": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults_getdefaultnetworkpolicy", + "target": "config_defaults_deepcopyegressrules" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L141", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L273", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_defaults_getdefaultnetworkpolicy", + "target": "config_defaults_deepcopyingressrules" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L81", + "source_file": "pkg/config/defaults.go", + "source_location": "L253", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", - "target": "map_map_equal" + "source": "config_defaults_getdefaultnetworkpolicy", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L160", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L247", "weight": 1.0, - "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_defaults_getdefaultnetworkpolicy", + "target": "pkg_config_defaults_go_networkpolicyegressrule" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L191", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L247", "weight": 1.0, - "source": "storage_commonstorage_test_testterminatingpvc", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_defaults_getdefaultnetworkpolicy", + "target": "pkg_config_defaults_go_networkpolicyingressrule" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L126", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L276", "weight": 1.0, - "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_defaults_deepcopyingressrules", + "target": "pkg_config_defaults_go_networkpolicyingressrule" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L47", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/defaults.go", + "source_location": "L287", "weight": 1.0, - "source": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_defaults_deepcopyegressrules", + "target": "pkg_config_defaults_go_networkpolicyegressrule" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L84", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L27", "weight": 1.0, - "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_env", + "target": "config_controllerenv" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L182", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L48", "weight": 1.0, - "source": "storage_shared_test_testfindnodeforpvc", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_env", + "target": "config_env_getdevmodeenabled" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L60", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L52", "weight": 1.0, - "source": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_env", + "target": "config_env_getmaxconcurrentreconciles" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L41", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L64", "weight": 1.0, - "source": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_env", + "target": "config_env_getresourcequantityfromenvvar" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L78", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L40", "weight": 1.0, - "source": "storage_shared_test_testnodeaffinityforhostname", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_env", + "target": "config_env_getwebhookssecretname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L59", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L76", "weight": 1.0, - "source": "sync_diff_basicdifffunc", - "target": "map_map_equal" + "confidence_score": 1.0, + "source": "config_env", + "target": "config_env_getworkspacecontrollersa" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L135", + "source_file": "pkg/webhook/create.go", + "source_location": "L58", "weight": 1.0, - "source": "sync_diff_deploymentdifffunc", - "target": "map_map_equal" + "source": "webhook_create_setupwebhooks", + "target": "config_env_getwebhookssecretname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L188", + "source_file": "webhook/main.go", + "source_location": "L88", "weight": 1.0, - "source": "sync_diff_poddifffunc", - "target": "map_map_equal" + "source": "webhook_main_main", + "target": "config_env_getdevmodeenabled" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L262", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/env.go", + "source_location": "L64", "weight": 1.0, - "source": "sync_diff_servicedifffunc", - "target": "map_map_equal" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_env_getresourcequantityfromenvvar", + "target": "pkg_config_env_go_quantity" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L36", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L222", "weight": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", - "target": "map_map_equal" + "source": "webhook_deployment_getwebhooksserverresources", + "target": "config_env_getresourcequantityfromenvvar" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L28", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L80", "weight": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", - "target": "map_map_equal" + "source": "webhook_deployment_getspecdeployment", + "target": "config_env_getworkspacecontrollersa" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L202", + "source_file": "webhook/workspace/config.go", + "source_location": "L138", "weight": 1.0, - "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", - "target": "map_map_equal" + "source": "workspace_config_controllersauid", + "target": "config_env_getworkspacecontrollersa" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "main.go", - "source_location": "L71", + "source_file": "pkg/config/migrate.go", + "source_location": "L84", "weight": 1.0, "confidence_score": 1.0, - "source": "main", - "target": "main_init" + "source": "config_migrate", + "target": "config_migrate_convertconfigmaptoconfigcrd" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "main.go", - "source_location": "L99", + "source_file": "pkg/config/migrate.go", + "source_location": "L70", "weight": 1.0, "confidence_score": 1.0, - "source": "main", - "target": "main_main" + "source": "config_migrate", + "target": "config_migrate_deletemigratedconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "main.go", - "source_location": "L269", + "source_file": "pkg/config/migrate.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "main", - "target": "main_setupcontrollerconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L73", - "weight": 1.0, - "source": "main_init", - "target": "infrastructure_cluster_initialize" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L85", - "weight": 1.0, - "source": "main_init", - "target": "infrastructure_cluster_isopenshift" + "source": "config_migrate", + "target": "config_migrate_migrateconfigfromconfigmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L128", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate.go", + "source_location": "L34", "weight": 1.0, - "source": "main_main", - "target": "cache_cache_getcachefunc" + "confidence_score": 1.0, + "source": "config_migrate_migrateconfigfromconfigmap", + "target": "config_migrate_convertconfigmaptoconfigcrd" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L108", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate.go", + "source_location": "L56", "weight": 1.0, - "source": "main_main", - "target": "config_env_getdevmodeenabled" + "confidence_score": 1.0, + "source": "config_migrate_migrateconfigfromconfigmap", + "target": "config_migrate_deletemigratedconfigmap" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L187", + "source_file": "pkg/config/migrate.go", + "source_location": "L46", "weight": 1.0, - "source": "main_main", - "target": "config_sync_experimentalfeaturesenabled" + "source": "config_migrate_migrateconfigfromconfigmap", + "target": "config_sync_getclusterconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L106", + "source_file": "pkg/config/migrate.go", + "source_location": "L42", "weight": 1.0, - "source": "main_main", - "target": "handler_webhookhandler_parse" + "source": "config_migrate_migrateconfigfromconfigmap", + "target": "infrastructure_namespace_getnamespace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L160", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate.go", + "source_location": "L33", "weight": 1.0, - "source": "main_main", - "target": "httpfactory_http_setuphttpclientsfactory" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_migrate_migrateconfigfromconfigmap", + "target": "pkg_config_migrate_go_client" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L117", - "weight": 1.0, - "source": "main_main", - "target": "kubernetes_deserialize_initializedeserializer" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "main.go", - "source_location": "L155", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L133", "weight": 1.0, - "confidence_score": 1.0, - "source": "main_main", - "target": "main_setupcontrollerconfig" + "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", + "target": "config_migrate_migrateconfigfromconfigmap" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L121", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L89", "weight": 1.0, - "source": "main_main", - "target": "tlssetup_server_tls_buildservertlsoptions" + "source": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", + "target": "config_migrate_migrateconfigfromconfigmap" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L245", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L37", "weight": 1.0, - "source": "main_main", - "target": "tlssetup_server_tls_registersecurityprofilewatcher" + "source": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", + "target": "config_migrate_migrateconfigfromconfigmap" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L228", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L67", "weight": 1.0, - "source": "main_main", - "target": "webhook_create_setupwebhooks" + "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", + "target": "config_migrate_migrateconfigfromconfigmap" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "main.go", - "source_location": "L276", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L183", "weight": 1.0, - "source": "main_setupcontrollerconfig", + "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", "target": "config_migrate_migrateconfigfromconfigmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "main.go", - "source_location": "L269", + "source_file": "pkg/config/migrate.go", + "source_location": "L84", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "main_setupcontrollerconfig", - "target": "main_go_manager" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L161", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_build_and_push_images" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L65", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_dryrun" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L192", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_git_commit_and_push" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L69", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_parse_args" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L231", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_prerelease" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L272", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_release" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L124", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_update_images" - }, - { - "relation": "defines", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L103", - "weight": 1.0, - "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_update_version" + "source": "config_migrate_convertconfigmaptoconfigcrd", + "target": "pkg_config_migrate_go_client" }, { - "relation": "defines", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L31", + "source_file": "pkg/config/migrate.go", + "source_location": "L70", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "make_release", - "target": "make_release_usage" + "source": "config_migrate_deletemigratedconfigmap", + "target": "pkg_config_migrate_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L1", + "source_file": "pkg/config/migrate.go", + "source_location": "L84", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "make_release", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_make_release_sh__entry" + "source": "config_migrate_convertconfigmaptoconfigcrd", + "target": "pkg_config_migrate_go_devworkspaceoperatorconfig" }, { "relation": "calls", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L329", - "weight": 1.0, "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_make_release_sh__entry", - "target": "make_release_parse_args" - }, - { - "relation": "calls", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L341", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L208", "weight": 1.0, - "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_make_release_sh__entry", - "target": "make_release_prerelease" + "source": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", + "target": "config_migrate_convertconfigmaptoconfigcrd" }, { "relation": "calls", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L343", - "weight": 1.0, "context": "call", - "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_make_release_sh__entry", - "target": "make_release_release" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L247", + "weight": 1.0, + "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", + "target": "config_migrate_convertconfigmaptoconfigcrd" }, { "relation": "calls", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L79", - "weight": 1.0, "context": "call", - "confidence_score": 1.0, - "source": "make_release_parse_args", - "target": "make_release_usage" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L282", + "weight": 1.0, + "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", + "target": "config_migrate_convertconfigmaptoconfigcrd" }, { "relation": "calls", - "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L249", - "weight": 1.0, "context": "call", - "confidence_score": 1.0, - "source": "make_release_prerelease", - "target": "make_release_update_version" + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/migrate_test.go", + "source_location": "L306", + "weight": 1.0, + "source": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", + "target": "config_migrate_convertconfigmaptoconfigcrd" }, { - "relation": "calls", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L250", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L205", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "make_release_prerelease", - "target": "make_release_update_images" + "source": "config_migrate_test", + "target": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap" }, { - "relation": "calls", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L305", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L213", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "make_release_release", - "target": "make_release_build_and_push_images" + "source": "config_migrate_test", + "target": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues" }, { - "relation": "calls", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L252", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L254", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "make_release_prerelease", - "target": "make_release_git_commit_and_push" + "source": "config_migrate_test", + "target": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault" }, { - "relation": "calls", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "make-release.sh", - "source_location": "L298", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L289", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "make_release_release", - "target": "make_release_git_commit_and_push" + "source": "config_migrate_test", + "target": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault" }, { - "relation": "defines", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "patch/patch_crds.sh", - "source_location": "L44", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L102", "weight": 1.0, "confidence_score": 1.0, - "source": "patch_patch_crds", - "target": "patch_patch_crds_update_routings_crd" + "source": "config_migrate_test", + "target": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "patch/patch_crds.sh", - "source_location": "L1", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L72", "weight": 1.0, "confidence_score": 1.0, - "source": "patch_patch_crds", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_patch_patch_crds_sh__entry" + "source": "config_migrate_test", + "target": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated" }, { - "relation": "calls", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "patch/patch_crds.sh", - "source_location": "L62", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L34", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_patch_patch_crds_sh__entry", - "target": "patch_patch_crds_update_routings_crd" + "source": "config_migrate_test", + "target": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/cache/cache.go", - "source_location": "L37", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L50", "weight": 1.0, "confidence_score": 1.0, - "source": "cache_cache", - "target": "cache_cache_getcachefunc" + "source": "config_migrate_test", + "target": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/cache/cache.go", - "source_location": "L113", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L155", "weight": 1.0, "confidence_score": 1.0, - "source": "cache_cache", - "target": "cache_cache_getwebhookscachefunc" + "source": "config_migrate_test", + "target": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/cache/cache.go", - "source_location": "L38", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L34", "weight": 1.0, - "source": "cache_cache_getcachefunc", - "target": "handler_webhookhandler_parse" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", + "target": "pkg_config_migrate_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/cache/cache.go", - "source_location": "L100", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L205", "weight": 1.0, - "source": "cache_cache_getcachefunc", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", + "target": "pkg_config_migrate_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/cache/cache.go", - "source_location": "L37", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L213", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "cache_cache_getcachefunc", - "target": "newcachefunc" + "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", + "target": "pkg_config_migrate_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/cache/cache.go", - "source_location": "L113", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L254", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "cache_cache_getwebhookscachefunc", - "target": "newcachefunc" + "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", + "target": "pkg_config_migrate_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/cache/cache.go", - "source_location": "L116", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L289", "weight": 1.0, - "source": "cache_cache_getwebhookscachefunc", - "target": "handler_webhookhandler_parse" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", + "target": "pkg_config_migrate_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L126", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L102", "weight": 1.0, - "source": "webhook_main_main", - "target": "cache_cache_getwebhookscachefunc" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", + "target": "pkg_config_migrate_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L119", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L72", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_automountconfigmapvolumename" + "source": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", + "target": "pkg_config_migrate_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L149", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L50", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_automountprojectedvolumename" + "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", + "target": "pkg_config_migrate_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L127", + "source_file": "pkg/config/migrate_test.go", + "source_location": "L155", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_automountpvcvolumename" + "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", + "target": "pkg_config_migrate_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L123", + "source_file": "pkg/config/predicates.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_automountsecretvolumename" + "source": "config_predicates", + "target": "config_predicates_predicates" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L99", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/predicates.go", + "source_location": "L42", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_deploymentname" + "source": "config_predicates_predicates", + "target": "config_sync_restoredefaultconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/predicates.go", + "source_location": "L29", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_devworkspaceroutingname" + "source": "config_predicates_predicates", + "target": "config_sync_syncconfigfrom" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L73", + "source_file": "pkg/config/predicates.go", + "source_location": "L25", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_endpointhostname" + "source": "config_predicates_predicates", + "target": "predicate" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L34", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L244", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_endpointname" + "source": "webhook_main_setupconfigcachewatcher", + "target": "config_predicates_predicates" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L91", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L35", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_endpointpath" + "source": "proxy_openshift", + "target": "proxy_openshift_getclusterproxyconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L115", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L64", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_metadataconfigmapname" + "source": "proxy_openshift", + "target": "proxy_openshift_mergeproxyconfigs" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L169", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L99", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_networkpolicyname" + "source": "proxy_openshift", + "target": "proxy_openshift_removeemptystrings" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L205", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync.go", + "source_location": "L153", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_oldworkspacerolebindingname" + "source": "config_sync_setupcontrollerconfig", + "target": "proxy_openshift_getclusterproxyconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L197", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L36", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_oldworkspacerolename" + "source": "proxy_openshift_getclusterproxyconfig", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L111", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L35", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_perworkspacepvcname" + "source": "proxy_openshift_getclusterproxyconfig", + "target": "pkg_config_proxy_openshift_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L41", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L35", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_portname" + "source": "proxy_openshift_getclusterproxyconfig", + "target": "pkg_config_proxy_openshift_go_proxy" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L107", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L64", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_pvccleanupjobname" + "source": "proxy_openshift_mergeproxyconfigs", + "target": "pkg_config_proxy_openshift_go_proxy" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L185", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L99", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_registryimagebuilderrolename" + "source": "proxy_openshift_removeemptystrings", + "target": "pkg_config_proxy_openshift_go_proxy" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L189", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync.go", + "source_location": "L291", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_registryimagepullerrolebindingname" + "source": "config_sync_mergeconfig", + "target": "proxy_openshift_mergeproxyconfigs" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L181", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/sync.go", + "source_location": "L158", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_registryimagepullerrolename" + "source": "config_sync_setupcontrollerconfig", + "target": "proxy_openshift_mergeproxyconfigs" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L95", + "source_file": "pkg/config/proxy/openshift.go", + "source_location": "L66", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_routename" + "source": "proxy_openshift_mergeproxyconfigs", + "target": "proxy_openshift_removeemptystrings" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L139", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L119", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_sanitizevolumename" + "source": "proxy_openshift_test_testmergeproxyconfigs", + "target": "proxy_openshift_mergeproxyconfigs" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L59", + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L24", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_serviceaccountlabels" + "source": "proxy_openshift_test", + "target": "proxy_openshift_test_testmergeproxyconfigs" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L52", + "source_file": "pkg/config/proxy/openshift_test.go", + "source_location": "L24", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_serviceaccountname" + "source": "proxy_openshift_test_testmergeproxyconfigs", + "target": "pkg_config_proxy_openshift_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L156", + "source_file": "pkg/config/sync.go", + "source_location": "L214", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_serviceaccounttokenprojectionname" + "source": "config_sync", + "target": "config_sync_discoverroutesuffix" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L48", + "source_file": "pkg/config/sync.go", + "source_location": "L168", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_servicename" + "source": "config_sync", + "target": "config_sync_experimentalfeaturesenabled" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L103", + "source_file": "pkg/config/sync.go", + "source_location": "L175", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_servingcertvolumename" + "source": "config_sync", + "target": "config_sync_getclusterconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L83", + "source_file": "pkg/config/sync.go", + "source_location": "L91", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_workspacehostname" + "source": "config_sync", + "target": "config_sync_getconfigfortesting" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L165", + "source_file": "pkg/config/sync.go", + "source_location": "L642", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_workspacerolebindingname" + "source": "config_sync", + "target": "config_sync_getcurrentconfigstring" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L161", + "source_file": "pkg/config/sync.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_workspacerolename" + "source": "config_sync", + "target": "config_sync_getglobalconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L177", + "source_file": "pkg/config/sync.go", + "source_location": "L186", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_workspacesccrolebindingname" + "source": "config_sync", + "target": "config_sync_getmergedconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L173", + "source_file": "pkg/config/sync.go", + "source_location": "L164", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming", - "target": "common_naming_workspacesccrolename" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L111", - "weight": 1.0, - "source": "workspace_routing_getspecrouting", - "target": "common_naming_devworkspaceroutingname" + "source": "config_sync", + "target": "config_sync_issetup" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L41", + "source_file": "pkg/config/sync.go", + "source_location": "L843", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming_portname", - "target": "pkg_common_naming_go_endpoint" + "source": "config_sync", + "target": "config_sync_logcurrentconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L68", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L253", "weight": 1.0, - "source": "container_conversion_devfileendpointstocontainerports", - "target": "common_naming_portname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_mergeconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/status/check.go", - "source_location": "L159", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L569", "weight": 1.0, - "source": "status_check_checkpodevents", - "target": "common_naming_servicename" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_mergecontainersecuritycontext" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L52", + "source_file": "pkg/config/sync.go", + "source_location": "L545", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming_serviceaccountname", - "target": "pkg_common_naming_go_devworkspacewithconfig" + "source": "config_sync", + "target": "config_sync_mergepodsecuritycontext" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L111", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L615", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_mergeresources" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L32", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L593", "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_mergetlscertificateconfigmapref" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L84", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "weight": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_resolveconfigforworkspace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L61", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L204", "weight": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_restoredefaultconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L181", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L99", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_setglobalconfigfortesting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L142", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L110", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_setupcontrollerconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L84", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L193", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync", + "target": "config_sync_syncconfigfrom" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L268", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L55", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "common_naming_serviceaccountname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_getglobalconfig", + "target": "pkg_config_sync_go_operatorconfiguration" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L32", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L66", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_serviceaccountname" + "confidence_score": 1.0, + "source": "config_sync_resolveconfigforworkspace", + "target": "config_sync_getglobalconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L76", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L241", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "common_naming_serviceaccountname" + "source": "handler_webhookhandler_validateworkspacev1alpha2permissions", + "target": "config_sync_getglobalconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L154", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L179", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "common_naming_serviceaccountname" + "source": "httpfactory_http_getproxyfunc", + "target": "config_sync_getglobalconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L195", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L85", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "common_naming_serviceaccountname" + "source": "webhook_deployment_getspecdeployment", + "target": "config_sync_getglobalconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L46", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L91", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "common_naming_serviceaccountname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_getconfigfortesting", + "target": "pkg_config_sync_go_operatorconfiguration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L108", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L642", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "common_naming_serviceaccountname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_getcurrentconfigstring", + "target": "pkg_config_sync_go_operatorconfiguration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L84", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L186", "weight": 1.0, - "source": "workspace_serviceaccount_finalizeserviceaccount", - "target": "common_naming_serviceaccountname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_getmergedconfig", + "target": "pkg_config_sync_go_operatorconfiguration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L41", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L253", "weight": 1.0, - "source": "workspace_serviceaccount_syncserviceaccount", - "target": "common_naming_serviceaccountname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_mergeconfig", + "target": "pkg_config_sync_go_operatorconfiguration" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L59", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "common_naming_serviceaccountlabels", - "target": "pkg_common_naming_go_devworkspacewithconfig" + "source": "config_sync_resolveconfigforworkspace", + "target": "pkg_config_sync_go_operatorconfiguration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L47", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L99", "weight": 1.0, - "source": "workspace_serviceaccount_syncserviceaccount", - "target": "common_naming_serviceaccountlabels" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_setglobalconfigfortesting", + "target": "pkg_config_sync_go_operatorconfiguration" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L102", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L88", "weight": 1.0, - "source": "workspace_deployment_deleteworkspacedeployment", - "target": "common_naming_deploymentname" + "confidence_score": 1.0, + "source": "config_sync_resolveconfigforworkspace", + "target": "config_sync_getmergedconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L402", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "weight": 1.0, - "source": "workspace_deployment_getclusterdeployment", - "target": "common_naming_deploymentname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_resolveconfigforworkspace", + "target": "pkg_config_sync_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L178", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L64", "weight": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "common_naming_deploymentname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_resolveconfigforworkspace", + "target": "pkg_config_sync_go_devworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L120", + "source_file": "pkg/config/sync_test.go", + "source_location": "L151", "weight": 1.0, - "source": "workspace_deployment_scaledeploymenttozero", - "target": "common_naming_deploymentname" + "source": "config_sync_test_testcatchesnonexistentexternaldwoc", + "target": "config_sync_resolveconfigforworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/status/check.go", - "source_location": "L159", + "source_file": "pkg/config/sync_test.go", + "source_location": "L195", "weight": 1.0, - "source": "status_check_checkpodevents", - "target": "common_naming_servingcertvolumename" + "source": "config_sync_test_testmergeexternalconfig", + "target": "config_sync_resolveconfigforworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L140", + "source_file": "pkg/config/sync_test.go", + "source_location": "L671", "weight": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "common_naming_pvccleanupjobname" + "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", + "target": "config_sync_resolveconfigforworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L233", "weight": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "common_naming_pvccleanupjobname" + "source": "handler_webhookhandler_validateworkspacev1alpha2permissions", + "target": "config_sync_resolveconfigforworkspace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L164", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L214", "weight": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "common_naming_perworkspacepvcname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_discoverroutesuffix", + "target": "pkg_config_sync_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L69", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L175", "weight": 1.0, - "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", - "target": "common_naming_perworkspacepvcname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_getclusterconfig", + "target": "pkg_config_sync_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/storage/storage.go", - "source_location": "L54", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L110", "weight": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "common_naming_perworkspacepvcname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_setupcontrollerconfig", + "target": "pkg_config_sync_go_client" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L94", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L95", "weight": 1.0, - "source": "metadata_metadata_getspecmetadataconfigmap", - "target": "common_naming_metadataconfigmapname" + "confidence_score": 1.0, + "source": "config_sync_getconfigfortesting", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L575", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L77", "weight": 1.0, - "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", - "target": "common_naming_automountconfigmapvolumename" + "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", + "target": "config_sync_getconfigfortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L610", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L197", "weight": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", - "target": "common_naming_automountconfigmapvolumename" + "source": "rbac_common_test_gettestdevworkspace", + "target": "config_sync_getconfigfortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L639", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L210", "weight": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", - "target": "common_naming_automountconfigmapvolumename" + "source": "rbac_common_test_gettestdevworkspacewithattributes", + "target": "config_sync_getconfigfortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L92", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L52", "weight": 1.0, - "source": "automount_configmap_getautomountconfigmap", - "target": "common_naming_automountconfigmapvolumename" + "source": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "target": "config_sync_getconfigfortesting" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L196", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L107", "weight": 1.0, - "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", - "target": "common_naming_automountconfigmapvolumename" + "confidence_score": 1.0, + "source": "config_sync_setglobalconfigfortesting", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L419", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L84", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", - "target": "common_naming_automountconfigmapvolumename" + "source": "handler_workspace_test_newtestwebhookhandler", + "target": "config_sync_setglobalconfigfortesting" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L120", + "source_file": "pkg/config/sync.go", + "source_location": "L144", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming_automountconfigmapvolumename", - "target": "common_naming_sanitizevolumename" + "source": "config_sync_setupcontrollerconfig", + "target": "config_sync_discoverroutesuffix" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L509", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L134", "weight": 1.0, - "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", - "target": "common_naming_automountsecretvolumename" + "confidence_score": 1.0, + "source": "config_sync_setupcontrollerconfig", + "target": "config_sync_getclusterconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L538", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L160", "weight": 1.0, - "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", - "target": "common_naming_automountsecretvolumename" + "confidence_score": 1.0, + "source": "config_sync_setupcontrollerconfig", + "target": "config_sync_logcurrentconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L474", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L141", "weight": 1.0, - "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", - "target": "common_naming_automountsecretvolumename" + "confidence_score": 1.0, + "source": "config_sync_setupcontrollerconfig", + "target": "config_sync_syncconfigfrom" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L191", + "source_file": "pkg/config/sync.go", + "source_location": "L128", "weight": 1.0, - "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", - "target": "common_naming_automountsecretvolumename" + "source": "config_sync_setupcontrollerconfig", + "target": "infrastructure_namespace_getnamespace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L299", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L190", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", - "target": "common_naming_automountsecretvolumename" + "source": "sync_sync_printdiff", + "target": "config_sync_experimentalfeaturesenabled" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L124", + "source_file": "pkg/config/sync.go", + "source_location": "L175", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "common_naming_automountsecretvolumename", - "target": "common_naming_sanitizevolumename" + "source": "config_sync_getclusterconfig", + "target": "pkg_config_sync_go_devworkspaceoperatorconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L696", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L193", "weight": 1.0, - "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", - "target": "common_naming_automountpvcvolumename" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_syncconfigfrom", + "target": "pkg_config_sync_go_devworkspaceoperatorconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L676", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L189", "weight": 1.0, - "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", - "target": "common_naming_automountpvcvolumename" + "confidence_score": 1.0, + "source": "config_sync_getmergedconfig", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L97", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L201", "weight": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "common_naming_automountpvcvolumename" + "confidence_score": 1.0, + "source": "config_sync_syncconfigfrom", + "target": "config_sync_logcurrentconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming.go", - "source_location": "L128", + "source_file": "pkg/config/sync.go", + "source_location": "L200", "weight": 1.0, "confidence_score": 1.0, - "source": "common_naming_automountpvcvolumename", - "target": "common_naming_sanitizevolumename" + "source": "config_sync_syncconfigfrom", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/common/naming_test.go", - "source_location": "L72", + "source_file": "pkg/config/sync_test.go", + "source_location": "L312", "weight": 1.0, - "source": "common_naming_test_testsanitizevolumename", - "target": "common_naming_sanitizevolumename" + "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", + "target": "config_sync_syncconfigfrom" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L427", + "source_file": "pkg/config/sync_test.go", + "source_location": "L350", "weight": 1.0, - "source": "automount_common_test_loadtestcaseorpanic", - "target": "common_naming_automountprojectedvolumename" + "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", + "target": "config_sync_syncconfigfrom" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L93", + "source_file": "pkg/config/sync_test.go", + "source_location": "L281", "weight": 1.0, - "source": "automount_projected_generateprojectedvolume", - "target": "common_naming_automountprojectedvolumename" + "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", + "target": "config_sync_syncconfigfrom" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L113", + "source_file": "pkg/config/sync_test.go", + "source_location": "L294", "weight": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "common_naming_automountprojectedvolumename" + "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", + "target": "config_sync_syncconfigfrom" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L144", + "source_file": "pkg/config/sync_test.go", + "source_location": "L325", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "common_naming_workspacerolename" + "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", + "target": "config_sync_syncconfigfrom" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L33", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L208", "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "common_naming_workspacerolename" + "confidence_score": 1.0, + "source": "config_sync_restoredefaultconfig", + "target": "config_sync_logcurrentconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L40", + "source_file": "pkg/config/sync.go", + "source_location": "L215", "weight": 1.0, - "source": "rbac_migrate_cleanupdeprecatedrbac", - "target": "common_naming_workspacerolename" + "source": "config_sync_discoverroutesuffix", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L81", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L349", "weight": 1.0, - "source": "rbac_role_generatedefaultrole", - "target": "common_naming_workspacerolename" + "confidence_score": 1.0, + "source": "config_sync_mergeconfig", + "target": "config_sync_mergecontainersecuritycontext" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L41", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L346", "weight": 1.0, - "source": "rbac_role_test_testcreatesroleifnotexists", - "target": "common_naming_workspacerolename" + "confidence_score": 1.0, + "source": "config_sync_mergeconfig", + "target": "config_sync_mergepodsecuritycontext" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L60", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L399", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", - "target": "common_naming_workspacerolename" + "confidence_score": 1.0, + "source": "config_sync_mergeconfig", + "target": "config_sync_mergeresources" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L33", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L297", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_workspacerolename" + "confidence_score": 1.0, + "source": "config_sync_mergeconfig", + "target": "config_sync_mergetlscertificateconfigmapref" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L75", + "source_file": "pkg/config/sync_test.go", + "source_location": "L427", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "common_naming_workspacerolename" + "source": "config_sync_test_testmergeconfighandlesproxysettings", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L45", + "source_file": "pkg/config/sync_test.go", + "source_location": "L445", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "common_naming_workspacerolename" + "source": "config_sync_test_testmergeconfiglooksatallfields", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L158", + "source_file": "pkg/config/sync_test.go", + "source_location": "L613", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "common_naming_workspacerolebindingname" + "source": "config_sync_test_testmergeconfigmergesruntimeclassname", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L34", + "source_file": "pkg/config/sync_test.go", + "source_location": "L502", "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "common_naming_workspacerolebindingname" + "source": "config_sync_test_testmergeconfigmergesschedulingfields", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L128", + "source_file": "pkg/config/sync_test.go", + "source_location": "L461", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", - "target": "common_naming_workspacerolebindingname" + "source": "config_sync_test_testmergeconfigmergesstorageaccessmode", + "target": "config_sync_mergeconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L108", + "source_file": "pkg/config/sync_test.go", + "source_location": "L537", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "common_naming_workspacerolebindingname" + "source": "config_sync_test_testmergeconfigmergesstorageclassname", + "target": "config_sync_mergeconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L72", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L545", "weight": 1.0, - "source": "rbac_migrate_cleanupdeprecatedrbac", - "target": "common_naming_workspacerolebindingname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_mergepodsecuritycontext", + "target": "pkg_config_sync_go_podsecuritycontext" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L34", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L569", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_workspacerolebindingname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_mergecontainersecuritycontext", + "target": "pkg_config_sync_go_securitycontext" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L71", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L593", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "common_naming_workspacerolebindingname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_mergetlscertificateconfigmapref", + "target": "pkg_config_sync_go_configmapreference" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L41", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L615", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "common_naming_workspacerolebindingname" + "context": "return_type", + "confidence_score": 1.0, + "source": "config_sync_mergeresources", + "target": "pkg_config_sync_go_resourcerequirements" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L127", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync.go", + "source_location": "L844", "weight": 1.0, - "source": "networkpolicy_networkpolicy_deletenetworkpolicy", - "target": "common_naming_networkpolicyname" + "confidence_score": 1.0, + "source": "config_sync_logcurrentconfig", + "target": "config_sync_getcurrentconfigstring" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L42", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L712", "weight": 1.0, - "source": "networkpolicy_networkpolicy_generatenetworkpolicy", - "target": "common_naming_networkpolicyname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_fuzzintorstring" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L96", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L684", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", - "target": "common_naming_networkpolicyname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_fuzzquantity" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L108", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L690", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", - "target": "common_naming_networkpolicyname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_fuzzresourcelist" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L151", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L701", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_fuzzresourcerequirements" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L62", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L716", "weight": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_fuzzstringptr" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L138", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L136", "weight": 1.0, - "source": "rbac_role_generateuseroleforscc", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testcatchesnonexistentexternaldwoc" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L123", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L252", "weight": 1.0, - "source": "rbac_role_test_testcreatessccroleifnotexists", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testdetectsopenshiftroutesuffix" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L146", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L364", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergeconfighandlesproxysettings" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L40", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L433", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergeconfiglooksatallfields" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L153", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L543", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "common_naming_workspacesccrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergeconfigmergesruntimeclassname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L107", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L449", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "common_naming_workspacesccrolename" + "source": "config_sync_test", + "target": "config_sync_test_testmergeconfigmergesschedulingfields", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L167", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L449", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergeconfigmergesstorageaccessmode" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L63", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L467", "weight": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergeconfigmergesstorageclassname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L312", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L158", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergeexternalconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L292", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L97", + "weight": 1.0, + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testmergesallfieldsfromclusterconfig" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L619", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L41", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L226", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L149", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L55", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L103", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L45", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "common_naming_workspacesccrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsetupcontrollerconfigusesdefault" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L324", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L69", "weight": 1.0, - "source": "rbac_finalize_test_newregistryimagepullerrolebinding", - "target": "common_naming_registryimagepullerrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsetupcontrollermergesclusterconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L49", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L298", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_registryimagepullerrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsyncconfigdoesnotchangedefaults" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L192", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L332", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "common_naming_registryimagepullerrolename" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L85", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L272", "weight": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "common_naming_registryimagepullerrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L322", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L285", "weight": 1.0, - "source": "rbac_finalize_test_newregistryimagepullerrolebinding", - "target": "common_naming_registryimagepullerrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L196", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L317", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", - "target": "common_naming_registryimagepullerrolebindingname" + "confidence_score": 1.0, + "source": "config_sync_test", + "target": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L166", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L45", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "common_naming_registryimagepullerrolebindingname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_testsetupcontrollerconfigusesdefault", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L50", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L136", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "common_naming_registryimagepullerrolebindingname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_testcatchesnonexistentexternaldwoc", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L185", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L252", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "common_naming_registryimagepullerrolebindingname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_testdetectsopenshiftroutesuffix", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L218", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L364", "weight": 1.0, - "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", - "target": "common_naming_registryimagepullerrolebindingname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_testmergeconfighandlesproxysettings", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L45", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L433", "weight": 1.0, - "source": "rbac_migrate_cleanupdeprecatedrbac", - "target": "common_naming_oldworkspacerolename" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_testmergeconfiglooksatallfields", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate.go", - "source_location": "L77", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L543", "weight": 1.0, - "source": "rbac_migrate_cleanupdeprecatedrbac", - "target": "common_naming_oldworkspacerolebindingname" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_testmergeconfigmergesruntimeclassname", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming_test.go", - "source_location": "L24", + "source_file": "pkg/config/sync_test.go", + "source_location": "L449", "weight": 1.0, - "confidence_score": 1.0, - "source": "common_naming_test", - "target": "common_naming_test_testsanitizevolumename" + "context": "parameter_type", + "source": "config_sync_test_testmergeconfigmergesschedulingfields", + "target": "pkg_config_sync_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/naming_test.go", - "source_location": "L24", + "source_file": "pkg/config/sync_test.go", + "source_location": "L449", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "common_naming_test_testsanitizevolumename", - "target": "pkg_common_naming_test_go_t" + "source": "config_sync_test_testmergeconfigmergesstorageaccessmode", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/types.go", - "source_location": "L21", + "source_file": "pkg/config/sync_test.go", + "source_location": "L467", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_types", - "target": "common_devworkspacewithconfig" + "source": "config_sync_test_testmergeconfigmergesstorageclassname", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "embeds", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/types.go", - "source_location": "L22", + "source_file": "pkg/config/sync_test.go", + "source_location": "L158", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_devworkspacewithconfig", - "target": "pkg_common_types_go_devworkspace" + "source": "config_sync_test_testmergeexternalconfig", + "target": "pkg_config_sync_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/common/types.go", - "source_location": "L23", + "source_file": "pkg/config/sync_test.go", + "source_location": "L97", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "common_devworkspacewithconfig", - "target": "pkg_common_types_go_operatorconfiguration" + "source": "config_sync_test_testmergesallfieldsfromclusterconfig", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L42", + "source_file": "pkg/config/sync_test.go", + "source_location": "L619", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "conditions_conditions", - "target": "conditions_conditions_countwarningconditions" + "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L33", + "source_file": "pkg/config/sync_test.go", + "source_location": "L226", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "conditions_conditions", - "target": "conditions_conditions_getconditionbytype" + "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", + "target": "pkg_config_sync_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L33", + "source_file": "pkg/config/sync_test.go", + "source_location": "L55", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "conditions_conditions_getconditionbytype", - "target": "pkg_conditions_conditions_go_devworkspacecondition" + "source": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup", + "target": "pkg_config_sync_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L33", + "source_file": "pkg/config/sync_test.go", + "source_location": "L69", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "conditions_conditions_getconditionbytype", - "target": "pkg_conditions_conditions_go_devworkspaceconditiontype" + "source": "config_sync_test_testsetupcontrollermergesclusterconfig", + "target": "pkg_config_sync_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/conditions/conditions.go", - "source_location": "L42", + "source_file": "pkg/config/sync_test.go", + "source_location": "L298", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "conditions_conditions_countwarningconditions", - "target": "pkg_conditions_conditions_go_devworkspacecondition" + "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L69", + "source_file": "pkg/config/sync_test.go", + "source_location": "L332", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test", - "target": "config_common_test_buildconfig" + "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L79", + "source_file": "pkg/config/sync_test.go", + "source_location": "L272", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test", - "target": "config_common_test_buildexternalconfig" + "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L44", + "source_file": "pkg/config/sync_test.go", + "source_location": "L285", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test", - "target": "config_common_test_init" + "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", + "target": "pkg_config_sync_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L52", + "source_file": "pkg/config/sync_test.go", + "source_location": "L317", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test", - "target": "config_common_test_setupfortest" + "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", + "target": "pkg_config_sync_test_go_t" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/common_test.go", - "source_location": "L58", + "source_file": "pkg/config/sync_test.go", + "source_location": "L228", "weight": 1.0, - "source": "config_common_test_setupfortest", - "target": "config_defaults_setdefaultcontainersecuritycontext" + "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/common_test.go", - "source_location": "L60", + "source_file": "pkg/config/sync_test.go", + "source_location": "L254", "weight": 1.0, - "source": "config_common_test_setupfortest", - "target": "config_defaults_setdefaultnetworkpolicy" + "source": "config_sync_test_testdetectsopenshiftroutesuffix", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/common_test.go", - "source_location": "L59", + "source_file": "pkg/config/sync_test.go", + "source_location": "L334", "weight": 1.0, - "source": "config_common_test_setupfortest", - "target": "config_defaults_setdefaultoverrideconfig" + "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/common_test.go", - "source_location": "L57", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L684", "weight": 1.0, - "source": "config_common_test_setupfortest", - "target": "config_defaults_setdefaultpodsecuritycontext" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzquantity", + "target": "continue" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/common_test.go", - "source_location": "L56", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L684", "weight": 1.0, - "source": "config_common_test_setupfortest", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzquantity", + "target": "pkg_config_sync_test_go_quantity" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L712", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzintorstring", + "target": "continue" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L690", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzresourcelist", + "target": "continue" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L701", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzresourcerequirements", + "target": "continue" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L716", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzstringptr", + "target": "continue" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L690", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzresourcelist", + "target": "pkg_config_sync_test_go_resourcelist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/config/sync_test.go", + "source_location": "L701", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzresourcerequirements", + "target": "pkg_config_sync_test_go_resourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L52", + "source_file": "pkg/config/sync_test.go", + "source_location": "L712", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "config_sync_test_fuzzintorstring", + "target": "intorstring" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L77", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test_setupfortest", - "target": "pkg_config_common_test_go_t" + "source": "dwerrors_errors", + "target": "dwerrors_errors_wrapsyncerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L206", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L47", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_errors", + "target": "dwerrors_failerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L214", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L23", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_errors", + "target": "dwerrors_retryerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L255", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L68", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_errors", + "target": "dwerrors_warningerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L290", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L33", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_retryerror", + "target": "dwerrors_retryerror_error" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L103", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L43", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_retryerror", + "target": "dwerrors_retryerror_unwrap" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L73", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L30", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", - "target": "config_common_test_setupfortest" + "context": "field", + "confidence_score": 1.0, + "source": "dwerrors_retryerror", + "target": "pkg_dwerrors_errors_go_duration" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L35", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L54", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_failerror", + "target": "dwerrors_failerror_error" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L51", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L64", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_failerror", + "target": "dwerrors_failerror_unwrap" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L156", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/dwerrors/errors.go", + "source_location": "L73", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "dwerrors_warningerror", + "target": "dwerrors_warningerror_error" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L137", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L65", "weight": 1.0, - "source": "config_sync_test_testcatchesnonexistentexternaldwoc", - "target": "config_common_test_setupfortest" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L253", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L91", "weight": 1.0, - "source": "config_sync_test_testdetectsopenshiftroutesuffix", - "target": "config_common_test_setupfortest" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L365", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L59", "weight": 1.0, - "source": "config_sync_test_testmergeconfighandlesproxysettings", - "target": "config_common_test_setupfortest" + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L159", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L117", "weight": 1.0, - "source": "config_sync_test_testmergeexternalconfig", - "target": "config_common_test_setupfortest" + "source": "networkpolicy_networkpolicy_createnetworkpolicy", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L98", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L33", "weight": 1.0, - "source": "config_sync_test_testmergesallfieldsfromclusterconfig", - "target": "config_common_test_setupfortest" + "source": "rbac_role_syncroles", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L620", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L112", "weight": 1.0, - "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", - "target": "config_common_test_setupfortest" + "source": "rbac_rolebinding_addserviceaccounttorolebinding", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L227", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L146", "weight": 1.0, - "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", - "target": "config_common_test_setupfortest" + "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L56", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L70", "weight": 1.0, - "source": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup", - "target": "config_common_test_setupfortest" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L70", "weight": 1.0, - "source": "config_sync_test_testsetupcontrollerconfigusesdefault", - "target": "config_common_test_setupfortest" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L70", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L47", "weight": 1.0, - "source": "config_sync_test_testsetupcontrollermergesclusterconfig", - "target": "config_common_test_setupfortest" + "source": "workspace_routing_syncroutingtocluster", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L299", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L73", "weight": 1.0, - "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", - "target": "config_common_test_setupfortest" + "source": "workspace_serviceaccount_syncserviceaccount", + "target": "dwerrors_errors_wrapsyncerror" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L333", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L43", "weight": 1.0, - "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", - "target": "config_common_test_setupfortest" + "source": "workspace_ssh_provisionsshaskpass", + "target": "dwerrors_errors_wrapsyncerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L273", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L54", "weight": 1.0, - "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "httpfactory_http", + "target": "httpfactory_defaulthttpclientsfactory" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L286", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L178", "weight": 1.0, - "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "httpfactory_http", + "target": "httpfactory_http_getproxyfunc" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L318", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L70", "weight": 1.0, - "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", - "target": "config_common_test_setupfortest" + "confidence_score": 1.0, + "source": "httpfactory_http", + "target": "httpfactory_http_setuphttpclientsfactory" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L69", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L40", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_common_test_buildconfig", - "target": "pkg_config_common_test_go_devworkspaceoperatorconfig" + "source": "httpfactory_http", + "target": "httpfactory_httpclientsfactory" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L69", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L132", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test_buildconfig", - "target": "pkg_config_common_test_go_operatorconfiguration" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "httpfactory_defaulthttpclientsfactory_createhttpclient" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L79", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L208", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_common_test_buildexternalconfig", - "target": "pkg_config_common_test_go_operatorconfiguration" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "httpfactory_defaulthttpclientsfactory_getcacertpool" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/config/common_test.go", - "source_location": "L79", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L168", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_common_test_buildexternalconfig", - "target": "pkg_config_common_test_go_devworkspaceoperatorconfig" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "httpfactory_defaulthttpclientsfactory_gethealthcheckhttpclient" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L174", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "weight": 1.0, - "source": "config_sync_test_testmergeexternalconfig", - "target": "config_common_test_buildexternalconfig" + "confidence_score": 1.0, + "source": "httpfactory_defaulthttpclientsfactory", + "target": "httpfactory_defaulthttpclientsfactory_gethttpclient" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L107", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L224", "weight": 1.0, "confidence_score": 1.0, - "source": "configmap_config", - "target": "configmap_config_loadcontrollerconfig" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "httpfactory_defaulthttpclientsfactory_readcertificates" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L96", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L148", "weight": 1.0, "confidence_score": 1.0, - "source": "configmap_config", - "target": "configmap_config_syncconfigmapfromcluster" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L44", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L66", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_config", - "target": "configmap_controllerconfig" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "pkg_httpfactory_http_go_certpool" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L61", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L59", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getclusterroutingsuffix" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "pkg_httpfactory_http_go_client" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L57", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L63", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getdefaultroutingclass" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "pkg_httpfactory_http_go_configmapreference" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L68", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L56", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getexperimentalfeaturesenabled" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "pkg_httpfactory_http_go_logger" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L80", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L67", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "pkg_httpfactory_http_go_request" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L72", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L61", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getpvcstorageclassname" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "rwmutex" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L76", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L67", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getsidecarpullpolicy" + "source": "httpfactory_defaulthttpclientsfactory", + "target": "url" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L92", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L132", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getworkspaceidletimeout" + "source": "httpfactory_defaulthttpclientsfactory_createhttpclient", + "target": "pkg_httpfactory_http_go_client" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L53", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L168", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_getworkspacepvcname" + "source": "httpfactory_defaulthttpclientsfactory_gethealthcheckhttpclient", + "target": "pkg_httpfactory_http_go_client" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L48", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_update" + "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "target": "pkg_httpfactory_http_go_client" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L88", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L70", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "configmap_controllerconfig_validate" + "source": "httpfactory_http_setuphttpclientsfactory", + "target": "pkg_httpfactory_http_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L45", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L70", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig", - "target": "pkg_config_configmap_config_go_configmap" + "source": "httpfactory_http_setuphttpclientsfactory", + "target": "pkg_httpfactory_http_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L48", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L208", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig_update", - "target": "pkg_config_configmap_config_go_configmap" + "source": "httpfactory_defaulthttpclientsfactory_getcacertpool", + "target": "pkg_httpfactory_http_go_certpool" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L102", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L178", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "configmap_config_syncconfigmapfromcluster", - "target": "configmap_controllerconfig_update" + "source": "httpfactory_http_getproxyfunc", + "target": "pkg_httpfactory_http_go_request" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L54", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L178", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig_getworkspacepvcname", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_http_getproxyfunc", + "target": "url" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L58", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L76", "weight": 1.0, "confidence_score": 1.0, - "source": "configmap_controllerconfig_getdefaultroutingclass", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_http_setuphttpclientsfactory", + "target": "httpfactory_http_getproxyfunc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L62", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L169", "weight": 1.0, - "confidence_score": 1.0, - "source": "configmap_controllerconfig_getclusterroutingsuffix", - "target": "configmap_controllerconfig_getproperty" + "source": "webhook_main_main", + "target": "httpfactory_http_setuphttpclientsfactory" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L69", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L115", "weight": 1.0, "confidence_score": 1.0, - "source": "configmap_controllerconfig_getexperimentalfeaturesenabled", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "target": "httpfactory_defaulthttpclientsfactory_createhttpclient" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L73", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L102", "weight": 1.0, "confidence_score": 1.0, - "source": "configmap_controllerconfig_getpvcstorageclassname", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "target": "httpfactory_defaulthttpclientsfactory_readcertificates" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L77", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L105", "weight": 1.0, "confidence_score": 1.0, - "source": "configmap_controllerconfig_getsidecarpullpolicy", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "target": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L93", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_controllerconfig_getworkspaceidletimeout", - "target": "configmap_controllerconfig_getproperty" + "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "target": "pkg_httpfactory_http_go_context" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L142", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L101", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_config_loadcontrollerconfig", - "target": "configmap_config_syncconfigmapfromcluster" + "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", + "target": "pkg_httpfactory_http_go_routingconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L96", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L224", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_config_syncconfigmapfromcluster", - "target": "pkg_config_configmap_config_go_client" + "source": "httpfactory_defaulthttpclientsfactory_readcertificates", + "target": "pkg_httpfactory_http_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L96", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L224", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_config_syncconfigmapfromcluster", - "target": "pkg_config_configmap_config_go_object" + "source": "httpfactory_defaulthttpclientsfactory_readcertificates", + "target": "pkg_httpfactory_http_go_routingconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/configmap/config.go", - "source_location": "L107", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L148", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "configmap_config_loadcontrollerconfig", - "target": "pkg_config_configmap_config_go_client" + "source": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient", + "target": "pkg_httpfactory_http_go_routingconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate.go", - "source_location": "L85", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L60", "weight": 1.0, - "source": "config_migrate_convertconfigmaptoconfigcrd", - "target": "configmap_config_loadcontrollerconfig" + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "httpfactory_defaulthttpclientsfactory_createhttpclient" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/configmap/config.go", - "source_location": "L116", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L139", "weight": 1.0, - "source": "configmap_config_loadcontrollerconfig", - "target": "infrastructure_namespace_getnamespace" + "confidence_score": 1.0, + "source": "httpfactory_defaulthttpclientsfactory_createhttpclient", + "target": "httpfactory_defaulthttpclientsfactory_getcacertpool" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L287", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L132", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_deepcopyegressrules" + "source": "httpfactory_defaulthttpclientsfactory_createhttpclient", + "target": "pkg_httpfactory_http_go_configmap" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L208", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_defaulthttpclientsfactory_getcacertpool", + "target": "pkg_httpfactory_http_go_configmap" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L224", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "httpfactory_defaulthttpclientsfactory_readcertificates", + "target": "pkg_httpfactory_http_go_configmap" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http.go", + "source_location": "L148", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient", + "target": "pkg_httpfactory_http_go_configmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L276", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L158", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_deepcopyingressrules" + "source": "httpfactory_http_test", + "target": "httpfactory_http_test_generatetestcacert" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L247", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L178", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_getdefaultnetworkpolicy" + "source": "httpfactory_http_test", + "target": "httpfactory_http_test_newtestfactory" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L198", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L215", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_setdefaultcontainersecuritycontext" + "source": "httpfactory_http_test", + "target": "httpfactory_http_test_routingconfigwithcerts" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L222", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L205", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_setdefaultnetworkpolicy" + "source": "httpfactory_http_test", + "target": "httpfactory_http_test_routingconfigwithproxy" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L210", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_setdefaultoverrideconfig" + "source": "httpfactory_http_test", + "target": "httpfactory_http_test_testgethttpclient" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L186", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L43", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults", - "target": "config_defaults_setdefaultpodsecuritycontext" + "source": "httpfactory_http_test", + "target": "httpfactory_http_test_testhealthcheckhttpclient" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L187", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L45", "weight": 1.0, - "source": "config_defaults_setdefaultpodsecuritycontext", - "target": "infrastructure_cluster_isinitialized" + "confidence_score": 1.0, + "source": "httpfactory_http_test_testhealthcheckhttpclient", + "target": "httpfactory_http_test_newtestfactory" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L190", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L43", "weight": 1.0, - "source": "config_defaults_setdefaultpodsecuritycontext", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_testhealthcheckhttpclient", + "target": "pkg_httpfactory_http_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L102", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L158", "weight": 1.0, - "source": "config_sync_setglobalconfigfortesting", - "target": "config_defaults_setdefaultpodsecuritycontext" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_generatetestcacert", + "target": "pkg_httpfactory_http_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L114", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L178", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_defaults_setdefaultpodsecuritycontext" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_newtestfactory", + "target": "pkg_httpfactory_http_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L199", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L62", "weight": 1.0, - "source": "config_defaults_setdefaultcontainersecuritycontext", - "target": "infrastructure_cluster_isinitialized" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_testgethttpclient", + "target": "pkg_httpfactory_http_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L202", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L87", "weight": 1.0, - "source": "config_defaults_setdefaultcontainersecuritycontext", - "target": "infrastructure_cluster_isopenshift" + "confidence_score": 1.0, + "source": "httpfactory_http_test_testgethttpclient", + "target": "httpfactory_http_test_generatetestcacert" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L103", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L64", "weight": 1.0, - "source": "config_sync_setglobalconfigfortesting", - "target": "config_defaults_setdefaultcontainersecuritycontext" + "confidence_score": 1.0, + "source": "httpfactory_http_test_testgethttpclient", + "target": "httpfactory_http_test_newtestfactory" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L117", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L96", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_defaults_setdefaultcontainersecuritycontext" + "confidence_score": 1.0, + "source": "httpfactory_http_test_testgethttpclient", + "target": "httpfactory_http_test_routingconfigwithcerts" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L211", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L178", "weight": 1.0, - "source": "config_defaults_setdefaultoverrideconfig", - "target": "infrastructure_cluster_isinitialized" + "context": "return_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_newtestfactory", + "target": "defaulthttpclientsfactory" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L214", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L205", "weight": 1.0, - "source": "config_defaults_setdefaultoverrideconfig", - "target": "infrastructure_cluster_isopenshift" + "context": "return_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_routingconfigwithproxy", + "target": "pkg_httpfactory_http_test_go_routingconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L104", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_test.go", + "source_location": "L215", "weight": 1.0, - "source": "config_sync_setglobalconfigfortesting", - "target": "config_defaults_setdefaultoverrideconfig" + "context": "return_type", + "confidence_score": 1.0, + "source": "httpfactory_http_test_routingconfigwithcerts", + "target": "pkg_httpfactory_http_test_go_routingconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L120", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L36", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_defaults_setdefaultoverrideconfig" + "confidence_score": 1.0, + "source": "httpfactory_http_testing", + "target": "httpfactory_http_testing_setuphttpclientsfortesting" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L231", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L23", "weight": 1.0, "confidence_score": 1.0, - "source": "config_defaults_setdefaultnetworkpolicy", - "target": "config_defaults_getdefaultnetworkpolicy" + "source": "httpfactory_http_testing", + "target": "httpfactory_testhttpclientsfactory" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L223", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L32", "weight": 1.0, - "source": "config_defaults_setdefaultnetworkpolicy", - "target": "infrastructure_cluster_isinitialized" + "confidence_score": 1.0, + "source": "httpfactory_testhttpclientsfactory", + "target": "httpfactory_testhttpclientsfactory_gethealthcheckhttpclient" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L226", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", "weight": 1.0, - "source": "config_defaults_setdefaultnetworkpolicy", - "target": "infrastructure_namespace_getnamespace" + "confidence_score": 1.0, + "source": "httpfactory_testhttpclientsfactory", + "target": "httpfactory_testhttpclientsfactory_gethttpclient" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L105", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L25", "weight": 1.0, - "source": "config_sync_setglobalconfigfortesting", - "target": "config_defaults_setdefaultnetworkpolicy" + "context": "field", + "confidence_score": 1.0, + "source": "httpfactory_testhttpclientsfactory", + "target": "pkg_httpfactory_http_testing_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L123", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L36", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_defaults_setdefaultnetworkpolicy" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_http_testing_setuphttpclientsfortesting", + "target": "pkg_httpfactory_http_testing_go_client" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L273", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L32", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_defaults_getdefaultnetworkpolicy", - "target": "config_defaults_deepcopyegressrules" + "source": "httpfactory_testhttpclientsfactory_gethealthcheckhttpclient", + "target": "pkg_httpfactory_http_testing_go_client" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L273", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_defaults_getdefaultnetworkpolicy", - "target": "config_defaults_deepcopyingressrules" + "source": "httpfactory_testhttpclientsfactory_gethttpclient", + "target": "pkg_httpfactory_http_testing_go_client" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_testhttpclientsfactory_gethttpclient", + "target": "pkg_httpfactory_http_testing_go_context" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/httpfactory/http_testing.go", + "source_location": "L28", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "httpfactory_testhttpclientsfactory_gethttpclient", + "target": "pkg_httpfactory_http_testing_go_routingconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/defaults.go", - "source_location": "L253", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L85", "weight": 1.0, - "source": "config_defaults_getdefaultnetworkpolicy", - "target": "infrastructure_cluster_isopenshift" + "source": "handler_workspace_test_newtestwebhookhandler", + "target": "httpfactory_http_testing_setuphttpclientsfortesting" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L247", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L75", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_defaults_getdefaultnetworkpolicy", - "target": "pkg_config_defaults_go_networkpolicyegressrule" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_detect" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L247", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L99", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_defaults_getdefaultnetworkpolicy", - "target": "pkg_config_defaults_go_networkpolicyingressrule" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_findapigroup" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L276", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L108", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_defaults_deepcopyingressrules", - "target": "pkg_config_defaults_go_networkpolicyingressrule" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_findapiresources" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/defaults.go", - "source_location": "L287", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L44", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_defaults_deepcopyegressrules", - "target": "pkg_config_defaults_go_networkpolicyegressrule" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_initialize" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L27", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L58", "weight": 1.0, "confidence_score": 1.0, - "source": "config_env", - "target": "config_controllerenv" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L48", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L63", "weight": 1.0, "confidence_score": 1.0, - "source": "config_env", - "target": "config_env_getdevmodeenabled" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_isinitialized" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L52", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L68", "weight": 1.0, "confidence_score": 1.0, - "source": "config_env", - "target": "config_env_getmaxconcurrentreconciles" + "source": "infrastructure_cluster", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L64", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "config_env", - "target": "config_env_getresourcequantityfromenvvar" + "source": "infrastructure_cluster", + "target": "infrastructure_type" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L40", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L75", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_env", - "target": "config_env_getwebhookssecretname" + "source": "infrastructure_cluster_detect", + "target": "infrastructure_type" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L76", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L58", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_env", - "target": "config_env_getworkspacecontrollersa" + "source": "infrastructure_cluster_initializefortesting", + "target": "infrastructure_type" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L46", + "weight": 1.0, + "confidence_score": 1.0, + "source": "infrastructure_cluster_initialize", + "target": "infrastructure_cluster_detect" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L58", + "source_file": "webhook/main.go", + "source_location": "L70", "weight": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "config_env_getwebhookssecretname" + "source": "webhook_main_init", + "target": "infrastructure_cluster_initialize" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/workspace_test.go", + "source_location": "L83", "weight": 1.0, - "source": "webhook_main_main", - "target": "config_env_getdevmodeenabled" + "source": "handler_workspace_test_newtestwebhookhandler", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/env.go", - "source_location": "L64", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L108", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "config_env_getresourcequantityfromenvvar", - "target": "pkg_config_env_go_quantity" + "source": "rbac_common_test_testsyncrbac", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/deployment.go", - "source_location": "L222", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L175", "weight": 1.0, - "source": "webhook_deployment_getwebhooksserverresources", - "target": "config_env_getresourcequantityfromenvvar" + "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/deployment.go", - "source_location": "L80", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L54", "weight": 1.0, - "source": "webhook_deployment_getspecdeployment", - "target": "config_env_getworkspacecontrollersa" + "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L138", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L33", "weight": 1.0, - "source": "workspace_config_controllersauid", - "target": "config_env_getworkspacecontrollersa" + "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L84", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L238", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate", - "target": "config_migrate_convertconfigmaptoconfigcrd" + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L216", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate", - "target": "config_migrate_deletemigratedconfigmap" + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L33", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L205", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate", - "target": "config_migrate_migrateconfigfromconfigmap" + "source": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L34", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L117", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_migrateconfigfromconfigmap", - "target": "config_migrate_convertconfigmaptoconfigcrd" + "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L56", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L301", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_migrateconfigfromconfigmap", - "target": "config_migrate_deletemigratedconfigmap" + "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L137", "weight": 1.0, - "source": "config_migrate_migrateconfigfromconfigmap", - "target": "config_sync_getclusterconfig" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate.go", - "source_location": "L42", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L79", "weight": 1.0, - "source": "config_migrate_migrateconfigfromconfigmap", - "target": "infrastructure_namespace_getnamespace" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L33", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L263", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_migrateconfigfromconfigmap", - "target": "pkg_config_migrate_go_client" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L133", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L61", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", - "target": "config_migrate_migrateconfigfromconfigmap" + "source": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L89", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L28", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", - "target": "config_migrate_migrateconfigfromconfigmap" + "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L80", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", - "target": "config_migrate_migrateconfigfromconfigmap" + "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L67", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L107", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", - "target": "config_migrate_migrateconfigfromconfigmap" + "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L183", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L29", "weight": 1.0, - "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", - "target": "config_migrate_migrateconfigfromconfigmap" + "source": "rbac_role_test_testcreatesroleifnotexists", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L84", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L107", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_convertconfigmaptoconfigcrd", - "target": "pkg_config_migrate_go_client" + "source": "rbac_role_test_testcreatessccroleifnotexists", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L48", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_deletemigratedconfigmap", - "target": "pkg_config_migrate_go_client" + "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate.go", - "source_location": "L84", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L130", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "config_migrate_convertconfigmaptoconfigcrd", - "target": "pkg_config_migrate_go_devworkspaceoperatorconfig" + "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L208", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L88", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", - "target": "config_migrate_convertconfigmaptoconfigcrd" + "source": "rbac_role_test_testrejectssccrolewhenannotationempty", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L247", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L69", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", - "target": "config_migrate_convertconfigmaptoconfigcrd" + "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L282", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L51", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", - "target": "config_migrate_convertconfigmaptoconfigcrd" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "infrastructure_cluster_initializefortesting" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/migrate_test.go", - "source_location": "L306", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L113", "weight": 1.0, - "source": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", - "target": "config_migrate_convertconfigmaptoconfigcrd" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L205", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L161", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L213", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L29", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L254", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L83", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L289", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L200", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault" + "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/status/check_test.go", + "source_location": "L184", + "weight": 1.0, + "source": "status_check_test_testcheckpodevents", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L85", + "weight": 1.0, + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L37", + "weight": 1.0, + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L147", + "weight": 1.0, + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L44", + "weight": 1.0, + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", + "target": "infrastructure_cluster_initializefortesting" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L186", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L72", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L61", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L34", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L230", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L122", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L155", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L32", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_migrate_test", - "target": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap" + "source": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/annotations_test.go", "source_location": "L34", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testmigrateconfigdoesnothingwhennoconfigmap", - "target": "pkg_config_migrate_test_go_t" + "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L205", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L26", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testconvertconfigmapdoesnothingwhennoconfigmap", - "target": "pkg_config_migrate_test_go_t" + "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L213", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L49", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testconvertconfigmapgetsalloldconfigvalues", - "target": "pkg_config_migrate_test_go_t" + "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", + "target": "infrastructure_cluster_initializefortesting" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L254", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L69", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testconvertconfigmapignoresvaluesthataredefault", - "target": "pkg_config_migrate_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L289", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L89", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testconvertconfigmapreturnsnilwhenalldefault", - "target": "pkg_config_migrate_test_go_t" + "source": "handler_webhookhandler_validateopenshiftscc", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L102", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L337", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testmigrateconfigcreatescrfromconfigmap", - "target": "pkg_config_migrate_test_go_t" + "source": "handler_workspace_setvalidatedpermissionsannotations", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L72", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L50", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testmigrateconfigdeletesconfigmapwhenalreadymigrated", - "target": "pkg_config_migrate_test_go_t" + "source": "rbac_finalize_finalizerbac", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L46", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testmigrateconfigerrorwhenconfigandconfigmappresent", - "target": "pkg_config_migrate_test_go_t" + "source": "rbac_rolebinding_syncrolebindings", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/migrate_test.go", - "source_location": "L155", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/status/check.go", + "source_location": "L157", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_migrate_test_testmigrateconfigsucceedswhencrdhasallvaluesfromconfigmap", - "target": "pkg_config_migrate_test_go_t" + "source": "status_check_checkpodevents", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/predicates.go", - "source_location": "L25", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L50", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_predicates", - "target": "config_predicates_predicates" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/predicates.go", - "source_location": "L42", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L117", "weight": 1.0, - "source": "config_predicates_predicates", - "target": "config_sync_restoredefaultconfig" + "source": "tlssetup_server_tls_registersecurityprofilewatcher", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/predicates.go", - "source_location": "L29", + "source_file": "pkg/webhook/create.go", + "source_location": "L62", "weight": 1.0, - "source": "config_predicates_predicates", - "target": "config_sync_syncconfigfrom" + "source": "webhook_create_setupwebhooks", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/predicates.go", - "source_location": "L25", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/deployment.go", + "source_location": "L71", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "config_predicates_predicates", - "target": "predicate" + "source": "webhook_deployment_getspecdeployment", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", @@ -48201,25329 +62581,25707 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "webhook/main.go", - "source_location": "L244", + "source_location": "L81", "weight": 1.0, - "source": "webhook_main_setupconfigcachewatcher", - "target": "config_predicates_predicates" + "source": "webhook_main_init", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L35", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L191", "weight": 1.0, - "confidence_score": 1.0, - "source": "proxy_openshift", - "target": "proxy_openshift_getclusterproxyconfig" + "source": "webhook_main_main", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L64", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "proxy_openshift", - "target": "proxy_openshift_mergeproxyconfigs" + "source": "webhook_role_bindings_createwebhookrolebinding", + "target": "infrastructure_cluster_isopenshift" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L99", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/roles.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "proxy_openshift", - "target": "proxy_openshift_removeemptystrings" + "source": "webhook_roles_createwebhookrole", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L153", + "source_file": "webhook/workspace/annotations.go", + "source_location": "L26", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "proxy_openshift_getclusterproxyconfig" + "source": "workspace_annotations_getwebhookannotations", + "target": "infrastructure_cluster_isopenshift" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L36", + "source_file": "webhook/workspace/mutating_cfg.go", + "source_location": "L143", "weight": 1.0, - "source": "proxy_openshift_getclusterproxyconfig", + "source": "workspace_mutating_cfg_buildmutatewebhookcfg", "target": "infrastructure_cluster_isopenshift" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L35", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L88", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "proxy_openshift_getclusterproxyconfig", - "target": "pkg_config_proxy_openshift_go_client" + "source": "infrastructure_cluster_detect", + "target": "infrastructure_cluster_findapigroup" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L35", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L99", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "proxy_openshift_getclusterproxyconfig", - "target": "pkg_config_proxy_openshift_go_proxy" + "source": "infrastructure_cluster_findapigroup", + "target": "apigroup" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L64", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L108", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "proxy_openshift_mergeproxyconfigs", - "target": "pkg_config_proxy_openshift_go_proxy" + "source": "infrastructure_cluster_findapiresources", + "target": "apiresource" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L99", + "source_file": "pkg/infrastructure/cluster.go", + "source_location": "L108", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "proxy_openshift_removeemptystrings", - "target": "pkg_config_proxy_openshift_go_proxy" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L291", - "weight": 1.0, - "source": "config_sync_mergeconfig", - "target": "proxy_openshift_mergeproxyconfigs" + "source": "infrastructure_cluster_findapiresources", + "target": "apiresourcelist" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L158", + "source_file": "pkg/infrastructure/webhook.go", + "source_location": "L38", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "proxy_openshift_mergeproxyconfigs" + "source": "infrastructure_webhook_iswebhookconfigurationenabled", + "target": "infrastructure_cluster_findapiresources" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift.go", - "source_location": "L66", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "proxy_openshift_mergeproxyconfigs", - "target": "proxy_openshift_removeemptystrings" + "source": "infrastructure_namespace", + "target": "infrastructure_namespace_getnamespace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L119", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L31", "weight": 1.0, - "source": "proxy_openshift_test_testmergeproxyconfigs", - "target": "proxy_openshift_mergeproxyconfigs" + "confidence_score": 1.0, + "source": "infrastructure_namespace", + "target": "infrastructure_namespace_getoperatornamespace" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L24", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L46", "weight": 1.0, "confidence_score": 1.0, - "source": "proxy_openshift_test", - "target": "proxy_openshift_test_testmergeproxyconfigs" + "source": "infrastructure_namespace", + "target": "infrastructure_namespace_getwatchnamespace" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/proxy/openshift_test.go", - "source_location": "L24", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "proxy_openshift_test_testmergeproxyconfigs", - "target": "pkg_config_proxy_openshift_test_go_t" + "source": "infrastructure_namespace_getnamespace", + "target": "infrastructure_namespace_getoperatornamespace" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L214", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/create.go", + "source_location": "L36", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_discoverroutesuffix" + "source": "webhook_create_setupwebhooks", + "target": "infrastructure_namespace_getoperatornamespace" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L168", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L46", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_experimentalfeaturesenabled" + "source": "workspace_config_configure", + "target": "infrastructure_namespace_getoperatornamespace" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L175", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L142", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_getclusterconfig" + "source": "workspace_config_controllersauid", + "target": "infrastructure_namespace_getoperatornamespace" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L91", + "source_file": "pkg/infrastructure/namespace.go", + "source_location": "L61", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_getconfigfortesting" + "source": "infrastructure_namespace_getnamespace", + "target": "infrastructure_namespace_getwatchnamespace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L120", + "weight": 1.0, + "source": "webhook_main_main", + "target": "infrastructure_namespace_getwatchnamespace" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L642", + "source_file": "pkg/infrastructure/webhook.go", + "source_location": "L24", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_getcurrentconfigstring" + "source": "infrastructure_webhook", + "target": "infrastructure_webhook_iswebhookconfigurationenabled" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L55", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/server/server.go", + "source_location": "L74", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_getglobalconfig" + "source": "server_server_configurewebhookserver", + "target": "infrastructure_webhook_iswebhookconfigurationenabled" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L186", + "source_file": "pkg/library/annotate/plugins.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_getmergedconfig" + "source": "annotate_plugins", + "target": "annotate_plugins_addsourceattributesfortemplate" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L164", + "source_file": "pkg/library/annotate/plugins.go", + "source_location": "L27", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_issetup" + "source": "annotate_plugins_addsourceattributesfortemplate", + "target": "pkg_library_annotate_plugins_go_devworkspacetemplatespec" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L843", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L101", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_logcurrentconfig" + "source": "flatten_flatten_recursiveresolve", + "target": "annotate_plugins_addsourceattributesfortemplate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L253", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_mergeconfig" + "source": "annotate_urls", + "target": "annotate_urls_addurlattributestoendpoints" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L569", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_mergecontainersecuritycontext" + "source": "annotate_urls", + "target": "annotate_urls_getcontainerendpointbyname" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L545", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L34", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_mergepodsecuritycontext" + "source": "annotate_urls_addurlattributestoendpoints", + "target": "annotate_urls_getcontainerendpointbyname" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L615", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_mergeresources" + "source": "annotate_urls_addurlattributestoendpoints", + "target": "pkg_library_annotate_urls_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L593", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_mergetlscertificateconfigmapref" + "source": "annotate_urls_addurlattributestoendpoints", + "target": "pkg_library_annotate_urls_go_exposedendpointlist" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L44", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_resolveconfigforworkspace" + "source": "annotate_urls_getcontainerendpointbyname", + "target": "pkg_library_annotate_urls_go_containercomponent" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L204", + "source_file": "pkg/library/annotate/urls.go", + "source_location": "L44", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_restoredefaultconfig" + "source": "annotate_urls_getcontainerendpointbyname", + "target": "pkg_library_annotate_urls_go_endpoint" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L99", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_setglobalconfigfortesting" + "source": "container_container", + "target": "container_container_getkubecontainersfromdevfile" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L110", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L73", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_setupcontrollerconfig" + "source": "container_container_getkubecontainersfromdevfile", + "target": "container_conversion_convertcontainertok8s" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L193", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L77", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync", - "target": "config_sync_syncconfigfrom" + "source": "container_container_getkubecontainersfromdevfile", + "target": "container_mountsources_handlemountsources" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L55", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L59", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "config_sync_getglobalconfig", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "flatten_common_devworkspaceisflattened" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L66", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L98", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_resolveconfigforworkspace", - "target": "config_sync_getglobalconfig" + "source": "container_container_getkubecontainersfromdevfile", + "target": "lifecycle_poststart_addpoststartlifecyclehooks" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L241", + "source_file": "pkg/library/container/container.go", + "source_location": "L64", "weight": 1.0, - "source": "handler_webhookhandler_validateworkspacev1alpha2permissions", - "target": "config_sync_getglobalconfig" + "source": "container_container_getkubecontainersfromdevfile", + "target": "lifecycle_prestart_getinitcontainers" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/httpfactory/http.go", - "source_location": "L179", + "source_file": "pkg/library/container/container.go", + "source_location": "L102", "weight": 1.0, - "source": "httpfactory_http_getproxyfunc", - "target": "config_sync_getglobalconfig" + "source": "container_container_getkubecontainersfromdevfile", + "target": "lifecycle_prestop_addprestoplifecyclehooks" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/deployment.go", - "source_location": "L85", + "source_file": "pkg/library/container/container.go", + "source_location": "L81", "weight": 1.0, - "source": "webhook_deployment_getspecdeployment", - "target": "config_sync_getglobalconfig" + "source": "container_container_getkubecontainersfromdevfile", + "target": "overrides_containers_applycontaineroverrides" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L91", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L80", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "config_sync_getconfigfortesting", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "overrides_containers_needscontaineroverride" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L642", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_getcurrentconfigstring", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "pkg_library_container_container_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L186", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_getmergedconfig", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "pkg_library_container_container_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L253", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_mergeconfig", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "pkg_library_container_container_go_resourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "pkg/library/container/container.go", + "source_location": "L49", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_resolveconfigforworkspace", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "pkg_library_container_container_go_securitycontext" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L99", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L89", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_sync_setglobalconfigfortesting", - "target": "pkg_config_sync_go_operatorconfiguration" + "source": "container_container_getkubecontainersfromdevfile", + "target": "resources_helper_applycaps" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container.go", + "source_location": "L90", + "weight": 1.0, + "source": "container_container_getkubecontainersfromdevfile", + "target": "resources_helper_validateresources" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/container_test.go", + "source_location": "L90", + "weight": 1.0, + "source": "container_container_test_testgetkubecontainersfromdevfile", + "target": "container_container_getkubecontainersfromdevfile" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L88", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_resolveconfigforworkspace", - "target": "config_sync_getmergedconfig" + "source": "container_container_test", + "target": "container_container_test_loadalltestcasesorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L71", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_resolveconfigforworkspace", - "target": "pkg_config_sync_go_client" + "source": "container_container_test", + "target": "container_container_test_loadtestcaseorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L64", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L83", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_resolveconfigforworkspace", - "target": "pkg_config_sync_go_devworkspace" + "source": "container_container_test", + "target": "container_container_test_testgetkubecontainersfromdevfile" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L151", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L33", "weight": 1.0, - "source": "config_sync_test_testcatchesnonexistentexternaldwoc", - "target": "config_sync_resolveconfigforworkspace" + "confidence_score": 1.0, + "source": "container_container_test", + "target": "container_testcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L195", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L39", "weight": 1.0, - "source": "config_sync_test_testmergeexternalconfig", - "target": "config_sync_resolveconfigforworkspace" + "confidence_score": 1.0, + "source": "container_container_test", + "target": "container_testoutput" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L671", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L55", "weight": 1.0, - "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", - "target": "config_sync_resolveconfigforworkspace" + "context": "return_type", + "confidence_score": 1.0, + "source": "container_container_test_loadalltestcasesorpanic", + "target": "container_testcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L233", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L71", "weight": 1.0, - "source": "handler_webhookhandler_validateworkspacev1alpha2permissions", - "target": "config_sync_resolveconfigforworkspace" + "context": "return_type", + "confidence_score": 1.0, + "source": "container_container_test_loadtestcaseorpanic", + "target": "container_testcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L214", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_discoverroutesuffix", - "target": "pkg_config_sync_go_client" + "source": "container_testcase", + "target": "pkg_library_container_container_test_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L175", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L36", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_getclusterconfig", - "target": "pkg_config_sync_go_client" + "source": "container_testcase", + "target": "pkg_library_container_container_test_go_testoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L110", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L40", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "pkg_config_sync_go_client" + "source": "container_testoutput", + "target": "pkg_library_container_container_test_go_podadditions" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L95", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L65", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_getconfigfortesting", - "target": "config_sync_mergeconfig" + "source": "container_container_test_loadalltestcasesorpanic", + "target": "container_container_test_loadtestcaseorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L77", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L55", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", - "target": "config_sync_getconfigfortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "container_container_test_loadalltestcasesorpanic", + "target": "pkg_library_container_container_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L197", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L84", "weight": 1.0, - "source": "rbac_common_test_gettestdevworkspace", - "target": "config_sync_getconfigfortesting" + "confidence_score": 1.0, + "source": "container_container_test_testgetkubecontainersfromdevfile", + "target": "container_container_test_loadalltestcasesorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L210", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L71", "weight": 1.0, - "source": "rbac_common_test_gettestdevworkspacewithattributes", - "target": "config_sync_getconfigfortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "container_container_test_loadtestcaseorpanic", + "target": "pkg_library_container_container_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L107", + "source_file": "pkg/library/container/container_test.go", + "source_location": "L83", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_setglobalconfigfortesting", - "target": "config_sync_mergeconfig" + "source": "container_container_test_testgetkubecontainersfromdevfile", + "target": "pkg_library_container_container_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L84", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "weight": 1.0, - "source": "handler_workspace_test_newtestwebhookhandler", - "target": "config_sync_setglobalconfigfortesting" + "confidence_score": 1.0, + "source": "container_conversion", + "target": "container_conversion_convertcontainertok8s" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L144", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_sync_discoverroutesuffix" + "source": "container_conversion", + "target": "container_conversion_devfileendpointstocontainerports" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L134", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L93", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_sync_getclusterconfig" + "source": "container_conversion", + "target": "container_conversion_devfileenvtocontainerenv" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L160", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L77", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_sync_logcurrentconfig" + "source": "container_conversion", + "target": "container_conversion_devfilevolumemountstocontainervolumemounts" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L141", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "config_sync_syncconfigfrom" + "source": "container_conversion_convertcontainertok8s", + "target": "container_conversion_devfileendpointstocontainerports" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L128", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L50", "weight": 1.0, - "source": "config_sync_setupcontrollerconfig", - "target": "infrastructure_namespace_getnamespace" + "confidence_score": 1.0, + "source": "container_conversion_convertcontainertok8s", + "target": "container_conversion_devfileenvtocontainerenv" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L190", - "weight": 1.0, - "source": "sync_sync_printdiff", - "target": "config_sync_experimentalfeaturesenabled" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L175", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L51", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_getclusterconfig", - "target": "pkg_config_sync_go_devworkspaceoperatorconfig" + "source": "container_conversion_convertcontainertok8s", + "target": "container_conversion_devfilevolumemountstocontainervolumemounts" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L193", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_syncconfigfrom", - "target": "pkg_config_sync_go_devworkspaceoperatorconfig" + "source": "container_conversion_convertcontainertok8s", + "target": "pkg_library_container_conversion_go_component" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L189", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_getmergedconfig", - "target": "config_sync_mergeconfig" + "source": "container_conversion_convertcontainertok8s", + "target": "pkg_library_container_conversion_go_container" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L201", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_syncconfigfrom", - "target": "config_sync_logcurrentconfig" + "source": "container_conversion_convertcontainertok8s", + "target": "pkg_library_container_conversion_go_resourcerequirements" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L200", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L28", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_syncconfigfrom", - "target": "config_sync_mergeconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L312", - "weight": 1.0, - "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", - "target": "config_sync_syncconfigfrom" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L350", - "weight": 1.0, - "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", - "target": "config_sync_syncconfigfrom" + "source": "container_conversion_convertcontainertok8s", + "target": "pkg_library_container_conversion_go_securitycontext" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L281", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L38", "weight": 1.0, - "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", - "target": "config_sync_syncconfigfrom" + "source": "container_conversion_convertcontainertok8s", + "target": "resources_helper_applydefaults" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L294", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L34", "weight": 1.0, - "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", - "target": "config_sync_syncconfigfrom" + "source": "container_conversion_convertcontainertok8s", + "target": "resources_helper_parseresourcesfromcomponent" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L325", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L39", "weight": 1.0, - "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", - "target": "config_sync_syncconfigfrom" + "source": "container_conversion_convertcontainertok8s", + "target": "resources_helper_validateresources" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L208", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L59", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_restoredefaultconfig", - "target": "config_sync_logcurrentconfig" + "source": "container_conversion_devfileendpointstocontainerports", + "target": "containerport" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync.go", - "source_location": "L215", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L59", "weight": 1.0, - "source": "config_sync_discoverroutesuffix", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "container_conversion_devfileendpointstocontainerports", + "target": "pkg_library_container_conversion_go_endpoint" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L349", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L77", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_mergeconfig", - "target": "config_sync_mergecontainersecuritycontext" + "source": "container_conversion_devfilevolumemountstocontainervolumemounts", + "target": "pkg_library_container_conversion_go_volumemount" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L346", + "source_file": "pkg/library/container/conversion.go", + "source_location": "L93", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_mergeconfig", - "target": "config_sync_mergepodsecuritycontext" + "source": "container_conversion_devfileenvtocontainerenv", + "target": "pkg_library_container_conversion_go_envvar" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L399", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L46", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_mergeconfig", - "target": "config_sync_mergeresources" + "source": "container_mountsources", + "target": "container_mountsources_anymountsources" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L297", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L112", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_mergeconfig", - "target": "config_sync_mergetlscertificateconfigmapref" + "source": "container_mountsources", + "target": "container_mountsources_getprojectsourcepath" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L427", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L138", "weight": 1.0, - "source": "config_sync_test_testmergeconfighandlesproxysettings", - "target": "config_sync_mergeconfig" + "confidence_score": 1.0, + "source": "container_mountsources", + "target": "container_mountsources_getprojectsvolumemount" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L445", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "weight": 1.0, - "source": "config_sync_test_testmergeconfiglooksatallfields", - "target": "config_sync_mergeconfig" + "confidence_score": 1.0, + "source": "container_mountsources", + "target": "container_mountsources_handlemountsources" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L613", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L34", "weight": 1.0, - "source": "config_sync_test_testmergeconfigmergesruntimeclassname", - "target": "config_sync_mergeconfig" + "confidence_score": 1.0, + "source": "container_mountsources", + "target": "container_mountsources_hasmountsources" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L461", + "confidence": "EXTRACTED", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L48", "weight": 1.0, - "source": "config_sync_test_testmergeconfigmergesstorageaccessmode", - "target": "config_sync_mergeconfig" + "confidence_score": 1.0, + "source": "container_mountsources_anymountsources", + "target": "container_mountsources_hasmountsources" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L537", - "weight": 1.0, - "source": "config_sync_test_testmergeconfigmergesstorageclassname", - "target": "config_sync_mergeconfig" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L545", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L58", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_mergepodsecuritycontext", - "target": "pkg_config_sync_go_podsecuritycontext" + "source": "container_mountsources_handlemountsources", + "target": "container_mountsources_hasmountsources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L569", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L34", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_mergecontainersecuritycontext", - "target": "pkg_config_sync_go_securitycontext" + "source": "container_mountsources_hasmountsources", + "target": "pkg_library_container_mountsources_go_containercomponent" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L593", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_mergetlscertificateconfigmapref", - "target": "pkg_config_sync_go_configmapreference" + "source": "container_mountsources_handlemountsources", + "target": "pkg_library_container_mountsources_go_containercomponent" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L615", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L46", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_mergeresources", - "target": "pkg_config_sync_go_resourcerequirements" + "source": "container_mountsources_anymountsources", + "target": "pkg_library_container_mountsources_go_component" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync.go", - "source_location": "L844", - "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_logcurrentconfig", - "target": "config_sync_getcurrentconfigstring" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L712", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L52", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_fuzzintorstring" + "source": "storage_ephemeralstorageprovisioner_provisionstorage", + "target": "container_mountsources_anymountsources" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L684", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L220", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_fuzzquantity" + "source": "storage_shared_processprojectsvolume", + "target": "container_mountsources_anymountsources" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L690", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L63", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_fuzzresourcelist" + "source": "storage_shared_workspaceneedsstorage", + "target": "container_mountsources_anymountsources" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L701", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L79", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_fuzzresourcerequirements" + "source": "container_mountsources_handlemountsources", + "target": "container_mountsources_getprojectsourcepath" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L716", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_fuzzstringptr" + "source": "container_mountsources_handlemountsources", + "target": "container_mountsources_getprojectsvolumemount" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L136", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testcatchesnonexistentexternaldwoc" + "source": "container_mountsources_handlemountsources", + "target": "pkg_library_container_mountsources_go_container" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L252", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L57", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testdetectsopenshiftroutesuffix" + "source": "container_mountsources_handlemountsources", + "target": "pkg_library_container_mountsources_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L364", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L138", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergeconfighandlesproxysettings" + "source": "container_mountsources_getprojectsvolumemount", + "target": "pkg_library_container_mountsources_go_container" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L433", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L112", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergeconfiglooksatallfields" + "source": "container_mountsources_getprojectsourcepath", + "target": "pkg_library_container_mountsources_go_devworkspacetemplatespec" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L543", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L116", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergeconfigmergesruntimeclassname" + "source": "container_mountsources_getprojectsourcepath", + "target": "projects_clone_getclonepath" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L449", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L120", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergeconfigmergesstorageaccessmode" + "source": "container_mountsources_getprojectsourcepath", + "target": "projects_clone_getstarterproject" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L467", + "source_file": "pkg/library/container/mountSources.go", + "source_location": "L138", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergeconfigmergesstorageclassname" + "source": "container_mountsources_getprojectsvolumemount", + "target": "pkg_library_container_mountsources_go_volumemount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L158", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergeexternalconfig" + "source": "defaults_helper", + "target": "defaults_helper_applydefaulttemplate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L97", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testmergesallfieldsfromclusterconfig" + "source": "defaults_helper", + "target": "defaults_helper_needsdefaulttemplate" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L619", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L25", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy" + "source": "defaults_helper_applydefaulttemplate", + "target": "pkg_library_defaults_helper_go_devworkspacewithconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L226", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L308", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix" + "source": "handler_webhookhandler_resolvedevworkspace", + "target": "defaults_helper_applydefaulttemplate" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L55", + "source_file": "pkg/library/defaults/helper.go", + "source_location": "L37", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup" + "source": "defaults_helper_needsdefaulttemplate", + "target": "pkg_library_defaults_helper_go_devworkspacewithconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L45", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L302", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsetupcontrollerconfigusesdefault" + "source": "handler_webhookhandler_resolvedevworkspace", + "target": "defaults_helper_needsdefaulttemplate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L69", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L20", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsetupcontrollermergesclusterconfig" + "source": "flatten_common", + "target": "flatten_common_devworkspaceisflattened" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L298", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L20", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsyncconfigdoesnotchangedefaults" + "source": "flatten_common_devworkspaceisflattened", + "target": "pkg_library_flatten_common_go_componentcontribution" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L332", + "source_file": "pkg/library/flatten/common.go", + "source_location": "L20", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix" + "source": "flatten_common_devworkspaceisflattened", + "target": "pkg_library_flatten_common_go_devworkspacetemplatespec" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L272", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L81", "weight": 1.0, - "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces" + "source": "flatten_flatten_recursiveresolve", + "target": "flatten_common_devworkspaceisflattened" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L285", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L317", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername" + "source": "flatten_flatten", + "target": "flatten_flatten_canimportdwt" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L317", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L341", "weight": 1.0, "confidence_score": 1.0, - "source": "config_sync_test", - "target": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix" + "source": "flatten_flatten", + "target": "flatten_flatten_formatvariableswarning" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L45", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testsetupcontrollerconfigusesdefault", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_recursiveresolve" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L136", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testcatchesnonexistentexternaldwoc", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_resolvedevworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L252", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L267", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testdetectsopenshiftroutesuffix", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_resolveelementbyid" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L364", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L226", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergeconfighandlesproxysettings", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_resolveelementbykubernetesimport" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L433", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L298", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergeconfiglooksatallfields", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_resolveelementbyuri" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L543", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L161", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergeconfigmergesruntimeclassname", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_resolveparentcomponent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L449", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L192", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergeconfigmergesstorageaccessmode", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_flatten_resolveplugincomponent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L467", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L47", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergeconfigmergesstorageclassname", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L158", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergeexternalconfig", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_recursiveresolve", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L97", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testmergesallfieldsfromclusterconfig", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_resolvedevworkspace", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L619", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L267", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testresolveconfigforworkspacewithnetworkpolicy", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_resolveelementbyid", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", + "source_file": "pkg/library/flatten/flatten.go", "source_location": "L226", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_resolveelementbykubernetesimport", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L55", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L298", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testsetupcontrollerconfigfailswhenalreadysetup", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_resolveelementbyuri", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L69", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L161", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testsetupcontrollermergesclusterconfig", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_resolveparentcomponent", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L298", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L192", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_testsyncconfigdoesnotchangedefaults", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_flatten_resolveplugincomponent", + "target": "flatten_resolvertools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L332", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_resolvertools", + "target": "httpgetter" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L272", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L50", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_test_testsyncconfigfromignoresotherconfiginothernamespaces", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_resolvertools", + "target": "pkg_library_flatten_flatten_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L285", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L49", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_test_testsyncconfigfromignoresotherconfigwithothername", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_resolvertools", + "target": "pkg_library_flatten_flatten_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L317", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L52", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "config_sync_test_testsyncconfigrestoresclusterroutingsuffix", - "target": "pkg_config_sync_test_go_t" + "source": "flatten_resolvertools", + "target": "pkg_library_flatten_flatten_go_resourcerequirements" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L228", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L59", "weight": 1.0, - "source": "config_sync_test_testsetupcontrolleralwayssetsdefaultclusterroutingsuffix", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_flatten_resolvedevworkspace", + "target": "flatten_flatten_recursiveresolve" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L254", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L70", "weight": 1.0, - "source": "config_sync_test_testdetectsopenshiftroutesuffix", - "target": "infrastructure_cluster_initializefortesting" + "source": "flatten_flatten_resolvedevworkspace", + "target": "flatten_merge_mergecontainercontributions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/config/sync_test.go", - "source_location": "L334", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L69", "weight": 1.0, - "source": "config_sync_test_testsyncconfigdoesnoteraseclusterroutingsuffix", - "target": "infrastructure_cluster_initializefortesting" + "source": "flatten_flatten_resolvedevworkspace", + "target": "flatten_merge_needscontainercontributionmerge" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L684", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzquantity", - "target": "continue" + "source": "flatten_flatten_resolvedevworkspace", + "target": "pkg_library_flatten_flatten_go_componentcontribution" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L684", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzquantity", - "target": "pkg_config_sync_test_go_quantity" + "source": "flatten_flatten_resolvedevworkspace", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L712", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzintorstring", - "target": "continue" + "source": "flatten_flatten_resolvedevworkspace", + "target": "variablewarning" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L690", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzresourcelist", - "target": "continue" + "source": "flatten_flatten_recursiveresolve", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L701", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L267", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzresourcerequirements", - "target": "continue" + "source": "flatten_flatten_resolveelementbyid", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L716", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L226", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzstringptr", - "target": "continue" + "source": "flatten_flatten_resolveelementbykubernetesimport", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L690", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L298", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzresourcelist", - "target": "pkg_config_sync_test_go_resourcelist" + "source": "flatten_flatten_resolveelementbyuri", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L701", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L161", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "config_sync_test_fuzzresourcerequirements", - "target": "pkg_config_sync_test_go_resourcerequirements" + "source": "flatten_flatten_resolveparentcomponent", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/config/sync_test.go", - "source_location": "L712", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "config_sync_test_fuzzintorstring", - "target": "intorstring" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L77", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L192", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "dwerrors_errors", - "target": "dwerrors_errors_wrapsyncerror" + "source": "flatten_flatten_resolveplugincomponent", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L47", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "dwerrors_errors", - "target": "dwerrors_failerror" + "source": "flatten_flatten_recursiveresolve", + "target": "pkg_library_flatten_flatten_go_componentcontribution" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L23", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L341", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "dwerrors_errors", - "target": "dwerrors_retryerror" + "source": "flatten_flatten_formatvariableswarning", + "target": "variablewarning" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L68", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L113", "weight": 1.0, "confidence_score": 1.0, - "source": "dwerrors_errors", - "target": "dwerrors_warningerror" + "source": "flatten_flatten_recursiveresolve", + "target": "flatten_flatten_resolveparentcomponent" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L33", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L87", "weight": 1.0, "confidence_score": 1.0, - "source": "dwerrors_retryerror", - "target": "dwerrors_retryerror_error" + "source": "flatten_flatten_recursiveresolve", + "target": "flatten_flatten_resolveplugincomponent" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L43", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L150", "weight": 1.0, - "confidence_score": 1.0, - "source": "dwerrors_retryerror", - "target": "dwerrors_retryerror_unwrap" + "source": "flatten_flatten_recursiveresolve", + "target": "flatten_merge_mergedevworkspaceelements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L30", - "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "dwerrors_retryerror", - "target": "pkg_dwerrors_errors_go_duration" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L54", - "weight": 1.0, - "confidence_score": 1.0, - "source": "dwerrors_failerror", - "target": "dwerrors_failerror_error" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L64", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L80", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "dwerrors_failerror", - "target": "dwerrors_failerror_unwrap" + "source": "flatten_flatten_recursiveresolve", + "target": "resolutioncontexttree" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/dwerrors/errors.go", - "source_location": "L73", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L172", "weight": 1.0, "confidence_score": 1.0, - "source": "dwerrors_warningerror", - "target": "dwerrors_warningerror_error" + "source": "flatten_flatten_resolveparentcomponent", + "target": "flatten_flatten_resolveelementbyid" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L65", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L168", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "dwerrors_errors_wrapsyncerror" + "confidence_score": 1.0, + "source": "flatten_flatten_resolveparentcomponent", + "target": "flatten_flatten_resolveelementbykubernetesimport" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L91", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L170", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "dwerrors_errors_wrapsyncerror" + "confidence_score": 1.0, + "source": "flatten_flatten_resolveparentcomponent", + "target": "flatten_flatten_resolveelementbyuri" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L59", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L161", "weight": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "dwerrors_errors_wrapsyncerror" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_flatten_resolveparentcomponent", + "target": "parent" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L117", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L202", "weight": 1.0, - "source": "networkpolicy_networkpolicy_createnetworkpolicy", - "target": "dwerrors_errors_wrapsyncerror" + "confidence_score": 1.0, + "source": "flatten_flatten_resolveplugincomponent", + "target": "flatten_flatten_resolveelementbyid" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L33", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L198", "weight": 1.0, - "source": "rbac_role_syncroles", - "target": "dwerrors_errors_wrapsyncerror" + "confidence_score": 1.0, + "source": "flatten_flatten_resolveplugincomponent", + "target": "flatten_flatten_resolveelementbykubernetesimport" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L112", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L200", "weight": 1.0, - "source": "rbac_rolebinding_addserviceaccounttorolebinding", - "target": "dwerrors_errors_wrapsyncerror" + "confidence_score": 1.0, + "source": "flatten_flatten_resolveplugincomponent", + "target": "flatten_flatten_resolveelementbyuri" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L146", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L192", "weight": 1.0, - "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", - "target": "dwerrors_errors_wrapsyncerror" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_flatten_resolveplugincomponent", + "target": "pkg_library_flatten_flatten_go_plugincomponent" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L70", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L257", "weight": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "dwerrors_errors_wrapsyncerror" + "confidence_score": 1.0, + "source": "flatten_flatten_resolveelementbykubernetesimport", + "target": "flatten_flatten_canimportdwt" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L70", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L226", "weight": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "dwerrors_errors_wrapsyncerror" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_flatten_resolveelementbykubernetesimport", + "target": "kubernetescustomresourceimportreference" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L47", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L281", "weight": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "dwerrors_errors_wrapsyncerror" + "source": "flatten_flatten_resolveelementbyid", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L73", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L289", "weight": 1.0, - "source": "workspace_serviceaccount_syncserviceaccount", - "target": "dwerrors_errors_wrapsyncerror" + "source": "flatten_flatten_resolveelementbyid", + "target": "network_fetch_fetchdevworkspacetemplate" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L43", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L307", "weight": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "dwerrors_errors_wrapsyncerror" + "source": "flatten_flatten_resolveelementbyuri", + "target": "network_fetch_fetchdevworkspacetemplate" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L54", + "source_file": "pkg/library/flatten/flatten.go", + "source_location": "L317", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http", - "target": "httpfactory_defaulthttpclientsfactory" + "source": "flatten_flatten_canimportdwt", + "target": "pkg_library_flatten_flatten_go_devworkspacetemplate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L178", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L303", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http", - "target": "httpfactory_http_getproxyfunc" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_gettestingtools" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L70", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L215", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http", - "target": "httpfactory_http_setuphttpclientsfactory" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testmergecontainercontributions" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L40", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L238", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http", - "target": "httpfactory_httpclientsfactory" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testmergeimplicitcontainercontributions" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L132", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L282", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "httpfactory_defaulthttpclientsfactory_createhttpclient" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testmergeimplicitspeccontributions" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L208", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L192", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "httpfactory_defaulthttpclientsfactory_getcacertpool" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testmergesduplicatevolumecomponents" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L168", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L261", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "httpfactory_defaulthttpclientsfactory_gethealthcheckhttpclient" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testmergespeccontributions" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L146", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "httpfactory_defaulthttpclientsfactory_gethttpclient" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspaceannotations" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L224", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L29", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "httpfactory_defaulthttpclientsfactory_readcertificates" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspacekubernetesreference" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L148", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L120", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspacemissingdefaults" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L66", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L97", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "pkg_httpfactory_http_go_certpool" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspaceparents" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L59", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L51", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "pkg_httpfactory_http_go_client" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspacepluginregistry" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L63", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L74", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "pkg_httpfactory_http_go_configmapreference" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspacepluginuri" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L56", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L169", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "pkg_httpfactory_http_go_logger" + "source": "flatten_flatten_test", + "target": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L67", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L35", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "pkg_httpfactory_http_go_request" + "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", + "target": "flatten_flatten_test_gettestingtools" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L61", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L29", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "rwmutex" + "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", + "target": "pkg_library_flatten_flatten_test_go_t" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L67", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L30", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory", - "target": "url" + "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", + "target": "testutil_common_loadalltestsorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L132", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L215", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_createhttpclient", - "target": "pkg_httpfactory_http_go_client" + "source": "flatten_flatten_test_testmergecontainercontributions", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L168", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L238", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethealthcheckhttpclient", - "target": "pkg_httpfactory_http_go_client" + "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L282", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", - "target": "pkg_httpfactory_http_go_client" + "source": "flatten_flatten_test_testmergeimplicitspeccontributions", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L70", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L192", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_setuphttpclientsfactory", - "target": "pkg_httpfactory_http_go_client" + "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L70", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L261", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_setuphttpclientsfactory", - "target": "pkg_httpfactory_http_go_logger" + "source": "flatten_flatten_test_testmergespeccontributions", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L208", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L146", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_getcacertpool", - "target": "pkg_httpfactory_http_go_certpool" + "source": "flatten_flatten_test_testresolvedevworkspaceannotations", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L178", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L120", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_getproxyfunc", - "target": "pkg_httpfactory_http_go_request" + "source": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L178", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "httpfactory_http_getproxyfunc", - "target": "url" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L76", - "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_http_setuphttpclientsfactory", - "target": "httpfactory_http_getproxyfunc" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L169", - "weight": 1.0, - "source": "webhook_main_main", - "target": "httpfactory_http_setuphttpclientsfactory" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L115", - "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", - "target": "httpfactory_defaulthttpclientsfactory_createhttpclient" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L102", - "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", - "target": "httpfactory_defaulthttpclientsfactory_readcertificates" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L105", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L97", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", - "target": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient" + "source": "flatten_flatten_test_testresolvedevworkspaceparents", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L51", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", - "target": "pkg_httpfactory_http_go_context" + "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L101", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L74", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_gethttpclient", - "target": "pkg_httpfactory_http_go_routingconfig" + "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", + "target": "pkg_library_flatten_flatten_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L224", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L169", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_readcertificates", - "target": "pkg_httpfactory_http_go_context" + "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", + "target": "pkg_library_flatten_flatten_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L224", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_readcertificates", - "target": "pkg_httpfactory_http_go_routingconfig" + "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L148", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L52", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient", - "target": "pkg_httpfactory_http_go_routingconfig" + "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", + "target": "testutil_common_loadalltestsorpanic" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L139", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L80", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_createhttpclient", - "target": "httpfactory_defaulthttpclientsfactory_getcacertpool" + "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L132", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L75", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_createhttpclient", - "target": "pkg_httpfactory_http_go_configmap" + "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L208", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L103", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_getcacertpool", - "target": "pkg_httpfactory_http_go_configmap" + "source": "flatten_flatten_test_testresolvedevworkspaceparents", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L224", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L98", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_readcertificates", - "target": "pkg_httpfactory_http_go_configmap" + "source": "flatten_flatten_test_testresolvedevworkspaceparents", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http.go", - "source_location": "L148", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L129", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_defaulthttpclientsfactory_shouldcreatehttpclient", - "target": "pkg_httpfactory_http_go_configmap" + "source": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L158", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L152", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http_test", - "target": "httpfactory_http_test_generatetestcacert" + "source": "flatten_flatten_test_testresolvedevworkspaceannotations", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L178", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L147", "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_http_test", - "target": "httpfactory_http_test_newtestfactory" + "source": "flatten_flatten_test_testresolvedevworkspaceannotations", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L215", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L175", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http_test", - "target": "httpfactory_http_test_routingconfigwithcerts" + "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L205", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L170", "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_http_test", - "target": "httpfactory_http_test_routingconfigwithproxy" + "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L62", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L198", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http_test", - "target": "httpfactory_http_test_testgethttpclient" + "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L43", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L193", "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_http_test", - "target": "httpfactory_http_test_testhealthcheckhttpclient" + "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", + "target": "testutil_common_loadalltestsorpanic" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L45", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L221", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http_test_testhealthcheckhttpclient", - "target": "httpfactory_http_test_newtestfactory" + "source": "flatten_flatten_test_testmergecontainercontributions", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L43", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L216", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "httpfactory_http_test_testhealthcheckhttpclient", - "target": "pkg_httpfactory_http_test_go_t" + "source": "flatten_flatten_test_testmergecontainercontributions", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L158", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L244", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_test_generatetestcacert", - "target": "pkg_httpfactory_http_test_go_t" + "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", + "target": "flatten_flatten_test_gettestingtools" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L178", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L239", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "httpfactory_http_test_newtestfactory", - "target": "pkg_httpfactory_http_test_go_t" + "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L62", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L265", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_test_testgethttpclient", - "target": "pkg_httpfactory_http_test_go_t" + "source": "flatten_flatten_test_testmergespeccontributions", + "target": "flatten_flatten_test_gettestingtools" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L87", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L262", "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_http_test_testgethttpclient", - "target": "httpfactory_http_test_generatetestcacert" + "source": "flatten_flatten_test_testmergespeccontributions", + "target": "testutil_common_loadalltestsorpanic" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L64", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L286", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http_test_testgethttpclient", - "target": "httpfactory_http_test_newtestfactory" + "source": "flatten_flatten_test_testmergeimplicitspeccontributions", + "target": "flatten_flatten_test_gettestingtools" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L96", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L283", "weight": 1.0, - "confidence_score": 1.0, - "source": "httpfactory_http_test_testgethttpclient", - "target": "httpfactory_http_test_routingconfigwithcerts" + "source": "flatten_flatten_test_testmergeimplicitspeccontributions", + "target": "testutil_common_loadalltestsorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L178", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L303", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_test_newtestfactory", - "target": "defaulthttpclientsfactory" + "source": "flatten_flatten_test_gettestingtools", + "target": "pkg_library_flatten_flatten_test_go_testinput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L205", + "source_file": "pkg/library/flatten/flatten_test.go", + "source_location": "L303", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "httpfactory_http_test_routingconfigwithproxy", - "target": "pkg_httpfactory_http_test_go_routingconfig" + "source": "flatten_flatten_test_gettestingtools", + "target": "resolvertools" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_test.go", - "source_location": "L215", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L59", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "httpfactory_http_test_routingconfigwithcerts", - "target": "pkg_httpfactory_http_test_go_routingconfig" + "source": "flatten_helper", + "target": "flatten_helper_formatimportcycle" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L36", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_http_testing", - "target": "httpfactory_http_testing_setuphttpclientsfortesting" + "source": "flatten_helper", + "target": "flatten_resolutioncontexttree" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L23", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L59", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_testing", - "target": "httpfactory_testhttpclientsfactory" + "source": "flatten_helper_formatimportcycle", + "target": "flatten_resolutioncontexttree" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L32", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L34", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory", - "target": "httpfactory_testhttpclientsfactory_gethealthcheckhttpclient" + "source": "flatten_resolutioncontexttree_addplugin", + "target": "flatten_resolutioncontexttree" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory", - "target": "httpfactory_testhttpclientsfactory_gethttpclient" + "source": "flatten_resolutioncontexttree", + "target": "flatten_resolutioncontexttree_hascycle" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L25", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L29", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory", - "target": "pkg_httpfactory_http_testing_go_client" + "source": "flatten_resolutioncontexttree", + "target": "importreference" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L36", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L34", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_http_testing_setuphttpclientsfortesting", - "target": "pkg_httpfactory_http_testing_go_client" + "source": "flatten_resolutioncontexttree_addplugin", + "target": "pkg_library_flatten_helper_go_plugincomponent" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L32", + "source_file": "pkg/library/flatten/helper.go", + "source_location": "L50", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory_gethealthcheckhttpclient", - "target": "pkg_httpfactory_http_testing_go_client" + "source": "flatten_resolutioncontexttree_hascycle", + "target": "flatten_helper_formatimportcycle" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L100", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory_gethttpclient", - "target": "pkg_httpfactory_http_testing_go_client" + "source": "testutil_common", + "target": "testutil_common_loadalltestsorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L87", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory_gethttpclient", - "target": "pkg_httpfactory_http_testing_go_context" + "source": "testutil_common", + "target": "testutil_common_loadtestcaseorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/httpfactory/http_testing.go", - "source_location": "L28", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L53", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "httpfactory_testhttpclientsfactory_gethttpclient", - "target": "pkg_httpfactory_http_testing_go_routingconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace_test.go", - "source_location": "L85", - "weight": 1.0, - "source": "handler_workspace_test_newtestwebhookhandler", - "target": "httpfactory_http_testing_setuphttpclientsfortesting" + "source": "testutil_common", + "target": "testutil_testcase" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L75", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_detect" + "source": "testutil_common", + "target": "testutil_testinput" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L99", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_findapigroup" + "source": "testutil_common", + "target": "testutil_testoutput" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L108", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L73", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_findapiresources" + "source": "testutil_common", + "target": "testutil_testpluginerror" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L44", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L100", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_initialize" + "source": "testutil_common_loadalltestsorpanic", + "target": "testutil_testcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L58", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L87", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_initializefortesting" + "source": "testutil_common_loadtestcaseorpanic", + "target": "testutil_testcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L63", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L55", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_isinitialized" + "source": "testutil_testcase", + "target": "pkg_library_flatten_internal_testutil_common_go_testinput" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L68", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L56", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_cluster_isopenshift" + "source": "testutil_testcase", + "target": "pkg_library_flatten_internal_testutil_common_go_testoutput" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L27", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L64", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "infrastructure_cluster", - "target": "infrastructure_type" + "source": "testutil_testinput", + "target": "pkg_library_flatten_internal_testutil_common_go_componentcontribution" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L75", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L68", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "infrastructure_cluster_detect", - "target": "infrastructure_type" + "source": "testutil_testinput", + "target": "pkg_library_flatten_internal_testutil_common_go_devfile" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L58", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L66", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "infrastructure_cluster_initializefortesting", - "target": "infrastructure_type" + "source": "testutil_testinput", + "target": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplate" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L46", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L62", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "infrastructure_cluster_initialize", - "target": "infrastructure_cluster_detect" + "source": "testutil_testinput", + "target": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/common.go", "source_location": "L70", "weight": 1.0, - "source": "webhook_main_init", - "target": "infrastructure_cluster_initialize" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_testinput", + "target": "pkg_library_flatten_internal_testutil_common_go_testpluginerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace_test.go", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/common.go", "source_location": "L83", "weight": 1.0, - "source": "handler_workspace_test_newtestwebhookhandler", - "target": "infrastructure_cluster_initializefortesting" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L108", - "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "infrastructure_cluster_initializefortesting" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_testoutput", + "target": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L175", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L110", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_common_loadalltestsorpanic", + "target": "testutil_common_loadtestcaseorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L54", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L87", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "testutil_common_loadtestcaseorpanic", + "target": "pkg_library_flatten_internal_testutil_common_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L33", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/common.go", + "source_location": "L100", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "testutil_common_loadalltestsorpanic", + "target": "pkg_library_flatten_internal_testutil_common_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L238", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L31", "weight": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "pkg_library_flatten_internal_testutil_http_go_testutil_http", + "target": "testutil_fakehttpgetter" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L216", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L39", "weight": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "pkg_library_flatten_internal_testutil_http_go_testutil_http", + "target": "testutil_fakerespbody" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L205", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L32", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", - "target": "infrastructure_cluster_initializefortesting" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_fakehttpgetter", + "target": "pkg_library_flatten_internal_testutil_http_go_devfile" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L117", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L33", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", - "target": "infrastructure_cluster_initializefortesting" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_fakehttpgetter", + "target": "pkg_library_flatten_internal_testutil_http_go_devworkspacetemplate" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L301", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L34", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", - "target": "infrastructure_cluster_initializefortesting" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_fakehttpgetter", + "target": "pkg_library_flatten_internal_testutil_http_go_testpluginerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L137", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L45", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_fakehttpgetter", + "target": "testutil_fakehttpgetter_get" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L79", + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L40", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_fakerespbody", + "target": "reader" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L263", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L43", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_fakerespbody", + "target": "testutil_fakerespbody_close" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L61", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L86", "weight": 1.0, - "source": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", - "target": "infrastructure_cluster_initializefortesting" + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "testutil_fakerespbody_close" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L28", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/http.go", + "source_location": "L45", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", - "target": "infrastructure_cluster_initializefortesting" + "context": "return_type", + "confidence_score": 1.0, + "source": "testutil_fakehttpgetter_get", + "target": "pkg_library_flatten_internal_testutil_http_go_response" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L80", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L29", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_k8sclient", + "target": "testutil_fakek8sclient" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L107", + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L30", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_fakek8sclient", + "target": "pkg_library_flatten_internal_testutil_k8sclient_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L29", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L31", "weight": 1.0, - "source": "rbac_role_test_testcreatesroleifnotexists", - "target": "infrastructure_cluster_initializefortesting" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_fakek8sclient", + "target": "pkg_library_flatten_internal_testutil_k8sclient_go_devworkspacetemplate" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L107", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L32", "weight": 1.0, - "source": "rbac_role_test_testcreatessccroleifnotexists", - "target": "infrastructure_cluster_initializefortesting" + "context": "field", + "confidence_score": 1.0, + "source": "testutil_fakek8sclient", + "target": "pkg_library_flatten_internal_testutil_k8sclient_go_testpluginerror" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L48", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "testutil_fakek8sclient", + "target": "testutil_fakek8sclient_get" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L130", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "testutil_fakek8sclient_get", + "target": "pkg_library_flatten_internal_testutil_k8sclient_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L88", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationempty", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "testutil_fakek8sclient_get", + "target": "pkg_library_flatten_internal_testutil_k8sclient_go_object" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L69", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", + "source_location": "L35", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "source": "testutil_fakek8sclient_get", + "target": "pkg_library_flatten_internal_testutil_k8sclient_go_objectkey", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L51", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L236", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_findmergetarget" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L113", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L178", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_mergecontainercontributions" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L161", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L272", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_mergecontributionsinto" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L29", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L36", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_mergedevworkspaceelements" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L83", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L99", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_mergevolume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L200", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L55", "weight": 1.0, - "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_mergevolumecomponents" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L85", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L138", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_needscontainercontributionmerge" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L350", + "weight": 1.0, + "confidence_score": 1.0, + "source": "flatten_merge", + "target": "flatten_merge_updatecommandtargetsaftermerge" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", "source_location": "L37", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge_mergedevworkspaceelements", + "target": "flatten_merge_mergevolumecomponents" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L147", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L36", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", - "target": "infrastructure_cluster_initializefortesting" + "context": "return_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergedevworkspaceelements", + "target": "pkg_library_flatten_merge_go_devworkspacetemplatespeccontent" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L44", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L55", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergevolumecomponents", + "target": "pkg_library_flatten_merge_go_devworkspacetemplatespeccontent" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L186", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L75", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge_mergevolumecomponents", + "target": "flatten_merge_mergevolume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L61", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L99", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergevolume", + "target": "pkg_library_flatten_merge_go_volumecomponent" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L230", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L138", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_needscontainercontributionmerge", + "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L122", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L236", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_findmergetarget", + "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L32", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L178", "weight": 1.0, - "source": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergecontainercontributions", + "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L34", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L350", "weight": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", - "target": "infrastructure_cluster_initializefortesting" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_updatecommandtargetsaftermerge", + "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L26", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L188", "weight": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge_mergecontainercontributions", + "target": "flatten_merge_findmergetarget" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L49", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L204", "weight": 1.0, - "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", - "target": "infrastructure_cluster_initializefortesting" + "confidence_score": 1.0, + "source": "flatten_merge_mergecontainercontributions", + "target": "flatten_merge_mergecontributionsinto" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L69", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L216", "weight": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", - "target": "infrastructure_cluster_isopenshift" + "confidence_score": 1.0, + "source": "flatten_merge_mergecontainercontributions", + "target": "flatten_merge_updatecommandtargetsaftermerge" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L89", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L178", "weight": 1.0, - "source": "handler_webhookhandler_validateopenshiftscc", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergecontainercontributions", + "target": "pkg_library_flatten_merge_go_resourcerequirements" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L337", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L272", "weight": 1.0, - "source": "handler_workspace_setvalidatedpermissionsannotations", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergecontributionsinto", + "target": "pkg_library_flatten_merge_go_resourcerequirements" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L50", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L272", "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "infrastructure_cluster_isopenshift" + "context": "return_type", + "confidence_score": 1.0, + "source": "flatten_merge_mergecontributionsinto", + "target": "pkg_library_flatten_merge_go_component" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L46", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L305", "weight": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "infrastructure_cluster_isopenshift" + "source": "flatten_merge_mergecontributionsinto", + "target": "resources_helper_addresourcerequirements" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/status/check.go", - "source_location": "L157", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L280", "weight": 1.0, - "source": "status_check_checkpodevents", - "target": "infrastructure_cluster_isopenshift" + "source": "flatten_merge_mergecontributionsinto", + "target": "resources_helper_applydefaults" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L50", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L338", "weight": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "infrastructure_cluster_isopenshift" + "source": "flatten_merge_mergecontributionsinto", + "target": "resources_helper_applyresourcerequirementstocomponent" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L117", + "source_file": "pkg/library/flatten/merge.go", + "source_location": "L276", "weight": 1.0, - "source": "tlssetup_server_tls_registersecurityprofilewatcher", - "target": "infrastructure_cluster_isopenshift" + "source": "flatten_merge_mergecontributionsinto", + "target": "resources_helper_parseresourcesfromcomponent" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L62", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L27", "weight": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "infrastructure_cluster_isopenshift" + "confidence_score": 1.0, + "source": "network_devfile", + "target": "network_devfile_convertdevfiletodevworkspacetemplate" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/deployment.go", - "source_location": "L71", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L27", "weight": 1.0, - "source": "webhook_deployment_getspecdeployment", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "network_devfile_convertdevfiletodevworkspacetemplate", + "target": "pkg_library_flatten_network_devfile_go_devfile" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L81", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/devfile.go", + "source_location": "L27", "weight": 1.0, - "source": "webhook_main_init", - "target": "infrastructure_cluster_isopenshift" + "context": "return_type", + "confidence_score": 1.0, + "source": "network_devfile_convertdevfiletodevworkspacetemplate", + "target": "pkg_library_flatten_network_devfile_go_devworkspacetemplate" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L191", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L50", "weight": 1.0, - "source": "webhook_main_main", - "target": "infrastructure_cluster_isopenshift" + "source": "network_fetch_fetchdevworkspacetemplate", + "target": "network_devfile_convertdevfiletodevworkspacetemplate" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/role_bindings.go", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/fetch.go", "source_location": "L31", "weight": 1.0, - "source": "webhook_role_bindings_createwebhookrolebinding", - "target": "infrastructure_cluster_isopenshift" + "confidence_score": 1.0, + "source": "network_fetch", + "target": "network_fetch_fetchdevworkspacetemplate" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/roles.go", - "source_location": "L31", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L27", "weight": 1.0, - "source": "webhook_roles_createwebhookrole", - "target": "infrastructure_cluster_isopenshift" + "confidence_score": 1.0, + "source": "network_fetch", + "target": "network_httpgetter" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations.go", - "source_location": "L26", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L31", "weight": 1.0, - "source": "workspace_annotations_getwebhookannotations", - "target": "infrastructure_cluster_isopenshift" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "network_fetch_fetchdevworkspacetemplate", + "target": "network_httpgetter" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/mutating_cfg.go", - "source_location": "L143", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/flatten/network/fetch.go", + "source_location": "L31", "weight": 1.0, - "source": "workspace_mutating_cfg_buildmutatewebhookcfg", - "target": "infrastructure_cluster_isopenshift" + "context": "return_type", + "confidence_score": 1.0, + "source": "network_fetch_fetchdevworkspacetemplate", + "target": "pkg_library_flatten_network_fetch_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L88", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_cluster_detect", - "target": "infrastructure_cluster_findapigroup" + "source": "home_custom_init_test", + "target": "home_custom_init_test_testcustominitpersistenthome" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L99", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L222", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "infrastructure_cluster_findapigroup", - "target": "apigroup" + "source": "home_custom_init_test", + "target": "home_custom_init_test_testinferworkspaceimage" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L190", + "weight": 1.0, + "source": "home_custom_init_test_testcustominitpersistenthome", + "target": "home_persistenthome_addpersistenthomevolume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L108", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L31", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "infrastructure_cluster_findapiresources", - "target": "apiresource" + "source": "home_custom_init_test_testcustominitpersistenthome", + "target": "pkg_library_home_custom_init_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/cluster.go", - "source_location": "L108", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L222", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "infrastructure_cluster_findapiresources", - "target": "apiresourcelist" + "source": "home_custom_init_test_testinferworkspaceimage", + "target": "pkg_library_home_custom_init_test_go_t" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/infrastructure/webhook.go", - "source_location": "L38", + "source_file": "pkg/library/home/custom_init_test.go", + "source_location": "L344", "weight": 1.0, - "source": "infrastructure_webhook_iswebhookconfigurationenabled", - "target": "infrastructure_cluster_findapiresources" + "source": "home_custom_init_test_testinferworkspaceimage", + "target": "home_util_inferworkspaceimage" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L56", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L145", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_namespace", - "target": "infrastructure_namespace_getnamespace" + "source": "home_persistenthome", + "target": "home_persistenthome_addinitcontainer" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L31", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L226", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_namespace", - "target": "infrastructure_namespace_getoperatornamespace" + "source": "home_persistenthome", + "target": "home_persistenthome_addinitcontainercomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L46", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L52", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_namespace", - "target": "infrastructure_namespace_getwatchnamespace" + "source": "home_persistenthome", + "target": "home_persistenthome_addpersistenthomevolume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L57", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L252", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_namespace_getnamespace", - "target": "infrastructure_namespace_getoperatornamespace" + "source": "home_persistenthome", + "target": "home_persistenthome_ensurehomeinitcontainerfields" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L36", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L131", "weight": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "infrastructure_namespace_getoperatornamespace" + "confidence_score": 1.0, + "source": "home_persistenthome", + "target": "home_persistenthome_hasinitpersistenthomeinconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L46", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L238", "weight": 1.0, - "source": "workspace_config_configure", - "target": "infrastructure_namespace_getoperatornamespace" + "confidence_score": 1.0, + "source": "home_persistenthome", + "target": "home_persistenthome_inferinitcontainer" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L142", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L201", "weight": 1.0, - "source": "workspace_config_controllersauid", - "target": "infrastructure_namespace_getoperatornamespace" + "confidence_score": 1.0, + "source": "home_persistenthome", + "target": "home_persistenthome_initcommandexists" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/namespace.go", - "source_location": "L61", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L188", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_namespace_getnamespace", - "target": "infrastructure_namespace_getwatchnamespace" + "source": "home_persistenthome", + "target": "home_persistenthome_initcomponentexists" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L120", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L213", "weight": 1.0, - "source": "webhook_main_main", - "target": "infrastructure_namespace_getwatchnamespace" + "confidence_score": 1.0, + "source": "home_persistenthome", + "target": "home_persistenthome_initeventexists" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/infrastructure/webhook.go", - "source_location": "L24", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L94", "weight": 1.0, "confidence_score": 1.0, - "source": "infrastructure_webhook", - "target": "infrastructure_webhook_iswebhookconfigurationenabled" + "source": "home_persistenthome", + "target": "home_persistenthome_needspersistenthomedirectory" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L127", + "weight": 1.0, + "confidence_score": 1.0, + "source": "home_persistenthome", + "target": "home_persistenthome_persistuserhomeenabled" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/server/server.go", - "source_location": "L74", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L67", "weight": 1.0, - "source": "server_server_configurewebhookserver", - "target": "infrastructure_webhook_iswebhookconfigurationenabled" + "confidence_score": 1.0, + "source": "home_persistenthome_addpersistenthomevolume", + "target": "home_persistenthome_addinitcontainer" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/plugins.go", - "source_location": "L27", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L52", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "annotate_plugins", - "target": "annotate_plugins_addsourceattributesfortemplate" + "source": "home_persistenthome_addpersistenthomevolume", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/plugins.go", - "source_location": "L27", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L52", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_plugins_addsourceattributesfortemplate", - "target": "pkg_library_annotate_plugins_go_devworkspacetemplatespec" + "source": "home_persistenthome_addpersistenthomevolume", + "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L101", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L98", "weight": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "annotate_plugins_addsourceattributesfortemplate" + "source": "home_persistenthome_test_testpersistenthomevolume", + "target": "home_persistenthome_addpersistenthomevolume" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L131", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "home_persistenthome_hasinitpersistenthomeinconfig", + "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L26", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L94", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls", - "target": "annotate_urls_addurlattributestoendpoints" + "source": "home_persistenthome_needspersistenthomedirectory", + "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L44", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L127", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls", - "target": "annotate_urls_getcontainerendpointbyname" + "source": "home_persistenthome_persistuserhomeenabled", + "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L34", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L145", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls_addurlattributestoendpoints", - "target": "annotate_urls_getcontainerendpointbyname" + "source": "home_persistenthome_addinitcontainer", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L26", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L226", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls_addurlattributestoendpoints", - "target": "pkg_library_annotate_urls_go_devworkspacetemplatespec" + "source": "home_persistenthome_addinitcontainercomponent", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L26", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L238", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls_addurlattributestoendpoints", - "target": "pkg_library_annotate_urls_go_exposedendpointlist" + "source": "home_persistenthome_inferinitcontainer", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L44", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L201", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls_getcontainerendpointbyname", - "target": "pkg_library_annotate_urls_go_containercomponent" + "source": "home_persistenthome_initcommandexists", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/annotate/urls.go", - "source_location": "L44", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L188", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "annotate_urls_getcontainerendpointbyname", - "target": "pkg_library_annotate_urls_go_endpoint" + "source": "home_persistenthome_initcomponentexists", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L213", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "container_container", - "target": "container_container_getkubecontainersfromdevfile" + "source": "home_persistenthome_initeventexists", + "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L73", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L121", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "container_conversion_convertcontainertok8s" + "confidence_score": 1.0, + "source": "home_persistenthome_needspersistenthomedirectory", + "target": "home_persistenthome_hasinitpersistenthomeinconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L77", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L95", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "container_mountsources_handlemountsources" + "confidence_score": 1.0, + "source": "home_persistenthome_needspersistenthomedirectory", + "target": "home_persistenthome_persistuserhomeenabled" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L59", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L97", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "flatten_common_devworkspaceisflattened" + "source": "home_persistenthome_test_testpersistenthomevolume", + "target": "home_persistenthome_needspersistenthomedirectory" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L98", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L164", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "lifecycle_poststart_addpoststartlifecyclehooks" + "confidence_score": 1.0, + "source": "home_persistenthome_addinitcontainer", + "target": "home_persistenthome_addinitcontainercomponent" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L64", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L159", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "lifecycle_prestart_getinitcontainers" + "confidence_score": 1.0, + "source": "home_persistenthome_addinitcontainer", + "target": "home_persistenthome_inferinitcontainer" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L102", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L151", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "lifecycle_prestop_addprestoplifecyclehooks" + "confidence_score": 1.0, + "source": "home_persistenthome_addinitcontainer", + "target": "home_persistenthome_initcommandexists" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L81", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L147", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "overrides_containers_applycontaineroverrides" + "confidence_score": 1.0, + "source": "home_persistenthome_addinitcontainer", + "target": "home_persistenthome_initcomponentexists" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L80", - "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "overrides_containers_needscontaineroverride" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L155", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "pkg_library_container_container_go_devworkspacetemplatespec" + "source": "home_persistenthome_addinitcontainer", + "target": "home_persistenthome_initeventexists" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L226", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "pkg_library_container_container_go_podadditions" + "source": "home_persistenthome_addinitcontainercomponent", + "target": "pkg_library_home_persistenthome_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L252", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "pkg_library_container_container_go_resourcerequirements" + "source": "home_persistenthome_ensurehomeinitcontainerfields", + "target": "pkg_library_home_persistenthome_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container.go", - "source_location": "L49", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L238", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "pkg_library_container_container_go_securitycontext" + "source": "home_persistenthome_inferinitcontainer", + "target": "pkg_library_home_persistenthome_go_container" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L89", + "source_file": "pkg/library/home/persistentHome.go", + "source_location": "L239", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "resources_helper_applycaps" + "source": "home_persistenthome_inferinitcontainer", + "target": "home_util_inferworkspaceimage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container.go", - "source_location": "L90", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L76", "weight": 1.0, - "source": "container_container_getkubecontainersfromdevfile", - "target": "resources_helper_validateresources" + "confidence_score": 1.0, + "source": "home_persistenthome_test", + "target": "home_persistenthome_test_getdevworkspacewithconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/container/container_test.go", - "source_location": "L90", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L61", "weight": 1.0, - "source": "container_container_test_testgetkubecontainersfromdevfile", - "target": "container_container_getkubecontainersfromdevfile" + "confidence_score": 1.0, + "source": "home_persistenthome_test", + "target": "home_persistenthome_test_loadalltestcasesorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L55", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "container_container_test", - "target": "container_container_test_loadalltestcasesorpanic" + "source": "home_persistenthome_test", + "target": "home_persistenthome_test_loadtestcaseorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L71", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L87", "weight": 1.0, "confidence_score": 1.0, - "source": "container_container_test", - "target": "container_container_test_loadtestcaseorpanic" + "source": "home_persistenthome_test", + "target": "home_persistenthome_test_testpersistenthomevolume" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L83", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L32", "weight": 1.0, "confidence_score": 1.0, - "source": "container_container_test", - "target": "container_container_test_testgetkubecontainersfromdevfile" + "source": "home_persistenthome_test", + "target": "home_testcase" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L33", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "container_container_test", - "target": "container_testcase" + "source": "home_persistenthome_test", + "target": "home_testinput" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L39", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "container_container_test", - "target": "container_testoutput" + "source": "home_persistenthome_test", + "target": "home_testoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L55", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L61", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "container_container_test_loadalltestcasesorpanic", - "target": "container_testcase" + "source": "home_persistenthome_test_loadalltestcasesorpanic", + "target": "home_testcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L71", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L49", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "container_container_test_loadtestcaseorpanic", - "target": "container_testcase" + "source": "home_persistenthome_test_loadtestcaseorpanic", + "target": "home_testcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L35", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L34", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "container_testcase", - "target": "pkg_library_container_container_test_go_devworkspacetemplatespec" + "source": "home_testcase", + "target": "pkg_library_home_persistenthome_test_go_testinput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L36", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L35", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "container_testcase", - "target": "pkg_library_container_container_test_go_testoutput" + "source": "home_testcase", + "target": "pkg_library_home_persistenthome_test_go_testoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L76", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "home_persistenthome_test_getdevworkspacewithconfig", + "target": "home_testinput" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome_test.go", "source_location": "L40", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "container_testoutput", - "target": "pkg_library_container_container_test_go_podadditions" + "source": "home_testinput", + "target": "pkg_library_home_persistenthome_test_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L65", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L41", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "container_container_test_loadalltestcasesorpanic", - "target": "container_container_test_loadtestcaseorpanic" + "source": "home_testinput", + "target": "pkg_library_home_persistenthome_test_go_operatorconfiguration" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L55", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "container_container_test_loadalltestcasesorpanic", - "target": "pkg_library_container_container_test_go_t" + "source": "home_testoutput", + "target": "pkg_library_home_persistenthome_test_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L84", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L71", "weight": 1.0, "confidence_score": 1.0, - "source": "container_container_test_testgetkubecontainersfromdevfile", - "target": "container_container_test_loadalltestcasesorpanic" + "source": "home_persistenthome_test_loadalltestcasesorpanic", + "target": "home_persistenthome_test_loadtestcaseorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L71", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "container_container_test_loadtestcaseorpanic", - "target": "pkg_library_container_container_test_go_t" + "source": "home_persistenthome_test_loadtestcaseorpanic", + "target": "pkg_library_home_persistenthome_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/container_test.go", - "source_location": "L83", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L61", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "container_container_test_testgetkubecontainersfromdevfile", - "target": "pkg_library_container_container_test_go_t" + "source": "home_persistenthome_test_loadalltestcasesorpanic", + "target": "pkg_library_home_persistenthome_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L87", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "container_conversion", - "target": "container_conversion_convertcontainertok8s" + "source": "home_persistenthome_test_testpersistenthomevolume", + "target": "pkg_library_home_persistenthome_test_go_t" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L59", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L88", "weight": 1.0, "confidence_score": 1.0, - "source": "container_conversion", - "target": "container_conversion_devfileendpointstocontainerports" + "source": "home_persistenthome_test_testpersistenthomevolume", + "target": "home_persistenthome_test_loadalltestcasesorpanic" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L93", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L76", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "container_conversion", - "target": "container_conversion_devfileenvtocontainerenv" + "source": "home_persistenthome_test_getdevworkspacewithconfig", + "target": "pkg_library_home_persistenthome_test_go_devworkspacewithconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/home/persistentHome_test.go", + "source_location": "L94", + "weight": 1.0, + "confidence_score": 1.0, + "source": "home_persistenthome_test_testpersistenthomevolume", + "target": "home_persistenthome_test_getdevworkspacewithconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L77", + "source_file": "pkg/library/home/util.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "container_conversion", - "target": "container_conversion_devfilevolumemountstocontainervolumemounts" + "source": "home_util", + "target": "home_util_inferworkspaceimage" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L49", + "source_file": "pkg/library/home/util.go", + "source_location": "L27", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "container_conversion_devfileendpointstocontainerports" + "source": "home_util_inferworkspaceimage", + "target": "pkg_library_home_util_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L50", + "source_file": "pkg/library/initcontainers/merge.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "container_conversion_devfileenvtocontainerenv" + "source": "initcontainers_merge", + "target": "initcontainers_merge_mergeinitcontainers" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/initcontainers/merge.go", + "source_location": "L30", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "initcontainers_merge_mergeinitcontainers", + "target": "pkg_library_initcontainers_merge_go_container" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L139", + "weight": 1.0, + "source": "initcontainers_merge_test_testmergeinitcontainers", + "target": "initcontainers_merge_mergeinitcontainers" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L51", + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "container_conversion_devfilevolumemountstocontainervolumemounts" + "source": "initcontainers_merge_test", + "target": "initcontainers_merge_test_testmergeinitcontainers" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/library/initcontainers/merge_test.go", + "source_location": "L25", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "pkg_library_container_conversion_go_component" + "source": "initcontainers_merge_test_testmergeinitcontainers", + "target": "pkg_library_initcontainers_merge_test_go_t" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/library/kubernetes/common_test.go", + "source_location": "L32", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "pkg_library_container_conversion_go_container" + "source": "kubernetes_common_test", + "target": "kubernetes_common_test_init" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L40", + "weight": 1.0, + "confidence_score": 1.0, + "source": "kubernetes_deserialize", + "target": "kubernetes_deserialize_deserializetoobject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L30", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "pkg_library_container_conversion_go_resourcerequirements" + "source": "kubernetes_deserialize", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L28", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "pkg_library_container_conversion_go_securitycontext" + "source": "kubernetes_deserialize_initializedeserializer", + "target": "pkg_library_kubernetes_deserialize_go_scheme" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L38", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L29", "weight": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "resources_helper_applydefaults" + "source": "kubernetes_deserialize_test_testdeserializeobject", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L34", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L93", "weight": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "resources_helper_parseresourcesfromcomponent" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/conversion.go", - "source_location": "L39", - "weight": 1.0, - "source": "container_conversion_convertcontainertok8s", - "target": "resources_helper_validateresources" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L59", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "container_conversion_devfileendpointstocontainerports", - "target": "containerport" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L59", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_conversion_devfileendpointstocontainerports", - "target": "pkg_library_container_conversion_go_endpoint" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L77", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "container_conversion_devfilevolumemountstocontainervolumemounts", - "target": "pkg_library_container_conversion_go_volumemount" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/conversion.go", - "source_location": "L93", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L338", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "container_conversion_devfileenvtocontainerenv", - "target": "pkg_library_container_conversion_go_envvar" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L46", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L326", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources", - "target": "container_mountsources_anymountsources" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L112", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L390", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources", - "target": "container_mountsources_getprojectsourcepath" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L138", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L260", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources", - "target": "container_mountsources_getprojectsvolumemount" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L542", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources", - "target": "container_mountsources_handlemountsources" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L34", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L434", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources", - "target": "container_mountsources_hasmountsources" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L48", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L290", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources_anymountsources", - "target": "container_mountsources_hasmountsources" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L58", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L242", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "container_mountsources_hasmountsources" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L34", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L219", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_mountsources_hasmountsources", - "target": "pkg_library_container_mountsources_go_containercomponent" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L157", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "pkg_library_container_mountsources_go_containercomponent" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L46", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L500", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_mountsources_anymountsources", - "target": "pkg_library_container_mountsources_go_component" + "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L52", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L667", "weight": 1.0, - "source": "storage_ephemeralstorageprovisioner_provisionstorage", - "target": "container_mountsources_anymountsources" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L220", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L579", "weight": 1.0, - "source": "storage_shared_processprojectsvolume", - "target": "container_mountsources_anymountsources" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L63", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L596", "weight": 1.0, - "source": "storage_shared_workspaceneedsstorage", - "target": "container_mountsources_anymountsources" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L79", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L648", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "container_mountsources_getprojectsourcepath" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L62", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L613", "weight": 1.0, - "confidence_score": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "container_mountsources_getprojectsvolumemount" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L630", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "pkg_library_container_mountsources_go_container" + "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L153", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_mountsources_handlemountsources", - "target": "pkg_library_container_mountsources_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "target": "kubernetes_deserialize_initializedeserializer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L138", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L101", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "container_mountsources_getprojectsvolumemount", - "target": "pkg_library_container_mountsources_go_container" + "source": "webhook_main_main", + "target": "kubernetes_deserialize_initializedeserializer" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L112", + "source_file": "pkg/library/kubernetes/deserialize.go", + "source_location": "L40", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "container_mountsources_getprojectsourcepath", - "target": "pkg_library_container_mountsources_go_devworkspacetemplatespec" + "source": "kubernetes_deserialize_deserializetoobject", + "target": "pkg_library_kubernetes_deserialize_go_object" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L116", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L75", "weight": 1.0, - "source": "container_mountsources_getprojectsourcepath", - "target": "projects_clone_getclonepath" + "source": "kubernetes_deserialize_test_testdeserializeobject", + "target": "kubernetes_deserialize_deserializetoobject" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L120", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L94", "weight": 1.0, - "source": "container_mountsources_getprojectsourcepath", - "target": "projects_clone_getstarterproject" + "source": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", + "target": "kubernetes_deserialize_deserializetoobject" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/container/mountSources.go", - "source_location": "L138", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L68", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "container_mountsources_getprojectsvolumemount", - "target": "pkg_library_container_mountsources_go_volumemount" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "kubernetes_deserialize_deserializetoobject" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L25", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L672", "weight": 1.0, - "confidence_score": 1.0, - "source": "defaults_helper", - "target": "defaults_helper_applydefaulttemplate" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", + "target": "kubernetes_deserialize_deserializetoobject" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L37", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L584", "weight": 1.0, - "confidence_score": 1.0, - "source": "defaults_helper", - "target": "defaults_helper_needsdefaulttemplate" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", + "target": "kubernetes_deserialize_deserializetoobject" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L25", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L601", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "defaults_helper_applydefaulttemplate", - "target": "pkg_library_defaults_helper_go_devworkspacewithconfig" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", + "target": "kubernetes_deserialize_deserializetoobject" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L308", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L653", "weight": 1.0, - "source": "handler_webhookhandler_resolvedevworkspace", - "target": "defaults_helper_applydefaulttemplate" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", + "target": "kubernetes_deserialize_deserializetoobject" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/defaults/helper.go", - "source_location": "L37", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L618", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "defaults_helper_needsdefaulttemplate", - "target": "pkg_library_defaults_helper_go_devworkspacewithconfig" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", + "target": "kubernetes_deserialize_deserializetoobject" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L302", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L635", "weight": 1.0, - "source": "handler_webhookhandler_resolvedevworkspace", - "target": "defaults_helper_needsdefaulttemplate" + "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", + "target": "kubernetes_deserialize_deserializetoobject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L20", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L99", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_common", - "target": "flatten_common_devworkspaceisflattened" + "source": "kubernetes_deserialize_test", + "target": "kubernetes_deserialize_test_readbytesfromfile" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L20", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L28", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_common_devworkspaceisflattened", - "target": "pkg_library_flatten_common_go_componentcontribution" + "source": "kubernetes_deserialize_test", + "target": "kubernetes_deserialize_test_testdeserializeobject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/common.go", - "source_location": "L20", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L93", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_common_devworkspaceisflattened", - "target": "pkg_library_flatten_common_go_devworkspacetemplatespec" + "source": "kubernetes_deserialize_test", + "target": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L81", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L74", "weight": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "flatten_common_devworkspaceisflattened" + "confidence_score": 1.0, + "source": "kubernetes_deserialize_test_testdeserializeobject", + "target": "kubernetes_deserialize_test_readbytesfromfile" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L317", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L28", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_canimportdwt" + "source": "kubernetes_deserialize_test_testdeserializeobject", + "target": "pkg_library_kubernetes_deserialize_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L341", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L99", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_formatvariableswarning" + "source": "kubernetes_deserialize_test_readbytesfromfile", + "target": "pkg_library_kubernetes_deserialize_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "source_file": "pkg/library/kubernetes/deserialize_test.go", + "source_location": "L93", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_recursiveresolve" + "source": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", + "target": "pkg_library_kubernetes_deserialize_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L126", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_resolvedevworkspace" + "source": "kubernetes_provision", + "target": "kubernetes_provision_addmetadata" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L267", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L102", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_resolveelementbyid" + "source": "kubernetes_provision", + "target": "kubernetes_provision_checkforexistingobject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L226", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_resolveelementbykubernetesimport" + "source": "kubernetes_provision", + "target": "kubernetes_provision_handlekubernetescomponents" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L298", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L147", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_resolveelementbyuri" + "source": "kubernetes_provision", + "target": "kubernetes_provision_restrictk8scomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L161", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L176", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_resolveparentcomponent" + "source": "kubernetes_provision", + "target": "kubernetes_provision_restrictpodspec" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L192", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_flatten_resolveplugincomponent" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "kubernetes_provision_addmetadata" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L47", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L81", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "kubernetes_provision_checkforexistingobject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L73", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "kubernetes_provision_restrictk8scomponent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "kubernetes_util_filterforkubelikecomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L267", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L67", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbyid", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "kubernetes_util_getk8slikecomponent" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L226", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L44", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbykubernetesimport", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "pkg_library_kubernetes_provision_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L298", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L44", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbyuri", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L161", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L90", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveparentcomponent", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "sync_service_syncroutingservicewithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L192", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L85", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveplugincomponent", - "target": "flatten_resolvertools" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "sync_sync_isrecognizedobject" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L51", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L86", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "flatten_resolvertools", - "target": "httpgetter" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L88", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "flatten_resolvertools", - "target": "pkg_library_flatten_flatten_go_client" + "source": "kubernetes_provision_handlekubernetescomponents", + "target": "sync_sync_syncunrecognizedobjectwithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L49", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L115", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "flatten_resolvertools", - "target": "pkg_library_flatten_flatten_go_context" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L380", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "flatten_resolvertools", - "target": "pkg_library_flatten_flatten_go_resourcerequirements" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", + "target": "kubernetes_provision_handlekubernetescomponents" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L59", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L359", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "flatten_flatten_recursiveresolve" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "target": "kubernetes_provision_handlekubernetescomponents" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L70", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L424", "weight": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "flatten_merge_mergecontainercontributions" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", + "target": "kubernetes_provision_handlekubernetescomponents" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L69", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L293", "weight": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "flatten_merge_needscontainercontributionmerge" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L574", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "pkg_library_flatten_flatten_go_componentcontribution" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L488", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L57", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L329", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolvedevworkspace", - "target": "variablewarning" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L281", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L267", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L240", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbyid", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L226", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L195", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbykubernetesimport", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L298", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L532", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbyuri", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", + "target": "kubernetes_provision_handlekubernetescomponents" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L161", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L202", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveparentcomponent", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "target": "kubernetes_provision_handlekubernetescomponents" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L192", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L126", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveplugincomponent", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplatespec" + "source": "kubernetes_provision_addmetadata", + "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L147", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "pkg_library_flatten_flatten_go_componentcontribution" + "source": "kubernetes_provision_restrictk8scomponent", + "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L341", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L176", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_formatvariableswarning", - "target": "variablewarning" + "source": "kubernetes_provision_restrictpodspec", + "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L113", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L126", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "flatten_flatten_resolveparentcomponent" + "source": "kubernetes_provision_addmetadata", + "target": "pkg_library_kubernetes_provision_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L87", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L102", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "flatten_flatten_resolveplugincomponent" + "source": "kubernetes_provision_checkforexistingobject", + "target": "pkg_library_kubernetes_provision_go_clusterapi" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L150", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L120", "weight": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "flatten_merge_mergedevworkspaceelements" + "source": "kubernetes_provision_checkforexistingobject", + "target": "kubernetes_util_checkownerrefs" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L80", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L102", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_recursiveresolve", - "target": "resolutioncontexttree" + "source": "kubernetes_provision_checkforexistingobject", + "target": "pkg_library_kubernetes_provision_go_object" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L172", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L126", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveparentcomponent", - "target": "flatten_flatten_resolveelementbyid" + "source": "kubernetes_provision_addmetadata", + "target": "pkg_library_kubernetes_provision_go_object" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L168", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L147", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveparentcomponent", - "target": "flatten_flatten_resolveelementbykubernetesimport" + "source": "kubernetes_provision_restrictk8scomponent", + "target": "pkg_library_kubernetes_provision_go_object" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L170", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L176", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveparentcomponent", - "target": "flatten_flatten_resolveelementbyuri" + "source": "kubernetes_provision_restrictpodspec", + "target": "pkg_library_kubernetes_provision_go_object" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L161", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L172", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_resolveparentcomponent", - "target": "parent" + "source": "kubernetes_provision_restrictk8scomponent", + "target": "kubernetes_provision_restrictpodspec" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L202", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L683", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_resolveplugincomponent", - "target": "flatten_flatten_resolveelementbyid" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", + "target": "kubernetes_provision_restrictk8scomponent" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L198", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L591", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_resolveplugincomponent", - "target": "flatten_flatten_resolveelementbykubernetesimport" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", + "target": "kubernetes_provision_restrictk8scomponent" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L200", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L608", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_resolveplugincomponent", - "target": "flatten_flatten_resolveelementbyuri" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", + "target": "kubernetes_provision_restrictk8scomponent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L192", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L661", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveplugincomponent", - "target": "pkg_library_flatten_flatten_go_plugincomponent" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", + "target": "kubernetes_provision_restrictk8scomponent" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L257", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L625", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbykubernetesimport", - "target": "flatten_flatten_canimportdwt" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", + "target": "kubernetes_provision_restrictk8scomponent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L226", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L643", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_resolveelementbykubernetesimport", - "target": "kubernetescustomresourceimportreference" + "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", + "target": "kubernetes_provision_restrictk8scomponent" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L281", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L202", "weight": 1.0, - "source": "flatten_flatten_resolveelementbyid", - "target": "handler_webhookhandler_parse" + "source": "kubernetes_provision_restrictpodspec", + "target": "restrictions_pod_restrictions_restrictpodandcontainers" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L289", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L200", "weight": 1.0, - "source": "flatten_flatten_resolveelementbyid", - "target": "network_fetch_fetchdevworkspacetemplate" + "source": "kubernetes_provision_restrictpodspec", + "target": "restrictions_restrictions_getrestrictedcontainerfields" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L307", + "source_file": "pkg/library/kubernetes/provision.go", + "source_location": "L199", "weight": 1.0, - "source": "flatten_flatten_resolveelementbyuri", - "target": "network_fetch_fetchdevworkspacetemplate" + "source": "kubernetes_provision_restrictpodspec", + "target": "restrictions_restrictions_getrestrictedpodfields" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten.go", - "source_location": "L317", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L60", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_canimportdwt", - "target": "pkg_library_flatten_flatten_go_devworkspacetemplate" + "source": "kubernetes_provision_test", + "target": "kubernetes_clusterobjects" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L303", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L716", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_collectclusterobj" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L215", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L687", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testmergecontainercontributions" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_loadalltestcasesorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L238", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L703", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testmergeimplicitcontainercontributions" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_loadtestcaseorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L282", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L383", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testmergeimplicitspeccontributions" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_servicecomponent", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L192", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L92", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testmergesduplicatevolumecomponents" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponents" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L261", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L337", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testmergespeccontributions" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L146", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L325", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspaceannotations" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L29", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L389", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspacekubernetesreference" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L120", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L259", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspacemissingdefaults" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L97", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L541", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspaceparents" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L51", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L433", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspacepluginregistry" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L74", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L289", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspacepluginuri" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L169", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L241", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test", - "target": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L35", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L218", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L29", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", - "target": "pkg_library_flatten_flatten_test_go_t" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L30", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L156", "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacekubernetesreference", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L215", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L499", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergecontainercontributions", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L238", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L225", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testhaskubelikecomponent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L282", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L666", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergeimplicitspeccontributions", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L192", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L578", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L261", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L595", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergespeccontributions", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L146", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L647", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceannotations", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L120", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L612", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L97", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L629", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceparents", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L51", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L152", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_provision_test_testsecretandconfigmapprovisioning" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L74", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L397", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_servicegetcountingclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L169", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L43", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", - "target": "pkg_library_flatten_flatten_test_go_t" + "source": "kubernetes_provision_test", + "target": "kubernetes_testcase" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L57", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L50", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", - "target": "flatten_flatten_test_gettestingtools" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L52", - "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginregistry", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_provision_test", + "target": "kubernetes_testinput" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L80", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", - "target": "flatten_flatten_test_gettestingtools" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L75", - "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacepluginuri", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_provision_test", + "target": "kubernetes_testoutput" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L103", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L687", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceparents", - "target": "flatten_flatten_test_gettestingtools" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L98", - "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceparents", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_provision_test_loadalltestcasesorpanic", + "target": "kubernetes_testcase" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L129", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L703", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacemissingdefaults", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_provision_test_loadtestcaseorpanic", + "target": "kubernetes_testcase" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L152", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L45", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceannotations", - "target": "flatten_flatten_test_gettestingtools" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L147", - "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspaceannotations", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_testcase", + "target": "pkg_library_kubernetes_provision_test_go_testinput" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L175", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L46", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", - "target": "flatten_flatten_test_gettestingtools" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L170", - "weight": 1.0, - "source": "flatten_flatten_test_testresolvedevworkspacetemplatenamespacerestriction", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_testcase", + "target": "pkg_library_kubernetes_provision_test_go_testoutput" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L198", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L52", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_testinput", + "target": "clusterobjects" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L193", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L51", "weight": 1.0, - "source": "flatten_flatten_test_testmergesduplicatevolumecomponents", - "target": "testutil_common_loadalltestsorpanic" + "context": "field", + "confidence_score": 1.0, + "source": "kubernetes_testinput", + "target": "pkg_library_kubernetes_provision_test_go_component" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L221", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L383", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergecontainercontributions", - "target": "flatten_flatten_test_gettestingtools" + "context": "return_type", + "source": "kubernetes_provision_test_servicecomponent", + "target": "pkg_library_kubernetes_provision_test_go_component", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L216", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L56", "weight": 1.0, - "source": "flatten_flatten_test_testmergecontainercontributions", - "target": "testutil_common_loadalltestsorpanic" + "context": "field", + "confidence_score": 1.0, + "source": "kubernetes_testoutput", + "target": "clusterobjects" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L244", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L61", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_clusterobjects", + "target": "pkg_library_kubernetes_provision_test_go_pod" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L239", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L62", "weight": 1.0, - "source": "flatten_flatten_test_testmergeimplicitcontainercontributions", - "target": "testutil_common_loadalltestsorpanic" + "context": "field", + "confidence_score": 1.0, + "source": "kubernetes_clusterobjects", + "target": "pkg_library_kubernetes_provision_test_go_service" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L265", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L716", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergespeccontributions", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_provision_test_collectclusterobj", + "target": "kubernetes_clusterobjects" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L262", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L100", "weight": 1.0, - "source": "flatten_flatten_test_testmergespeccontributions", - "target": "testutil_common_loadalltestsorpanic" + "confidence_score": 1.0, + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "kubernetes_provision_test_collectclusterobj" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L286", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L97", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_flatten_test_testmergeimplicitspeccontributions", - "target": "flatten_flatten_test_gettestingtools" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "kubernetes_provision_test_loadalltestcasesorpanic" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L283", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L136", "weight": 1.0, - "source": "flatten_flatten_test_testmergeimplicitspeccontributions", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L303", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L92", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_gettestingtools", - "target": "pkg_library_flatten_flatten_test_go_testinput" + "source": "kubernetes_provision_test_testhandlekubernetescomponents", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/flatten_test.go", - "source_location": "L303", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L687", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_flatten_test_gettestingtools", - "target": "resolvertools" + "source": "kubernetes_provision_test_loadalltestcasesorpanic", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L59", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L703", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_helper", - "target": "flatten_helper_formatimportcycle" + "source": "kubernetes_provision_test_loadtestcaseorpanic", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L27", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L337", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_helper", - "target": "flatten_resolutioncontexttree" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L59", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L325", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "flatten_helper_formatimportcycle", - "target": "flatten_resolutioncontexttree" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "target": "pkg_library_kubernetes_provision_test_go_t", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L44", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L389", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_resolutioncontexttree", - "target": "flatten_resolutioncontexttree_hascycle" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L29", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L259", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "flatten_resolutioncontexttree", - "target": "importreference" + "context": "parameter_type", + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "target": "pkg_library_kubernetes_provision_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L34", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L541", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_resolutioncontexttree_addplugin", - "target": "flatten_resolutioncontexttree" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L34", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L433", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_resolutioncontexttree_addplugin", - "target": "pkg_library_flatten_helper_go_plugincomponent" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/helper.go", - "source_location": "L50", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L289", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_resolutioncontexttree_hascycle", - "target": "flatten_helper_formatimportcycle" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L100", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L241", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_common", - "target": "testutil_common_loadalltestsorpanic" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L87", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L218", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_common", - "target": "testutil_common_loadtestcaseorpanic" + "context": "parameter_type", + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "target": "pkg_library_kubernetes_provision_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L53", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L156", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_common", - "target": "testutil_testcase" + "context": "parameter_type", + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "target": "pkg_library_kubernetes_provision_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L60", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L499", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_common", - "target": "testutil_testinput" + "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L82", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L225", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_common", - "target": "testutil_testoutput" + "source": "kubernetes_provision_test_testhaskubelikecomponent", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L73", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L666", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_common", - "target": "testutil_testpluginerror" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L100", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L578", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_common_loadalltestsorpanic", - "target": "testutil_testcase" + "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L87", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L595", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_common_loadtestcaseorpanic", - "target": "testutil_testcase" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L55", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L647", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_testcase", - "target": "pkg_library_flatten_internal_testutil_common_go_testinput" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L56", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L612", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_testcase", - "target": "pkg_library_flatten_internal_testutil_common_go_testoutput" + "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L64", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L629", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_testinput", - "target": "pkg_library_flatten_internal_testutil_common_go_componentcontribution" + "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L68", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L152", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "testutil_testinput", - "target": "pkg_library_flatten_internal_testutil_common_go_devfile" + "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "target": "pkg_library_kubernetes_provision_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L66", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L193", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_testinput", - "target": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplate" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "target": "kubernetes_provision_test_servicecomponent", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L62", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L208", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_testinput", - "target": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusesguardedsyncforroutingservices", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L70", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L236", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_testinput", - "target": "pkg_library_flatten_internal_testutil_common_go_testpluginerror" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsusescachedsyncforordinaryservice", + "target": "kubernetes_provision_test_servicecomponent", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L83", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L291", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_testoutput", - "target": "pkg_library_flatten_internal_testutil_common_go_devworkspacetemplatespec" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "target": "kubernetes_provision_test_servicecomponent", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L110", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L303", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_common_loadalltestsorpanic", - "target": "testutil_common_loadtestcaseorpanic" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsrecoversownedhiddenservicecollision", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L87", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L357", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "testutil_common_loadtestcaseorpanic", - "target": "pkg_library_flatten_internal_testutil_common_go_t" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "target": "kubernetes_provision_test_servicecomponent", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/common.go", - "source_location": "L100", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L373", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "testutil_common_loadalltestsorpanic", - "target": "pkg_library_flatten_internal_testutil_common_go_t" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsfailshiddenforeignservicecollision", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L31", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L422", "weight": 1.0, - "confidence_score": 1.0, - "source": "pkg_library_flatten_internal_testutil_http_go_testutil_http", - "target": "testutil_fakehttpgetter" + "source": "kubernetes_servicegetcountingclient", + "target": "kubernetes_servicegetcountingclient_create", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L39", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L439", "weight": 1.0, - "confidence_score": 1.0, - "source": "pkg_library_flatten_internal_testutil_http_go_testutil_http", - "target": "testutil_fakerespbody" + "source": "kubernetes_servicegetcountingclient", + "target": "kubernetes_servicegetcountingclient_delete", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L32", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_fakehttpgetter", - "target": "pkg_library_flatten_internal_testutil_http_go_devfile" + "source": "kubernetes_servicegetcountingclient", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L33", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L430", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_fakehttpgetter", - "target": "pkg_library_flatten_internal_testutil_http_go_devworkspacetemplate" + "source": "kubernetes_servicegetcountingclient", + "target": "kubernetes_servicegetcountingclient_update", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L34", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L398", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_fakehttpgetter", - "target": "pkg_library_flatten_internal_testutil_http_go_testpluginerror" + "source": "kubernetes_servicegetcountingclient", + "target": "pkg_library_kubernetes_provision_test_go_client", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L45", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L679", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_fakehttpgetter", - "target": "testutil_fakehttpgetter_get" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { - "relation": "embeds", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L40", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L723", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_fakerespbody", - "target": "reader" + "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L43", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L831", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_fakerespbody", - "target": "testutil_fakerespbody_close" + "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L505", + "weight": 1.0, + "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", + "target": "kubernetes_servicegetcountingclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/http.go", - "source_location": "L45", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "testutil_fakehttpgetter_get", - "target": "pkg_library_flatten_internal_testutil_http_go_response" + "context": "parameter_type", + "source": "kubernetes_servicegetcountingclient_get", + "target": "pkg_library_kubernetes_provision_test_go_context", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L29", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_k8sclient", - "target": "testutil_fakek8sclient" + "context": "parameter_type", + "source": "kubernetes_servicegetcountingclient_get", + "target": "pkg_library_kubernetes_provision_test_go_object", + "confidence_score": 1.0 }, { - "relation": "embeds", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L30", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L405", "weight": 1.0, - "confidence_score": 1.0, - "source": "testutil_fakek8sclient", - "target": "pkg_library_flatten_internal_testutil_k8sclient_go_client" + "context": "parameter_type", + "source": "kubernetes_servicegetcountingclient_get", + "target": "pkg_library_kubernetes_provision_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L31", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L422", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_fakek8sclient", - "target": "pkg_library_flatten_internal_testutil_k8sclient_go_devworkspacetemplate" + "context": "parameter_type", + "source": "kubernetes_servicegetcountingclient_create", + "target": "pkg_library_kubernetes_provision_test_go_context", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L439", + "weight": 1.0, + "context": "parameter_type", + "source": "kubernetes_servicegetcountingclient_delete", + "target": "pkg_library_kubernetes_provision_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L32", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L430", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "testutil_fakek8sclient", - "target": "pkg_library_flatten_internal_testutil_k8sclient_go_testpluginerror" + "context": "parameter_type", + "source": "kubernetes_servicegetcountingclient_update", + "target": "pkg_library_kubernetes_provision_test_go_context", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L716", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "testutil_fakek8sclient", - "target": "testutil_fakek8sclient_get" + "source": "kubernetes_provision_test_collectclusterobj", + "target": "pkg_library_kubernetes_provision_test_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L422", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "testutil_fakek8sclient_get", - "target": "objectkey" + "source": "kubernetes_servicegetcountingclient_create", + "target": "pkg_library_kubernetes_provision_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L439", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "testutil_fakek8sclient_get", - "target": "pkg_library_flatten_internal_testutil_k8sclient_go_context" + "source": "kubernetes_servicegetcountingclient_delete", + "target": "pkg_library_kubernetes_provision_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/internal/testutil/k8sClient.go", - "source_location": "L35", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L430", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "testutil_fakek8sclient_get", - "target": "pkg_library_flatten_internal_testutil_k8sclient_go_object" + "source": "kubernetes_servicegetcountingclient_update", + "target": "pkg_library_kubernetes_provision_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L236", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L226", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_findmergetarget" + "source": "kubernetes_provision_test_testhaskubelikecomponent", + "target": "kubernetes_provision_test_loadtestcaseorpanic" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L178", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L231", "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_mergecontainercontributions" + "source": "kubernetes_provision_test_testhaskubelikecomponent", + "target": "kubernetes_util_haskubelikecomponent" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L272", + "source_file": "pkg/library/kubernetes/provision_test.go", + "source_location": "L697", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_mergecontributionsinto" + "source": "kubernetes_provision_test_loadalltestcasesorpanic", + "target": "kubernetes_provision_test_loadtestcaseorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L36", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_mergedevworkspaceelements" + "source": "kubernetes_util", + "target": "kubernetes_util_checkownerrefs" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L99", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_mergevolume" + "source": "kubernetes_util", + "target": "kubernetes_util_filterforkubelikecomponents" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L55", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L67", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_mergevolumecomponents" + "source": "kubernetes_util", + "target": "kubernetes_util_getk8slikecomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L138", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L24", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_needscontainercontributionmerge" + "source": "kubernetes_util", + "target": "kubernetes_util_haskubelikecomponent" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L350", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L24", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge", - "target": "flatten_merge_updatecommandtargetsaftermerge" + "source": "kubernetes_util_haskubelikecomponent", + "target": "pkg_library_kubernetes_util_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L37", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L36", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge_mergedevworkspaceelements", - "target": "flatten_merge_mergevolumecomponents" + "source": "kubernetes_util_filterforkubelikecomponents", + "target": "kubernetes_util_getk8slikecomponent" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L36", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L33", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "flatten_merge_mergedevworkspaceelements", - "target": "pkg_library_flatten_merge_go_devworkspacetemplatespeccontent" + "source": "kubernetes_util_filterforkubelikecomponents", + "target": "pkg_library_kubernetes_util_go_component" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L55", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L67", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge_mergevolumecomponents", - "target": "pkg_library_flatten_merge_go_devworkspacetemplatespeccontent" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L75", - "weight": 1.0, - "confidence_score": 1.0, - "source": "flatten_merge_mergevolumecomponents", - "target": "flatten_merge_mergevolume" + "source": "kubernetes_util_getk8slikecomponent", + "target": "pkg_library_kubernetes_util_go_component" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L99", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L67", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "flatten_merge_mergevolume", - "target": "pkg_library_flatten_merge_go_volumecomponent" + "source": "kubernetes_util_getk8slikecomponent", + "target": "pkg_library_kubernetes_util_go_k8slikecomponent" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L138", + "source_file": "pkg/library/kubernetes/util.go", + "source_location": "L78", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge_needscontainercontributionmerge", - "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" + "source": "kubernetes_util_checkownerrefs", + "target": "pkg_library_kubernetes_util_go_ownerreference" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L236", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L56", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge_findmergetarget", - "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" + "source": "lifecycle_command", + "target": "lifecycle_command_commandlisttocomponentkeys" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L178", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L46", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge_mergecontainercontributions", - "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" + "source": "lifecycle_command", + "target": "lifecycle_command_getcommandbykey" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L350", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L32", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge_updatecommandtargetsaftermerge", - "target": "pkg_library_flatten_merge_go_devworkspacetemplatespec" + "source": "lifecycle_command", + "target": "lifecycle_command_getcommandsforkeys" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L188", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L24", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge_mergecontainercontributions", - "target": "flatten_merge_findmergetarget" + "source": "lifecycle_command", + "target": "lifecycle_command_getcommandtype" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L204", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L77", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge_mergecontainercontributions", - "target": "flatten_merge_mergecontributionsinto" + "source": "lifecycle_command", + "target": "lifecycle_command_removecommandsbykeys" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L216", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "flatten_merge_mergecontainercontributions", - "target": "flatten_merge_updatecommandtargetsaftermerge" + "source": "lifecycle_command_commandlisttocomponentkeys", + "target": "lifecycle_command_getcommandtype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L178", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L24", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "flatten_merge_mergecontainercontributions", - "target": "pkg_library_flatten_merge_go_resourcerequirements" + "source": "lifecycle_command_getcommandtype", + "target": "commandtype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L272", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L24", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "pkg_library_flatten_merge_go_resourcerequirements" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L272", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "pkg_library_flatten_merge_go_component" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L305", - "weight": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "resources_helper_addresourcerequirements" + "source": "lifecycle_command_getcommandtype", + "target": "pkg_library_lifecycle_command_go_command" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L280", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L60", "weight": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "resources_helper_applydefaults" + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "lifecycle_command_getcommandtype" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L338", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L96", "weight": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "resources_helper_applyresourcerequirementstocomponent" + "source": "lifecycle_prestart_checkprestarteventcommandsvalidity", + "target": "lifecycle_command_getcommandtype" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/flatten/merge.go", - "source_location": "L276", - "weight": 1.0, - "source": "flatten_merge_mergecontributionsinto", - "target": "resources_helper_parseresourcesfromcomponent" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/devfile.go", - "source_location": "L27", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L40", "weight": 1.0, - "confidence_score": 1.0, - "source": "network_devfile", - "target": "network_devfile_convertdevfiletodevworkspacetemplate" + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "lifecycle_command_getcommandtype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/devfile.go", - "source_location": "L27", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L56", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "network_devfile_convertdevfiletodevworkspacetemplate", - "target": "pkg_library_flatten_network_devfile_go_devfile" + "source": "lifecycle_command_commandlisttocomponentkeys", + "target": "pkg_library_lifecycle_command_go_command" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/devfile.go", - "source_location": "L27", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L46", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "network_devfile_convertdevfiletodevworkspacetemplate", - "target": "pkg_library_flatten_network_devfile_go_devworkspacetemplate" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L50", - "weight": 1.0, - "source": "network_fetch_fetchdevworkspacetemplate", - "target": "network_devfile_convertdevfiletodevworkspacetemplate" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L31", - "weight": 1.0, - "confidence_score": 1.0, - "source": "network_fetch", - "target": "network_fetch_fetchdevworkspacetemplate" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L27", - "weight": 1.0, - "confidence_score": 1.0, - "source": "network_fetch", - "target": "network_httpgetter" + "source": "lifecycle_command_getcommandbykey", + "target": "pkg_library_lifecycle_command_go_command" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L31", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L32", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "network_fetch_fetchdevworkspacetemplate", - "target": "network_httpgetter" + "source": "lifecycle_command_getcommandsforkeys", + "target": "pkg_library_lifecycle_command_go_command" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/flatten/network/fetch.go", - "source_location": "L31", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L77", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "network_fetch_fetchdevworkspacetemplate", - "target": "pkg_library_flatten_network_fetch_go_devworkspacetemplatespec" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L31", - "weight": 1.0, - "confidence_score": 1.0, - "source": "home_custom_init_test", - "target": "home_custom_init_test_testcustominitpersistenthome" + "source": "lifecycle_command_removecommandsbykeys", + "target": "pkg_library_lifecycle_command_go_command" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L222", + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L36", "weight": 1.0, "confidence_score": 1.0, - "source": "home_custom_init_test", - "target": "home_custom_init_test_testinferworkspaceimage" + "source": "lifecycle_command_getcommandsforkeys", + "target": "lifecycle_command_getcommandbykey" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L190", - "weight": 1.0, - "source": "home_custom_init_test_testcustominitpersistenthome", - "target": "home_persistenthome_addpersistenthomevolume" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L31", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "home_custom_init_test_testcustominitpersistenthome", - "target": "pkg_library_home_custom_init_test_go_t" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L222", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L37", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "home_custom_init_test_testinferworkspaceimage", - "target": "pkg_library_home_custom_init_test_go_t" + "source": "lifecycle_prestart_getinitcontainers", + "target": "lifecycle_command_getcommandsforkeys" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/custom_init_test.go", - "source_location": "L344", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L56", "weight": 1.0, - "source": "home_custom_init_test_testinferworkspaceimage", - "target": "home_util_inferworkspaceimage" + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "lifecycle_command_getcommandbykey" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L145", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L36", "weight": 1.0, - "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_addinitcontainer" + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "lifecycle_command_getcommandbykey" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L226", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_addinitcontainercomponent" + "source": "lifecycle_prestart_getinitcontainers", + "target": "lifecycle_command_commandlisttocomponentkeys" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L52", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/command.go", + "source_location": "L81", "weight": 1.0, - "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_addpersistenthomevolume" + "source": "lifecycle_command_removecommandsbykeys", + "target": "lifecycle_common_listcontains" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L252", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L53", "weight": 1.0, - "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_ensurehomeinitcontainerfields" + "source": "lifecycle_prestart_getinitcontainers", + "target": "lifecycle_command_removecommandsbykeys" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L131", + "source_file": "pkg/library/lifecycle/common.go", + "source_location": "L18", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_hasinitpersistenthomeinconfig" + "source": "lifecycle_common", + "target": "lifecycle_common_listcontains" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L238", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_inferinitcontainer" + "source": "lifecycle_poststart", + "target": "lifecycle_poststart_addpoststartlifecyclehooks" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L201", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L182", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_initcommandexists" + "source": "lifecycle_poststart", + "target": "lifecycle_poststart_builduserscript" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L188", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L212", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_initcomponentexists" + "source": "lifecycle_poststart", + "target": "lifecycle_poststart_generatescriptwithtimeout" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L213", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L274", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_initeventexists" + "source": "lifecycle_poststart", + "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L94", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L93", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_needspersistenthomedirectory" + "source": "lifecycle_poststart", + "target": "lifecycle_poststart_processcommandsforpoststart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L127", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L136", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome", - "target": "home_persistenthome_persistuserhomeenabled" + "source": "lifecycle_poststart", + "target": "lifecycle_poststart_processcommandswithouttimeoutfallback" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L67", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L77", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_addpersistenthomevolume", - "target": "home_persistenthome_addinitcontainer" + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "lifecycle_poststart_processcommandsforpoststart" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L72", + "weight": 1.0, + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "lifecycle_util_getcontainerwithname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L52", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L49", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_addpersistenthomevolume", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "pkg_library_lifecycle_poststart_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L52", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_addpersistenthomevolume", - "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" + "source": "lifecycle_poststart_addpoststartlifecyclehooks", + "target": "pkg_library_lifecycle_poststart_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L98", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L82", "weight": 1.0, - "source": "home_persistenthome_test_testpersistenthomevolume", - "target": "home_persistenthome_addpersistenthomevolume" + "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", + "target": "lifecycle_poststart_addpoststartlifecyclehooks" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L131", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L99", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_hasinitpersistenthomeinconfig", - "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" + "source": "lifecycle_poststart_processcommandsforpoststart", + "target": "lifecycle_poststart_builduserscript" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L94", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L109", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_needspersistenthomedirectory", - "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" + "source": "lifecycle_poststart_processcommandsforpoststart", + "target": "lifecycle_poststart_generatescriptwithtimeout" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L127", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L96", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_persistuserhomeenabled", - "target": "pkg_library_home_persistenthome_go_devworkspacewithconfig" + "source": "lifecycle_poststart_processcommandsforpoststart", + "target": "lifecycle_poststart_processcommandswithouttimeoutfallback" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L145", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L93", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_processcommandsforpoststart", + "target": "pkg_library_lifecycle_poststart_go_command" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L226", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L93", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainercomponent", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_processcommandsforpoststart", + "target": "pkg_library_lifecycle_poststart_go_lifecyclehandler" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L238", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L182", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_inferinitcontainer", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_builduserscript", + "target": "pkg_library_lifecycle_poststart_go_command" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L201", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L136", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_initcommandexists", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", + "target": "pkg_library_lifecycle_poststart_go_command" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L188", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L136", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_initcomponentexists", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", + "target": "pkg_library_lifecycle_poststart_go_lifecyclehandler" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L213", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L138", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_initeventexists", - "target": "pkg_library_home_persistenthome_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", + "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L121", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L287", "weight": 1.0, - "confidence_score": 1.0, - "source": "home_persistenthome_needspersistenthomedirectory", - "target": "home_persistenthome_hasinitpersistenthomeinconfig" + "source": "lifecycle_poststart_test_testbuilduserscript", + "target": "lifecycle_poststart_builduserscript" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L95", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L224", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_needspersistenthomedirectory", - "target": "home_persistenthome_persistuserhomeenabled" + "source": "lifecycle_poststart_generatescriptwithtimeout", + "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L97", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L626", "weight": 1.0, - "source": "home_persistenthome_test_testpersistenthomevolume", - "target": "home_persistenthome_needspersistenthomedirectory" + "source": "lifecycle_poststart_test_testgeneratescriptwithtimeout", + "target": "lifecycle_poststart_generatescriptwithtimeout" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L164", + "source_file": "pkg/library/lifecycle/poststart.go", + "source_location": "L274", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "home_persistenthome_addinitcontainercomponent" + "source": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds", + "target": "pkg_library_lifecycle_poststart_go_logger" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L658", + "weight": 1.0, + "source": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds", + "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L159", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L61", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "home_persistenthome_inferinitcontainer" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L151", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L48", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "home_persistenthome_initcommandexists" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststart_test_loadpoststarttestcaseorpanic" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L147", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L77", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "home_persistenthome_initcomponentexists" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststart_test_testaddpoststartlifecyclehooks" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L155", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L95", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainer", - "target": "home_persistenthome_initeventexists" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststart_test_testbuilduserscript" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L226", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L300", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_addinitcontainercomponent", - "target": "pkg_library_home_persistenthome_go_container" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststart_test_testgeneratescriptwithtimeout" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L252", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L632", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_ensurehomeinitcontainerfields", - "target": "pkg_library_home_persistenthome_go_container" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L238", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_inferinitcontainer", - "target": "pkg_library_home_persistenthome_go_container" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststarttestcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/home/persistentHome.go", - "source_location": "L239", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L37", "weight": 1.0, - "source": "home_persistenthome_inferinitcontainer", - "target": "home_util_inferworkspaceimage" + "confidence_score": 1.0, + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststarttestinput" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L76", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L43", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_persistenthome_test_getdevworkspacewithconfig" + "source": "lifecycle_poststart_test", + "target": "lifecycle_poststarttestoutput" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", + "source_file": "pkg/library/lifecycle/poststart_test.go", "source_location": "L61", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_persistenthome_test_loadalltestcasesorpanic" + "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", + "target": "lifecycle_poststarttestcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L49", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L48", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_persistenthome_test_loadtestcaseorpanic" + "source": "lifecycle_poststart_test_loadpoststarttestcaseorpanic", + "target": "lifecycle_poststarttestcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L87", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L32", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_persistenthome_test_testpersistenthomevolume" + "source": "lifecycle_poststarttestcase", + "target": "poststarttestinput" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L32", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L33", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_testcase" + "source": "lifecycle_poststarttestcase", + "target": "poststarttestoutput" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L40", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "lifecycle_poststarttestinput", + "target": "pkg_library_lifecycle_poststart_test_go_container" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/poststart_test.go", "source_location": "L38", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_testinput" + "source": "lifecycle_poststarttestinput", + "target": "pkg_library_lifecycle_poststart_test_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", + "source_file": "pkg/library/lifecycle/poststart_test.go", "source_location": "L44", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "home_persistenthome_test", - "target": "home_testoutput" + "source": "lifecycle_poststarttestoutput", + "target": "pkg_library_lifecycle_poststart_test_go_container" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L61", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L71", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_loadalltestcasesorpanic", - "target": "home_testcase" + "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", + "target": "lifecycle_poststart_test_loadpoststarttestcaseorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L49", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L48", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_loadtestcaseorpanic", - "target": "home_testcase" + "source": "lifecycle_poststart_test_loadpoststarttestcaseorpanic", + "target": "pkg_library_lifecycle_poststart_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L34", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L61", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_testcase", - "target": "pkg_library_home_persistenthome_test_go_testinput" + "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", + "target": "pkg_library_lifecycle_poststart_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L35", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L77", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_testcase", - "target": "pkg_library_home_persistenthome_test_go_testoutput" + "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", + "target": "pkg_library_lifecycle_poststart_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L76", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L95", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_getdevworkspacewithconfig", - "target": "home_testinput" + "source": "lifecycle_poststart_test_testbuilduserscript", + "target": "pkg_library_lifecycle_poststart_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L40", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L300", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_testinput", - "target": "pkg_library_home_persistenthome_test_go_devworkspacetemplatespec" + "source": "lifecycle_poststart_test_testgeneratescriptwithtimeout", + "target": "pkg_library_lifecycle_poststart_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L41", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L632", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_testinput", - "target": "pkg_library_home_persistenthome_test_go_operatorconfiguration" + "source": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds", + "target": "pkg_library_lifecycle_poststart_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L45", + "source_file": "pkg/library/lifecycle/poststart_test.go", + "source_location": "L78", + "weight": 1.0, + "confidence_score": 1.0, + "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", + "target": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L94", + "weight": 1.0, + "confidence_score": 1.0, + "source": "lifecycle_prestart", + "target": "lifecycle_prestart_checkprestarteventcommandsvalidity" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L28", + "weight": 1.0, + "confidence_score": 1.0, + "source": "lifecycle_prestart", + "target": "lifecycle_prestart_getinitcontainers" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L84", + "weight": 1.0, + "confidence_score": 1.0, + "source": "lifecycle_prestart", + "target": "lifecycle_prestart_sethomeinitcontainertofront" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L42", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "home_testoutput", - "target": "pkg_library_home_persistenthome_test_go_devworkspacetemplatespec" + "source": "lifecycle_prestart_getinitcontainers", + "target": "lifecycle_prestart_checkprestarteventcommandsvalidity" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L71", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "home_persistenthome_test_loadalltestcasesorpanic", - "target": "home_persistenthome_test_loadtestcaseorpanic" + "source": "lifecycle_prestart_getinitcontainers", + "target": "lifecycle_prestart_sethomeinitcontainertofront" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L49", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L28", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_loadtestcaseorpanic", - "target": "pkg_library_home_persistenthome_test_go_t" + "source": "lifecycle_prestart_getinitcontainers", + "target": "pkg_library_lifecycle_prestart_go_component" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L61", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L28", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_loadalltestcasesorpanic", - "target": "pkg_library_home_persistenthome_test_go_t" + "source": "lifecycle_prestart_getinitcontainers", + "target": "pkg_library_lifecycle_prestart_go_devworkspacetemplatespeccontent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L87", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L68", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "home_persistenthome_test_testpersistenthomevolume", - "target": "pkg_library_home_persistenthome_test_go_t" + "source": "lifecycle_prestart_test_testgetinitcontainers", + "target": "lifecycle_prestart_getinitcontainers" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L88", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/ssh/event.go", + "source_location": "L51", "weight": 1.0, - "confidence_score": 1.0, - "source": "home_persistenthome_test_testpersistenthomevolume", - "target": "home_persistenthome_test_loadalltestcasesorpanic" + "source": "ssh_event_addsshagentpoststartevent", + "target": "lifecycle_prestart_getinitcontainers" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", - "source_location": "L76", + "source_file": "pkg/library/lifecycle/prestart.go", + "source_location": "L84", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_getdevworkspacewithconfig", - "target": "pkg_library_home_persistenthome_test_go_devworkspacewithconfig" + "source": "lifecycle_prestart_sethomeinitcontainertofront", + "target": "pkg_library_lifecycle_prestart_go_component" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/persistentHome_test.go", + "source_file": "pkg/library/lifecycle/prestart.go", "source_location": "L94", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "home_persistenthome_test_testpersistenthomevolume", - "target": "home_persistenthome_test_getdevworkspacewithconfig" + "source": "lifecycle_prestart_checkprestarteventcommandsvalidity", + "target": "pkg_library_lifecycle_prestart_go_command" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/util.go", - "source_location": "L27", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L40", "weight": 1.0, "confidence_score": 1.0, - "source": "home_util", - "target": "home_util_inferworkspaceimage" + "source": "lifecycle_prestart_test", + "target": "lifecycle_prestart_test_loadprestarttestcaseorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/home/util.go", - "source_location": "L27", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L53", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "home_util_inferworkspaceimage", - "target": "pkg_library_home_util_go_devworkspacetemplatespec" + "source": "lifecycle_prestart_test", + "target": "lifecycle_prestart_test_testgetinitcontainers" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/initcontainers/merge.go", - "source_location": "L30", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L28", "weight": 1.0, "confidence_score": 1.0, - "source": "initcontainers_merge", - "target": "initcontainers_merge_mergeinitcontainers" + "source": "lifecycle_prestart_test", + "target": "lifecycle_prestarttestcase" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/initcontainers/merge.go", - "source_location": "L30", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L34", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "initcontainers_merge_mergeinitcontainers", - "target": "pkg_library_initcontainers_merge_go_container" + "source": "lifecycle_prestart_test", + "target": "lifecycle_prestarttestoutput" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/initcontainers/merge_test.go", - "source_location": "L139", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L40", "weight": 1.0, - "source": "initcontainers_merge_test_testmergeinitcontainers", - "target": "initcontainers_merge_mergeinitcontainers" + "context": "return_type", + "confidence_score": 1.0, + "source": "lifecycle_prestart_test_loadprestarttestcaseorpanic", + "target": "lifecycle_prestarttestcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/initcontainers/merge_test.go", - "source_location": "L25", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L30", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "initcontainers_merge_test", - "target": "initcontainers_merge_test_testmergeinitcontainers" + "source": "lifecycle_prestarttestcase", + "target": "pkg_library_lifecycle_prestart_test_go_devworkspacetemplatespeccontent" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/initcontainers/merge_test.go", - "source_location": "L25", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L31", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "initcontainers_merge_test_testmergeinitcontainers", - "target": "pkg_library_initcontainers_merge_test_go_t" + "source": "lifecycle_prestarttestcase", + "target": "prestarttestoutput" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/common_test.go", - "source_location": "L32", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L36", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "kubernetes_common_test", - "target": "kubernetes_common_test_init" + "source": "lifecycle_prestarttestoutput", + "target": "pkg_library_lifecycle_prestart_test_go_component" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize.go", + "source_file": "pkg/library/lifecycle/prestart_test.go", "source_location": "L40", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize", - "target": "kubernetes_deserialize_deserializetoobject" + "source": "lifecycle_prestart_test_loadprestarttestcaseorpanic", + "target": "pkg_library_lifecycle_prestart_test_go_t" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L30", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_deserialize", - "target": "kubernetes_deserialize_initializedeserializer" + "source": "lifecycle_prestart_test_testgetinitcontainers", + "target": "lifecycle_prestart_test_loadprestarttestcaseorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L30", + "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_location": "L53", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_initializedeserializer", - "target": "pkg_library_kubernetes_deserialize_go_scheme" + "source": "lifecycle_prestart_test_testgetinitcontainers", + "target": "pkg_library_lifecycle_prestart_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/deserialize_test.go", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", "source_location": "L29", "weight": 1.0, - "source": "kubernetes_deserialize_test_testdeserializeobject", - "target": "kubernetes_deserialize_initializedeserializer" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L93", - "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "kubernetes_deserialize_initializedeserializer" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L338", - "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop", + "target": "lifecycle_prestop_addprestoplifecyclehooks" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L390", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L82", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop", + "target": "lifecycle_prestop_processcommandsforprestop" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L542", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L56", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "lifecycle_prestop_processcommandsforprestop" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L434", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L51", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", - "target": "kubernetes_deserialize_initializedeserializer" + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "lifecycle_util_getcontainerwithname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L290", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L29", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", - "target": "kubernetes_deserialize_initializedeserializer" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "pkg_library_lifecycle_prestop_go_container" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L242", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L29", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", - "target": "kubernetes_deserialize_initializedeserializer" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "lifecycle_prestop_addprestoplifecyclehooks", + "target": "pkg_library_lifecycle_prestop_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L500", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L78", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", - "target": "kubernetes_deserialize_initializedeserializer" + "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", + "target": "lifecycle_prestop_addprestoplifecyclehooks" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L667", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L82", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", - "target": "kubernetes_deserialize_initializedeserializer" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "lifecycle_prestop_processcommandsforprestop", + "target": "pkg_library_lifecycle_prestop_go_command" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L579", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop.go", + "source_location": "L82", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", - "target": "kubernetes_deserialize_initializedeserializer" + "context": "return_type", + "confidence_score": 1.0, + "source": "lifecycle_prestop_processcommandsforprestop", + "target": "pkg_library_lifecycle_prestop_go_lifecyclehandler" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L596", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L58", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test", + "target": "lifecycle_prestop_test_loadallprestoptestcasesorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L648", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L45", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test", + "target": "lifecycle_prestop_test_loadprestoptestcaseorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L613", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L74", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test", + "target": "lifecycle_prestop_test_testaddprestoplifecyclehooks" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L630", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L28", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test", + "target": "lifecycle_prestoptestcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L153", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L35", "weight": 1.0, - "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test", + "target": "lifecycle_prestoptestinput" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L101", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L40", "weight": 1.0, - "source": "webhook_main_main", - "target": "kubernetes_deserialize_initializedeserializer" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test", + "target": "lifecycle_prestoptestoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize.go", - "source_location": "L40", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L58", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_deserializetoobject", - "target": "pkg_library_kubernetes_deserialize_go_object" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L75", - "weight": 1.0, - "source": "kubernetes_deserialize_test_testdeserializeobject", - "target": "kubernetes_deserialize_deserializetoobject" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L94", - "weight": 1.0, - "source": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", - "target": "kubernetes_deserialize_deserializetoobject" + "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", + "target": "lifecycle_prestoptestcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L68", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L45", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "kubernetes_deserialize_deserializetoobject" + "context": "return_type", + "confidence_score": 1.0, + "source": "lifecycle_prestop_test_loadprestoptestcaseorpanic", + "target": "lifecycle_prestoptestcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L672", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L30", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", - "target": "kubernetes_deserialize_deserializetoobject" + "context": "field", + "confidence_score": 1.0, + "source": "lifecycle_prestoptestcase", + "target": "prestoptestinput" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L584", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L31", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", - "target": "kubernetes_deserialize_deserializetoobject" + "context": "field", + "confidence_score": 1.0, + "source": "lifecycle_prestoptestcase", + "target": "prestoptestoutput" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L601", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L37", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", - "target": "kubernetes_deserialize_deserializetoobject" + "context": "field", + "confidence_score": 1.0, + "source": "lifecycle_prestoptestinput", + "target": "pkg_library_lifecycle_prestop_test_go_container" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L653", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L36", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", - "target": "kubernetes_deserialize_deserializetoobject" + "context": "field", + "confidence_score": 1.0, + "source": "lifecycle_prestoptestinput", + "target": "pkg_library_lifecycle_prestop_test_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L618", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L41", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", - "target": "kubernetes_deserialize_deserializetoobject" + "context": "field", + "confidence_score": 1.0, + "source": "lifecycle_prestoptestoutput", + "target": "pkg_library_lifecycle_prestop_test_go_container" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L635", + "confidence": "EXTRACTED", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L68", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", - "target": "kubernetes_deserialize_deserializetoobject" + "confidence_score": 1.0, + "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", + "target": "lifecycle_prestop_test_loadprestoptestcaseorpanic" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L99", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L45", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_test", - "target": "kubernetes_deserialize_test_readbytesfromfile" + "source": "lifecycle_prestop_test_loadprestoptestcaseorpanic", + "target": "pkg_library_lifecycle_prestop_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L28", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L58", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_test", - "target": "kubernetes_deserialize_test_testdeserializeobject" + "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", + "target": "pkg_library_lifecycle_prestop_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L93", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L74", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_test", - "target": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized" + "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", + "target": "pkg_library_lifecycle_prestop_test_go_t" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L74", + "source_file": "pkg/library/lifecycle/prestop_test.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_deserialize_test_testdeserializeobject", - "target": "kubernetes_deserialize_test_readbytesfromfile" + "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", + "target": "lifecycle_prestop_test_loadallprestoptestcasesorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L28", + "source_file": "pkg/library/lifecycle/util.go", + "source_location": "L22", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_test_testdeserializeobject", - "target": "pkg_library_kubernetes_deserialize_test_go_t" + "source": "lifecycle_util", + "target": "lifecycle_util_getcontainerwithname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L99", + "source_file": "pkg/library/lifecycle/util.go", + "source_location": "L22", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_test_readbytesfromfile", - "target": "pkg_library_kubernetes_deserialize_test_go_t" + "source": "lifecycle_util_getcontainerwithname", + "target": "pkg_library_lifecycle_util_go_container" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/deserialize_test.go", - "source_location": "L93", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_deserialize_test_testerrorifdeserializernotinitialized", - "target": "pkg_library_kubernetes_deserialize_test_go_t" + "source": "overrides_containers", + "target": "overrides_containers_applycontaineroverrides" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L126", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L107", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision", - "target": "kubernetes_provision_addmetadata" + "source": "overrides_containers", + "target": "overrides_containers_handledefaultedcontainerfields" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L102", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision", - "target": "kubernetes_provision_checkforexistingobject" + "source": "overrides_containers", + "target": "overrides_containers_needscontaineroverride" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L44", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision", - "target": "kubernetes_provision_handlekubernetescomponents" + "source": "overrides_containers", + "target": "overrides_containers_restrictcontaineroverride" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L147", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L38", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision", - "target": "kubernetes_provision_restrictk8scomponent" + "source": "overrides_containers_needscontaineroverride", + "target": "pkg_library_overrides_containers_go_component" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L176", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L42", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision", - "target": "kubernetes_provision_restrictpodspec" + "source": "overrides_containers_applycontaineroverrides", + "target": "pkg_library_overrides_containers_go_component" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L78", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L73", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "kubernetes_provision_addmetadata" + "source": "overrides_containers_applycontaineroverrides", + "target": "overrides_containers_handledefaultedcontainerfields" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L81", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L47", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "kubernetes_provision_checkforexistingobject" + "source": "overrides_containers_applycontaineroverrides", + "target": "overrides_containers_restrictcontaineroverride" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L73", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L42", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "kubernetes_provision_restrictk8scomponent" + "source": "overrides_containers_applycontaineroverrides", + "target": "pkg_library_overrides_containers_go_container" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L45", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L38", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "kubernetes_util_filterforkubelikecomponents" + "source": "overrides_containers_test_testapplycontaineroverrides", + "target": "overrides_containers_applycontaineroverrides" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L67", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L135", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "kubernetes_util_getk8slikecomponent" + "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", + "target": "overrides_containers_applycontaineroverrides" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L44", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L107", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "pkg_library_kubernetes_provision_go_clusterapi" + "source": "overrides_containers_handledefaultedcontainerfields", + "target": "pkg_library_overrides_containers_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L44", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L78", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" + "source": "overrides_containers_restrictcontaineroverride", + "target": "pkg_library_overrides_containers_go_container" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L85", + "source_file": "pkg/library/overrides/containers.go", + "source_location": "L98", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "sync_sync_isrecognizedobject" + "source": "overrides_containers_restrictcontaineroverride", + "target": "restrictions_container_restrictions_restrictcontainer" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L86", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L104", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "sync_sync_syncobjectwithcluster" + "source": "overrides_containers_test_testrestrictcontaineroverride", + "target": "overrides_containers_restrictcontaineroverride" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L88", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L162", "weight": 1.0, - "source": "kubernetes_provision_handlekubernetescomponents", - "target": "sync_sync_syncunrecognizedobjectwithcluster" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containers_test_loadallcontainertestcasesorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L115", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L178", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containers_test_loadcontainertestcaseorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L380", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L34", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containers_test_testapplycontaineroverrides" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L424", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L116", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L574", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L53", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containers_test_testrestrictcontaineroverride" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L488", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L145", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containertestcase" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L329", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L152", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containertestinput" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L281", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L157", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test", + "target": "overrides_containertestoutput" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L532", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L35", "weight": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", - "target": "kubernetes_provision_handlekubernetescomponents" + "confidence_score": 1.0, + "source": "overrides_containers_test_testapplycontaineroverrides", + "target": "overrides_containers_test_loadallcontainertestcasesorpanic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L202", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L34", "weight": 1.0, - "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", - "target": "kubernetes_provision_handlekubernetescomponents" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "overrides_containers_test_testapplycontaineroverrides", + "target": "pkg_library_overrides_containers_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L126", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L162", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_addmetadata", - "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" + "source": "overrides_containers_test_loadallcontainertestcasesorpanic", + "target": "pkg_library_overrides_containers_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L147", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L178", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_restrictk8scomponent", - "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" + "source": "overrides_containers_test_loadcontainertestcaseorpanic", + "target": "pkg_library_overrides_containers_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L176", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L116", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_restrictpodspec", - "target": "pkg_library_kubernetes_provision_go_devworkspacewithconfig" + "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", + "target": "pkg_library_overrides_containers_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L126", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L53", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_addmetadata", - "target": "pkg_library_kubernetes_provision_go_clusterapi" + "source": "overrides_containers_test_testrestrictcontaineroverride", + "target": "pkg_library_overrides_containers_test_go_t" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L162", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "overrides_containers_test_loadallcontainertestcasesorpanic", + "target": "overrides_containertestcase" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L178", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "overrides_containers_test_loadcontainertestcaseorpanic", + "target": "overrides_containertestcase" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L147", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "overrides_containertestcase", + "target": "containertestinput" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L148", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "overrides_containertestcase", + "target": "containertestoutput" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L153", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "overrides_containertestinput", + "target": "pkg_library_overrides_containers_test_go_component" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L154", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "overrides_containertestinput", + "target": "pkg_library_overrides_containers_test_go_container" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L158", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "overrides_containertestoutput", + "target": "pkg_library_overrides_containers_test_go_container" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/containers_test.go", + "source_location": "L172", + "weight": 1.0, + "confidence_score": 1.0, + "source": "overrides_containers_test_loadallcontainertestcasesorpanic", + "target": "overrides_containers_test_loadcontainertestcaseorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L102", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_checkforexistingobject", - "target": "pkg_library_kubernetes_provision_go_clusterapi" + "source": "overrides_pods", + "target": "overrides_pods_applypodoverrides" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L120", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L106", "weight": 1.0, - "source": "kubernetes_provision_checkforexistingobject", - "target": "kubernetes_util_checkownerrefs" + "confidence_score": 1.0, + "source": "overrides_pods", + "target": "overrides_pods_getpodoverrides" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L102", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L79", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_checkforexistingobject", - "target": "pkg_library_kubernetes_provision_go_object" + "source": "overrides_pods", + "target": "overrides_pods_getvolumesfromoverrides" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L126", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L33", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_addmetadata", - "target": "pkg_library_kubernetes_provision_go_object" + "source": "overrides_pods", + "target": "overrides_pods_needspodoverrides" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L147", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L138", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_restrictk8scomponent", - "target": "pkg_library_kubernetes_provision_go_object" + "source": "overrides_pods", + "target": "overrides_pods_restrictpodoverride" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L176", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L33", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_restrictpodspec", - "target": "pkg_library_kubernetes_provision_go_object" + "source": "overrides_pods_needspodoverrides", + "target": "pkg_library_overrides_pods_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision.go", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods_test.go", "source_location": "L172", "weight": 1.0, - "confidence_score": 1.0, - "source": "kubernetes_provision_restrictk8scomponent", - "target": "kubernetes_provision_restrictpodspec" + "source": "overrides_pods_test_testneedspodoverride", + "target": "overrides_pods_needspodoverrides" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L683", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L220", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", - "target": "kubernetes_provision_restrictk8scomponent" + "source": "workspace_deployment_getspecdeployment", + "target": "overrides_pods_needspodoverrides" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L591", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L45", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", - "target": "kubernetes_provision_restrictk8scomponent" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "overrides_pods_applypodoverrides", + "target": "pkg_library_overrides_pods_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L608", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L46", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", - "target": "kubernetes_provision_restrictk8scomponent" + "confidence_score": 1.0, + "source": "overrides_pods_applypodoverrides", + "target": "overrides_pods_getpodoverrides" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L661", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L45", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", - "target": "kubernetes_provision_restrictk8scomponent" + "context": "return_type", + "confidence_score": 1.0, + "source": "overrides_pods_applypodoverrides", + "target": "pkg_library_overrides_pods_go_deployment" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L625", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L46", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", - "target": "kubernetes_provision_restrictk8scomponent" + "source": "overrides_pods_applypodoverrides", + "target": "restrictions_restrictions_getrestrictedpodfields" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L643", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L45", "weight": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", - "target": "kubernetes_provision_restrictk8scomponent" + "source": "overrides_pods_test_testapplypodoverrides", + "target": "overrides_pods_applypodoverrides" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L202", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L244", "weight": 1.0, - "source": "kubernetes_provision_restrictpodspec", - "target": "restrictions_pod_restrictions_restrictpodandcontainers" + "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", + "target": "overrides_pods_applypodoverrides" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L200", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L221", "weight": 1.0, - "source": "kubernetes_provision_restrictpodspec", - "target": "restrictions_restrictions_getrestrictedcontainerfields" + "source": "workspace_deployment_getspecdeployment", + "target": "overrides_pods_applypodoverrides" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision.go", - "source_location": "L199", - "weight": 1.0, - "source": "kubernetes_provision_restrictpodspec", - "target": "restrictions_restrictions_getrestrictedpodfields" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L60", - "weight": 1.0, - "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_clusterobjects" - }, - { - "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L716", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_collectclusterobj" + "source": "overrides_pods_getvolumesfromoverrides", + "target": "overrides_pods_getpodoverrides" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L687", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L79", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_loadalltestcasesorpanic" + "source": "overrides_pods_getvolumesfromoverrides", + "target": "pkg_library_overrides_pods_go_devworkspacetemplatespec" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L703", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L376", "weight": 1.0, - "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_loadtestcaseorpanic" + "source": "storage_shared_rewritecontainervolumemounts", + "target": "overrides_pods_getvolumesfromoverrides" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L92", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L106", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponents" + "source": "overrides_pods_getpodoverrides", + "target": "pkg_library_overrides_pods_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L337", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L106", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields" + "source": "overrides_pods_getpodoverrides", + "target": "json" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L389", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L116", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured" + "source": "overrides_pods_getpodoverrides", + "target": "overrides_pods_restrictpodoverride" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L541", + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L138", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation" + "source": "overrides_pods_restrictpodoverride", + "target": "pkg_library_overrides_pods_go_podspec" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L433", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods.go", + "source_location": "L146", "weight": 1.0, - "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects" + "source": "overrides_pods_restrictpodoverride", + "target": "restrictions_pod_restrictions_restrictpod" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L289", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L205", "weight": 1.0, - "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields" + "source": "overrides_pods_test_testrestrictpodoverride", + "target": "overrides_pods_restrictpodoverride" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L241", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L271", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields" + "source": "overrides_pods_test", + "target": "overrides_pods_test_loadallpodtestcasesorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L499", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L287", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation" + "source": "overrides_pods_test", + "target": "overrides_pods_test_loadpodtestcaseorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L225", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L36", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testhaskubelikecomponent" + "source": "overrides_pods_test", + "target": "overrides_pods_test_testapplypodoverrides" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L666", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L217", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources" + "source": "overrides_pods_test", + "target": "overrides_pods_test_testapplypodoverridesstripsunknownfields" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L578", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource" + "source": "overrides_pods_test", + "target": "overrides_pods_test_testneedspodoverride" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L595", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L178", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource" + "source": "overrides_pods_test", + "target": "overrides_pods_test_testrestrictpodoverride" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L647", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L254", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent" + "source": "overrides_pods_test", + "target": "overrides_podtestcase" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L612", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L261", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated" + "source": "overrides_pods_test", + "target": "overrides_podtestinput" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L629", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L266", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent" + "source": "overrides_pods_test", + "target": "overrides_podtestoutput" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L152", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_provision_test_testsecretandconfigmapprovisioning" + "source": "overrides_pods_test_testapplypodoverrides", + "target": "overrides_pods_test_loadallpodtestcasesorpanic" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L43", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L36", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_testcase" + "source": "overrides_pods_test_testapplypodoverrides", + "target": "pkg_library_overrides_pods_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L50", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L271", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_testinput" + "source": "overrides_pods_test_loadallpodtestcasesorpanic", + "target": "pkg_library_overrides_pods_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L55", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L287", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test", - "target": "kubernetes_testoutput" + "source": "overrides_pods_test_loadpodtestcaseorpanic", + "target": "pkg_library_overrides_pods_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L687", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L217", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_loadalltestcasesorpanic", - "target": "kubernetes_testcase" + "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", + "target": "pkg_library_overrides_pods_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L703", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L60", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_loadtestcaseorpanic", - "target": "kubernetes_testcase" + "source": "overrides_pods_test_testneedspodoverride", + "target": "pkg_library_overrides_pods_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L45", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L178", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_testcase", - "target": "pkg_library_kubernetes_provision_test_go_testinput" + "source": "overrides_pods_test_testrestrictpodoverride", + "target": "pkg_library_overrides_pods_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L46", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L271", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_testcase", - "target": "pkg_library_kubernetes_provision_test_go_testoutput" + "source": "overrides_pods_test_loadallpodtestcasesorpanic", + "target": "overrides_podtestcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L52", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L287", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_testinput", - "target": "clusterobjects" + "source": "overrides_pods_test_loadpodtestcaseorpanic", + "target": "overrides_podtestcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L51", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L256", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "kubernetes_testinput", - "target": "pkg_library_kubernetes_provision_test_go_component" + "source": "overrides_podtestcase", + "target": "podtestinput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L257", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "kubernetes_testoutput", - "target": "clusterobjects" + "source": "overrides_podtestcase", + "target": "podtestoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L61", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L262", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "kubernetes_clusterobjects", - "target": "pkg_library_kubernetes_provision_test_go_pod" + "source": "overrides_podtestinput", + "target": "pkg_library_overrides_pods_test_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L62", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L263", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "kubernetes_clusterobjects", - "target": "pkg_library_kubernetes_provision_test_go_service" + "source": "overrides_podtestinput", + "target": "podtemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L716", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L267", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "kubernetes_provision_test_collectclusterobj", - "target": "kubernetes_clusterobjects" + "source": "overrides_podtestoutput", + "target": "podtemplatespec" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L100", + "source_file": "pkg/library/overrides/pods_test.go", + "source_location": "L281", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "kubernetes_provision_test_collectclusterobj" + "source": "overrides_pods_test_loadallpodtestcasesorpanic", + "target": "overrides_pods_test_loadpodtestcaseorpanic" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L97", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L311", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "kubernetes_provision_test_loadalltestcasesorpanic" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkcapabilities" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L92", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L175", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponents", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkconfigmapref" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L687", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L50", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_loadalltestcasesorpanic", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkcontainer" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L703", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L259", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_loadtestcaseorpanic", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkcontainersecuritycontext" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L337", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L150", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsallowsnonrestrictedfields", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkenvfrom" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L389", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L134", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsnorestrictionsconfigured", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkenvsfrom" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L541", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L187", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsmalformedannotation", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checksecretref" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L433", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L248", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrejectsrbacobjects", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkvolumedevice" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L289", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L234", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictscontainerfields", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkvolumedevices" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L241", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L213", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentsrestrictspodfields", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkvolumemount" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L499", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L199", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhandlekubernetescomponentswithoutannotation", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_checkvolumemounts" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L225", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L23", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhaskubelikecomponent", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_getcontainerrestrictionerr" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L666", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L27", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsmultiplevalidatedresources", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions", + "target": "restrictions_container_restrictions_restrictcontainer" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L578", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L27", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentallowsvalidatedresource", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions_restrictcontainer", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_container" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L595", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsnonvalidatedresource", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions_restrictcontainer", + "target": "restrictions_container_restrictions_checkcontainer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L647", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L1139", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenannotationabsent", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions_test_testrestrictcontainer", + "target": "restrictions_container_restrictions_restrictcontainer" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L612", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentrejectsrbacevenwhenvalidated", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_pod_restrictions_restrictpodandcontainers", + "target": "restrictions_container_restrictions_restrictcontainer" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L629", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L50", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testrestrictk8scomponentskipsvalidationwhenannotationabsent", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions_checkcontainer", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L152", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L50", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_testsecretandconfigmapprovisioning", - "target": "pkg_library_kubernetes_provision_test_go_t" + "source": "restrictions_container_restrictions_checkcontainer", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L226", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L128", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test_testhaskubelikecomponent", - "target": "kubernetes_provision_test_loadtestcaseorpanic" + "source": "restrictions_container_restrictions_checkcontainer", + "target": "restrictions_container_restrictions_checkcontainersecuritycontext" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L231", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L120", "weight": 1.0, - "source": "kubernetes_provision_test_testhaskubelikecomponent", - "target": "kubernetes_util_haskubelikecomponent" + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_checkcontainer", + "target": "restrictions_container_restrictions_checkenvsfrom" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L697", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L126", "weight": 1.0, "confidence_score": 1.0, - "source": "kubernetes_provision_test_loadalltestcasesorpanic", - "target": "kubernetes_provision_test_loadtestcaseorpanic" + "source": "restrictions_container_restrictions_checkcontainer", + "target": "restrictions_container_restrictions_checkvolumedevices" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/provision_test.go", - "source_location": "L716", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L124", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "kubernetes_provision_test_collectclusterobj", - "target": "pkg_library_kubernetes_provision_test_go_object" + "source": "restrictions_container_restrictions_checkcontainer", + "target": "restrictions_container_restrictions_checkvolumemounts" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L78", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L122", "weight": 1.0, - "confidence_score": 1.0, - "source": "kubernetes_util", - "target": "kubernetes_util_checkownerrefs" + "source": "restrictions_container_restrictions_checkcontainer", + "target": "restrictions_restrictions_checkresources" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L311", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util", - "target": "kubernetes_util_filterforkubelikecomponents" + "source": "restrictions_container_restrictions_checkcapabilities", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L67", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L175", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util", - "target": "kubernetes_util_getk8slikecomponent" + "source": "restrictions_container_restrictions_checkconfigmapref", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L24", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L259", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util", - "target": "kubernetes_util_haskubelikecomponent" + "source": "restrictions_container_restrictions_checkcontainersecuritycontext", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L24", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L150", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util_haskubelikecomponent", - "target": "pkg_library_kubernetes_util_go_devworkspacewithconfig" + "source": "restrictions_container_restrictions_checkenvfrom", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L36", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L134", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util_filterforkubelikecomponents", - "target": "kubernetes_util_getk8slikecomponent" + "source": "restrictions_container_restrictions_checkenvsfrom", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L187", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util_filterforkubelikecomponents", - "target": "pkg_library_kubernetes_util_go_component" + "source": "restrictions_container_restrictions_checksecretref", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L67", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L248", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util_getk8slikecomponent", - "target": "pkg_library_kubernetes_util_go_component" + "source": "restrictions_container_restrictions_checkvolumedevice", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L67", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L234", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util_getk8slikecomponent", - "target": "pkg_library_kubernetes_util_go_k8slikecomponent" + "source": "restrictions_container_restrictions_checkvolumedevices", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/kubernetes/util.go", - "source_location": "L78", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L213", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_util_checkownerrefs", - "target": "pkg_library_kubernetes_util_go_ownerreference" + "source": "restrictions_container_restrictions_checkvolumemount", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L199", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command", - "target": "lifecycle_command_commandlisttocomponentkeys" + "source": "restrictions_container_restrictions_checkvolumemounts", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L46", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L134", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command", - "target": "lifecycle_command_getcommandbykey" + "source": "restrictions_container_restrictions_checkenvsfrom", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_envfromsource" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L142", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_command", - "target": "lifecycle_command_getcommandsforkeys" + "source": "restrictions_container_restrictions_checkenvsfrom", + "target": "restrictions_container_restrictions_checkenvfrom" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L24", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L150", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command", - "target": "lifecycle_command_getcommandtype" + "source": "restrictions_container_restrictions_checkenvfrom", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_envfromsource" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L77", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L167", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_command", - "target": "lifecycle_command_removecommandsbykeys" + "source": "restrictions_container_restrictions_checkenvfrom", + "target": "restrictions_container_restrictions_checkconfigmapref" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L59", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L169", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_command_commandlisttocomponentkeys", - "target": "lifecycle_command_getcommandtype" + "source": "restrictions_container_restrictions_checkenvfrom", + "target": "restrictions_container_restrictions_checksecretref" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L24", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L175", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command_getcommandtype", - "target": "commandtype" + "source": "restrictions_container_restrictions_checkconfigmapref", + "target": "configmapenvsource" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L24", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L187", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command_getcommandtype", - "target": "pkg_library_lifecycle_command_go_command" + "source": "restrictions_container_restrictions_checksecretref", + "target": "secretenvsource" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L60", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L199", "weight": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "lifecycle_command_getcommandtype" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_checkvolumemounts", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_volumemount" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L96", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L205", "weight": 1.0, - "source": "lifecycle_prestart_checkprestarteventcommandsvalidity", - "target": "lifecycle_command_getcommandtype" + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_checkvolumemounts", + "target": "restrictions_container_restrictions_checkvolumemount" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L40", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L213", "weight": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "lifecycle_command_getcommandtype" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_checkvolumemount", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_volumemount" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L240", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command_commandlisttocomponentkeys", - "target": "pkg_library_lifecycle_command_go_command" + "source": "restrictions_container_restrictions_checkvolumedevices", + "target": "restrictions_container_restrictions_checkvolumedevice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L46", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L234", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command_getcommandbykey", - "target": "pkg_library_lifecycle_command_go_command" + "source": "restrictions_container_restrictions_checkvolumedevices", + "target": "volumedevice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L248", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command_getcommandsforkeys", - "target": "pkg_library_lifecycle_command_go_command" + "source": "restrictions_container_restrictions_checkvolumedevice", + "target": "volumedevice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L77", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L259", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_command_removecommandsbykeys", - "target": "pkg_library_lifecycle_command_go_command" + "source": "restrictions_container_restrictions_checkcontainersecuritycontext", + "target": "pkg_library_overrides_restrictions_container_restrictions_go_securitycontext" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L36", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L305", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_command_getcommandsforkeys", - "target": "lifecycle_command_getcommandbykey" + "source": "restrictions_container_restrictions_checkcontainersecuritycontext", + "target": "restrictions_container_restrictions_checkcapabilities" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L37", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", + "source_location": "L311", "weight": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "lifecycle_command_getcommandsforkeys" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_checkcapabilities", + "target": "capabilities" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L56", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L26", "weight": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "lifecycle_command_getcommandbykey" + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_test", + "target": "restrictions_container_restrictions_test_testrestrictcontainer" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L36", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", + "source_location": "L26", "weight": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "lifecycle_command_getcommandbykey" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "restrictions_container_restrictions_test_testrestrictcontainer", + "target": "pkg_library_overrides_restrictions_container_restrictions_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L45", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L352", "weight": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "lifecycle_command_commandlisttocomponentkeys" + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkimagepullsecrets" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/command.go", - "source_location": "L81", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L74", "weight": 1.0, - "source": "lifecycle_command_removecommandsbykeys", - "target": "lifecycle_common_listcontains" + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkpodfield" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L53", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L242", "weight": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "lifecycle_command_removecommandsbykeys" + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkpodsecuritycontext" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/common.go", - "source_location": "L18", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L339", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_common", - "target": "lifecycle_common_listcontains" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkresourceclaim" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L49", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L325", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart", - "target": "lifecycle_poststart_addpoststartlifecyclehooks" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkresourceclaims" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L182", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L305", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart", - "target": "lifecycle_poststart_builduserscript" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checksupplementalgroups" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L212", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L285", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart", - "target": "lifecycle_poststart_generatescriptwithtimeout" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checksysctls" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L274", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L228", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart", - "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkvolume" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L93", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L214", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart", - "target": "lifecycle_poststart_processcommandsforpoststart" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_checkvolumes" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L136", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L23", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart", - "target": "lifecycle_poststart_processcommandswithouttimeoutfallback" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_getpodrestrictionerr" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L77", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "lifecycle_poststart_processcommandsforpoststart" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_restrictpod" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L72", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L50", "weight": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "lifecycle_util_getcontainerwithname" + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_restrictpodandcontainers" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L49", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L368", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "pkg_library_lifecycle_poststart_go_container" + "source": "restrictions_pod_restrictions", + "target": "restrictions_pod_restrictions_volumesourcetype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L49", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L27", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_addpoststartlifecyclehooks", - "target": "pkg_library_lifecycle_poststart_go_devworkspacetemplatespec" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L82", - "weight": 1.0, - "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", - "target": "lifecycle_poststart_addpoststartlifecyclehooks" + "source": "restrictions_pod_restrictions_restrictpod", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L99", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L42", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandsforpoststart", - "target": "lifecycle_poststart_builduserscript" + "source": "restrictions_pod_restrictions_restrictpod", + "target": "restrictions_pod_restrictions_checkpodfield" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L109", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L51", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandsforpoststart", - "target": "lifecycle_poststart_generatescriptwithtimeout" + "source": "restrictions_pod_restrictions_restrictpodandcontainers", + "target": "restrictions_pod_restrictions_restrictpod" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L96", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1428", "weight": 1.0, - "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandsforpoststart", - "target": "lifecycle_poststart_processcommandswithouttimeoutfallback" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "restrictions_pod_restrictions_restrictpod" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L93", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L74", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandsforpoststart", - "target": "pkg_library_lifecycle_poststart_go_command" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L93", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L50", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandsforpoststart", - "target": "pkg_library_lifecycle_poststart_go_lifecyclehandler" + "source": "restrictions_pod_restrictions_restrictpodandcontainers", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L182", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L74", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_builduserscript", - "target": "pkg_library_lifecycle_poststart_go_command" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L136", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L202", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", - "target": "pkg_library_lifecycle_poststart_go_command" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "restrictions_pod_restrictions_checkimagepullsecrets" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L136", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L200", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", - "target": "pkg_library_lifecycle_poststart_go_lifecyclehandler" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "restrictions_pod_restrictions_checkpodsecuritycontext" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L138", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L206", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_processcommandswithouttimeoutfallback", - "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "restrictions_pod_restrictions_checkresourceclaims" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L287", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L198", "weight": 1.0, - "source": "lifecycle_poststart_test_testbuilduserscript", - "target": "lifecycle_poststart_builduserscript" + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "restrictions_pod_restrictions_checkvolumes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L224", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L204", "weight": 1.0, - "confidence_score": 1.0, - "source": "lifecycle_poststart_generatescriptwithtimeout", - "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "restrictions_restrictions_checkresourcelist" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L626", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L208", "weight": 1.0, - "source": "lifecycle_poststart_test_testgeneratescriptwithtimeout", - "target": "lifecycle_poststart_generatescriptwithtimeout" + "source": "restrictions_pod_restrictions_checkpodfield", + "target": "restrictions_restrictions_checkresources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart.go", - "source_location": "L274", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L352", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds", - "target": "pkg_library_lifecycle_poststart_go_logger" + "source": "restrictions_pod_restrictions_checkimagepullsecrets", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L658", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L242", "weight": 1.0, - "source": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds", - "target": "lifecycle_poststart_parsepoststartfailuredebugsleepdurationtoseconds" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions_checkpodsecuritycontext", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L61", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L339", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic" + "source": "restrictions_pod_restrictions_checkresourceclaim", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L48", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L325", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststart_test_loadpoststarttestcaseorpanic" + "source": "restrictions_pod_restrictions_checkresourceclaims", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L77", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L305", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststart_test_testaddpoststartlifecyclehooks" + "source": "restrictions_pod_restrictions_checksupplementalgroups", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L95", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L285", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststart_test_testbuilduserscript" + "source": "restrictions_pod_restrictions_checksysctls", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L300", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L228", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststart_test_testgeneratescriptwithtimeout" + "source": "restrictions_pod_restrictions_checkvolume", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L632", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L214", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds" + "source": "restrictions_pod_restrictions_checkvolumes", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L30", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L214", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststarttestcase" + "source": "restrictions_pod_restrictions_checkvolumes", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L37", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L220", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststarttestinput" + "source": "restrictions_pod_restrictions_checkvolumes", + "target": "restrictions_pod_restrictions_checkvolume" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L43", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L228", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test", - "target": "lifecycle_poststarttestoutput" + "source": "restrictions_pod_restrictions_checkvolume", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L61", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L368", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", - "target": "lifecycle_poststarttestcase" + "source": "restrictions_pod_restrictions_volumesourcetype", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L48", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L233", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_loadpoststarttestcaseorpanic", - "target": "lifecycle_poststarttestcase" + "source": "restrictions_pod_restrictions_checkvolume", + "target": "restrictions_pod_restrictions_volumesourcetype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L32", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L242", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststarttestcase", - "target": "poststarttestinput" + "source": "restrictions_pod_restrictions_checkpodsecuritycontext", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podsecuritycontext" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L33", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L261", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "lifecycle_poststarttestcase", - "target": "poststarttestoutput" + "source": "restrictions_pod_restrictions_checkpodsecuritycontext", + "target": "restrictions_pod_restrictions_checksupplementalgroups" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L40", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L267", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "lifecycle_poststarttestinput", - "target": "pkg_library_lifecycle_poststart_test_go_container" + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions_checkpodsecuritycontext", + "target": "restrictions_pod_restrictions_checksysctls" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L38", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L285", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststarttestinput", - "target": "pkg_library_lifecycle_poststart_test_go_devworkspacetemplatespec" + "source": "restrictions_pod_restrictions_checksysctls", + "target": "sysctl" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L44", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L325", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststarttestoutput", - "target": "pkg_library_lifecycle_poststart_test_go_container" + "source": "restrictions_pod_restrictions_checkresourceclaims", + "target": "podresourceclaim" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L71", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L331", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", - "target": "lifecycle_poststart_test_loadpoststarttestcaseorpanic" + "source": "restrictions_pod_restrictions_checkresourceclaims", + "target": "restrictions_pod_restrictions_checkresourceclaim" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L48", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L339", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_loadpoststarttestcaseorpanic", - "target": "pkg_library_lifecycle_poststart_test_go_t" + "source": "restrictions_pod_restrictions_checkresourceclaim", + "target": "podresourceclaim" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L61", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", + "source_location": "L352", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic", - "target": "pkg_library_lifecycle_poststart_test_go_t" + "source": "restrictions_pod_restrictions_checkimagepullsecrets", + "target": "pkg_library_overrides_restrictions_pod_restrictions_go_localobjectreference" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L77", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1448", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", - "target": "pkg_library_lifecycle_poststart_test_go_t" + "source": "restrictions_pod_restrictions_test", + "target": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L95", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1440", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_testbuilduserscript", - "target": "pkg_library_lifecycle_poststart_test_go_t" + "source": "restrictions_pod_restrictions_test", + "target": "restrictions_pod_restrictions_test_preemptionpolicyptr" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L300", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1452", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_testgeneratescriptwithtimeout", - "target": "pkg_library_lifecycle_poststart_test_go_t" + "source": "restrictions_pod_restrictions_test", + "target": "restrictions_pod_restrictions_test_selinuxchangepolicyptr" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L632", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1444", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_poststart_test_testparsepoststartfailuredebugsleepdurationtoseconds", - "target": "pkg_library_lifecycle_poststart_test_go_t" + "source": "restrictions_pod_restrictions_test", + "target": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/poststart_test.go", - "source_location": "L78", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_poststart_test_testaddpoststartlifecyclehooks", - "target": "lifecycle_poststart_test_loadallpoststarttestcasesorpanic" + "source": "restrictions_pod_restrictions_test", + "target": "restrictions_pod_restrictions_test_testrestrictpod" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L94", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestart", - "target": "lifecycle_prestart_checkprestarteventcommandsvalidity" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "pkg_library_overrides_restrictions_pod_restrictions_test_go_t" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L28", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1097", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart", - "target": "lifecycle_prestart_getinitcontainers" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L84", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L577", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart", - "target": "lifecycle_prestart_sethomeinitcontainertofront" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "restrictions_pod_restrictions_test_preemptionpolicyptr" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L42", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1152", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "lifecycle_prestart_checkprestarteventcommandsvalidity" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "restrictions_pod_restrictions_test_selinuxchangepolicyptr" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L78", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1016", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "lifecycle_prestart_sethomeinitcontainertofront" + "source": "restrictions_pod_restrictions_test_testrestrictpod", + "target": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L28", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1440", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "pkg_library_lifecycle_prestart_go_component" + "source": "restrictions_pod_restrictions_test_preemptionpolicyptr", + "target": "preemptionpolicy" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L28", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1444", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_getinitcontainers", - "target": "pkg_library_lifecycle_prestart_go_devworkspacetemplatespeccontent" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L68", - "weight": 1.0, - "source": "lifecycle_prestart_test_testgetinitcontainers", - "target": "lifecycle_prestart_getinitcontainers" + "source": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr", + "target": "supplementalgroupspolicy" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/ssh/event.go", - "source_location": "L51", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1448", "weight": 1.0, - "source": "ssh_event_addsshagentpoststartevent", - "target": "lifecycle_prestart_getinitcontainers" + "context": "return_type", + "confidence_score": 1.0, + "source": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr", + "target": "podfsgroupchangepolicy" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L84", + "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", + "source_location": "L1452", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_sethomeinitcontainertofront", - "target": "pkg_library_lifecycle_prestart_go_component" + "source": "restrictions_pod_restrictions_test_selinuxchangepolicyptr", + "target": "podselinuxchangepolicy" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart.go", - "source_location": "L94", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L24", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_checkprestarteventcommandsvalidity", - "target": "pkg_library_lifecycle_prestart_go_command" + "source": "restrictions_restrictions", + "target": "restrictions_fieldrestriction" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L40", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L171", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_test", - "target": "lifecycle_prestart_test_loadprestarttestcaseorpanic" + "source": "restrictions_restrictions", + "target": "restrictions_restrictions_checkcontainerresourceclaims" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L53", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L155", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_test", - "target": "lifecycle_prestart_test_testgetinitcontainers" + "source": "restrictions_restrictions", + "target": "restrictions_restrictions_checkresourcelist" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L28", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L119", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_test", - "target": "lifecycle_prestarttestcase" + "source": "restrictions_restrictions", + "target": "restrictions_restrictions_checkresources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L34", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L103", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_test", - "target": "lifecycle_prestarttestoutput" + "source": "restrictions_restrictions", + "target": "restrictions_restrictions_getrestrictedcontainerfields" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L40", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L111", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_test_loadprestarttestcaseorpanic", - "target": "lifecycle_prestarttestcase" + "source": "restrictions_restrictions", + "target": "restrictions_restrictions_getrestrictedpodfields" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", "source_location": "L30", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "lifecycle_prestarttestcase", - "target": "pkg_library_lifecycle_prestart_test_go_devworkspacetemplatespeccontent" + "source": "restrictions_fieldrestriction", + "target": "restrictions_fieldrestriction_checkany" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L54", + "weight": 1.0, + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction", + "target": "restrictions_fieldrestriction_checkbool" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L68", + "weight": 1.0, + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction", + "target": "restrictions_fieldrestriction_checkint32" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L82", + "weight": 1.0, + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction", + "target": "restrictions_fieldrestriction_checkint64" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L95", + "weight": 1.0, + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction", + "target": "restrictions_fieldrestriction_checkrestrictedvalue" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L39", + "weight": 1.0, + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction", + "target": "restrictions_fieldrestriction_checkstring" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L31", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L171", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestarttestcase", - "target": "prestarttestoutput" + "source": "restrictions_restrictions_checkcontainerresourceclaims", + "target": "restrictions_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L36", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L155", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestarttestoutput", - "target": "pkg_library_lifecycle_prestart_test_go_component" + "source": "restrictions_restrictions_checkresourcelist", + "target": "restrictions_fieldrestriction" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L40", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L119", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_test_loadprestarttestcaseorpanic", - "target": "pkg_library_lifecycle_prestart_test_go_t" + "source": "restrictions_restrictions_checkresources", + "target": "restrictions_fieldrestriction" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L55", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L162", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestart_test_testgetinitcontainers", - "target": "lifecycle_prestart_test_loadprestarttestcaseorpanic" + "source": "restrictions_restrictions_checkresourcelist", + "target": "restrictions_fieldrestriction_checkany" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestart_test.go", - "source_location": "L53", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L130", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestart_test_testgetinitcontainers", - "target": "pkg_library_lifecycle_prestart_test_go_t" + "source": "restrictions_restrictions_checkresources", + "target": "restrictions_fieldrestriction_checkany" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L29", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L51", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop", - "target": "lifecycle_prestop_addprestoplifecyclehooks" + "source": "restrictions_fieldrestriction_checkstring", + "target": "restrictions_fieldrestriction_checkrestrictedvalue" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L82", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L179", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop", - "target": "lifecycle_prestop_processcommandsforprestop" + "source": "restrictions_restrictions_checkcontainerresourceclaims", + "target": "restrictions_fieldrestriction_checkstring" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L56", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L65", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "lifecycle_prestop_processcommandsforprestop" + "source": "restrictions_fieldrestriction_checkbool", + "target": "restrictions_fieldrestriction_checkrestrictedvalue" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L51", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L79", "weight": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "lifecycle_util_getcontainerwithname" + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction_checkint32", + "target": "restrictions_fieldrestriction_checkrestrictedvalue" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L92", + "weight": 1.0, + "confidence_score": 1.0, + "source": "restrictions_fieldrestriction_checkint64", + "target": "restrictions_fieldrestriction_checkrestrictedvalue" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L29", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L103", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "pkg_library_lifecycle_prestop_go_container" + "source": "restrictions_restrictions_getrestrictedcontainerfields", + "target": "pkg_library_overrides_restrictions_restrictions_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L29", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L111", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_addprestoplifecyclehooks", - "target": "pkg_library_lifecycle_prestop_go_devworkspacetemplatespec" + "source": "restrictions_restrictions_getrestrictedpodfields", + "target": "pkg_library_overrides_restrictions_restrictions_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L78", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L87", "weight": 1.0, - "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", - "target": "lifecycle_prestop_addprestoplifecyclehooks" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "restrictions_restrictions_getrestrictedpodfields" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L79", + "weight": 1.0, + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "restrictions_restrictions_getrestrictedpodfields" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L82", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L119", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_processcommandsforprestop", - "target": "pkg_library_lifecycle_prestop_go_command" + "source": "restrictions_restrictions_checkresources", + "target": "pkg_library_overrides_restrictions_restrictions_go_resourcerequirements" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop.go", - "source_location": "L82", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L150", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_processcommandsforprestop", - "target": "pkg_library_lifecycle_prestop_go_lifecyclehandler" + "source": "restrictions_restrictions_checkresources", + "target": "restrictions_restrictions_checkcontainerresourceclaims" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L58", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L146", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_test", - "target": "lifecycle_prestop_test_loadallprestoptestcasesorpanic" + "source": "restrictions_restrictions_checkresources", + "target": "restrictions_restrictions_checkresourcelist" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L45", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L155", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test", - "target": "lifecycle_prestop_test_loadprestoptestcaseorpanic" + "source": "restrictions_restrictions_checkresourcelist", + "target": "pkg_library_overrides_restrictions_restrictions_go_resourcelist" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/overrides/restrictions/restrictions.go", + "source_location": "L171", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "restrictions_restrictions_checkcontainerresourceclaims", + "target": "resourceclaim" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L74", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L154", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_test", - "target": "lifecycle_prestop_test_testaddprestoplifecyclehooks" + "source": "projects_clone", + "target": "projects_clone_getclonepath" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L28", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_test", - "target": "lifecycle_prestoptestcase" + "source": "projects_clone", + "target": "projects_clone_getprojectcloneinitcontainer" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L35", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L135", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_test", - "target": "lifecycle_prestoptestinput" + "source": "projects_clone", + "target": "projects_clone_getstarterproject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L40", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L161", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_test", - "target": "lifecycle_prestoptestoutput" + "source": "projects_clone", + "target": "projects_clone_hascontainercomponents" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L58", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L46", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", - "target": "lifecycle_prestoptestcase" + "source": "projects_clone", + "target": "projects_clone_validateallprojects" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L45", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test_loadprestoptestcaseorpanic", - "target": "lifecycle_prestoptestcase" + "source": "projects_clone", + "target": "projects_options" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L30", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestoptestcase", - "target": "prestoptestinput" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "projects_options" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L31", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L41", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "lifecycle_prestoptestcase", - "target": "prestoptestoutput" + "source": "projects_options", + "target": "pkg_library_projects_clone_go_envvar" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L37", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L39", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "lifecycle_prestoptestinput", - "target": "pkg_library_lifecycle_prestop_test_go_container" + "source": "projects_options", + "target": "pkg_library_projects_clone_go_pullpolicy" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L36", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L40", "weight": 1.0, "context": "field", "confidence_score": 1.0, - "source": "lifecycle_prestoptestinput", - "target": "pkg_library_lifecycle_prestop_test_go_devworkspacetemplatespec" + "source": "projects_options", + "target": "pkg_library_projects_clone_go_resourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L41", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L46", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestoptestoutput", - "target": "pkg_library_lifecycle_prestop_test_go_container" + "source": "projects_clone_validateallprojects", + "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L68", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L54", "weight": 1.0, "confidence_score": 1.0, - "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", - "target": "lifecycle_prestop_test_loadprestoptestcaseorpanic" + "source": "projects_clone_validateallprojects", + "target": "projects_clone_getclonepath" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L45", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L64", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test_loadprestoptestcaseorpanic", - "target": "pkg_library_lifecycle_prestop_test_go_t" + "source": "projects_clone_validateallprojects", + "target": "projects_clone_getstarterproject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L58", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test_loadallprestoptestcasesorpanic", - "target": "pkg_library_lifecycle_prestop_test_go_t" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L74", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L135", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", - "target": "pkg_library_lifecycle_prestop_test_go_t" + "source": "projects_clone_getstarterproject", + "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/prestop_test.go", - "source_location": "L75", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L161", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_prestop_test_testaddprestoplifecyclehooks", - "target": "lifecycle_prestop_test_loadallprestoptestcasesorpanic" + "source": "projects_clone_hascontainercomponents", + "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/util.go", - "source_location": "L22", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "lifecycle_util", - "target": "lifecycle_util_getcontainerwithname" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "pkg_library_projects_clone_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/lifecycle/util.go", - "source_location": "L22", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L88", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "lifecycle_util_getcontainerwithname", - "target": "pkg_library_lifecycle_util_go_container" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "pkg_library_projects_clone_go_proxy" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L42", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L89", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers", - "target": "overrides_containers_applycontaineroverrides" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "projects_clone_getstarterproject" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L107", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L99", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers", - "target": "overrides_containers_handledefaultedcontainerfields" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "projects_clone_hascontainercomponents" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L38", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/projects/clone.go", + "source_location": "L115", "weight": 1.0, - "confidence_score": 1.0, - "source": "overrides_containers", - "target": "overrides_containers_needscontaineroverride" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "resources_helper_filterresources" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L78", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/projects/clone.go", + "source_location": "L116", "weight": 1.0, - "confidence_score": 1.0, - "source": "overrides_containers", - "target": "overrides_containers_restrictcontaineroverride" + "source": "projects_clone_getprojectcloneinitcontainer", + "target": "resources_helper_validateresources" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L38", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/main.go", + "source_location": "L71", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "overrides_containers_needscontaineroverride", - "target": "pkg_library_overrides_containers_go_component" + "source": "project_clone_main_main", + "target": "projects_clone_getstarterproject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L42", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L135", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "overrides_containers_applycontaineroverrides", - "target": "pkg_library_overrides_containers_go_component" + "source": "projects_clone_getstarterproject", + "target": "pkg_library_projects_clone_go_starterproject" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L73", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L50", "weight": 1.0, - "confidence_score": 1.0, - "source": "overrides_containers_applycontaineroverrides", - "target": "overrides_containers_handledefaultedcontainerfields" + "source": "bootstrap_util_getdevfilefromproject", + "target": "projects_clone_getclonepath" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L47", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L126", "weight": 1.0, - "confidence_score": 1.0, - "source": "overrides_containers_applycontaineroverrides", - "target": "overrides_containers_restrictcontaineroverride" + "source": "git_setup_copyprojectfromtmpdir", + "target": "projects_clone_getclonepath" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L42", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L49", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "overrides_containers_applycontaineroverrides", - "target": "pkg_library_overrides_containers_go_container" + "source": "git_setup_doinitialgitclone", + "target": "projects_clone_getclonepath" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L38", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L112", "weight": 1.0, - "source": "overrides_containers_test_testapplycontaineroverrides", - "target": "overrides_containers_applycontaineroverrides" + "source": "git_setup_setupremotesforexistingproject", + "target": "projects_clone_getclonepath" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L135", + "source_file": "project-clone/internal/utils.go", + "source_location": "L41", "weight": 1.0, - "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", - "target": "overrides_containers_applycontaineroverrides" + "source": "internal_utils_checkprojectstate", + "target": "projects_clone_getclonepath" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L107", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/utils.go", + "source_location": "L109", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "overrides_containers_handledefaultedcontainerfields", - "target": "pkg_library_overrides_containers_go_container" + "source": "internal_utils_checksubpathprojectstate", + "target": "projects_clone_getclonepath" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L78", + "source_file": "pkg/library/projects/clone.go", + "source_location": "L154", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_containers_restrictcontaineroverride", - "target": "pkg_library_overrides_containers_go_container" + "source": "projects_clone_getclonepath", + "target": "pkg_library_projects_clone_go_project" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers.go", - "source_location": "L98", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L44", "weight": 1.0, - "source": "overrides_containers_restrictcontaineroverride", - "target": "restrictions_container_restrictions_restrictcontainer" + "source": "zip_setup_setupzipproject", + "target": "projects_clone_getclonepath" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L104", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L88", "weight": 1.0, - "source": "overrides_containers_test_testrestrictcontaineroverride", - "target": "overrides_containers_restrictcontaineroverride" + "confidence_score": 1.0, + "source": "resources_helper", + "target": "resources_helper_addresourcerequirements" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L162", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L223", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containers_test_loadallcontainertestcasesorpanic" + "source": "resources_helper", + "target": "resources_helper_applycaps" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L178", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L162", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containers_test_loadcontainertestcaseorpanic" + "source": "resources_helper", + "target": "resources_helper_applydefaults" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L34", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L111", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containers_test_testapplycontaineroverrides" + "source": "resources_helper", + "target": "resources_helper_applyresourcerequirementstocomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L116", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L136", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields" + "source": "resources_helper", + "target": "resources_helper_filterresources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L53", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L257", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containers_test_testrestrictcontaineroverride" + "source": "resources_helper", + "target": "resources_helper_handlecapsedgecase" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L145", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containertestcase" + "source": "resources_helper", + "target": "resources_helper_parseresourcesfromcomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L152", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L297", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containertestinput" + "source": "resources_helper", + "target": "resources_helper_validateresources" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L157", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L33", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_containers_test", - "target": "overrides_containertestoutput" + "source": "resources_helper_parseresourcesfromcomponent", + "target": "pkg_library_resources_helper_go_component" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L33", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "resources_helper_parseresourcesfromcomponent", + "target": "pkg_library_resources_helper_go_resourcerequirements" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L65", + "weight": 1.0, + "source": "resources_helper_test_testparseresourcesfromcomponent", + "target": "resources_helper_parseresourcesfromcomponent" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L35", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L88", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "overrides_containers_test_testapplycontaineroverrides", - "target": "overrides_containers_test_loadallcontainertestcasesorpanic" + "source": "resources_helper_addresourcerequirements", + "target": "pkg_library_resources_helper_go_resourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L34", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L223", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "resources_helper_applycaps", + "target": "pkg_library_resources_helper_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L162", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "resources_helper_applydefaults", + "target": "pkg_library_resources_helper_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L111", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_containers_test_testapplycontaineroverrides", - "target": "pkg_library_overrides_containers_test_go_t" + "source": "resources_helper_applyresourcerequirementstocomponent", + "target": "pkg_library_resources_helper_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L136", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "resources_helper_filterresources", + "target": "pkg_library_resources_helper_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L257", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "resources_helper_handlecapsedgecase", + "target": "pkg_library_resources_helper_go_resourcerequirements" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L297", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "resources_helper_validateresources", + "target": "pkg_library_resources_helper_go_resourcerequirements" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L114", + "weight": 1.0, + "source": "resources_helper_test_testaddresourcerequirements", + "target": "resources_helper_addresourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L162", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L111", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_containers_test_loadallcontainertestcasesorpanic", - "target": "pkg_library_overrides_containers_test_go_t" + "source": "resources_helper_applyresourcerequirementstocomponent", + "target": "pkg_library_resources_helper_go_containercomponent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L178", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L161", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "overrides_containers_test_loadcontainertestcaseorpanic", - "target": "pkg_library_overrides_containers_test_go_t" + "source": "resources_helper_test_testapplyresourcerequirementstocomponent", + "target": "resources_helper_applyresourcerequirementstocomponent" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L116", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L226", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "overrides_containers_test_testapplycontaineroverridesstripsunknownfields", - "target": "pkg_library_overrides_containers_test_go_t" + "source": "resources_helper_test_testfilterresources", + "target": "resources_helper_filterresources" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L53", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/restore/restore.go", + "source_location": "L107", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "overrides_containers_test_testrestrictcontaineroverride", - "target": "pkg_library_overrides_containers_test_go_t" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "resources_helper_filterresources" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L162", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L296", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "overrides_containers_test_loadallcontainertestcasesorpanic", - "target": "overrides_containertestcase" + "source": "resources_helper_test_testapplydefaults", + "target": "resources_helper_applydefaults" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L178", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L251", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "overrides_containers_test_loadcontainertestcaseorpanic", - "target": "overrides_containertestcase" + "source": "resources_helper_applycaps", + "target": "resources_helper_handlecapsedgecase" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L147", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L371", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "overrides_containertestcase", - "target": "containertestinput" + "source": "resources_helper_test_testapplycaps", + "target": "resources_helper_applycaps" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L148", + "source_file": "pkg/library/resources/helper.go", + "source_location": "L257", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_containertestcase", - "target": "containertestoutput" + "source": "resources_helper_handlecapsedgecase", + "target": "resourcename" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L401", + "weight": 1.0, + "source": "resources_helper_test_testvalidate", + "target": "resources_helper_validateresources" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/restore/restore.go", + "source_location": "L108", + "weight": 1.0, + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "resources_helper_validateresources" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L153", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L434", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "overrides_containertestinput", - "target": "pkg_library_overrides_containers_test_go_component" + "source": "resources_helper_test", + "target": "resources_helper_test_getcontainercomponent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L154", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L413", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "overrides_containertestinput", - "target": "pkg_library_overrides_containers_test_go_container" + "source": "resources_helper_test", + "target": "resources_helper_test_getresourcerequirements" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L158", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L85", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "overrides_containertestoutput", - "target": "pkg_library_overrides_containers_test_go_container" + "source": "resources_helper_test", + "target": "resources_helper_test_testaddresourcerequirements" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/containers_test.go", - "source_location": "L172", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L307", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_containers_test_loadallcontainertestcasesorpanic", - "target": "overrides_containers_test_loadcontainertestcaseorpanic" + "source": "resources_helper_test", + "target": "resources_helper_test_testapplycaps" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L45", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L238", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods", - "target": "overrides_pods_applypodoverrides" + "source": "resources_helper_test", + "target": "resources_helper_test_testapplydefaults" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L106", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L126", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods", - "target": "overrides_pods_getpodoverrides" + "source": "resources_helper_test", + "target": "resources_helper_test_testapplyresourcerequirementstocomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L79", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L167", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods", - "target": "overrides_pods_getvolumesfromoverrides" + "source": "resources_helper_test", + "target": "resources_helper_test_testfilterresources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L33", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods", - "target": "overrides_pods_needspodoverrides" + "source": "resources_helper_test", + "target": "resources_helper_test_testparseresourcesfromcomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L138", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L377", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods", - "target": "overrides_pods_restrictpodoverride" + "source": "resources_helper_test", + "target": "resources_helper_test_testvalidate" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L33", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L26", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_needspodoverrides", - "target": "pkg_library_overrides_pods_go_devworkspacewithconfig" + "source": "resources_helper_test_testparseresourcesfromcomponent", + "target": "pkg_library_resources_helper_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L172", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L35", "weight": 1.0, - "source": "overrides_pods_test_testneedspodoverride", - "target": "overrides_pods_needspodoverrides" + "confidence_score": 1.0, + "source": "resources_helper_test_testparseresourcesfromcomponent", + "target": "resources_helper_test_getcontainercomponent" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L220", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L36", "weight": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "overrides_pods_needspodoverrides" + "confidence_score": 1.0, + "source": "resources_helper_test_testparseresourcesfromcomponent", + "target": "resources_helper_test_getresourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L45", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L85", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_applypodoverrides", - "target": "pkg_library_overrides_pods_go_devworkspacewithconfig" + "source": "resources_helper_test_testaddresourcerequirements", + "target": "pkg_library_resources_helper_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L46", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L307", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_applypodoverrides", - "target": "overrides_pods_getpodoverrides" + "source": "resources_helper_test_testapplycaps", + "target": "pkg_library_resources_helper_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L45", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L238", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_applypodoverrides", - "target": "pkg_library_overrides_pods_go_deployment" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L46", - "weight": 1.0, - "source": "overrides_pods_applypodoverrides", - "target": "restrictions_restrictions_getrestrictedpodfields" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L45", - "weight": 1.0, - "source": "overrides_pods_test_testapplypodoverrides", - "target": "overrides_pods_applypodoverrides" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L244", - "weight": 1.0, - "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", - "target": "overrides_pods_applypodoverrides" + "source": "resources_helper_test_testapplydefaults", + "target": "pkg_library_resources_helper_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L221", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L126", "weight": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "overrides_pods_applypodoverrides" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "resources_helper_test_testapplyresourcerequirementstocomponent", + "target": "pkg_library_resources_helper_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L82", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L167", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_getvolumesfromoverrides", - "target": "overrides_pods_getpodoverrides" + "source": "resources_helper_test_testfilterresources", + "target": "pkg_library_resources_helper_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L79", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L377", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_getvolumesfromoverrides", - "target": "pkg_library_overrides_pods_go_devworkspacetemplatespec" + "source": "resources_helper_test_testvalidate", + "target": "pkg_library_resources_helper_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L376", - "weight": 1.0, - "source": "storage_shared_rewritecontainervolumemounts", - "target": "overrides_pods_getvolumesfromoverrides" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L106", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L94", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_getpodoverrides", - "target": "pkg_library_overrides_pods_go_devworkspacetemplatespec" + "source": "resources_helper_test_testaddresourcerequirements", + "target": "resources_helper_test_getresourcerequirements" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L106", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L135", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "overrides_pods_getpodoverrides", - "target": "json" + "source": "resources_helper_test_testapplyresourcerequirementstocomponent", + "target": "resources_helper_test_getcontainercomponent" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L116", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L136", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods_getpodoverrides", - "target": "overrides_pods_restrictpodoverride" + "source": "resources_helper_test_testapplyresourcerequirementstocomponent", + "target": "resources_helper_test_getresourcerequirements" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L138", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L175", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_restrictpodoverride", - "target": "pkg_library_overrides_pods_go_podspec" + "source": "resources_helper_test_testfilterresources", + "target": "resources_helper_test_getresourcerequirements" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods.go", - "source_location": "L146", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L248", "weight": 1.0, - "source": "overrides_pods_restrictpodoverride", - "target": "restrictions_pod_restrictions_restrictpod" + "confidence_score": 1.0, + "source": "resources_helper_test_testapplydefaults", + "target": "resources_helper_test_getresourcerequirements" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L205", + "confidence": "EXTRACTED", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L317", "weight": 1.0, - "source": "overrides_pods_test_testrestrictpodoverride", - "target": "overrides_pods_restrictpodoverride" + "confidence_score": 1.0, + "source": "resources_helper_test_testapplycaps", + "target": "resources_helper_test_getresourcerequirements" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L271", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L385", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_pods_test_loadallpodtestcasesorpanic" + "source": "resources_helper_test_testvalidate", + "target": "resources_helper_test_getresourcerequirements" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L287", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L413", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_pods_test_loadpodtestcaseorpanic" + "source": "resources_helper_test_getresourcerequirements", + "target": "pkg_library_resources_helper_test_go_resourcerequirements" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L36", + "source_file": "pkg/library/resources/helper_test.go", + "source_location": "L434", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_pods_test_testapplypodoverrides" + "source": "resources_helper_test_getcontainercomponent", + "target": "pkg_library_resources_helper_test_go_containercomponent" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L217", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L42", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_pods_test_testapplypodoverridesstripsunknownfields" + "source": "restore_restore", + "target": "restore_options" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L60", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_pods_test_testneedspodoverride" + "source": "restore_restore", + "target": "restore_restore_getworkspacerestoreinitcontainer" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L178", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L146", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_pods_test_testrestrictpodoverride" + "source": "restore_restore", + "target": "restore_restore_hascontainercomponents" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L254", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_podtestcase" + "source": "restore_restore", + "target": "restore_restore_isworkspacerestorerequested" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L261", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L46", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_podtestinput" + "source": "restore_options", + "target": "pkg_library_restore_restore_go_envvar" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L266", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L44", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "overrides_pods_test", - "target": "overrides_podtestoutput" + "source": "restore_options", + "target": "pkg_library_restore_restore_go_pullpolicy" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L37", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L45", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "overrides_pods_test_testapplypodoverrides", - "target": "overrides_pods_test_loadallpodtestcasesorpanic" + "source": "restore_options", + "target": "pkg_library_restore_restore_go_resourcerequirements" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L36", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_testapplypodoverrides", - "target": "pkg_library_overrides_pods_test_go_t" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "restore_options" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L271", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_loadallpodtestcasesorpanic", - "target": "pkg_library_overrides_pods_test_go_t" + "source": "restore_restore_isworkspacerestorerequested", + "target": "pkg_library_restore_restore_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L287", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L146", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_loadpodtestcaseorpanic", - "target": "pkg_library_overrides_pods_test_go_t" + "source": "restore_restore_hascontainercomponents", + "target": "pkg_library_restore_restore_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L217", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_testapplypodoverridesstripsunknownfields", - "target": "pkg_library_overrides_pods_test_go_t" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L60", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "overrides_pods_test_testneedspodoverride", - "target": "pkg_library_overrides_pods_test_go_t" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_container" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L178", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_testrestrictpodoverride", - "target": "pkg_library_overrides_pods_test_go_t" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L271", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_loadallpodtestcasesorpanic", - "target": "overrides_podtestcase" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L287", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_loadpodtestcaseorpanic", - "target": "overrides_podtestcase" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L256", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_podtestcase", - "target": "podtestinput" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_scheme" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L257", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L59", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "overrides_podtestcase", - "target": "podtestoutput" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "pkg_library_restore_restore_go_secret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L262", + "source_file": "pkg/library/restore/restore.go", + "source_location": "L94", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "overrides_podtestinput", - "target": "pkg_library_overrides_pods_test_go_devworkspacetemplatespec" + "source": "restore_restore_getworkspacerestoreinitcontainer", + "target": "restore_restore_hascontainercomponents" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L263", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L42", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "overrides_podtestinput", - "target": "podtemplatespec" + "source": "ssh_event", + "target": "ssh_event_addsshagentpoststartevent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L267", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L75", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "overrides_podtestoutput", - "target": "podtemplatespec" + "source": "ssh_event", + "target": "ssh_event_needssshpoststartevent" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/pods_test.go", - "source_location": "L281", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L42", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "overrides_pods_test_loadallpodtestcasesorpanic", - "target": "overrides_pods_test_loadpodtestcaseorpanic" + "source": "ssh_event_addsshagentpoststartevent", + "target": "pkg_library_ssh_event_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L311", + "source_file": "pkg/library/ssh/event.go", + "source_location": "L75", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkcapabilities" + "source": "ssh_event_needssshpoststartevent", + "target": "pkg_library_ssh_event_go_clusterapi" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L175", + "source_file": "pkg/library/status/check.go", + "source_location": "L237", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkconfigmapref" + "source": "status_check", + "target": "status_check_checkcontainerstatusforfailure" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L50", + "source_file": "pkg/library/status/check.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkcontainer" + "source": "status_check", + "target": "status_check_checkdeploymentconditions" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L259", + "source_file": "pkg/library/status/check.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkcontainersecuritycontext" + "source": "status_check", + "target": "status_check_checkdeploymentstatus" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L150", + "source_file": "pkg/library/status/check.go", + "source_location": "L268", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkenvfrom" + "source": "status_check", + "target": "status_check_checkforignoredworkspacepodevents" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L134", + "source_file": "pkg/library/status/check.go", + "source_location": "L281", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkenvsfrom" + "source": "status_check", + "target": "status_check_checkifunrecoverableeventignored" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L187", + "source_file": "pkg/library/status/check.go", + "source_location": "L141", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checksecretref" + "source": "status_check", + "target": "status_check_checkpodevents" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L248", + "source_file": "pkg/library/status/check.go", + "source_location": "L114", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkvolumedevice" + "source": "status_check", + "target": "status_check_checkpodsstate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L234", + "source_file": "pkg/library/status/check.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkvolumedevices" + "source": "status_check", + "target": "status_check_checkrollingupdatedeploymentstatus" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L213", + "source_file": "pkg/library/status/check.go", + "source_location": "L185", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkvolumemount" + "source": "status_check", + "target": "status_check_getconcisepoststartfailuremessage" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L199", + "source_file": "pkg/library/status/check.go", + "source_location": "L302", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_checkvolumemounts" + "source": "status_check", + "target": "status_check_geteventcount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L23", + "source_file": "pkg/library/status/check.go", + "source_location": "L181", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_getcontainerrestrictionerr" + "source": "status_check", + "target": "status_check_isservingcertmountfailure", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L27", + "source_file": "pkg/library/status/check.go", + "source_location": "L75", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions", - "target": "restrictions_container_restrictions_restrictcontainer" + "source": "status_check_checkdeploymentstatus", + "target": "pkg_library_status_check_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L27", + "source_file": "pkg/library/status/check.go", + "source_location": "L75", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_restrictcontainer", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_container" + "source": "status_check_checkdeploymentstatus", + "target": "pkg_library_status_check_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L42", + "source_file": "pkg/library/status/check.go", + "source_location": "L77", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_restrictcontainer", - "target": "restrictions_container_restrictions_checkcontainer" + "source": "status_check_checkdeploymentstatus", + "target": "status_check_checkrollingupdatedeploymentstatus" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L1139", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L74", "weight": 1.0, - "source": "restrictions_container_restrictions_test_testrestrictcontainer", - "target": "restrictions_container_restrictions_restrictcontainer" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "status_check_checkdeploymentstatus" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L57", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L98", "weight": 1.0, - "source": "restrictions_pod_restrictions_restrictpodandcontainers", - "target": "restrictions_container_restrictions_restrictcontainer" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "status_check_checkdeploymentconditions", + "target": "pkg_library_status_check_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L50", + "source_file": "pkg/library/status/check.go", + "source_location": "L82", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_container" + "source": "status_check_checkrollingupdatedeploymentstatus", + "target": "pkg_library_status_check_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L50", + "source_file": "pkg/library/status/check.go", + "source_location": "L268", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkforignoredworkspacepodevents", + "target": "pkg_library_status_check_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L128", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L76", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "restrictions_container_restrictions_checkcontainersecuritycontext" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "status_check_checkdeploymentconditions" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L120", + "source_file": "pkg/library/status/check.go", + "source_location": "L271", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "restrictions_container_restrictions_checkenvsfrom" + "source": "status_check_checkforignoredworkspacepodevents", + "target": "status_check_checkpodsstate" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L114", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "status_check_checkpodsstate", + "target": "matchinglabels" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L114", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "status_check_checkpodsstate", + "target": "pkg_library_status_check_go_clusterapi" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L126", + "source_file": "pkg/library/status/check.go", + "source_location": "L123", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "restrictions_container_restrictions_checkvolumedevices" + "source": "status_check_checkpodsstate", + "target": "status_check_checkcontainerstatusforfailure" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L124", + "source_file": "pkg/library/status/check.go", + "source_location": "L134", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "restrictions_container_restrictions_checkvolumemounts" + "source": "status_check_checkpodsstate", + "target": "status_check_checkpodevents" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L122", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L89", "weight": 1.0, - "source": "restrictions_container_restrictions_checkcontainer", - "target": "restrictions_restrictions_checkresources" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "status_check_checkpodsstate" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L83", + "weight": 1.0, + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "status_check_checkpodsstate" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L311", + "source_file": "pkg/library/status/check.go", + "source_location": "L268", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcapabilities", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkforignoredworkspacepodevents", + "target": "pkg_library_status_check_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L175", + "source_file": "pkg/library/status/check.go", + "source_location": "L141", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkconfigmapref", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkpodevents", + "target": "pkg_library_status_check_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L259", + "source_file": "pkg/library/status/check.go", + "source_location": "L141", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainersecuritycontext", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkpodevents", + "target": "pkg_library_status_check_go_pod" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L150", + "source_file": "pkg/library/status/check.go", + "source_location": "L164", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvfrom", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkpodevents", + "target": "status_check_checkifunrecoverableeventignored" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L134", + "source_file": "pkg/library/status/check.go", + "source_location": "L168", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvsfrom", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkpodevents", + "target": "status_check_getconcisepoststartfailuremessage" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L164", + "weight": 1.0, + "confidence_score": 1.0, + "source": "status_check_checkpodevents", + "target": "status_check_geteventcount" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L157", + "weight": 1.0, + "source": "status_check_checkpodevents", + "target": "status_check_isservingcertmountfailure", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/status/check_test.go", + "source_location": "L202", + "weight": 1.0, + "source": "status_check_test_testcheckpodevents", + "target": "status_check_checkpodevents" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L187", + "source_file": "pkg/library/status/check.go", + "source_location": "L181", "weight": 1.0, "context": "parameter_type", + "source": "status_check_isservingcertmountfailure", + "target": "pkg_library_status_check_go_pod", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L241", + "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checksecretref", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkcontainerstatusforfailure", + "target": "status_check_getconcisepoststartfailuremessage" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/status/check_test.go", + "source_location": "L115", + "weight": 1.0, + "source": "status_check_test_testgetconcisepoststartfailuremessage", + "target": "status_check_getconcisepoststartfailuremessage" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L248", + "source_file": "pkg/library/status/check.go", + "source_location": "L237", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumedevice", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_checkcontainerstatusforfailure", + "target": "containerstatus" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/library/status/check.go", + "source_location": "L242", + "weight": 1.0, + "confidence_score": 1.0, + "source": "status_check_checkcontainerstatusforfailure", + "target": "status_check_checkifunrecoverableeventignored" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L234", + "source_file": "pkg/library/status/check.go", + "source_location": "L302", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumedevices", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_geteventcount", + "target": "event" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L213", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L31", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumemount", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_test", + "target": "status_check_test_testcheckpodevents", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L199", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L20", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumemounts", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_fieldrestriction" + "source": "status_check_test", + "target": "status_check_test_testgetconcisepoststartfailuremessage" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L134", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L31", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvsfrom", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_envfromsource" + "source": "status_check_test_testcheckpodevents", + "target": "pkg_library_status_check_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L142", + "source_file": "pkg/library/status/check_test.go", + "source_location": "L20", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvsfrom", - "target": "restrictions_container_restrictions_checkenvfrom" + "source": "status_check_test_testgetconcisepoststartfailuremessage", + "target": "pkg_library_status_check_test_go_t" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L150", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvfrom", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_envfromsource" + "source": "storage_storage", + "target": "storage_storage_getworkspacepvcinfo" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L167", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvfrom", - "target": "restrictions_container_restrictions_checkconfigmapref" + "source": "storage_storage_getworkspacepvcinfo", + "target": "pkg_library_storage_storage_go_client" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L169", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkenvfrom", - "target": "restrictions_container_restrictions_checksecretref" + "source": "storage_storage_getworkspacepvcinfo", + "target": "pkg_library_storage_storage_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L175", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkconfigmapref", - "target": "configmapenvsource" + "source": "storage_storage_getworkspacepvcinfo", + "target": "pkg_library_storage_storage_go_devworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L187", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checksecretref", - "target": "secretenvsource" + "source": "storage_storage_getworkspacepvcinfo", + "target": "pkg_library_storage_storage_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L199", + "source_file": "pkg/library/storage/storage.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumemounts", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_volumemount" + "source": "storage_storage_getworkspacepvcinfo", + "target": "pkg_library_storage_storage_go_operatorconfiguration" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/library/storage/storage.go", + "source_location": "L48", + "weight": 1.0, + "source": "storage_storage_getworkspacepvcinfo", + "target": "storage_provisioner_getprovisioner" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L205", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L406", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumemounts", - "target": "restrictions_container_restrictions_checkvolumemount" + "source": "automount_common", + "target": "automount_common_canmountwithoutrestart" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L213", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L322", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumemount", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_volumemount" + "source": "automount_common", + "target": "automount_common_checkautomountvolumeforpotentialerror" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L240", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L128", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumedevices", - "target": "restrictions_container_restrictions_checkvolumedevice" + "source": "automount_common", + "target": "automount_common_checkautomountvolumesforcollision" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L234", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L377", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumedevices", - "target": "volumedevice" + "source": "automount_common", + "target": "automount_common_dropitemsfieldfromvolumes" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L248", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L425", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkvolumedevice", - "target": "volumedevice" + "source": "automount_common", + "target": "automount_common_existsindeployment" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L259", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L296", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainersecuritycontext", - "target": "pkg_library_overrides_restrictions_container_restrictions_go_securitycontext" + "source": "automount_common", + "target": "automount_common_filtergitconfigautomountvolume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L305", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L232", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcontainersecuritycontext", - "target": "restrictions_container_restrictions_checkcapabilities" + "source": "automount_common", + "target": "automount_common_findgitconfigautomount" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions.go", - "source_location": "L311", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L218", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_checkcapabilities", - "target": "capabilities" + "source": "automount_common", + "target": "automount_common_flattenautomountresources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L194", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_container_restrictions_test", - "target": "restrictions_container_restrictions_test_testrestrictcontainer" + "source": "automount_common", + "target": "automount_common_formatvolumedescription" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/container_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L357", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_container_restrictions_test_testrestrictcontainer", - "target": "pkg_library_overrides_restrictions_container_restrictions_test_go_t" + "source": "automount_common", + "target": "automount_common_getaccessmodeforautomount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L352", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L87", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkimagepullsecrets" + "source": "automount_common", + "target": "automount_common_getautomountresources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L74", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L182", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkpodfield" + "source": "automount_common", + "target": "automount_common_getvolumedescriptionfromvolumemount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L242", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L448", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkpodsecuritycontext" + "source": "automount_common", + "target": "automount_common_isenvfromsourceexistsindeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L339", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L399", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkresourceclaim" + "source": "automount_common", + "target": "automount_common_ismountonstart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L325", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L434", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkresourceclaims" + "source": "automount_common", + "target": "automount_common_isvolumemountexistsindeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L305", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L489", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checksupplementalgroups" + "source": "automount_common", + "target": "automount_common_matchesanypattern" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L285", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L474", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checksysctls" + "source": "automount_common", + "target": "automount_common_matchesworkspacetarget" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L228", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L205", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkvolume" + "source": "automount_common", + "target": "automount_common_mergeautomountresources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L214", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_checkvolumes" + "source": "automount_common", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L23", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L393", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_getpodrestrictionerr" + "source": "automount_common", + "target": "automount_common_sortconfigmaps" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L27", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L387", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_restrictpod" + "source": "automount_common", + "target": "automount_common_sortsecrets" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L50", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L40", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_restrictpodandcontainers" + "source": "automount_common", + "target": "automount_resources" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L368", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L406", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions", - "target": "restrictions_pod_restrictions_volumesourcetype" + "source": "automount_common_canmountwithoutrestart", + "target": "automount_resources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L27", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L128", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_restrictpod", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" + "source": "automount_common_checkautomountvolumesforcollision", + "target": "automount_resources" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L42", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L425", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_restrictpod", - "target": "restrictions_pod_restrictions_checkpodfield" + "source": "automount_common_existsindeployment", + "target": "automount_resources" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L51", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L296", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_restrictpodandcontainers", - "target": "restrictions_pod_restrictions_restrictpod" + "source": "automount_common_filtergitconfigautomountvolume", + "target": "automount_resources" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1428", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L218", "weight": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "restrictions_pod_restrictions_restrictpod" + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_common_flattenautomountresources", + "target": "automount_resources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L74", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L87", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" + "source": "automount_common_getautomountresources", + "target": "automount_resources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L50", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L448", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_restrictpodandcontainers", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podspec" + "source": "automount_common_isenvfromsourceexistsindeployment", + "target": "automount_resources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L74", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L434", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_isvolumemountexistsindeployment", + "target": "automount_resources" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L202", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L205", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "restrictions_pod_restrictions_checkimagepullsecrets" + "source": "automount_common_mergeautomountresources", + "target": "automount_resources" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L200", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L43", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "restrictions_pod_restrictions_checkpodsecuritycontext" + "source": "automount_resources", + "target": "pkg_provision_automount_common_go_envfromsource" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L206", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L41", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "restrictions_pod_restrictions_checkresourceclaims" + "source": "automount_resources", + "target": "pkg_provision_automount_common_go_volume" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L198", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L42", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "restrictions_pod_restrictions_checkvolumes" + "source": "automount_resources", + "target": "pkg_provision_automount_common_go_volumemount" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L204", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L377", "weight": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "restrictions_restrictions_checkresourcelist" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_dropitemsfieldfromvolumes", + "target": "pkg_provision_automount_common_go_volume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L208", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L194", "weight": 1.0, - "source": "restrictions_pod_restrictions_checkpodfield", - "target": "restrictions_restrictions_checkresources" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_formatvolumedescription", + "target": "pkg_provision_automount_common_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L352", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L182", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkimagepullsecrets", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_getvolumedescriptionfromvolumemount", + "target": "pkg_provision_automount_common_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L242", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L182", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodsecuritycontext", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_getvolumedescriptionfromvolumemount", + "target": "pkg_provision_automount_common_go_volumemount" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L59", + "weight": 1.0, + "source": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", + "target": "automount_common_provisionautomountresourcesinto" + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L339", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L60", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkresourceclaim", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_provisionautomountresourcesinto", + "target": "automount_common_checkautomountvolumesforcollision" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L325", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L54", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkresourceclaims", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_provisionautomountresourcesinto", + "target": "automount_common_getautomountresources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L305", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checksupplementalgroups", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_provisionautomountresourcesinto", + "target": "pkg_provision_automount_common_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L285", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checksysctls", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_provisionautomountresourcesinto", + "target": "pkg_provision_automount_common_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L228", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L46", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkvolume", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_provisionautomountresourcesinto", + "target": "pkg_provision_automount_common_go_podadditions" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L214", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L571", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkvolumes", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_fieldrestriction" + "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L214", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L607", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkvolumes", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" + "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L220", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L636", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkvolumes", - "target": "restrictions_pod_restrictions_checkvolume" + "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L228", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L702", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkvolume", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" + "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L368", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L506", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_volumesourcetype", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_volume" + "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L233", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L535", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkvolume", - "target": "restrictions_pod_restrictions_volumesourcetype" + "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L242", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L672", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodsecuritycontext", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_podsecuritycontext" + "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L261", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L470", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodsecuritycontext", - "target": "restrictions_pod_restrictions_checksupplementalgroups" + "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L267", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L132", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkpodsecuritycontext", - "target": "restrictions_pod_restrictions_checksysctls" + "source": "automount_common_test_testprovisionautomountresourcesinto", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L285", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L553", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checksysctls", - "target": "sysctl" + "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", + "target": "automount_common_provisionautomountresourcesinto" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L325", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L654", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkresourceclaims", - "target": "podresourceclaim" + "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L331", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L452", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkresourceclaims", - "target": "restrictions_pod_restrictions_checkresourceclaim" + "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", + "target": "automount_common_provisionautomountresourcesinto" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L339", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L128", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkresourceclaim", - "target": "podresourceclaim" + "source": "automount_common_checkautomountvolumesforcollision", + "target": "pkg_provision_automount_common_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions.go", - "source_location": "L352", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L232", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_checkimagepullsecrets", - "target": "pkg_library_overrides_restrictions_pod_restrictions_go_localobjectreference" + "source": "automount_common_findgitconfigautomount", + "target": "pkg_provision_automount_common_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1448", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L87", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test", - "target": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr" + "source": "automount_common_getautomountresources", + "target": "pkg_provision_automount_common_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1440", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L406", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test", - "target": "restrictions_pod_restrictions_test_preemptionpolicyptr" + "source": "automount_common_canmountwithoutrestart", + "target": "pkg_provision_automount_common_go_deployment" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1452", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L425", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test", - "target": "restrictions_pod_restrictions_test_selinuxchangepolicyptr" + "source": "automount_common_existsindeployment", + "target": "pkg_provision_automount_common_go_deployment" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1444", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L87", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test", - "target": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr" + "source": "automount_common_getautomountresources", + "target": "pkg_provision_automount_common_go_deployment" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L448", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test", - "target": "restrictions_pod_restrictions_test_testrestrictpod" + "source": "automount_common_isenvfromsourceexistsindeployment", + "target": "pkg_provision_automount_common_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L434", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "pkg_library_overrides_restrictions_pod_restrictions_test_go_t" + "source": "automount_common_isvolumemountexistsindeployment", + "target": "pkg_provision_automount_common_go_deployment" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1097", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L118", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr" + "source": "automount_common_getautomountresources", + "target": "automount_common_dropitemsfieldfromvolumes" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L577", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L109", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "restrictions_pod_restrictions_test_preemptionpolicyptr" + "source": "automount_common_getautomountresources", + "target": "automount_common_filtergitconfigautomountvolume" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1152", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L113", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "restrictions_pod_restrictions_test_selinuxchangepolicyptr" + "source": "automount_common_getautomountresources", + "target": "automount_common_mergeautomountresources" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1016", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L98", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_testrestrictpod", - "target": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr" + "source": "automount_common_getautomountresources", + "target": "automount_configmap_getdevworkspaceconfigmaps" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1440", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L93", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_preemptionpolicyptr", - "target": "preemptionpolicy" + "source": "automount_common_getautomountresources", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1444", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L114", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_supplementalgroupspolicyptr", - "target": "supplementalgroupspolicy" + "source": "automount_common_getautomountresources", + "target": "automount_projected_mergeprojectedvolumes" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1448", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common.go", + "source_location": "L120", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_fsgroupchangepolicyptr", - "target": "podfsgroupchangepolicy" + "source": "automount_common_getautomountresources", + "target": "automount_pvcs_getautomountpvcs" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/pod_restrictions_test.go", - "source_location": "L1452", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L138", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "restrictions_pod_restrictions_test_selinuxchangepolicyptr", - "target": "podselinuxchangepolicy" + "source": "automount_common_checkautomountvolumesforcollision", + "target": "automount_common_formatvolumedescription" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L24", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L159", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_restrictions", - "target": "restrictions_fieldrestriction" + "source": "automount_common_checkautomountvolumesforcollision", + "target": "automount_common_getvolumedescriptionfromvolumemount" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L171", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L370", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_restrictions", - "target": "restrictions_restrictions_checkcontainerresourceclaims" + "source": "automount_common_test_testcheckautomountvolumesforcollision", + "target": "automount_common_checkautomountvolumesforcollision" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L155", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L185", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_restrictions", - "target": "restrictions_restrictions_checkresourcelist" + "source": "automount_common_getvolumedescriptionfromvolumemount", + "target": "automount_common_formatvolumedescription" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L119", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L174", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_restrictions", - "target": "restrictions_restrictions_checkresources" + "source": "automount_projected_checkcanuseprojectedvolumes", + "target": "automount_common_formatvolumedescription" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L103", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L82", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_restrictions", - "target": "restrictions_restrictions_getrestrictedcontainerfields" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_common_flattenautomountresources" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L111", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L72", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_restrictions", - "target": "restrictions_restrictions_getrestrictedpodfields" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_common_flattenautomountresources" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L133", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_fieldrestriction", - "target": "restrictions_fieldrestriction_checkany" + "source": "automount_pvcs_getautomountpvcs", + "target": "automount_common_flattenautomountresources" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L54", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L249", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_fieldrestriction", - "target": "restrictions_fieldrestriction_checkbool" + "source": "automount_common_findgitconfigautomount", + "target": "automount_common_matchesworkspacetarget" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L68", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L43", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_fieldrestriction", - "target": "restrictions_fieldrestriction_checkint32" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_common_findgitconfigautomount" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L82", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L322", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_fieldrestriction", - "target": "restrictions_fieldrestriction_checkint64" + "source": "automount_common_checkautomountvolumeforpotentialerror", + "target": "pkg_provision_automount_common_go_object" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L95", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L75", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_fieldrestriction", - "target": "restrictions_fieldrestriction_checkrestrictedvalue" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_common_checkautomountvolumeforpotentialerror" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L39", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L406", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_fieldrestriction", - "target": "restrictions_fieldrestriction_checkstring" + "source": "automount_common_canmountwithoutrestart", + "target": "pkg_provision_automount_common_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L171", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L357", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkcontainerresourceclaims", - "target": "restrictions_fieldrestriction" + "source": "automount_common_getaccessmodeforautomount", + "target": "pkg_provision_automount_common_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L155", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L399", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresourcelist", - "target": "restrictions_fieldrestriction" + "source": "automount_common_ismountonstart", + "target": "pkg_provision_automount_common_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L119", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L474", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresources", - "target": "restrictions_fieldrestriction" + "source": "automount_common_matchesworkspacetarget", + "target": "pkg_provision_automount_common_go_object" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L162", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L61", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresourcelist", - "target": "restrictions_fieldrestriction_checkany" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_common_getaccessmodeforautomount" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L130", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L387", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresources", - "target": "restrictions_fieldrestriction_checkany" + "source": "automount_common_sortsecrets", + "target": "pkg_provision_automount_common_go_secret" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L51", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L111", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_fieldrestriction_checkstring", - "target": "restrictions_fieldrestriction_checkrestrictedvalue" + "source": "automount_gitconfig_getgitresources", + "target": "automount_common_sortsecrets" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L179", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L393", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkcontainerresourceclaims", - "target": "restrictions_fieldrestriction_checkstring" + "source": "automount_common_sortconfigmaps", + "target": "pkg_provision_automount_common_go_configmap" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L65", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_fieldrestriction_checkbool", - "target": "restrictions_fieldrestriction_checkrestrictedvalue" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_common_sortconfigmaps" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L79", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L139", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_fieldrestriction_checkint32", - "target": "restrictions_fieldrestriction_checkrestrictedvalue" + "source": "automount_gitconfig_getgitresources", + "target": "automount_common_sortconfigmaps" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L92", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L417", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_fieldrestriction_checkint64", - "target": "restrictions_fieldrestriction_checkrestrictedvalue" + "source": "automount_common_canmountwithoutrestart", + "target": "automount_common_ismountonstart" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L103", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L230", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_restrictions_getrestrictedcontainerfields", - "target": "pkg_library_overrides_restrictions_restrictions_go_devworkspacewithconfig" + "source": "automount_gitconfig_allitemsmountonstart", + "target": "automount_common_ismountonstart" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L422", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_getrestrictedpodfields", - "target": "pkg_library_overrides_restrictions_restrictions_go_devworkspacewithconfig" + "source": "automount_common_canmountwithoutrestart", + "target": "automount_common_existsindeployment" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L87", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L70", "weight": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "restrictions_restrictions_getrestrictedpodfields" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_common_canmountwithoutrestart" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L79", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L125", "weight": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "restrictions_restrictions_getrestrictedpodfields" + "source": "automount_pvcs_getautomountpvcs", + "target": "automount_common_canmountwithoutrestart" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L119", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L427", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresources", - "target": "pkg_library_overrides_restrictions_restrictions_go_resourcerequirements" + "source": "automount_common_existsindeployment", + "target": "automount_common_isenvfromsourceexistsindeployment" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L150", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L426", "weight": 1.0, "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresources", - "target": "restrictions_restrictions_checkcontainerresourceclaims" + "source": "automount_common_existsindeployment", + "target": "automount_common_isvolumemountexistsindeployment" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L146", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L214", "weight": 1.0, - "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresources", - "target": "restrictions_restrictions_checkresourcelist" + "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", + "target": "automount_common_isvolumemountexistsindeployment" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L155", + "source_file": "pkg/provision/automount/common.go", + "source_location": "L483", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restrictions_restrictions_checkresourcelist", - "target": "pkg_library_overrides_restrictions_restrictions_go_resourcelist" + "source": "automount_common_matchesworkspacetarget", + "target": "automount_common_matchesanypattern" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/overrides/restrictions/restrictions.go", - "source_location": "L171", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L1051", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restrictions_restrictions_checkcontainerresourceclaims", - "target": "resourceclaim" + "source": "automount_common_test_testmatchesworkspacetarget", + "target": "automount_common_matchesworkspacetarget" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L154", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L51", "weight": 1.0, - "confidence_score": 1.0, - "source": "projects_clone", - "target": "projects_clone_getclonepath" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_common_matchesworkspacetarget" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L101", "weight": 1.0, - "confidence_score": 1.0, - "source": "projects_clone", - "target": "projects_clone_getprojectcloneinitcontainer" + "source": "automount_gitconfig_getgitresources", + "target": "automount_common_matchesworkspacetarget" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L135", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L89", "weight": 1.0, - "confidence_score": 1.0, - "source": "projects_clone", - "target": "projects_clone_getstarterproject" + "source": "automount_pvcs_getautomountpvcs", + "target": "automount_common_matchesworkspacetarget" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L161", + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "projects_clone", - "target": "projects_clone_hascontainercomponents" + "source": "automount_common_persistenthome_test", + "target": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/common_persistenthome_test.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone", - "target": "projects_clone_validateallprojects" + "source": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", + "target": "pkg_provision_automount_common_persistenthome_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L708", "weight": 1.0, "confidence_score": 1.0, - "source": "projects_clone", - "target": "projects_options" + "source": "automount_common_test", + "target": "automount_common_test_emptydeployment" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L381", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "projects_options" + "source": "automount_common_test", + "target": "automount_common_test_loadalltestcasesorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L41", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L397", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "projects_options", - "target": "pkg_library_projects_clone_go_envvar" + "source": "automount_common_test", + "target": "automount_common_test_loadtestcaseorpanic" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L39", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L782", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "projects_options", - "target": "pkg_library_projects_clone_go_pullpolicy" + "source": "automount_common_test", + "target": "automount_common_test_mountonstartconfigmapasenv" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L40", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L761", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "projects_options", - "target": "pkg_library_projects_clone_go_resourcerequirements" + "source": "automount_common_test", + "target": "automount_common_test_mountonstartconfigmapasfile" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L802", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone_validateallprojects", - "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" + "source": "automount_common_test", + "target": "automount_common_test_mountonstartpvc" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L54", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L741", "weight": 1.0, "confidence_score": 1.0, - "source": "projects_clone_validateallprojects", - "target": "projects_clone_getclonepath" + "source": "automount_common_test", + "target": "automount_common_test_mountonstartsecretasenv" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L64", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L720", "weight": 1.0, "confidence_score": 1.0, - "source": "projects_clone_validateallprojects", - "target": "projects_clone_getstarterproject" + "source": "automount_common_test", + "target": "automount_common_test_mountonstartsecretasfile" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L168", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" + "source": "automount_common_test", + "target": "automount_common_test_testcheckautomountvolumesforcollision" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L135", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L818", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone_getstarterproject", - "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" + "source": "automount_common_test", + "target": "automount_common_test_testmatchesworkspacetarget" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L161", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L559", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone_hascontainercomponents", - "target": "pkg_library_projects_clone_go_devworkspacetemplatespec" + "source": "automount_common_test", + "target": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L578", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "pkg_library_projects_clone_go_container" + "source": "automount_common_test", + "target": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L88", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L613", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "pkg_library_projects_clone_go_proxy" + "source": "automount_common_test", + "target": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L679", "weight": 1.0, "confidence_score": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "projects_clone_getstarterproject" + "source": "automount_common_test", + "target": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L99", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L477", "weight": 1.0, "confidence_score": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "projects_clone_hascontainercomponents" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/projects/clone.go", - "source_location": "L115", - "weight": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "resources_helper_filterresources" + "source": "automount_common_test", + "target": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/projects/clone.go", - "source_location": "L116", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L512", "weight": 1.0, - "source": "projects_clone_getprojectcloneinitcontainer", - "target": "resources_helper_validateresources" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L71", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L660", "weight": 1.0, - "source": "project_clone_main_main", - "target": "projects_clone_getstarterproject" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L135", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L458", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "projects_clone_getstarterproject", - "target": "pkg_library_projects_clone_go_starterproject" + "source": "automount_common_test", + "target": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L50", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L113", "weight": 1.0, - "source": "bootstrap_util_getdevfilefromproject", - "target": "projects_clone_getclonepath" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_common_test_testprovisionautomountresourcesinto" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L126", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L541", "weight": 1.0, - "source": "git_setup_copyprojectfromtmpdir", - "target": "projects_clone_getclonepath" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L49", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L642", "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "projects_clone_getclonepath" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L112", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L440", "weight": 1.0, - "source": "git_setup_setupremotesforexistingproject", - "target": "projects_clone_getclonepath" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/utils.go", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", "source_location": "L41", "weight": 1.0, - "source": "internal_utils_checkprojectstate", - "target": "projects_clone_getclonepath" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_mountedvolumetype" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/utils.go", - "source_location": "L109", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L54", "weight": 1.0, - "source": "internal_utils_checksubpathprojectstate", - "target": "projects_clone_getclonepath" + "confidence_score": 1.0, + "source": "automount_common_test", + "target": "automount_testcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/projects/clone.go", - "source_location": "L154", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L381", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "projects_clone_getclonepath", - "target": "pkg_library_projects_clone_go_project" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L44", - "weight": 1.0, - "source": "zip_setup_setupzipproject", - "target": "projects_clone_getclonepath" + "source": "automount_common_test_loadalltestcasesorpanic", + "target": "automount_testcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L88", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L397", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_addresourcerequirements" + "source": "automount_common_test_loadtestcaseorpanic", + "target": "automount_testcase" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L223", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_applycaps" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L162", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L64", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_applydefaults" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_envfromsource" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_applyresourcerequirementstocomponent" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_object" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L136", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_filterresources" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_persistentvolumeclaim" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L257", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L56", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_handlecapsedgecase" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_secret" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L64", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_parseresourcesfromcomponent" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_volume" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L297", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L64", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "resources_helper", - "target": "resources_helper_validateresources" + "source": "automount_testcase", + "target": "pkg_provision_automount_common_test_go_volumemount" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L741", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_parseresourcesfromcomponent", - "target": "pkg_library_resources_helper_go_component" + "source": "automount_common_test_mountonstartsecretasenv", + "target": "pkg_provision_automount_common_test_go_secret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L720", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_parseresourcesfromcomponent", - "target": "pkg_library_resources_helper_go_resourcerequirements" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L65", - "weight": 1.0, - "source": "resources_helper_test_testparseresourcesfromcomponent", - "target": "resources_helper_parseresourcesfromcomponent" + "source": "automount_common_test_mountonstartsecretasfile", + "target": "pkg_provision_automount_common_test_go_secret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L88", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L782", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_addresourcerequirements", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_mountonstartconfigmapasenv", + "target": "pkg_provision_automount_common_test_go_configmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L223", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L761", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_applycaps", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_mountonstartconfigmapasfile", + "target": "pkg_provision_automount_common_test_go_configmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L162", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L802", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_applydefaults", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_mountonstartpvc", + "target": "pkg_provision_automount_common_test_go_persistentvolumeclaim" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L114", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_applyresourcerequirementstocomponent", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_testprovisionautomountresourcesinto", + "target": "automount_common_test_loadalltestcasesorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L136", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L113", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_filterresources", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_testprovisionautomountresourcesinto", + "target": "pkg_provision_automount_common_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L257", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L381", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_handlecapsedgecase", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_loadalltestcasesorpanic", + "target": "pkg_provision_automount_common_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L297", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L397", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_validateresources", - "target": "pkg_library_resources_helper_go_resourcerequirements" + "source": "automount_common_test_loadtestcaseorpanic", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L114", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L168", "weight": 1.0, - "source": "resources_helper_test_testaddresourcerequirements", - "target": "resources_helper_addresourcerequirements" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testcheckautomountvolumesforcollision", + "target": "pkg_provision_automount_common_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L818", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_applyresourcerequirementstocomponent", - "target": "pkg_library_resources_helper_go_containercomponent" + "source": "automount_common_test_testmatchesworkspacetarget", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L161", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L559", "weight": 1.0, - "source": "resources_helper_test_testapplyresourcerequirementstocomponent", - "target": "resources_helper_applyresourcerequirementstocomponent" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L226", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L578", "weight": 1.0, - "source": "resources_helper_test_testfilterresources", - "target": "resources_helper_filterresources" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/restore/restore.go", - "source_location": "L107", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L613", "weight": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "resources_helper_filterresources" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L296", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L679", "weight": 1.0, - "source": "resources_helper_test_testapplydefaults", - "target": "resources_helper_applydefaults" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L251", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L477", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_applycaps", - "target": "resources_helper_handlecapsedgecase" + "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L371", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L512", "weight": 1.0, - "source": "resources_helper_test_testapplycaps", - "target": "resources_helper_applycaps" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", + "target": "pkg_provision_automount_common_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper.go", - "source_location": "L257", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L660", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_handlecapsedgecase", - "target": "resourcename" + "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L401", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L458", "weight": 1.0, - "source": "resources_helper_test_testvalidate", - "target": "resources_helper_validateresources" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/restore/restore.go", - "source_location": "L108", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L541", "weight": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "resources_helper_validateresources" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L434", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L642", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_getcontainercomponent" + "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L413", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L440", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", + "target": "pkg_provision_automount_common_test_go_t" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L85", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L391", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testaddresourcerequirements" + "source": "automount_common_test_loadalltestcasesorpanic", + "target": "automount_common_test_loadtestcaseorpanic" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L307", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L452", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testapplycaps" + "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", + "target": "automount_common_test_emptydeployment" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L238", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L442", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testapplydefaults" + "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", + "target": "automount_common_test_mountonstartsecretasfile" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L126", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L460", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testapplyresourcerequirementstocomponent" + "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", + "target": "automount_common_test_mountonstartsecretasfile" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L167", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L479", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testfilterresources" + "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", + "target": "automount_common_test_mountonstartsecretasenv" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L514", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testparseresourcesfromcomponent" + "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", + "target": "automount_common_test_mountonstartsecretasfile" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L377", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L553", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test", - "target": "resources_helper_test_testvalidate" + "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", + "target": "automount_common_test_emptydeployment" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L26", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L543", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testparseresourcesfromcomponent", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", + "target": "automount_common_test_mountonstartconfigmapasfile" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L35", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L561", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test_testparseresourcesfromcomponent", - "target": "resources_helper_test_getcontainercomponent" + "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", + "target": "automount_common_test_mountonstartconfigmapasfile" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L36", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L580", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test_testparseresourcesfromcomponent", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", + "target": "automount_common_test_mountonstartconfigmapasenv" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L85", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L615", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testaddresourcerequirements", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", + "target": "automount_common_test_mountonstartconfigmapasfile" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L307", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L654", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testapplycaps", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", + "target": "automount_common_test_emptydeployment" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L238", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L644", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testapplydefaults", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", + "target": "automount_common_test_mountonstartpvc" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L126", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L662", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testapplyresourcerequirementstocomponent", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", + "target": "automount_common_test_mountonstartpvc" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L167", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L681", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testfilterresources", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", + "target": "automount_common_test_mountonstartpvc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L377", + "source_file": "pkg/provision/automount/common_test.go", + "source_location": "L708", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_test_testvalidate", - "target": "pkg_library_resources_helper_test_go_t" + "source": "automount_common_test_emptydeployment", + "target": "pkg_provision_automount_common_test_go_deployment" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L94", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L340", "weight": 1.0, - "confidence_score": 1.0, - "source": "resources_helper_test_testaddresourcerequirements", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "automount_common_test_emptydeployment" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L135", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L367", "weight": 1.0, - "confidence_score": 1.0, - "source": "resources_helper_test_testapplyresourcerequirementstocomponent", - "target": "resources_helper_test_getcontainercomponent" + "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", + "target": "automount_common_test_emptydeployment" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L243", + "weight": 1.0, + "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", + "target": "automount_common_test_emptydeployment" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L136", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L89", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test_testapplyresourcerequirementstocomponent", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_configmap", + "target": "automount_configmap_getautomountconfigmap" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L175", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test_testfilterresources", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_configmap", + "target": "automount_configmap_getdevworkspaceconfigmaps" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L248", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L69", "weight": 1.0, "confidence_score": 1.0, - "source": "resources_helper_test_testapplydefaults", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "automount_configmap_getautomountconfigmap" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L317", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testapplycaps", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "pkg_provision_automount_configmap_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L385", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "resources_helper_test_testvalidate", - "target": "resources_helper_test_getresourcerequirements" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "pkg_provision_automount_configmap_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L413", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L33", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_test_getresourcerequirements", - "target": "pkg_library_resources_helper_test_go_resourcerequirements" + "source": "automount_configmap_getdevworkspaceconfigmaps", + "target": "pkg_provision_automount_configmap_go_resources" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/resources/helper_test.go", - "source_location": "L434", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L89", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "resources_helper_test_getcontainercomponent", - "target": "pkg_library_resources_helper_test_go_containercomponent" + "source": "automount_configmap_getautomountconfigmap", + "target": "pkg_provision_automount_configmap_go_resources" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/configmap.go", + "source_location": "L89", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_configmap_getautomountconfigmap", + "target": "pkg_provision_automount_configmap_go_configmap" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L74", + "weight": 1.0, + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_configmap_getautomountconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L42", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L221", "weight": 1.0, "confidence_score": 1.0, - "source": "restore_restore", - "target": "restore_options" + "source": "automount_gitconfig", + "target": "automount_gitconfig_allitemsmountonstart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L195", "weight": 1.0, "confidence_score": 1.0, - "source": "restore_restore", - "target": "restore_restore_getworkspacerestoreinitcontainer" + "source": "automount_gitconfig", + "target": "automount_gitconfig_cangitconfigsmountwithoutrestart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L146", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L190", "weight": 1.0, "confidence_score": 1.0, - "source": "restore_restore", - "target": "restore_restore_hascontainercomponents" + "source": "automount_gitconfig", + "target": "automount_gitconfig_cangitcredentialsmountwithoutrestart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L49", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L200", "weight": 1.0, "confidence_score": 1.0, - "source": "restore_restore", - "target": "restore_restore_isworkspacerestorerequested" + "source": "automount_gitconfig", + "target": "automount_gitconfig_cangitobjectsmountwithoutrestart" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L150", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "restore_options", - "target": "pkg_library_restore_restore_go_envvar" + "source": "automount_gitconfig", + "target": "automount_gitconfig_cleanupgitconfig" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L44", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "restore_options", - "target": "pkg_library_restore_restore_go_pullpolicy" + "source": "automount_gitconfig", + "target": "automount_gitconfig_getgitresources" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "restore_options", - "target": "pkg_library_restore_restore_go_resourcerequirements" + "source": "automount_gitconfig", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L50", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "restore_options" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_gitconfig_cleanupgitconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L49", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L38", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "restore_restore_isworkspacerestorerequested", - "target": "pkg_library_restore_restore_go_devworkspacetemplatespec" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_gitconfig_getgitresources" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L59", + "weight": 1.0, + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_templates_constructgitconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L54", + "weight": 1.0, + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "automount_templates_mergegitcredentials" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L146", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restore_restore_hascontainercomponents", - "target": "pkg_library_restore_restore_go_devworkspacetemplatespec" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "pkg_provision_automount_gitconfig_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_client" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "pkg_provision_automount_gitconfig_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L32", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_container" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "pkg_provision_automount_gitconfig_go_resources" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L64", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_context" + "source": "automount_gitconfig_provisiongitconfiguration", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L777", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L751", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L726", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L700", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L881", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L855", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L830", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L804", + "weight": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", + "target": "automount_gitconfig_provisiongitconfiguration" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L107", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_devworkspacewithconfig" + "source": "automount_gitconfig_test_testgitconfigisfullymounted", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L457", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_logger" + "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L391", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_scheme" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L428", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "pkg_library_restore_restore_go_secret" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_provisiongitconfiguration" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/library/restore/restore.go", - "source_location": "L94", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L568", "weight": 1.0, - "confidence_score": 1.0, - "source": "restore_restore_getworkspacerestoreinitcontainer", - "target": "restore_restore_hascontainercomponents" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L42", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L486", "weight": 1.0, - "confidence_score": 1.0, - "source": "ssh_event", - "target": "ssh_event_addsshagentpoststartevent" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L75", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L340", "weight": 1.0, - "confidence_score": 1.0, - "source": "ssh_event", - "target": "ssh_event_needssshpoststartevent" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L42", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L268", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "ssh_event_addsshagentpoststartevent", - "target": "pkg_library_ssh_event_go_devworkspacetemplatespec" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/library/ssh/event.go", - "source_location": "L75", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L308", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "ssh_event_needssshpoststartevent", - "target": "pkg_library_ssh_event_go_clusterapi" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L237", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L671", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkcontainerstatusforfailure" + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L98", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L596", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkdeploymentconditions" + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L75", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L367", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkdeploymentstatus" + "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L268", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L243", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkforignoredworkspacepodevents" + "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L281", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L542", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkifunrecoverableeventignored" + "source": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L141", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L516", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkpodevents" + "source": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L114", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L647", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkpodsstate" + "source": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L82", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L623", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_checkrollingupdatedeploymentstatus" + "source": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L185", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L61", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_getconcisepoststartfailuremessage" + "source": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", + "target": "automount_gitconfig_provisiongitconfiguration" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L302", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L87", "weight": 1.0, - "confidence_score": 1.0, - "source": "status_check", - "target": "status_check_geteventcount" + "source": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", + "target": "automount_gitconfig_provisiongitconfiguration" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L75", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L150", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkdeploymentstatus", - "target": "pkg_library_status_check_go_deployment" + "source": "automount_gitconfig_cleanupgitconfig", + "target": "pkg_provision_automount_gitconfig_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L75", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkdeploymentstatus", - "target": "pkg_library_status_check_go_devworkspacewithconfig" + "source": "automount_gitconfig_getgitresources", + "target": "pkg_provision_automount_gitconfig_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L77", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L195", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkdeploymentstatus", - "target": "status_check_checkrollingupdatedeploymentstatus" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L74", - "weight": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "status_check_checkdeploymentstatus" + "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", + "target": "pkg_provision_automount_gitconfig_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L98", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L190", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkdeploymentconditions", - "target": "pkg_library_status_check_go_deployment" + "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", + "target": "pkg_provision_automount_gitconfig_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L82", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L200", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkrollingupdatedeploymentstatus", - "target": "pkg_library_status_check_go_deployment" + "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", + "target": "pkg_provision_automount_gitconfig_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L268", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkforignoredworkspacepodevents", - "target": "pkg_library_status_check_go_devworkspacewithconfig" + "source": "automount_gitconfig_getgitresources", + "target": "pkg_provision_automount_gitconfig_go_deployment" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L76", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L138", "weight": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "status_check_checkdeploymentconditions" + "confidence_score": 1.0, + "source": "automount_gitconfig_getgitresources", + "target": "automount_gitconfig_cangitconfigsmountwithoutrestart" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L271", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L110", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkforignoredworkspacepodevents", - "target": "status_check_checkpodsstate" + "source": "automount_gitconfig_getgitresources", + "target": "automount_gitconfig_cangitcredentialsmountwithoutrestart" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L114", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "status_check_checkpodsstate", - "target": "matchinglabels" + "source": "automount_gitconfig_getgitresources", + "target": "pkg_provision_automount_gitconfig_go_configmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L114", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L80", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_getgitresources", + "target": "pkg_provision_automount_gitconfig_go_secret" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L190", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkpodsstate", - "target": "pkg_library_status_check_go_clusterapi" + "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", + "target": "pkg_provision_automount_gitconfig_go_secret" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L123", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L195", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkpodsstate", - "target": "status_check_checkcontainerstatusforfailure" + "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", + "target": "pkg_provision_automount_gitconfig_go_configmap" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L134", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L192", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkpodsstate", - "target": "status_check_checkpodevents" + "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", + "target": "automount_gitconfig_cangitobjectsmountwithoutrestart" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L89", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L197", "weight": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "status_check_checkpodsstate" + "confidence_score": 1.0, + "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", + "target": "automount_gitconfig_cangitobjectsmountwithoutrestart" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L83", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L207", "weight": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "status_check_checkpodsstate" + "confidence_score": 1.0, + "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", + "target": "automount_gitconfig_allitemsmountonstart" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L268", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L200", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkforignoredworkspacepodevents", - "target": "pkg_library_status_check_go_clusterapi" + "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", + "target": "pkg_provision_automount_gitconfig_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L141", + "source_file": "pkg/provision/automount/gitconfig.go", + "source_location": "L221", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkpodevents", - "target": "pkg_library_status_check_go_clusterapi" + "source": "automount_gitconfig_allitemsmountonstart", + "target": "pkg_provision_automount_gitconfig_go_t" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L141", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L958", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkpodevents", - "target": "pkg_library_status_check_go_pod" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_assertgitconfigcontains" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L164", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L988", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkpodevents", - "target": "status_check_checkifunrecoverableeventignored" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L168", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1004", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkpodevents", - "target": "status_check_getconcisepoststartfailuremessage" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L164", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L973", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkpodevents", - "target": "status_check_geteventcount" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_assertgitcredentialssecret" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L241", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L892", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkcontainerstatusforfailure", - "target": "status_check_getconcisepoststartfailuremessage" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_buildautomountgitconfigmap" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/status/check_test.go", - "source_location": "L115", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L901", "weight": 1.0, - "source": "status_check_test_testgetconcisepoststartfailuremessage", - "target": "status_check_getconcisepoststartfailuremessage" + "confidence_score": 1.0, + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_buildautomountgitsecret" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L237", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L910", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_checkcontainerstatusforfailure", - "target": "containerstatus" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_buildconfig" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L242", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L950", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_checkcontainerstatusforfailure", - "target": "status_check_checkifunrecoverableeventignored" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check.go", - "source_location": "L302", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L926", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_geteventcount", - "target": "event" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_buildsecret" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check_test.go", - "source_location": "L20", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L942", "weight": 1.0, "confidence_score": 1.0, - "source": "status_check_test", - "target": "status_check_test_testgetconcisepoststartfailuremessage" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/status/check_test.go", - "source_location": "L20", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L761", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "status_check_test_testgetconcisepoststartfailuremessage", - "target": "pkg_library_status_check_test_go_t" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L736", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_storage", - "target": "storage_storage_getworkspacepvcinfo" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L711", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "pkg_library_storage_storage_go_client" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L684", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "pkg_library_storage_storage_go_context" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L865", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "pkg_library_storage_storage_go_devworkspace" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L840", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "pkg_library_storage_storage_go_logger" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/library/storage/storage.go", - "source_location": "L37", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L815", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "pkg_library_storage_storage_go_operatorconfiguration" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/library/storage/storage.go", - "source_location": "L48", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L788", "weight": 1.0, - "source": "storage_storage_getworkspacepvcinfo", - "target": "storage_provisioner_getprovisioner" + "confidence_score": 1.0, + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L406", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L97", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_canmountwithoutrestart" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testgitconfigisfullymounted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L322", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L440", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_checkautomountvolumeforpotentialerror" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L128", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L376", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_checkautomountvolumesforcollision" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L377", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L403", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_dropitemsfieldfromvolumes" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L425", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L552", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_existsindeployment" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L296", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L470", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_filtergitconfigautomountvolume" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L232", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L321", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_findgitconfigautomount" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L218", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L252", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_flattenautomountresources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L194", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L281", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_formatvolumedescription" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L357", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L657", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_getaccessmodeforautomount" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L87", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L582", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_getautomountresources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L182", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L130", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_getvolumedescriptionfromvolumemount" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L448", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L168", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_isenvfromsourceexistsindeployment" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L399", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L153", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_ismountonstart" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L434", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L143", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_isvolumemountexistsindeployment" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L489", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L117", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_matchesanypattern" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testoneconfigmapwithnousermountpath" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L474", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L353", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_matchesworkspacetarget" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L205", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L227", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_mergeautomountresources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L526", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_provisionautomountresourcesinto" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L393", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L500", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_sortconfigmaps" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L387", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L633", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_common_sortsecrets" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L40", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L609", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common", - "target": "automount_resources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L406", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L213", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_canmountwithoutrestart", - "target": "automount_resources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L128", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L180", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_checkautomountvolumesforcollision", - "target": "automount_resources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L425", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L194", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_existsindeployment", - "target": "automount_resources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L296", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L46", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_filtergitconfigautomountvolume", - "target": "automount_resources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L218", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L71", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_flattenautomountresources", - "target": "automount_resources" + "source": "automount_gitconfig_test", + "target": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L87", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L48", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_resources" + "source": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", + "target": "automount_gitconfig_test_buildsecret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L448", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L46", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_isenvfromsourceexistsindeployment", - "target": "automount_resources" + "source": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L434", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L958", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_isvolumemountexistsindeployment", - "target": "automount_resources" + "source": "automount_gitconfig_test_assertgitconfigcontains", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L205", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L988", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_mergeautomountresources", - "target": "automount_resources" + "source": "automount_gitconfig_test_assertgitcredentialsconfigmap", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L43", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1004", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_resources", - "target": "pkg_provision_automount_common_go_envfromsource" + "source": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L41", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L973", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_resources", - "target": "pkg_provision_automount_common_go_volume" + "source": "automount_gitconfig_test_assertgitcredentialssecret", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L42", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L761", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_resources", - "target": "pkg_provision_automount_common_go_volumemount" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L377", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L736", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_dropitemsfieldfromvolumes", - "target": "pkg_provision_automount_common_go_volume" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L194", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L711", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_formatvolumedescription", - "target": "pkg_provision_automount_common_go_volume" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L182", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L684", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getvolumedescriptionfromvolumemount", - "target": "pkg_provision_automount_common_go_volume" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L182", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L865", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getvolumedescriptionfromvolumemount", - "target": "pkg_provision_automount_common_go_volumemount" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L59", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L840", "weight": 1.0, - "source": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L60", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L815", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_provisionautomountresourcesinto", - "target": "automount_common_checkautomountvolumesforcollision" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L54", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L788", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_provisionautomountresourcesinto", - "target": "automount_common_getautomountresources" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L97", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_provisionautomountresourcesinto", - "target": "pkg_provision_automount_common_go_clusterapi" + "source": "automount_gitconfig_test_testgitconfigisfullymounted", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L440", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_provisionautomountresourcesinto", - "target": "pkg_provision_automount_common_go_deployment" + "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L46", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L376", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_provisionautomountresourcesinto", - "target": "pkg_provision_automount_common_go_podadditions" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L571", - "weight": 1.0, - "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", - "target": "automount_common_provisionautomountresourcesinto" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L607", - "weight": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", - "target": "automount_common_provisionautomountresourcesinto" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L636", - "weight": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", - "target": "automount_common_provisionautomountresourcesinto" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L702", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L403", "weight": 1.0, - "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L506", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L552", "weight": 1.0, - "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L535", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L470", "weight": 1.0, - "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L672", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L321", "weight": 1.0, - "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L470", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L252", "weight": 1.0, - "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L132", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L281", "weight": 1.0, - "source": "automount_common_test_testprovisionautomountresourcesinto", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L553", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L657", "weight": 1.0, - "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L654", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L582", "weight": 1.0, - "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L452", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L130", "weight": 1.0, - "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", - "target": "automount_common_provisionautomountresourcesinto" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L128", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L168", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_checkautomountvolumesforcollision", - "target": "pkg_provision_automount_common_go_podadditions" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L232", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L153", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_findgitconfigautomount", - "target": "pkg_provision_automount_common_go_clusterapi" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L87", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L143", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getautomountresources", - "target": "pkg_provision_automount_common_go_clusterapi" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L406", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L117", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_canmountwithoutrestart", - "target": "pkg_provision_automount_common_go_deployment" + "source": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L425", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L353", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_existsindeployment", - "target": "pkg_provision_automount_common_go_deployment" + "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L87", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L227", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getautomountresources", - "target": "pkg_provision_automount_common_go_deployment" + "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L448", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L526", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_isenvfromsourceexistsindeployment", - "target": "pkg_provision_automount_common_go_deployment" + "source": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L434", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L500", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_isvolumemountexistsindeployment", - "target": "pkg_provision_automount_common_go_deployment" + "source": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L118", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L633", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_common_dropitemsfieldfromvolumes" + "source": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L109", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L609", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_common_filtergitconfigautomountvolume" + "source": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L113", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L213", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_common_mergeautomountresources" + "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L98", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L180", "weight": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_configmap_getdevworkspaceconfigmaps" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L93", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L194", "weight": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L114", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L71", "weight": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_projected_mergeprojectedvolumes" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", + "target": "pkg_provision_automount_gitconfig_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common.go", - "source_location": "L120", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L73", "weight": 1.0, - "source": "automount_common_getautomountresources", - "target": "automount_pvcs_getautomountpvcs" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", + "target": "automount_gitconfig_test_buildsecret" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L138", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_checkautomountvolumesforcollision", - "target": "automount_common_formatvolumedescription" + "source": "automount_gitconfig_test_testgitconfigisfullymounted", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L159", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L120", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_checkautomountvolumesforcollision", - "target": "automount_common_getvolumedescriptionfromvolumemount" + "source": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L370", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L123", "weight": 1.0, - "source": "automount_common_test_testcheckautomountvolumesforcollision", - "target": "automount_common_checkautomountvolumesforcollision" + "source": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", + "target": "automount_templates_constructgitconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L185", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L133", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_getvolumedescriptionfromvolumemount", - "target": "automount_common_formatvolumedescription" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L174", - "weight": 1.0, - "source": "automount_projected_checkcanuseprojectedvolumes", - "target": "automount_common_formatvolumedescription" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L82", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L136", "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_common_flattenautomountresources" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", + "target": "automount_templates_constructgitconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L72", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L146", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_common_flattenautomountresources" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L133", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L149", "weight": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "automount_common_flattenautomountresources" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", + "target": "automount_templates_constructgitconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L249", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L156", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_findgitconfigautomount", - "target": "automount_common_matchesworkspacetarget" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L43", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L161", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_common_findgitconfigautomount" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", + "target": "automount_templates_constructgitconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L322", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L171", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_checkautomountvolumeforpotentialerror", - "target": "pkg_provision_automount_common_go_object" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L75", - "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_common_checkautomountvolumeforpotentialerror" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L406", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_common_canmountwithoutrestart", - "target": "pkg_provision_automount_common_go_object" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L357", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_common_getaccessmodeforautomount", - "target": "pkg_provision_automount_common_go_object" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L399", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L176", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_common_ismountonstart", - "target": "pkg_provision_automount_common_go_object" + "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", + "target": "automount_templates_constructgitconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L474", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L182", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_matchesworkspacetarget", - "target": "pkg_provision_automount_common_go_object" + "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L61", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L186", "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_common_getaccessmodeforautomount" + "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", + "target": "automount_templates_constructgitconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L387", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L196", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_sortsecrets", - "target": "pkg_provision_automount_common_go_secret" + "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L111", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L205", "weight": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "automount_common_sortsecrets" + "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", + "target": "automount_templates_constructgitconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L393", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L215", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_sortconfigmaps", - "target": "pkg_provision_automount_common_go_configmap" + "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L45", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L223", "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_common_sortconfigmaps" + "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", + "target": "automount_templates_constructgitconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L139", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L229", "weight": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "automount_common_sortconfigmaps" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L417", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L277", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_canmountwithoutrestart", - "target": "automount_common_ismountonstart" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L230", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L276", "weight": 1.0, - "source": "automount_gitconfig_allitemsmountonstart", - "target": "automount_common_ismountonstart" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_test_assertgitcredentialssecret" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L422", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L255", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_canmountwithoutrestart", - "target": "automount_common_existsindeployment" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L70", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L317", "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_common_canmountwithoutrestart" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L125", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L316", "weight": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "automount_common_canmountwithoutrestart" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_test_assertgitcredentialssecret" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L427", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L283", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_existsindeployment", - "target": "automount_common_isenvfromsourceexistsindeployment" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L426", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L349", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_existsindeployment", - "target": "automount_common_isvolumemountexistsindeployment" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L214", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L348", "weight": 1.0, - "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", - "target": "automount_common_isvolumemountexistsindeployment" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "automount_gitconfig_test_assertgitcredentialssecret" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common.go", - "source_location": "L483", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L328", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_matchesworkspacetarget", - "target": "automount_common_matchesanypattern" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "automount_gitconfig_test_buildsecret" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L1051", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L323", "weight": 1.0, - "source": "automount_common_test_testmatchesworkspacetarget", - "target": "automount_common_matchesworkspacetarget" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L51", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L355", "weight": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_common_matchesworkspacetarget" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L101", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L399", "weight": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "automount_common_matchesworkspacetarget" + "confidence_score": 1.0, + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L89", - "weight": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "automount_common_matchesworkspacetarget" - }, - { - "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L379", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_persistenthome_test", - "target": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_persistenthome_test.go", - "source_location": "L31", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L436", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_persistenthome_test_testprovisionautomountresourcesintopersistenthomeenabled", - "target": "pkg_provision_automount_common_persistenthome_test_go_t" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L708", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L405", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_emptydeployment" + "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L381", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L465", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_loadalltestcasesorpanic" + "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L397", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L442", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_loadtestcaseorpanic" + "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L782", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L496", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_mountonstartconfigmapasenv" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L761", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L495", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_mountonstartconfigmapasfile" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", + "target": "automount_gitconfig_test_assertgitcredentialssecret" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L802", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L472", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_mountonstartpvc" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L741", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L502", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_mountonstartsecretasenv" + "source": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L720", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L528", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_mountonstartsecretasfile" + "source": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L168", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L578", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testcheckautomountvolumesforcollision" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L818", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L577", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmatchesworkspacetarget" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", + "target": "automount_gitconfig_test_assertgitcredentialssecret" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L559", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L554", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted" + "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L578", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L605", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment" + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L613", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L584", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment" + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L679", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L611", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment" + "source": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L477", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L635", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment" + "source": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L512", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L680", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment" + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", + "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L660", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L659", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted" + "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L458", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L707", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", + "target": "automount_gitconfig_test_assertgitconfigcontains" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L113", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L686", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testprovisionautomountresourcesinto" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", + "target": "automount_gitconfig_test_buildautomountgitconfigmap" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L541", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L712", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", + "target": "automount_gitconfig_test_buildautomountgitconfigmap" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L642", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L737", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", + "target": "automount_gitconfig_test_buildautomountgitconfigmap" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L440", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L784", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", + "target": "automount_gitconfig_test_assertgitconfigcontains" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L41", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L763", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_mountedvolumetype" + "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", + "target": "automount_gitconfig_test_buildautomountgitconfigmap" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L54", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L811", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test", - "target": "automount_testcase" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", + "target": "automount_gitconfig_test_assertgitconfigcontains" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L381", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L790", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_loadalltestcasesorpanic", - "target": "automount_testcase" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", + "target": "automount_gitconfig_test_buildautomountgitsecret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L397", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L816", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_loadtestcaseorpanic", - "target": "automount_testcase" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", + "target": "automount_gitconfig_test_buildautomountgitsecret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L841", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_configmap" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", + "target": "automount_gitconfig_test_buildautomountgitsecret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L64", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L888", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_envfromsource" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", + "target": "automount_gitconfig_test_assertgitconfigcontains" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L867", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_object" + "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", + "target": "automount_gitconfig_test_buildautomountgitsecret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L894", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_persistentvolumeclaim" + "source": "automount_gitconfig_test_buildautomountgitconfigmap", + "target": "automount_gitconfig_test_buildconfigwithannotations" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L56", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L892", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_secret" + "source": "automount_gitconfig_test_buildautomountgitconfigmap", + "target": "pkg_provision_automount_gitconfig_test_go_configmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L64", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L910", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_volume" + "source": "automount_gitconfig_test_buildconfig", + "target": "pkg_provision_automount_gitconfig_test_go_configmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L64", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L950", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_testcase", - "target": "pkg_provision_automount_common_test_go_volumemount" + "source": "automount_gitconfig_test_buildconfigwithannotations", + "target": "pkg_provision_automount_gitconfig_test_go_configmap" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L741", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L903", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_mountonstartsecretasenv", - "target": "pkg_provision_automount_common_test_go_secret" + "source": "automount_gitconfig_test_buildautomountgitsecret", + "target": "automount_gitconfig_test_buildsecretwithannotations" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L720", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L901", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_mountonstartsecretasfile", - "target": "pkg_provision_automount_common_test_go_secret" + "source": "automount_gitconfig_test_buildautomountgitsecret", + "target": "pkg_provision_automount_gitconfig_test_go_secret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L782", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L926", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_mountonstartconfigmapasenv", - "target": "pkg_provision_automount_common_test_go_configmap" + "source": "automount_gitconfig_test_buildsecret", + "target": "pkg_provision_automount_gitconfig_test_go_secret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L761", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L942", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_mountonstartconfigmapasfile", - "target": "pkg_provision_automount_common_test_go_configmap" + "source": "automount_gitconfig_test_buildsecretwithannotations", + "target": "pkg_provision_automount_gitconfig_test_go_secret" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L802", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L951", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_mountonstartpvc", - "target": "pkg_provision_automount_common_test_go_persistentvolumeclaim" + "source": "automount_gitconfig_test_buildconfigwithannotations", + "target": "automount_gitconfig_test_buildconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L114", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L943", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testprovisionautomountresourcesinto", - "target": "automount_common_test_loadalltestcasesorpanic" + "source": "automount_gitconfig_test_buildsecretwithannotations", + "target": "automount_gitconfig_test_buildsecret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L113", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L958", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testprovisionautomountresourcesinto", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_gitconfig_test_assertgitconfigcontains", + "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L381", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L988", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_loadalltestcasesorpanic", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_gitconfig_test_assertgitcredentialsconfigmap", + "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L397", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L1004", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_loadtestcaseorpanic", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", + "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L168", + "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_location": "L973", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testcheckautomountvolumesforcollision", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_gitconfig_test_assertgitcredentialssecret", + "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L818", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L158", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmatchesworkspacetarget", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected", + "target": "automount_projected_checkcanuseprojectedvolumes" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L559", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L92", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected", + "target": "automount_projected_generateprojectedvolume" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L578", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected", + "target": "automount_projected_mergeprojectedvolumes" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L613", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L76", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_mergeprojectedvolumes", + "target": "automount_projected_generateprojectedvolume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L679", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_mergeprojectedvolumes", + "target": "pkg_provision_automount_projected_go_resources" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L224", + "weight": 1.0, + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_mergeprojectedvolumes" + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L477", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L104", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_generateprojectedvolume", + "target": "automount_projected_checkcanuseprojectedvolumes" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L512", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L92", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_generateprojectedvolume", + "target": "pkg_provision_automount_projected_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L660", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L92", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_generateprojectedvolume", + "target": "pkg_provision_automount_projected_go_volumemount" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L458", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L158", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_checkcanuseprojectedvolumes", + "target": "pkg_provision_automount_projected_go_volumemount" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L541", + "source_file": "pkg/provision/automount/projected.go", + "source_location": "L158", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_checkcanuseprojectedvolumes", + "target": "pkg_provision_automount_projected_go_volume" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L642", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L253", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_test", + "target": "automount_projected_test_testconfigmapvolume" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L440", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L294", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", - "target": "pkg_provision_automount_common_test_go_t" + "source": "automount_projected_test", + "target": "automount_projected_test_testenvfromsource" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L391", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L54", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_loadalltestcasesorpanic", - "target": "automount_common_test_loadtestcaseorpanic" + "source": "automount_projected_test", + "target": "automount_projected_test_testmergeprojectedvolumes" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L452", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L304", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", - "target": "automount_common_test_emptydeployment" + "source": "automount_projected_test", + "target": "automount_projected_test_testprojectedvolume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L442", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L266", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountsecretwithmountonstartifworkspacestarted", - "target": "automount_common_test_mountonstartsecretasfile" + "source": "automount_projected_test", + "target": "automount_projected_test_testpvcvolume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L460", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L242", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testmountsecretwithmountonstartifworkspacenotstarted", - "target": "automount_common_test_mountonstartsecretasfile" + "source": "automount_projected_test", + "target": "automount_projected_test_testsecretvolume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L479", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L285", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartsecretasenvallowedwhenenvfromexistsindeployment", - "target": "automount_common_test_mountonstartsecretasenv" + "source": "automount_projected_test", + "target": "automount_projected_test_testsubpathvolumemount" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L514", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L277", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartsecretasfileallowedwhenvolumeexistsindeployment", - "target": "automount_common_test_mountonstartsecretasfile" + "source": "automount_projected_test", + "target": "automount_projected_test_testvolumemount" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L553", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L66", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", - "target": "automount_common_test_emptydeployment" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testconfigmapvolume" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L543", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountconfigmapwithmountonstartifworkspacestarted", - "target": "automount_common_test_mountonstartconfigmapasfile" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testenvfromsource" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L561", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L113", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testmountconfigmapwithmountonstartifworkspacenotstarted", - "target": "automount_common_test_mountonstartconfigmapasfile" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testprojectedvolume" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L580", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L67", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasenvallowedwhenenvfromexistsindeployment", - "target": "automount_common_test_mountonstartconfigmapasenv" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testpvcvolume" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L615", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L65", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartconfigmapasfileallowedwhenvolumeexistsindeployment", - "target": "automount_common_test_mountonstartconfigmapasfile" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testsecretvolume" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L654", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L175", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", - "target": "automount_common_test_emptydeployment" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testsubpathvolumemount" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L644", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L70", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_common_test_testshouldnotmountpvcwithmountonstartifworkspacestarted", - "target": "automount_common_test_mountonstartpvc" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "automount_projected_test_testvolumemount" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L662", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L54", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountpvcwithmountonstartifworkspacenotstarted", - "target": "automount_common_test_mountonstartpvc" + "source": "automount_projected_test_testmergeprojectedvolumes", + "target": "pkg_provision_automount_projected_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L681", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L242", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_testmountonstartpvcallowedwhenvolumeexistsindeployment", - "target": "automount_common_test_mountonstartpvc" + "source": "automount_projected_test_testsecretvolume", + "target": "pkg_provision_automount_projected_test_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/common_test.go", - "source_location": "L708", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L253", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_common_test_emptydeployment", - "target": "pkg_provision_automount_common_test_go_deployment" + "source": "automount_projected_test_testconfigmapvolume", + "target": "pkg_provision_automount_projected_test_go_volume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L340", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L304", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "automount_common_test_emptydeployment" + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_projected_test_testprojectedvolume", + "target": "pkg_provision_automount_projected_test_go_volume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L367", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L266", "weight": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", - "target": "automount_common_test_emptydeployment" + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_projected_test_testpvcvolume", + "target": "pkg_provision_automount_projected_test_go_volume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L243", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L277", "weight": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", - "target": "automount_common_test_emptydeployment" + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_projected_test_testvolumemount", + "target": "pkg_provision_automount_projected_test_go_volumemount" }, { - "relation": "contains", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L285", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_projected_test_testsubpathvolumemount", + "target": "pkg_provision_automount_projected_test_go_volumemount" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/projected_test.go", + "source_location": "L294", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_configmap", - "target": "automount_configmap_getautomountconfigmap" + "source": "automount_projected_test_testenvfromsource", + "target": "pkg_provision_automount_projected_test_go_envfromsource" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_configmap", - "target": "automount_configmap_getdevworkspaceconfigmaps" + "source": "automount_pvcs", + "target": "automount_mountpathentry" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L69", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "automount_configmap_getautomountconfigmap" + "source": "automount_pvcs", + "target": "automount_pvcs_getautomountpvcs" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L43", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "pkg_provision_automount_configmap_go_clusterapi" + "source": "automount_pvcs", + "target": "automount_pvcs_parsemountpathannotation" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L43", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "pkg_provision_automount_configmap_go_deployment" + "source": "automount_pvcs_parsemountpathannotation", + "target": "automount_mountpathentry" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L33", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L106", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_configmap_getdevworkspaceconfigmaps", - "target": "pkg_provision_automount_configmap_go_resources" + "source": "automount_pvcs_getautomountpvcs", + "target": "automount_pvcs_parsemountpathannotation" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_configmap_getautomountconfigmap", - "target": "pkg_provision_automount_configmap_go_resources" + "source": "automount_pvcs_getautomountpvcs", + "target": "pkg_provision_automount_pvcs_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/configmap.go", - "source_location": "L89", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_configmap_getautomountconfigmap", - "target": "pkg_provision_automount_configmap_go_configmap" + "source": "automount_pvcs_getautomountpvcs", + "target": "pkg_provision_automount_pvcs_go_deployment" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L74", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/automount/pvcs.go", + "source_location": "L70", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_configmap_getautomountconfigmap" + "context": "return_type", + "confidence_score": 1.0, + "source": "automount_pvcs_getautomountpvcs", + "target": "pkg_provision_automount_pvcs_go_resources" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L221", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_allitemsmountonstart" + "source": "automount_templates", + "target": "automount_templates_constructgitconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L195", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L116", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_cangitconfigsmountwithoutrestart" + "source": "automount_templates", + "target": "automount_templates_mergegitcredentials" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L190", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L60", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_cangitcredentialsmountwithoutrestart" + "source": "automount_templates_constructgitconfig", + "target": "pkg_provision_automount_templates_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L200", + "source_file": "pkg/provision/automount/templates.go", + "source_location": "L116", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_cangitobjectsmountwithoutrestart" + "source": "automount_templates_mergegitcredentials", + "target": "pkg_provision_automount_templates_go_secret" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L150", + "source_file": "pkg/provision/config/config.go", + "source_location": "L84", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_cleanupgitconfig" + "source": "pkg_provision_config_config_go_config_config", + "target": "config_config_getnamespacepodtolerationsandnodeselector" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", + "source_file": "pkg/provision/config/config.go", + "source_location": "L45", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_getgitresources" + "source": "pkg_provision_config_config_go_config_config", + "target": "config_config_readnamespacedconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/provision/config/config.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "pkg_provision_config_config_go_config_config", + "target": "config_namespacedconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L50", + "source_file": "pkg/provision/config/config.go", + "source_location": "L45", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_gitconfig_cleanupgitconfig" + "source": "config_config_readnamespacedconfig", + "target": "config_namespacedconfig" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/config/config.go", + "source_location": "L47", + "weight": 1.0, + "source": "config_config_readnamespacedconfig", + "target": "handler_webhookhandler_parse" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L38", + "source_file": "pkg/provision/config/config.go", + "source_location": "L45", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_gitconfig_getgitresources" + "source": "config_config_readnamespacedconfig", + "target": "pkg_provision_config_config_go_clusterapi" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L59", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L153", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_templates_constructgitconfig" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "config_config_readnamespacedconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L54", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L94", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "automount_templates_mergegitcredentials" + "source": "storage_shared_synccommonpvc", + "target": "config_config_readnamespacedconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/provision/config/config.go", + "source_location": "L84", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "pkg_provision_automount_gitconfig_go_clusterapi" + "source": "config_config_getnamespacepodtolerationsandnodeselector", + "target": "pkg_provision_config_config_go_clusterapi" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", "source_location": "L32", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "pkg_provision_automount_gitconfig_go_deployment" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "config_config_getnamespacepodtolerationsandnodeselector" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L32", + "source_file": "pkg/provision/config/config.go", + "source_location": "L84", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "pkg_provision_automount_gitconfig_go_resources" + "source": "config_config_getnamespacepodtolerationsandnodeselector", + "target": "pkg_provision_config_config_go_toleration" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L64", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L201", "weight": 1.0, - "source": "automount_gitconfig_provisiongitconfiguration", - "target": "sync_sync_syncobjectwithcluster" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "config_config_getnamespacepodtolerationsandnodeselector" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L777", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L52", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "config_config_getnamespacepodtolerationsandnodeselector" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L751", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/envvar.go", + "source_location": "L35", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "metadata_envvar", + "target": "metadata_envvar_getworkspacemetaenvvar" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L726", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/envvar.go", + "source_location": "L35", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "return_type", + "confidence_score": 1.0, + "source": "metadata_envvar_getworkspacemetaenvvar", + "target": "pkg_provision_metadata_envvar_go_envvar" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L700", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L68", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "metadata_envvar_getworkspacemetaenvvar" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L881", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L78", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "pkg_provision_metadata_metadata_go_metadata_metadata", + "target": "metadata_metadata_getspecmetadataconfigmap" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L107", + "weight": 1.0, + "confidence_score": 1.0, + "source": "pkg_provision_metadata_metadata_go_metadata_metadata", + "target": "metadata_metadata_getvolumefromconfigmap" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L122", + "weight": 1.0, + "confidence_score": 1.0, + "source": "pkg_provision_metadata_metadata_go_metadata_metadata", + "target": "metadata_metadata_getvolumemountfromvolume" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", + "weight": 1.0, + "confidence_score": 1.0, + "source": "pkg_provision_metadata_metadata_go_metadata_metadata", + "target": "metadata_metadata_provisionworkspacemetadata" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L855", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L50", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "metadata_metadata_getspecmetadataconfigmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L830", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L62", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "metadata_metadata_getvolumefromconfigmap" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L804", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L64", "weight": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "metadata_metadata_getvolumemountfromvolume" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "pkg_provision_metadata_metadata_go_clusterapi" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "pkg_provision_metadata_metadata_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L49", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "pkg_provision_metadata_metadata_go_podadditions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L58", + "weight": 1.0, + "source": "metadata_metadata_provisionworkspacemetadata", + "target": "sync_sync_syncobjectwithcluster" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L78", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metadata_metadata_getspecmetadataconfigmap", + "target": "pkg_provision_metadata_metadata_go_devworkspacewithconfig" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L78", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "metadata_metadata_getspecmetadataconfigmap", + "target": "pkg_provision_metadata_metadata_go_configmap" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", "source_location": "L107", "weight": 1.0, - "source": "automount_gitconfig_test_testgitconfigisfullymounted", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metadata_metadata_getvolumefromconfigmap", + "target": "pkg_provision_metadata_metadata_go_configmap" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L457", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L107", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "return_type", + "confidence_score": 1.0, + "source": "metadata_metadata_getvolumefromconfigmap", + "target": "pkg_provision_metadata_metadata_go_volume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L391", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L122", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "metadata_metadata_getvolumemountfromvolume", + "target": "pkg_provision_metadata_metadata_go_volume" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L428", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/metadata/metadata.go", + "source_location": "L122", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "return_type", + "confidence_score": 1.0, + "source": "metadata_metadata_getvolumemountfromvolume", + "target": "pkg_provision_metadata_metadata_go_volumemount" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L568", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L309", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorage", + "target": "storage_asyncstorage_checkconfigured" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L486", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L43", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorage", + "target": "storage_asyncstorageprovisioner" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L340", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L253", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner", + "target": "storage_asyncstorageprovisioner_addvolumesforasyncstorage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L268", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L179", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner", + "target": "storage_asyncstorageprovisioner_cleanupworkspacestorage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L308", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L290", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner", + "target": "storage_asyncstorageprovisioner_getasyncworkspacecount" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L671", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L47", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner", + "target": "storage_asyncstorageprovisioner_needsstorage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L596", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "weight": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner", + "target": "storage_asyncstorageprovisioner_provisionstorage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L367", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L47", "weight": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", - "target": "automount_gitconfig_provisiongitconfiguration" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner_needsstorage", + "target": "pkg_provision_storage_asyncstorage_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L243", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L48", "weight": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "storage_asyncstorageprovisioner_needsstorage", + "target": "storage_shared_workspaceneedsstorage" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L542", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L79", "weight": 1.0, - "source": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "confidence_score": 1.0, + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_asyncstorageprovisioner_needsstorage" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L516", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L84", "weight": 1.0, - "source": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "asyncstorage_configuration_getorcreatesshconfig" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L647", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L123", "weight": 1.0, - "source": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L623", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L148", "weight": 1.0, - "source": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "asyncstorage_service_syncworkspacesyncservicetocluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L61", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L172", "weight": 1.0, - "source": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", - "target": "automount_gitconfig_provisiongitconfiguration" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "asyncstorage_sidecar_getasyncsidecar" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L87", - "weight": 1.0, - "source": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", - "target": "automount_gitconfig_provisiongitconfiguration" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L150", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_cleanupgitconfig", - "target": "pkg_provision_automount_gitconfig_go_clusterapi" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "pkg_provision_automount_gitconfig_go_clusterapi" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L195", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L171", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", - "target": "pkg_provision_automount_gitconfig_go_deployment" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "asyncstorage_volume_getvolumefromsecret" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L190", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", - "target": "pkg_provision_automount_gitconfig_go_deployment" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_asyncstorage_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L200", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", - "target": "pkg_provision_automount_gitconfig_go_deployment" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L51", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "pkg_provision_automount_gitconfig_go_deployment" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_asyncstorage_go_podadditions" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L138", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L52", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "automount_gitconfig_cangitconfigsmountwithoutrestart" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_asyncstorage_checkconfigured" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L110", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "automount_gitconfig_cangitcredentialsmountwithoutrestart" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "pkg_provision_automount_gitconfig_go_configmap" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L80", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L166", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_getgitresources", - "target": "pkg_provision_automount_gitconfig_go_secret" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_asyncstorageprovisioner_addvolumesforasyncstorage" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L190", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L59", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", - "target": "pkg_provision_automount_gitconfig_go_secret" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_asyncstorageprovisioner_getasyncworkspacecount" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L195", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L74", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", - "target": "pkg_provision_automount_gitconfig_go_configmap" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_shared_addephemeralvolumesfromworkspace" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L192", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L95", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_cangitcredentialsmountwithoutrestart", - "target": "automount_gitconfig_cangitobjectsmountwithoutrestart" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_shared_checkforalternatepvc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L197", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L103", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_cangitconfigsmountwithoutrestart", - "target": "automount_gitconfig_cangitobjectsmountwithoutrestart" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_shared_checkpvcterminating" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L207", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L115", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", - "target": "automount_gitconfig_allitemsmountonstart" + "source": "storage_asyncstorageprovisioner_provisionstorage", + "target": "storage_shared_synccommonpvc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L200", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L253", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_cangitobjectsmountwithoutrestart", - "target": "pkg_provision_automount_gitconfig_go_t" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "pkg_provision_storage_asyncstorage_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig.go", - "source_location": "L221", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L253", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_allitemsmountonstart", - "target": "pkg_provision_automount_gitconfig_go_t" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L958", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_assertgitconfigcontains" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L988", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1004", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L179", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L973", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L179", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_assertgitcredentialssecret" + "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_asyncstorage_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L892", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L290", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_buildautomountgitconfigmap" + "source": "storage_asyncstorageprovisioner_getasyncworkspacecount", + "target": "pkg_provision_storage_asyncstorage_go_clusterapi" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L901", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L181", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_buildautomountgitsecret" + "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", + "target": "asyncstorage_deployment_getworkspacesyncdeploymentcluster" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L910", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L191", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_buildconfig" + "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", + "target": "storage_asyncstorageprovisioner_getasyncworkspacecount" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L950", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L184", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", + "target": "storage_cleanup_runcommonpvccleanupjob" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L926", + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L253", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_buildsecret" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "pkg_provision_storage_asyncstorage_go_volume" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L942", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L256", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "storage_shared_addephemeralvolumestopodadditions" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L761", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L254", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "storage_shared_getworkspacevolumes" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L736", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L274", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "storage_shared_isephemeral" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L711", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncStorage.go", + "source_location": "L262", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch" + "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", + "target": "storage_shared_processprojectsvolume" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L684", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L865", + "source": "asyncstorage_cleanup", + "target": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch" + "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", + "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L840", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L34", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches" + "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", + "target": "asyncstorage_ssh_extractsshkeypairfromsecret" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L815", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L25", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch" + "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", + "target": "pkg_provision_storage_asyncstorage_cleanup_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L788", + "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", + "source_location": "L25", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches" + "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", + "target": "pkg_provision_storage_asyncstorage_cleanup_go_devworkspacewithconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L97", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testgitconfigisfullymounted" + "source": "asyncstorage_configmap", + "target": "asyncstorage_configmap_addauthorizedkeytoconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L440", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L52", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart" + "source": "asyncstorage_configmap", + "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L376", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L34", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted" + "source": "asyncstorage_configmap", + "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L403", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L83", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment" + "source": "asyncstorage_configmap", + "target": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L552", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L34", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching" + "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec", + "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L470", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L79", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L321", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L62", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart" + "source": "asyncstorage_configmap_addauthorizedkeytoconfigmap", + "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L252", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L52", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted" + "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster", + "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L281", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L83", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment" + "source": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", + "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L657", + "source_file": "pkg/provision/storage/asyncstorage/configmap.go", + "source_location": "L52", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching" + "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster", + "target": "pkg_provision_storage_asyncstorage_configmap_go_clusterapi" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L582", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L73", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L130", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L87", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "asyncstorage_configmap_addauthorizedkeytoconfigmap" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L168", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert" + "source": "asyncstorage_configuration", + "target": "asyncstorage_configuration_getorcreatesshconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L153", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L67", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "asyncstorage_ssh_extractsshkeypairfromsecret" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L143", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L49", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "asyncstorage_ssh_getsshkeypair" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L117", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testoneconfigmapwithnousermountpath" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "pkg_provision_storage_asyncstorage_configuration_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L353", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "pkg_provision_storage_asyncstorage_configuration_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L227", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "pkg_provision_storage_asyncstorage_configuration_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L526", + "source_file": "pkg/provision/storage/asyncstorage/configuration.go", + "source_location": "L40", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching" + "source": "asyncstorage_configuration_getorcreatesshconfig", + "target": "pkg_provision_storage_asyncstorage_configuration_go_secret" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L500", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L176", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching" + "source": "asyncstorage_deployment", + "target": "asyncstorage_deployment_getworkspacesyncdeploymentcluster" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L633", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching" + "source": "asyncstorage_deployment", + "target": "asyncstorage_deployment_getworkspacesyncdeploymentspec" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L609", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching" + "source": "asyncstorage_deployment", + "target": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L213", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "asyncstorage_deployment_getworkspacesyncdeploymentspec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L180", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "pkg_provision_storage_asyncstorage_deployment_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L194", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "pkg_provision_storage_asyncstorage_deployment_go_configmap" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L46", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "pkg_provision_storage_asyncstorage_deployment_go_deployment" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L71", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test", - "target": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "pkg_provision_storage_asyncstorage_deployment_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L48", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L38", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", - "target": "automount_gitconfig_test_buildsecret" + "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L46", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testusercredentialsaremountedwithonecredential", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "target": "pkg_provision_storage_asyncstorage_deployment_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L958", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitconfigcontains", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "target": "pkg_provision_storage_asyncstorage_deployment_go_configmap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L988", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L176", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialsconfigmap", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentcluster", + "target": "pkg_provision_storage_asyncstorage_deployment_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1004", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L176", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentcluster", + "target": "pkg_provision_storage_asyncstorage_deployment_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L973", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialssecret", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "target": "pkg_provision_storage_asyncstorage_deployment_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L761", + "source_file": "pkg/provision/storage/asyncstorage/deployment.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", + "target": "pkg_provision_storage_asyncstorage_deployment_go_toleration" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L736", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L77", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service", + "target": "asyncstorage_service_getworkspacesyncservicecluster" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L711", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service", + "target": "asyncstorage_service_getworkspacesyncservicespec" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L684", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service", + "target": "asyncstorage_service_syncworkspacesyncservicetocluster" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L865", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L30", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_syncworkspacesyncservicetocluster", + "target": "asyncstorage_service_getworkspacesyncservicespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L840", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_syncworkspacesyncservicetocluster", + "target": "pkg_provision_storage_asyncstorage_service_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L815", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_syncworkspacesyncservicetocluster", + "target": "pkg_provision_storage_asyncstorage_service_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L788", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_syncworkspacesyncservicetocluster", + "target": "pkg_provision_storage_asyncstorage_service_go_service" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L97", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L36", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testgitconfigisfullymounted", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_syncworkspacesyncservicetocluster", + "target": "sync_sync_syncobjectwithcluster" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L137", + "weight": 1.0, + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerejectsforeignhiddenservice", + "target": "asyncstorage_service_syncworkspacesyncservicetocluster" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L66", + "weight": 1.0, + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid", + "target": "asyncstorage_service_syncworkspacesyncservicetocluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L440", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L51", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_getworkspacesyncservicespec", + "target": "pkg_provision_storage_asyncstorage_service_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L376", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L77", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_getworkspacesyncservicecluster", + "target": "pkg_provision_storage_asyncstorage_service_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L403", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L77", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_getworkspacesyncservicecluster", + "target": "pkg_provision_storage_asyncstorage_service_go_service" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L552", + "source_file": "pkg/provision/storage/asyncstorage/service.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_getworkspacesyncservicespec", + "target": "pkg_provision_storage_asyncstorage_service_go_service" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L52", + "weight": 1.0, + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid", + "target": "asyncstorage_service_getworkspacesyncservicespec" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L470", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L159", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test", + "target": "asyncstorage_asyncservicecountingclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L321", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L107", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test", + "target": "asyncstorage_service_test_testsyncworkspacesyncservicerejectsforeignhiddenservice", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L252", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L39", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test", + "target": "asyncstorage_service_test_testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L281", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L78", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid", + "target": "asyncstorage_asyncservicecountingclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L657", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L39", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerepairshiddenservicewithemptyworkspaceid", + "target": "pkg_provision_storage_asyncstorage_service_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L582", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L107", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerejectsforeignhiddenservice", + "target": "pkg_provision_storage_asyncstorage_service_test_go_t", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L130", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L150", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_service_test_testsyncworkspacesyncservicerejectsforeignhiddenservice", + "target": "asyncstorage_asyncservicecountingclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L168", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L183", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient", + "target": "asyncstorage_asyncservicecountingclient_create", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L153", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L200", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient", + "target": "asyncstorage_asyncservicecountingclient_delete", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L143", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient", + "target": "asyncstorage_asyncservicecountingclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L117", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L191", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient", + "target": "asyncstorage_asyncservicecountingclient_update", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L353", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L160", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient", + "target": "pkg_provision_storage_asyncstorage_service_test_go_client", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L227", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_get", + "target": "pkg_provision_storage_asyncstorage_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L526", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_get", + "target": "pkg_provision_storage_asyncstorage_service_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L500", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L167", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_get", + "target": "pkg_provision_storage_asyncstorage_service_test_go_objectkey", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L633", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L183", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_create", + "target": "pkg_provision_storage_asyncstorage_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L609", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L200", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_delete", + "target": "pkg_provision_storage_asyncstorage_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L213", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L191", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_update", + "target": "pkg_provision_storage_asyncstorage_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L180", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L183", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_create", + "target": "pkg_provision_storage_asyncstorage_service_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L194", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L200", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_delete", + "target": "pkg_provision_storage_asyncstorage_service_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L71", + "source_file": "pkg/provision/storage/asyncstorage/service_test.go", + "source_location": "L191", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", - "target": "pkg_provision_automount_gitconfig_test_go_t" + "source": "asyncstorage_asyncservicecountingclient_update", + "target": "pkg_provision_storage_asyncstorage_service_test_go_object", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L73", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testusercredentialsareonlymountedoncewithmultiplecredentials", - "target": "automount_gitconfig_test_buildsecret" + "source": "asyncstorage_sidecar", + "target": "asyncstorage_sidecar_getasyncsidecar" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L98", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L31", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testgitconfigisfullymounted", - "target": "automount_gitconfig_test_buildconfig" + "source": "asyncstorage_sidecar_getasyncsidecar", + "target": "pkg_provision_storage_asyncstorage_sidecar_go_container" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L120", + "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", - "target": "automount_gitconfig_test_buildconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L123", - "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithnousermountpath", - "target": "automount_templates_constructgitconfig" + "source": "asyncstorage_sidecar_getasyncsidecar", + "target": "pkg_provision_storage_asyncstorage_sidecar_go_volume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L133", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", - "target": "automount_gitconfig_test_buildconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L136", - "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandhostandcert", - "target": "automount_templates_constructgitconfig" + "source": "asyncstorage_ssh", + "target": "asyncstorage_ssh_extractsshkeypairfromsecret" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L146", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", - "target": "automount_gitconfig_test_buildconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L149", - "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithoutcert", - "target": "automount_templates_constructgitconfig" + "source": "asyncstorage_ssh", + "target": "asyncstorage_ssh_getsshkeypair" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L156", + "source_file": "pkg/provision/storage/asyncstorage/ssh.go", + "source_location": "L55", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", - "target": "automount_gitconfig_test_buildconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L161", - "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithouthostandwithcert", - "target": "automount_templates_constructgitconfig" + "source": "asyncstorage_ssh_extractsshkeypairfromsecret", + "target": "pkg_provision_storage_asyncstorage_ssh_go_secret" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L171", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L23", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", - "target": "automount_gitconfig_test_buildconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L176", - "weight": 1.0, - "source": "automount_gitconfig_test_testoneconfigmapwithmountpathandwithhostandwithoutcert", - "target": "automount_templates_constructgitconfig" + "source": "asyncstorage_volume", + "target": "asyncstorage_volume_getvolumefromsecret" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L182", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L23", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", - "target": "automount_gitconfig_test_buildconfig" + "source": "asyncstorage_volume_getvolumefromsecret", + "target": "pkg_provision_storage_asyncstorage_volume_go_secret" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L186", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/asyncstorage/volume.go", + "source_location": "L23", "weight": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithnodefinedmountpathinannotation", - "target": "automount_templates_constructgitconfig" + "context": "return_type", + "confidence_score": 1.0, + "source": "asyncstorage_volume_getvolumefromsecret", + "target": "pkg_provision_storage_asyncstorage_volume_go_volume" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L196", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L218", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", - "target": "automount_gitconfig_test_buildconfig" + "source": "storage_cleanup", + "target": "storage_cleanup_commonpvcexists" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L205", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L246", "weight": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithonedefaulttlsandothergithubtls", - "target": "automount_templates_constructgitconfig" + "source": "storage_cleanup", + "target": "storage_cleanup_deletecommonpvc", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L215", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L357", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", - "target": "automount_gitconfig_test_buildconfig" + "source": "storage_cleanup", + "target": "storage_cleanup_getowningjobname", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L223", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L111", "weight": 1.0, - "source": "automount_gitconfig_test_testtwoconfigmapwithbothmissinghost", - "target": "automount_templates_constructgitconfig" + "confidence_score": 1.0, + "source": "storage_cleanup", + "target": "storage_cleanup_getspeccommonpvccleanupjob" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L229", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L364", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitcredentialsecretwithmountonstartifworkspacestarted", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup", + "target": "storage_cleanup_isjobfinished", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L277", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L346", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "source": "storage_cleanup", + "target": "storage_cleanup_ispvcmounted", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L276", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_test_assertgitcredentialssecret" + "source": "storage_cleanup", + "target": "storage_cleanup_runcommonpvccleanupjob" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L255", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L55", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "pkg_provision_storage_cleanup_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L317", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L55", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L316", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_test_assertgitcredentialssecret" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "storage_cleanup_commonpvcexists" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L283", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L64", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "storage_cleanup_getspeccommonpvccleanupjob" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L349", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L68", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "source": "storage_cleanup_runcommonpvccleanupjob", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L348", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L107", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "automount_gitconfig_test_assertgitcredentialssecret" + "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", + "target": "storage_cleanup_runcommonpvccleanupjob" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L328", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L218", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "automount_gitconfig_test_buildsecret" + "source": "storage_cleanup_commonpvcexists", + "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L323", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L246", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithmixedmountonstart", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "context": "parameter_type", + "source": "storage_cleanup_deletecommonpvc", + "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L355", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L111", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testshouldnotmountgitconfigwithmountonstartifworkspacestarted", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L399", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L218", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "source": "storage_cleanup_commonpvcexists", + "target": "pkg_provision_storage_cleanup_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L379", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L246", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartifworkspacenotstarted", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "context": "parameter_type", + "source": "storage_cleanup_deletecommonpvc", + "target": "pkg_provision_storage_cleanup_go_clusterapi", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L436", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L111", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "pkg_provision_storage_cleanup_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L405", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L111", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmountonstartwhenvolumeexistsindeployment", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "pkg_provision_storage_cleanup_go_job" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L465", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L114", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "storage_shared_checkforalternatepvc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L442", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L122", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitconfigwithmixedmountonstart", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "storage_shared_findnodeforpvc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L496", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L198", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "source": "storage_cleanup_getspeccommonpvccleanupjob", + "target": "storage_shared_nodeaffinityforhostname" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L495", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L132", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", - "target": "automount_gitconfig_test_assertgitcredentialssecret" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", + "target": "storage_cleanup_getspeccommonpvccleanupjob" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L472", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L79", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithincludeannotationmatching", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", + "target": "storage_cleanup_getspeccommonpvccleanupjob" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L502", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L183", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgitcredentialsecretwithincludeannotationnotmatching", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", + "target": "storage_cleanup_getspeccommonpvccleanupjob" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L528", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L364", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgitcredentialsecretwithexcludeannotationmatching", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "context": "parameter_type", + "source": "storage_cleanup_isjobfinished", + "target": "pkg_provision_storage_cleanup_go_job", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L578", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L257", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmap" + "source": "storage_cleanup_deletecommonpvc", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L577", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L277", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", - "target": "automount_gitconfig_test_assertgitcredentialssecret" + "source": "storage_cleanup_deletecommonpvc", + "target": "storage_cleanup_getowningjobname", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L554", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L291", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgitcredentialsecretwithexcludeannotationnotmatching", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup_deletecommonpvc", + "target": "storage_cleanup_isjobfinished", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L605", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L271", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "source": "storage_cleanup_deletecommonpvc", + "target": "storage_cleanup_ispvcmounted", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L584", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L249", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithincludeannotationmatching", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_cleanup_deletecommonpvc", + "target": "storage_shared_checkforalternatepvc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L611", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L105", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgittlsconfigmapwithincludeannotationnotmatching", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", + "target": "storage_cleanup_deletecommonpvc" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L635", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L346", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testskipgittlsconfigmapwithexcludeannotationmatching", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "context": "parameter_type", + "source": "storage_cleanup_ispvcmounted", + "target": "pkg_provision_storage_cleanup_go_podspec", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L680", + "source_file": "pkg/provision/storage/cleanup.go", + "source_location": "L357", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", - "target": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo" + "context": "parameter_type", + "source": "storage_cleanup_getowningjobname", + "target": "pkg_provision_storage_cleanup_go_pod", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L659", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L325", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testmountgittlsconfigmapwithexcludeannotationnotmatching", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_shared_getnodenamewithpvc", + "target": "storage_cleanup_getowningjobname" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L707", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L222", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", - "target": "automount_gitconfig_test_assertgitconfigcontains" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_makecleanupjob", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L686", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L262", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludematches", - "target": "automount_gitconfig_test_buildautomountgitconfigmap" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_makecleanuppod", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L712", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L203", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapincludedoesnotmatch", - "target": "automount_gitconfig_test_buildautomountgitconfigmap" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_maketerminatingworkspace", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L737", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L291", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludematches", - "target": "automount_gitconfig_test_buildautomountgitconfigmap" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L784", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L84", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", - "target": "automount_gitconfig_test_assertgitconfigcontains" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L763", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L36", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountconfigmapexcludedoesnotmatch", - "target": "automount_gitconfig_test_buildautomountgitconfigmap" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L811", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L146", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", - "target": "automount_gitconfig_test_assertgitconfigcontains" + "source": "storage_cleanup_test", + "target": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L790", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L36", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludematches", - "target": "automount_gitconfig_test_buildautomountgitsecret" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", + "target": "pkg_provision_storage_cleanup_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L816", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L291", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretincludedoesnotmatch", - "target": "automount_gitconfig_test_buildautomountgitsecret" + "context": "parameter_type", + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "pkg_provision_storage_cleanup_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L841", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L84", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludematches", - "target": "automount_gitconfig_test_buildautomountgitsecret" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", + "target": "pkg_provision_storage_cleanup_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L888", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L146", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", - "target": "automount_gitconfig_test_assertgitconfigcontains" + "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", + "target": "pkg_provision_storage_cleanup_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L867", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L203", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_testfindgitconfigautomountsecretexcludedoesnotmatch", - "target": "automount_gitconfig_test_buildautomountgitsecret" + "context": "return_type", + "source": "storage_cleanup_test_maketerminatingworkspace", + "target": "pkg_provision_storage_cleanup_test_go_devworkspace", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L894", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L330", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildautomountgitconfigmap", - "target": "automount_gitconfig_test_buildconfigwithannotations" + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "storage_cleanup_test_maketerminatingworkspace", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L892", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L222", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildautomountgitconfigmap", - "target": "pkg_provision_automount_gitconfig_test_go_configmap" + "source": "storage_cleanup_test_makecleanupjob", + "target": "pkg_provision_storage_cleanup_test_go_job", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L910", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L341", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildconfig", - "target": "pkg_provision_automount_gitconfig_test_go_configmap" + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "storage_cleanup_test_makecleanupjob", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L950", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L262", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildconfigwithannotations", - "target": "pkg_provision_automount_gitconfig_test_go_configmap" + "source": "storage_cleanup_test_makecleanuppod", + "target": "pkg_provision_storage_cleanup_test_go_pod", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L903", + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L342", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildautomountgitsecret", - "target": "automount_gitconfig_test_buildsecretwithannotations" + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "storage_cleanup_test_makecleanuppod", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/cleanup_test.go", + "source_location": "L322", + "weight": 1.0, + "source": "storage_cleanup_test_testcleanupworkspacestoragecoordinatessharedpvcdeletion", + "target": "storage_shared_getpvcspec" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L901", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildautomountgitsecret", - "target": "pkg_provision_automount_gitconfig_test_go_secret" + "source": "storage_commonstorage", + "target": "storage_commonstorageprovisioner" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L926", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L98", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildsecret", - "target": "pkg_provision_automount_gitconfig_test_go_secret" + "source": "storage_commonstorageprovisioner", + "target": "storage_commonstorageprovisioner_cleanupworkspacestorage" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L942", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L41", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildsecretwithannotations", - "target": "pkg_provision_automount_gitconfig_test_go_secret" + "source": "storage_commonstorageprovisioner", + "target": "storage_commonstorageprovisioner_needsstorage" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L951", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L45", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildconfigwithannotations", - "target": "automount_gitconfig_test_buildconfig" + "source": "storage_commonstorageprovisioner", + "target": "storage_commonstorageprovisioner_provisionstorage" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L943", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L133", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_gitconfig_test_buildsecretwithannotations", - "target": "automount_gitconfig_test_buildsecret" + "source": "storage_commonstorageprovisioner", + "target": "storage_commonstorageprovisioner_rewritecontainervolumemounts" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L958", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L41", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitconfigcontains", - "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" + "source": "storage_commonstorageprovisioner_needsstorage", + "target": "pkg_provision_storage_commonstorage_go_devworkspacetemplatespec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L42", + "weight": 1.0, + "source": "storage_commonstorageprovisioner_needsstorage", + "target": "storage_shared_workspaceneedsstorage" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L988", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L52", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialsconfigmap", - "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "storage_commonstorageprovisioner_needsstorage" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L1004", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L133", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialsconfigmapwithsslcainfo", - "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" + "source": "storage_commonstorageprovisioner_rewritecontainervolumemounts", + "target": "pkg_provision_storage_commonstorage_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/gitconfig_test.go", - "source_location": "L973", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L45", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_gitconfig_test_assertgitcredentialssecret", - "target": "pkg_provision_automount_gitconfig_test_go_clusterapi" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L158", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_projected", - "target": "automount_projected_checkcanuseprojectedvolumes" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_commonstorage_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L92", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L45", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected", - "target": "automount_projected_generateprojectedvolume" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_commonstorage_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L45", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected", - "target": "automount_projected_mergeprojectedvolumes" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_commonstorage_go_podadditions" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L76", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_mergeprojectedvolumes", - "target": "automount_projected_generateprojectedvolume" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "storage_commonstorageprovisioner_rewritecontainervolumemounts" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L29", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L47", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "automount_projected_mergeprojectedvolumes", - "target": "pkg_provision_automount_projected_go_resources" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "storage_shared_addephemeralvolumesfromworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L224", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L56", "weight": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_mergeprojectedvolumes" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "storage_shared_checkforalternatepvc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L104", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L64", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_projected_generateprojectedvolume", - "target": "automount_projected_checkcanuseprojectedvolumes" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "storage_shared_checkpvcterminating" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L92", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L75", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "automount_projected_generateprojectedvolume", - "target": "pkg_provision_automount_projected_go_volume" + "source": "storage_commonstorageprovisioner_provisionstorage", + "target": "storage_shared_synccommonpvc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L92", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L133", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected_generateprojectedvolume", - "target": "pkg_provision_automount_projected_go_volumemount" + "source": "storage_commonstorageprovisioner_rewritecontainervolumemounts", + "target": "pkg_provision_storage_commonstorage_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L158", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L98", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected_checkcanuseprojectedvolumes", - "target": "pkg_provision_automount_projected_go_volumemount" + "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_commonstorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected.go", - "source_location": "L158", + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L98", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected_checkcanuseprojectedvolumes", - "target": "pkg_provision_automount_projected_go_volume" + "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_commonstorage_go_clusterapi" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L253", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/commonStorage.go", + "source_location": "L99", "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testconfigmapvolume" + "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", + "target": "storage_shared_getsharedpvcworkspacecount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L294", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L79", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testenvfromsource" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_getdevworkspacewithconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L54", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testmergeprojectedvolumes" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_init" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L304", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testprojectedvolume" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_loadalltestcasesorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L266", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L86", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testpvcvolume" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_loadtestcaseorpanic" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L242", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L300", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testsecretvolume" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_sortvolumesandvolumemounts" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L285", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L195", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testsubpathvolumemount" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_testneedsstorage" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L277", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_projected_test", - "target": "automount_projected_test_testvolumemount" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L66", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L130", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testconfigmapvolume" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L75", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L167", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testenvfromsource" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_testterminatingpvc" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", + "source_file": "pkg/provision/storage/commonStorage_test.go", "source_location": "L113", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testprojectedvolume" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L67", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testpvcvolume" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L65", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testsecretvolume" + "source": "storage_commonstorage_test", + "target": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L175", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testsubpathvolumemount" + "source": "storage_commonstorage_test", + "target": "storage_testcase" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L70", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L61", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "automount_projected_test_testvolumemount" + "source": "storage_commonstorage_test", + "target": "storage_testinput" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L54", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L67", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected_test_testmergeprojectedvolumes", - "target": "pkg_provision_automount_projected_test_go_t" + "source": "storage_commonstorage_test", + "target": "storage_testoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L242", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L98", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_projected_test_testsecretvolume", - "target": "pkg_provision_automount_projected_test_go_volume" + "source": "storage_commonstorage_test_loadalltestcasesorpanic", + "target": "storage_testcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L253", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L86", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_projected_test_testconfigmapvolume", - "target": "pkg_provision_automount_projected_test_go_volume" + "source": "storage_commonstorage_test_loadtestcaseorpanic", + "target": "storage_testcase" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L304", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L57", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "automount_projected_test_testprojectedvolume", - "target": "pkg_provision_automount_projected_test_go_volume" + "source": "storage_testcase", + "target": "pkg_provision_storage_commonstorage_test_go_testinput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L266", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L58", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "automount_projected_test_testpvcvolume", - "target": "pkg_provision_automount_projected_test_go_volume" + "source": "storage_testcase", + "target": "pkg_provision_storage_commonstorage_test_go_testoutput" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L277", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L64", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "automount_projected_test_testvolumemount", - "target": "pkg_provision_automount_projected_test_go_volumemount" + "source": "storage_testinput", + "target": "pkg_provision_storage_commonstorage_test_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L285", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L63", "weight": 1.0, - "context": "return_type", + "context": "field", "confidence_score": 1.0, - "source": "automount_projected_test_testsubpathvolumemount", - "target": "pkg_provision_automount_projected_test_go_volumemount" + "source": "storage_testinput", + "target": "pkg_provision_storage_commonstorage_test_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/projected_test.go", - "source_location": "L294", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L300", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_projected_test_testenvfromsource", - "target": "pkg_provision_automount_projected_test_go_envfromsource" + "source": "storage_commonstorage_test_sortvolumesandvolumemounts", + "target": "pkg_provision_storage_commonstorage_test_go_podadditions" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L68", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "automount_pvcs", - "target": "automount_mountpathentry" + "source": "storage_testoutput", + "target": "pkg_provision_storage_commonstorage_test_go_podadditions" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L69", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "automount_pvcs", - "target": "automount_pvcs_getautomountpvcs" + "source": "storage_testoutput", + "target": "pkg_provision_storage_commonstorage_test_go_quantity" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L43", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L79", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_pvcs", - "target": "automount_pvcs_parsemountpathannotation" + "source": "storage_commonstorage_test_getdevworkspacewithconfig", + "target": "pkg_provision_storage_commonstorage_test_go_devworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L43", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L79", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "automount_pvcs_parsemountpathannotation", - "target": "automount_mountpathentry" + "source": "storage_commonstorage_test_getdevworkspacewithconfig", + "target": "pkg_provision_storage_commonstorage_test_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L106", - "weight": 1.0, - "confidence_score": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "automount_pvcs_parsemountpathannotation" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "pkg_provision_automount_pvcs_go_clusterapi" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L151", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "pkg_provision_automount_pvcs_go_deployment" + "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "target": "storage_commonstorage_test_getdevworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/pvcs.go", - "source_location": "L70", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L187", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_pvcs_getautomountpvcs", - "target": "pkg_provision_automount_pvcs_go_resources" + "source": "storage_commonstorage_test_testterminatingpvc", + "target": "storage_commonstorage_test_getdevworkspacewithconfig" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L60", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L121", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_templates", - "target": "automount_templates_constructgitconfig" + "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", + "target": "storage_commonstorage_test_getdevworkspacewithconfig" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L116", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L108", "weight": 1.0, "confidence_score": 1.0, - "source": "automount_templates", - "target": "automount_templates_mergegitcredentials" + "source": "storage_commonstorage_test_loadalltestcasesorpanic", + "target": "storage_commonstorage_test_loadtestcaseorpanic" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L60", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L86", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "automount_templates_constructgitconfig", - "target": "pkg_provision_automount_templates_go_configmap" + "source": "storage_commonstorage_test_loadtestcaseorpanic", + "target": "pkg_provision_storage_commonstorage_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/automount/templates.go", - "source_location": "L116", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L181", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "automount_templates_mergegitcredentials", - "target": "pkg_provision_automount_templates_go_secret" + "source": "storage_commonstorage_test_testterminatingpvc", + "target": "storage_commonstorage_test_loadtestcaseorpanic" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L84", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L114", "weight": 1.0, "confidence_score": 1.0, - "source": "pkg_provision_config_config_go_config_config", - "target": "config_config_getnamespacepodtolerationsandnodeselector" + "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", + "target": "storage_commonstorage_test_loadtestcaseorpanic" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L45", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L98", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "pkg_provision_config_config_go_config_config", - "target": "config_config_readnamespacedconfig" + "source": "storage_commonstorage_test_loadalltestcasesorpanic", + "target": "pkg_provision_storage_commonstorage_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L195", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "pkg_provision_config_config_go_config_config", - "target": "config_namespacedconfig" + "source": "storage_commonstorage_test_testneedsstorage", + "target": "pkg_provision_storage_commonstorage_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L45", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L130", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "config_config_readnamespacedconfig", - "target": "config_namespacedconfig" + "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "target": "pkg_provision_storage_commonstorage_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/config/config.go", - "source_location": "L47", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L167", "weight": 1.0, - "source": "config_config_readnamespacedconfig", - "target": "handler_webhookhandler_parse" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "storage_commonstorage_test_testterminatingpvc", + "target": "pkg_provision_storage_commonstorage_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L45", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L113", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "config_config_readnamespacedconfig", - "target": "pkg_provision_config_config_go_clusterapi" + "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", + "target": "pkg_provision_storage_commonstorage_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L153", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L131", "weight": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "config_config_readnamespacedconfig" + "confidence_score": 1.0, + "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "target": "storage_commonstorage_test_loadalltestcasesorpanic" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L94", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L121", "weight": 1.0, - "source": "storage_shared_synccommonpvc", - "target": "config_config_readnamespacedconfig" + "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", + "target": "storage_provisioner_getprovisioner" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L84", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L158", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "config_config_getnamespacepodtolerationsandnodeselector", - "target": "pkg_provision_config_config_go_clusterapi" + "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "target": "storage_commonstorage_test_sortvolumesandvolumemounts" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L32", - "weight": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", - "target": "config_config_getnamespacepodtolerationsandnodeselector" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/config/config.go", - "source_location": "L84", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L133", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "config_config_getnamespacepodtolerationsandnodeselector", - "target": "pkg_provision_config_config_go_toleration" + "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", + "target": "storage_shared_getpvcspec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L201", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L169", "weight": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "config_config_getnamespacepodtolerationsandnodeselector" + "source": "storage_commonstorage_test_testterminatingpvc", + "target": "storage_shared_getpvcspec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L52", - "weight": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "config_config_getnamespacepodtolerationsandnodeselector" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/envvar.go", - "source_location": "L35", - "weight": 1.0, - "confidence_score": 1.0, - "source": "metadata_envvar", - "target": "metadata_envvar_getworkspacemetaenvvar" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/envvar.go", - "source_location": "L35", + "source_file": "pkg/provision/storage/commonStorage_test.go", + "source_location": "L292", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "metadata_envvar_getworkspacemetaenvvar", - "target": "pkg_provision_metadata_envvar_go_envvar" + "source": "storage_commonstorage_test_testneedsstorage", + "target": "storage_shared_workspaceneedsstorage" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L68", - "weight": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "metadata_envvar_getworkspacemetaenvvar" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L78", + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "pkg_provision_metadata_metadata_go_metadata_metadata", - "target": "metadata_metadata_getspecmetadataconfigmap" + "source": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", + "target": "storage_commonstorage_test_sortvolumesandvolumemounts" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L107", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L106", "weight": 1.0, - "confidence_score": 1.0, - "source": "pkg_provision_metadata_metadata_go_metadata_metadata", - "target": "metadata_metadata_getvolumefromconfigmap" + "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", + "target": "storage_commonstorage_test_sortvolumesandvolumemounts" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L122", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "pkg_provision_metadata_metadata_go_metadata_metadata", - "target": "metadata_metadata_getvolumemountfromvolume" + "source": "storage_ephemeralstorage", + "target": "storage_ephemeralstorageprovisioner" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L63", "weight": 1.0, "confidence_score": 1.0, - "source": "pkg_provision_metadata_metadata_go_metadata_metadata", - "target": "metadata_metadata_provisionworkspacemetadata" + "source": "storage_ephemeralstorageprovisioner", + "target": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L50", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L34", "weight": 1.0, "confidence_score": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "metadata_metadata_getspecmetadataconfigmap" + "source": "storage_ephemeralstorageprovisioner", + "target": "storage_ephemeralstorageprovisioner_needsstorage" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L62", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "weight": 1.0, "confidence_score": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "metadata_metadata_getvolumefromconfigmap" + "source": "storage_ephemeralstorageprovisioner", + "target": "storage_ephemeralstorageprovisioner_provisionstorage" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L64", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L34", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "metadata_metadata_getvolumemountfromvolume" + "source": "storage_ephemeralstorageprovisioner_needsstorage", + "target": "pkg_provision_storage_ephemeralstorage_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "pkg_provision_metadata_metadata_go_clusterapi" + "source": "storage_ephemeralstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_ephemeralstorage_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "pkg_provision_metadata_metadata_go_devworkspacewithconfig" + "source": "storage_ephemeralstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_ephemeralstorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L49", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L39", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "pkg_provision_metadata_metadata_go_podadditions" + "source": "storage_ephemeralstorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_ephemeralstorage_go_podadditions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L58", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L41", "weight": 1.0, - "source": "metadata_metadata_provisionworkspacemetadata", - "target": "sync_sync_syncobjectwithcluster" + "source": "storage_ephemeralstorageprovisioner_provisionstorage", + "target": "storage_shared_addephemeralvolumestopodadditions" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L78", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L40", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "metadata_metadata_getspecmetadataconfigmap", - "target": "pkg_provision_metadata_metadata_go_devworkspacewithconfig" + "source": "storage_ephemeralstorageprovisioner_provisionstorage", + "target": "storage_shared_getworkspacevolumes" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L78", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L63", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_getspecmetadataconfigmap", - "target": "pkg_provision_metadata_metadata_go_configmap" + "source": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_ephemeralstorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L107", + "source_file": "pkg/provision/storage/ephemeralStorage.go", + "source_location": "L63", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_getvolumefromconfigmap", - "target": "pkg_provision_metadata_metadata_go_configmap" + "source": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_ephemeralstorage_go_clusterapi" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L107", + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", + "source_location": "L26", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "metadata_metadata_getvolumefromconfigmap", - "target": "pkg_provision_metadata_metadata_go_volume" + "source": "storage_ephemeralstorage_test", + "target": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L122", + "source_file": "pkg/provision/storage/ephemeralStorage_test.go", + "source_location": "L26", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "metadata_metadata_getvolumemountfromvolume", - "target": "pkg_provision_metadata_metadata_go_volume" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/metadata/metadata.go", - "source_location": "L122", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "metadata_metadata_getvolumemountfromvolume", - "target": "pkg_provision_metadata_metadata_go_volumemount" + "source": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", + "target": "pkg_provision_storage_ephemeralstorage_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L309", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorage", - "target": "storage_asyncstorage_checkconfigured" + "source": "storage_perworkspacestorage", + "target": "storage_perworkspacestorage_getpvcsize" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L43", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L152", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorage", - "target": "storage_asyncstorageprovisioner" + "source": "storage_perworkspacestorage", + "target": "storage_perworkspacestorage_syncperworkspacepvc" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L253", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner", - "target": "storage_asyncstorageprovisioner_addvolumesforasyncstorage" + "source": "storage_perworkspacestorage", + "target": "storage_perworkspacestorageprovisioner" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L179", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L91", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner", - "target": "storage_asyncstorageprovisioner_cleanupworkspacestorage" + "source": "storage_perworkspacestorageprovisioner", + "target": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L290", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner", - "target": "storage_asyncstorageprovisioner_getasyncworkspacecount" + "source": "storage_perworkspacestorageprovisioner", + "target": "storage_perworkspacestorageprovisioner_needsstorage" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L47", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner", - "target": "storage_asyncstorageprovisioner_needsstorage" + "source": "storage_perworkspacestorageprovisioner", + "target": "storage_perworkspacestorageprovisioner_provisionstorage" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L99", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner", - "target": "storage_asyncstorageprovisioner_provisionstorage" + "source": "storage_perworkspacestorageprovisioner", + "target": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L47", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L44", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_needsstorage", - "target": "pkg_provision_storage_asyncstorage_go_devworkspacetemplatespec" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L48", - "weight": 1.0, - "source": "storage_asyncstorageprovisioner_needsstorage", - "target": "storage_shared_workspaceneedsstorage" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L79", - "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_asyncstorageprovisioner_needsstorage" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L84", - "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "asyncstorage_configuration_getorcreatesshconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L123", - "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L148", - "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "asyncstorage_service_syncworkspacesyncservicetocluster" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L172", - "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "asyncstorage_sidecar_getasyncsidecar" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L171", - "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "asyncstorage_volume_getvolumefromsecret" + "source": "storage_perworkspacestorageprovisioner_needsstorage", + "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L99", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_asyncstorage_go_clusterapi" + "source": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts", + "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_perworkspacestorage_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_asyncstorage_go_podadditions" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L52", - "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_asyncstorage_checkconfigured" + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L166", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L48", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_asyncstorageprovisioner_addvolumesforasyncstorage" + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "pkg_provision_storage_perworkspacestorage_go_podadditions" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L59", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_asyncstorageprovisioner_getasyncworkspacecount" + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "storage_perworkspacestorage_syncperworkspacepvc" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", "source_location": "L74", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_shared_addephemeralvolumesfromworkspace" + "confidence_score": 1.0, + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L95", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L50", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_shared_checkforalternatepvc" + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "storage_shared_addephemeralvolumesfromworkspace" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L103", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L55", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_shared_checkpvcterminating" + "source": "storage_perworkspacestorageprovisioner_provisionstorage", + "target": "storage_shared_workspaceneedsstorage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L115", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L99", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_provisionstorage", - "target": "storage_shared_synccommonpvc" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts", + "target": "pkg_provision_storage_perworkspacestorage_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L253", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "pkg_provision_storage_asyncstorage_go_podadditions" + "source": "storage_perworkspacestorage_getpvcsize", + "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L253", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L152", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L179", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L91", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_asyncstorage_go_devworkspacewithconfig" + "source": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L179", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L152", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_asyncstorage_go_clusterapi" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "pkg_provision_storage_perworkspacestorage_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L290", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L91", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_getasyncworkspacecount", - "target": "pkg_provision_storage_asyncstorage_go_clusterapi" + "source": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage", + "target": "pkg_provision_storage_perworkspacestorage_go_clusterapi" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L181", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", - "target": "asyncstorage_deployment_getworkspacesyncdeploymentcluster" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "storage_perworkspacestorage_getpvcsize", + "target": "namespacedconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L191", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L111", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", - "target": "storage_asyncstorageprovisioner_getasyncworkspacecount" + "source": "storage_perworkspacestorage_getpvcsize", + "target": "pkg_provision_storage_perworkspacestorage_go_quantity" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L184", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L119", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_cleanupworkspacestorage", - "target": "storage_cleanup_runcommonpvccleanupjob" + "source": "storage_perworkspacestorage_getpvcsize", + "target": "storage_shared_isephemeral" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L158", + "weight": 1.0, + "confidence_score": 1.0, + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "storage_perworkspacestorage_getpvcsize" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L253", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L152", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "pkg_provision_storage_asyncstorage_go_volume" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "pkg_provision_storage_perworkspacestorage_go_persistentvolumeclaim" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L256", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L164", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "storage_shared_addephemeralvolumestopodadditions" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "storage_shared_getpvcspec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L254", + "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_location": "L178", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "storage_shared_getworkspacevolumes" + "source": "storage_perworkspacestorage_syncperworkspacepvc", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L274", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L38", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "storage_shared_isephemeral" + "confidence_score": 1.0, + "source": "storage_perworkspacestorage_test", + "target": "storage_perworkspacestorage_test_init" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncStorage.go", - "source_location": "L262", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L44", "weight": 1.0, - "source": "storage_asyncstorageprovisioner_addvolumesforasyncstorage", - "target": "storage_shared_processprojectsvolume" + "confidence_score": 1.0, + "source": "storage_perworkspacestorage_test", + "target": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L25", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L44", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_cleanup", - "target": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap" + "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", + "target": "pkg_provision_storage_perworkspacestorage_test_go_t" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L39", + "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", + "source_location": "L63", "weight": 1.0, - "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", - "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" + "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", + "target": "storage_shared_workspaceneedsstorage" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L34", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/provisioner.go", + "source_location": "L33", "weight": 1.0, - "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", - "target": "asyncstorage_ssh_extractsshkeypairfromsecret" + "source": "storage_provisioner", + "target": "storage_provisioner", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L25", + "source_file": "pkg/provision/storage/provisioner.go", + "source_location": "L49", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", - "target": "pkg_provision_storage_asyncstorage_cleanup_go_clusterapi" + "source": "storage_provisioner_getprovisioner", + "target": "storage_provisioner" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/cleanup.go", - "source_location": "L25", + "source_file": "pkg/provision/storage/provisioner.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_cleanup_removeauthorizedkeyfromconfigmap", - "target": "pkg_provision_storage_asyncstorage_cleanup_go_devworkspacewithconfig" + "source": "storage_provisioner_getprovisioner", + "target": "pkg_provision_storage_provisioner_go_devworkspacewithconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L62", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L147", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_configmap", - "target": "asyncstorage_configmap_addauthorizedkeytoconfigmap" + "source": "storage_shared", + "target": "storage_shared_addephemeralvolumesfromworkspace" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L52", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_configmap", - "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" + "source": "storage_shared", + "target": "storage_shared_addephemeralvolumestopodadditions" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L34", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L236", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_configmap", - "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec" + "source": "storage_shared", + "target": "storage_shared_checkforalternatepvc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L83", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L326", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_configmap", - "target": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap" + "source": "storage_shared", + "target": "storage_shared_checkpvcterminating" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L34", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L275", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec", - "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" + "source": "storage_shared", + "target": "storage_shared_findnodeforpvc" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L79", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L313", "weight": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapspec" + "confidence_score": 1.0, + "source": "storage_shared", + "target": "storage_shared_getnodenamewithpvc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L62", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_configmap_addauthorizedkeytoconfigmap", - "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" + "source": "storage_shared", + "target": "storage_shared_getpvcspec" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L52", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L252", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster", - "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" + "source": "storage_shared", + "target": "storage_shared_getsharedpvcworkspacecount" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L83", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L191", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_configmap_removeauthorizedkeyfromconfigmap", - "target": "pkg_provision_storage_asyncstorage_configmap_go_configmap" + "source": "storage_shared", + "target": "storage_shared_getworkspacevolumes" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configmap.go", - "source_location": "L52", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L89", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster", - "target": "pkg_provision_storage_asyncstorage_configmap_go_clusterapi" + "source": "storage_shared", + "target": "storage_shared_isephemeral" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L73", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L293", "weight": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "asyncstorage_configmap_getsshauthorizedkeysconfigmapcluster" + "confidence_score": 1.0, + "source": "storage_shared", + "target": "storage_shared_nodeaffinityforhostname" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L87", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L218", "weight": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "asyncstorage_configmap_addauthorizedkeytoconfigmap" + "confidence_score": 1.0, + "source": "storage_shared", + "target": "storage_shared_processprojectsvolume" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L350", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_configuration", - "target": "asyncstorage_configuration_getorcreatesshconfig" + "source": "storage_shared", + "target": "storage_shared_rewritecontainervolumemounts" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L67", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "weight": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "asyncstorage_ssh_extractsshkeypairfromsecret" + "confidence_score": 1.0, + "source": "storage_shared", + "target": "storage_shared_synccommonpvc" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L45", + "weight": 1.0, + "confidence_score": 1.0, + "source": "storage_shared", + "target": "storage_shared_workspaceneedsstorage" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L45", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "storage_shared_workspaceneedsstorage", + "target": "pkg_provision_storage_shared_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L49", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L50", "weight": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "asyncstorage_ssh_getsshkeypair" + "confidence_score": 1.0, + "source": "storage_shared_workspaceneedsstorage", + "target": "storage_shared_isephemeral" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L218", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "pkg_provision_storage_asyncstorage_configuration_go_clusterapi" + "source": "storage_shared_processprojectsvolume", + "target": "pkg_provision_storage_shared_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L350", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "pkg_provision_storage_asyncstorage_configuration_go_configmap" + "source": "storage_shared_rewritecontainervolumemounts", + "target": "pkg_provision_storage_shared_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "pkg_provision_storage_asyncstorage_configuration_go_devworkspacewithconfig" + "source": "storage_shared_getpvcspec", + "target": "pkg_provision_storage_shared_go_persistentvolumeaccessmode" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/configuration.go", - "source_location": "L40", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_configuration_getorcreatesshconfig", - "target": "pkg_provision_storage_asyncstorage_configuration_go_secret" + "source": "storage_shared_getpvcspec", + "target": "pkg_provision_storage_shared_go_persistentvolumeclaim" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L176", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L66", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment", - "target": "asyncstorage_deployment_getworkspacesyncdeploymentcluster" + "source": "storage_shared_getpvcspec", + "target": "pkg_provision_storage_shared_go_quantity" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L106", + "weight": 1.0, + "confidence_score": 1.0, + "source": "storage_shared_synccommonpvc", + "target": "storage_shared_getpvcspec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L56", + "weight": 1.0, + "source": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", + "target": "storage_shared_getpvcspec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L37", + "weight": 1.0, + "source": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", + "target": "storage_shared_getpvcspec" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment", - "target": "asyncstorage_deployment_getworkspacesyncdeploymentspec" + "source": "storage_shared_synccommonpvc", + "target": "pkg_provision_storage_shared_go_persistentvolumeclaim" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L153", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_deployment", - "target": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster" + "source": "storage_shared_addephemeralvolumesfromworkspace", + "target": "storage_shared_isephemeral" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L37", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L200", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", - "target": "asyncstorage_deployment_getworkspacesyncdeploymentspec" + "source": "storage_shared_getworkspacevolumes", + "target": "storage_shared_isephemeral" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L89", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", - "target": "pkg_provision_storage_asyncstorage_deployment_go_clusterapi" + "source": "storage_shared_isephemeral", + "target": "pkg_provision_storage_shared_go_volumecomponent" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L404", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", - "target": "pkg_provision_storage_asyncstorage_deployment_go_configmap" + "source": "storage_shared_rewritecontainervolumemounts", + "target": "storage_shared_isephemeral" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", - "target": "pkg_provision_storage_asyncstorage_deployment_go_deployment" + "source": "storage_shared_synccommonpvc", + "target": "pkg_provision_storage_shared_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L93", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", - "target": "pkg_provision_storage_asyncstorage_deployment_go_devworkspacewithconfig" + "source": "storage_shared_synccommonpvc", + "target": "pkg_provision_storage_shared_go_operatorconfiguration" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L38", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L114", "weight": 1.0, - "source": "asyncstorage_deployment_syncworkspacesyncdeploymenttocluster", + "source": "storage_shared_synccommonpvc", "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L236", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", - "target": "pkg_provision_storage_asyncstorage_deployment_go_devworkspacewithconfig" + "source": "storage_shared_checkforalternatepvc", + "target": "pkg_provision_storage_shared_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L326", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", - "target": "pkg_provision_storage_asyncstorage_deployment_go_configmap" + "source": "storage_shared_checkpvcterminating", + "target": "pkg_provision_storage_shared_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L176", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L252", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentcluster", - "target": "pkg_provision_storage_asyncstorage_deployment_go_clusterapi" + "source": "storage_shared_getsharedpvcworkspacecount", + "target": "pkg_provision_storage_shared_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L176", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L147", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentcluster", - "target": "pkg_provision_storage_asyncstorage_deployment_go_deployment" + "source": "storage_shared_addephemeralvolumesfromworkspace", + "target": "pkg_provision_storage_shared_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L147", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", - "target": "pkg_provision_storage_asyncstorage_deployment_go_deployment" + "source": "storage_shared_addephemeralvolumesfromworkspace", + "target": "pkg_provision_storage_shared_go_podadditions" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/deployment.go", - "source_location": "L57", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L149", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_deployment_getworkspacesyncdeploymentspec", - "target": "pkg_provision_storage_asyncstorage_deployment_go_toleration" + "source": "storage_shared_addephemeralvolumesfromworkspace", + "target": "storage_shared_addephemeralvolumestopodadditions" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L77", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L148", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_service", - "target": "asyncstorage_service_getworkspacesyncservicecluster" + "source": "storage_shared_addephemeralvolumesfromworkspace", + "target": "storage_shared_getworkspacevolumes" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L191", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_service", - "target": "asyncstorage_service_getworkspacesyncservicespec" + "source": "storage_shared_getworkspacevolumes", + "target": "pkg_provision_storage_shared_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_service", - "target": "asyncstorage_service_syncworkspacesyncservicetocluster" + "source": "storage_shared_addephemeralvolumestopodadditions", + "target": "pkg_provision_storage_shared_go_podadditions" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L30", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L350", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_service_syncworkspacesyncservicetocluster", - "target": "asyncstorage_service_getworkspacesyncservicespec" + "source": "storage_shared_rewritecontainervolumemounts", + "target": "pkg_provision_storage_shared_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_service_syncworkspacesyncservicetocluster", - "target": "pkg_provision_storage_asyncstorage_service_go_clusterapi" + "source": "storage_shared_addephemeralvolumestopodadditions", + "target": "pkg_provision_storage_shared_go_component" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L164", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_service_syncworkspacesyncservicetocluster", - "target": "pkg_provision_storage_asyncstorage_service_go_deployment" + "source": "storage_shared_addephemeralvolumestopodadditions", + "target": "pkg_provision_storage_shared_go_volume" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L29", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L191", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_service_syncworkspacesyncservicetocluster", - "target": "pkg_provision_storage_asyncstorage_service_go_service" + "source": "storage_shared_getworkspacevolumes", + "target": "pkg_provision_storage_shared_go_component" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L218", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "storage_shared_processprojectsvolume", + "target": "pkg_provision_storage_shared_go_component" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L36", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L276", "weight": 1.0, - "source": "asyncstorage_service_syncworkspacesyncservicetocluster", - "target": "sync_sync_syncobjectwithcluster" + "source": "storage_shared_findnodeforpvc", + "target": "handler_webhookhandler_parse" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L275", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_service_getworkspacesyncservicespec", - "target": "pkg_provision_storage_asyncstorage_service_go_deployment" + "source": "storage_shared_findnodeforpvc", + "target": "pkg_provision_storage_shared_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L77", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L275", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_service_getworkspacesyncservicecluster", - "target": "pkg_provision_storage_asyncstorage_service_go_clusterapi" + "source": "storage_shared_findnodeforpvc", + "target": "pkg_provision_storage_shared_go_context" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L77", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L287", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_service_getworkspacesyncservicecluster", - "target": "pkg_provision_storage_asyncstorage_service_go_service" + "source": "storage_shared_findnodeforpvc", + "target": "storage_shared_getnodenamewithpvc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L180", + "weight": 1.0, + "source": "storage_shared_test_testfindnodeforpvc", + "target": "storage_shared_findnodeforpvc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/service.go", - "source_location": "L51", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L296", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "asyncstorage_service_getworkspacesyncservicespec", - "target": "pkg_provision_storage_asyncstorage_service_go_service" + "source": "storage_shared_nodeaffinityforhostname", + "target": "pkg_provision_storage_shared_go_nodeaffinity", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L68", + "weight": 1.0, + "source": "storage_shared_test_testnodeaffinityforhostname", + "target": "storage_shared_nodeaffinityforhostname" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared.go", + "source_location": "L313", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_sidecar", - "target": "asyncstorage_sidecar_getasyncsidecar" + "source": "storage_shared_getnodenamewithpvc", + "target": "pkg_provision_storage_shared_go_podlist" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L83", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "asyncstorage_sidecar_getasyncsidecar", - "target": "pkg_provision_storage_asyncstorage_sidecar_go_container" + "source": "storage_shared_test", + "target": "storage_shared_test_testfindnodeforpvc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/sidecar.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L48", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_sidecar_getasyncsidecar", - "target": "pkg_provision_storage_asyncstorage_sidecar_go_volume" + "source": "storage_shared_test", + "target": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L55", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_ssh", - "target": "asyncstorage_ssh_extractsshkeypairfromsecret" + "source": "storage_shared_test", + "target": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L31", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L67", "weight": 1.0, "confidence_score": 1.0, - "source": "asyncstorage_ssh", - "target": "asyncstorage_ssh_getsshkeypair" + "source": "storage_shared_test", + "target": "storage_shared_test_testnodeaffinityforhostname" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/ssh.go", - "source_location": "L55", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_ssh_extractsshkeypairfromsecret", - "target": "pkg_provision_storage_asyncstorage_ssh_go_secret" + "source": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", + "target": "pkg_provision_storage_shared_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L23", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L83", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_volume", - "target": "asyncstorage_volume_getvolumefromsecret" + "source": "storage_shared_test_testfindnodeforpvc", + "target": "pkg_provision_storage_shared_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L23", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L48", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_volume_getvolumefromsecret", - "target": "pkg_provision_storage_asyncstorage_volume_go_secret" + "source": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", + "target": "pkg_provision_storage_shared_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/asyncstorage/volume.go", - "source_location": "L23", + "source_file": "pkg/provision/storage/shared_test.go", + "source_location": "L67", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "asyncstorage_volume_getvolumefromsecret", - "target": "pkg_provision_storage_asyncstorage_volume_go_volume" + "source": "storage_shared_test_testnodeaffinityforhostname", + "target": "pkg_provision_storage_shared_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L218", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L54", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup", - "target": "storage_cleanup_commonpvcexists" + "source": "sync_cluster_api", + "target": "sync_cluster_api_newnotinsync" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup", - "target": "storage_cleanup_getspeccommonpvccleanupjob" + "source": "sync_cluster_api", + "target": "sync_clusterapi" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L55", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L35", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup", - "target": "storage_cleanup_runcommonpvccleanupjob" + "source": "sync_cluster_api", + "target": "sync_notinsyncerror" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L55", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L40", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "pkg_provision_storage_cleanup_go_clusterapi" + "source": "sync_cluster_api", + "target": "sync_notinsyncreason" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L55", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L63", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" + "source": "sync_cluster_api", + "target": "sync_unrecoverablesyncerror" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L56", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L77", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "storage_cleanup_commonpvcexists" + "source": "sync_cluster_api", + "target": "sync_warningerror" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L64", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L28", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "storage_cleanup_getspeccommonpvccleanupjob" + "source": "sync_clusterapi", + "target": "pkg_provision_sync_cluster_api_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L68", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L31", "weight": 1.0, - "source": "storage_cleanup_runcommonpvccleanupjob", - "target": "sync_sync_syncobjectwithcluster" + "context": "field", + "confidence_score": 1.0, + "source": "sync_clusterapi", + "target": "pkg_provision_sync_cluster_api_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L107", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L30", "weight": 1.0, - "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", - "target": "storage_cleanup_runcommonpvccleanupjob" + "context": "field", + "confidence_score": 1.0, + "source": "sync_clusterapi", + "target": "pkg_provision_sync_cluster_api_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L218", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "storage_cleanup_commonpvcexists", - "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" + "source": "sync_clusterapi", + "target": "pkg_provision_sync_cluster_api_go_scheme" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L54", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "pkg_provision_storage_cleanup_go_devworkspacewithconfig" + "source": "sync_cluster_api_newnotinsync", + "target": "sync_notinsyncerror" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L218", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L36", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "storage_cleanup_commonpvcexists", - "target": "pkg_provision_storage_cleanup_go_clusterapi" + "source": "sync_notinsyncerror", + "target": "notinsyncreason" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L37", + "weight": 1.0, + "context": "field", + "confidence_score": 1.0, + "source": "sync_notinsyncerror", + "target": "pkg_provision_sync_cluster_api_go_object" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L49", + "weight": 1.0, + "confidence_score": 1.0, + "source": "sync_notinsyncerror", + "target": "sync_notinsyncerror_error" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L54", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "pkg_provision_storage_cleanup_go_clusterapi" + "source": "sync_cluster_api_newnotinsync", + "target": "pkg_provision_sync_cluster_api_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L54", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "pkg_provision_storage_cleanup_go_job" + "source": "sync_cluster_api_newnotinsync", + "target": "sync_notinsyncreason" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L114", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L142", "weight": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "storage_shared_checkforalternatepvc" + "source": "sync_sync_createobjectgeneric", + "target": "sync_cluster_api_newnotinsync" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L122", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L90", "weight": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "storage_shared_findnodeforpvc" + "source": "sync_sync_syncobjectafterread", + "target": "sync_cluster_api_newnotinsync" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup.go", - "source_location": "L198", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L75", "weight": 1.0, - "source": "storage_cleanup_getspeccommonpvccleanupjob", - "target": "storage_shared_nodeaffinityforhostname" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_cluster_api_newnotinsync" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L132", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L112", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", - "target": "storage_cleanup_getspeccommonpvccleanupjob" + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "sync_cluster_api_newnotinsync" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L79", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L162", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", - "target": "storage_cleanup_getspeccommonpvccleanupjob" + "source": "sync_sync_updateobjectgeneric", + "target": "sync_cluster_api_newnotinsync" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L183", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L67", "weight": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", - "target": "storage_cleanup_getspeccommonpvccleanupjob" + "confidence_score": 1.0, + "source": "sync_unrecoverablesyncerror", + "target": "sync_unrecoverablesyncerror_error" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L84", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L71", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup_test", - "target": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc" + "source": "sync_unrecoverablesyncerror", + "target": "sync_unrecoverablesyncerror_unwrap" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L36", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup_test", - "target": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext" + "source": "sync_warningerror", + "target": "sync_warningerror_error" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L146", + "source_file": "pkg/provision/sync/cluster_api.go", + "source_location": "L89", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_cleanup_test", - "target": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext" + "source": "sync_warningerror", + "target": "sync_warningerror_unwrap" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L36", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L119", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobusesconfigpodsecuritycontext", - "target": "pkg_provision_storage_cleanup_test_go_t" + "source": "sync_diff", + "target": "sync_diff_alldifffuncs" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L84", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobhasnodeaffinitywhenpodmountspvc", - "target": "pkg_provision_storage_cleanup_test_go_t" + "source": "sync_diff", + "target": "sync_diff_basicdifffunc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/cleanup_test.go", - "source_location": "L146", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L213", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_cleanup_test_testgetspeccommonpvccleanupjobwithnilpodsecuritycontext", - "target": "pkg_provision_storage_cleanup_test_go_t" + "source": "sync_diff", + "target": "sync_diff_containersdifffunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L37", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L285", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage", - "target": "storage_commonstorageprovisioner" + "source": "sync_diff", + "target": "sync_diff_containsownerref" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L98", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L132", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner", - "target": "storage_commonstorageprovisioner_cleanupworkspacestorage" + "source": "sync_diff", + "target": "sync_diff_deploymentdifffunc" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L41", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L250", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner", - "target": "storage_commonstorageprovisioner_needsstorage" + "source": "sync_diff", + "target": "sync_diff_jobdifffunc" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L65", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner", - "target": "storage_commonstorageprovisioner_provisionstorage" + "source": "sync_diff", + "target": "sync_diff_metadatadifffunc" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L133", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L141", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner", - "target": "storage_commonstorageprovisioner_rewritecontainervolumemounts" + "source": "sync_diff", + "target": "sync_diff_poddifffunc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L41", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L92", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_needsstorage", - "target": "pkg_provision_storage_commonstorage_go_devworkspacetemplatespec" + "source": "sync_diff", + "target": "sync_diff_podtemplatemetadatadifffunc" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L42", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L241", "weight": 1.0, - "source": "storage_commonstorageprovisioner_needsstorage", - "target": "storage_shared_workspaceneedsstorage" + "confidence_score": 1.0, + "source": "sync_diff", + "target": "sync_diff_routingdifffunc" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L52", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L257", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "storage_commonstorageprovisioner_needsstorage" + "source": "sync_diff", + "target": "sync_diff_servicedifffunc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L133", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L281", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_rewritecontainervolumemounts", - "target": "pkg_provision_storage_commonstorage_go_devworkspacetemplatespec" + "source": "sync_diff", + "target": "sync_diff_unrecognizedobjectdifffunc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L38", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_commonstorage_go_clusterapi" + "source": "sync_diff", + "target": "sync_difffunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L119", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_commonstorage_go_devworkspacewithconfig" + "source": "sync_diff_alldifffuncs", + "target": "sync_difffunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L45", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_commonstorage_go_podadditions" + "source": "sync_diff_basicdifffunc", + "target": "sync_difffunc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/sync.go", "source_location": "L82", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "storage_commonstorageprovisioner_rewritecontainervolumemounts" + "source": "sync_sync_syncobjectafterread", + "target": "sync_difffunc" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L47", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L67", "weight": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "storage_shared_addephemeralvolumesfromworkspace" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_difffunc" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L57", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "sync_diff_basicdifffunc", + "target": "options" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L56", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L181", "weight": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "storage_shared_checkforalternatepvc" + "source": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges", + "target": "sync_diff_basicdifffunc" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L64", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L149", "weight": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "storage_shared_checkpvcterminating" + "source": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata", + "target": "sync_diff_basicdifffunc" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L65", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "sync_diff_metadatadifffunc", + "target": "pkg_provision_sync_diff_go_object" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L80", + "weight": 1.0, + "confidence_score": 1.0, + "source": "sync_diff_metadatadifffunc", + "target": "sync_diff_containsownerref" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L75", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L247", "weight": 1.0, - "source": "storage_commonstorageprovisioner_provisionstorage", - "target": "storage_shared_synccommonpvc" + "source": "sync_diff_test_testmetadatadiffrequiresemptylabelpresence", + "target": "sync_diff_metadatadifffunc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L282", + "weight": 1.0, + "confidence_score": 1.0, + "source": "sync_diff_unrecognizedobjectdifffunc", + "target": "sync_diff_metadatadifffunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L133", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L132", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_rewritecontainervolumemounts", - "target": "pkg_provision_storage_commonstorage_go_podadditions" + "source": "sync_diff_deploymentdifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L98", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L250", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_commonstorage_go_devworkspacewithconfig" + "source": "sync_diff_jobdifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L98", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L141", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_commonstorage_go_clusterapi" + "source": "sync_diff_poddifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage.go", - "source_location": "L99", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L92", "weight": 1.0, - "source": "storage_commonstorageprovisioner_cleanupworkspacestorage", - "target": "storage_shared_getsharedpvcworkspacecount" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "sync_diff_podtemplatemetadatadifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L79", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L241", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_getdevworkspacewithconfig" + "source": "sync_diff_routingdifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L49", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L257", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_init" + "source": "sync_diff_servicedifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L98", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L281", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_loadalltestcasesorpanic" + "source": "sync_diff_unrecognizedobjectdifffunc", + "target": "pkg_provision_sync_diff_go_object" }, { - "relation": "contains", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L107", + "weight": 1.0, + "source": "sync_diff_test_testpodtemplatemetadatadifffunc", + "target": "sync_diff_podtemplatemetadatadifffunc" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L121", + "weight": 1.0, + "source": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment", + "target": "sync_diff_podtemplatemetadatadifffunc" + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L86", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L198", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_loadtestcaseorpanic" + "source": "sync_diff_poddifffunc", + "target": "sync_diff_containersdifffunc" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L300", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L213", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_sortvolumesandvolumemounts" + "source": "sync_diff_containersdifffunc", + "target": "pkg_provision_sync_diff_go_container" }, { - "relation": "contains", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L102", + "weight": 1.0, + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "sync_diff_unrecognizedobjectdifffunc" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L195", + "source_file": "pkg/provision/sync/diff.go", + "source_location": "L285", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_testneedsstorage" + "source": "sync_diff_containsownerref", + "target": "pkg_provision_sync_diff_go_ownerreference" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service.go", + "source_location": "L72", + "weight": 1.0, + "source": "sync_service_recoverservicecreatecollision", + "target": "sync_diff_containsownerref" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/update.go", + "source_location": "L63", + "weight": 1.0, + "source": "sync_update_serviceaccountupdatefunc", + "target": "sync_diff_containsownerref" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L130", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L159", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass" + "source": "sync_diff_test", + "target": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L167", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L127", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_testterminatingpvc" + "source": "sync_diff_test", + "target": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L113", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L191", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass" + "source": "sync_diff_test", + "target": "sync_diff_test_testdeploymentfulldiff_externallabelsnoupdate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L55", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L234", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_testcase" + "source": "sync_diff_test", + "target": "sync_diff_test_testmetadatadiffrequiresemptylabelpresence", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L61", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_testinput" + "source": "sync_diff_test", + "target": "sync_diff_test_testpodtemplatemetadatadifffunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L67", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L118", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_commonstorage_test", - "target": "storage_testoutput" + "source": "sync_diff_test", + "target": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L98", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L25", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test_loadalltestcasesorpanic", - "target": "storage_testcase" + "source": "sync_diff_test_testpodtemplatemetadatadifffunc", + "target": "pkg_provision_sync_diff_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L86", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L159", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test_loadtestcaseorpanic", - "target": "storage_testcase" + "source": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges", + "target": "pkg_provision_sync_diff_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L57", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L127", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_testcase", - "target": "pkg_provision_storage_commonstorage_test_go_testinput" + "source": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata", + "target": "pkg_provision_sync_diff_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L58", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L191", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_testcase", - "target": "pkg_provision_storage_commonstorage_test_go_testoutput" + "source": "sync_diff_test_testdeploymentfulldiff_externallabelsnoupdate", + "target": "pkg_provision_sync_diff_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L64", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L234", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "storage_testinput", - "target": "pkg_provision_storage_commonstorage_test_go_devworkspacetemplatespec" + "context": "parameter_type", + "source": "sync_diff_test_testmetadatadiffrequiresemptylabelpresence", + "target": "pkg_provision_sync_diff_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L63", + "source_file": "pkg/provision/sync/diff_test.go", + "source_location": "L118", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_testinput", - "target": "pkg_provision_storage_commonstorage_test_go_podadditions" + "source": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment", + "target": "pkg_provision_sync_diff_test_go_t" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L300", + "source_file": "pkg/provision/sync/diffopts.go", + "source_location": "L101", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_commonstorage_test_sortvolumesandvolumemounts", - "target": "pkg_provision_storage_commonstorage_test_go_podadditions" + "source": "sync_diffopts", + "target": "sync_diffopts_getnamefromenvfrom" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L68", + "source_file": "pkg/provision/sync/diffopts.go", + "source_location": "L101", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_testoutput", - "target": "pkg_provision_storage_commonstorage_test_go_podadditions" + "source": "sync_diffopts_getnamefromenvfrom", + "target": "pkg_provision_sync_diffopts_go_envfromsource" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L69", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "storage_testoutput", - "target": "pkg_provision_storage_commonstorage_test_go_quantity" + "source": "sync_service", + "target": "sync_service_recoverservicecreatecollision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L45", + "weight": 1.0, + "source": "sync_service", + "target": "sync_service_serviceownershipconflict", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", + "weight": 1.0, + "source": "sync_service", + "target": "sync_service_syncroutingservicewithcluster", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L88", + "weight": 1.0, + "source": "sync_service", + "target": "sync_serviceconflicterror", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L79", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_getdevworkspacewithconfig", - "target": "pkg_provision_storage_commonstorage_test_go_devworkspace" + "source": "sync_service_syncroutingservicewithcluster", + "target": "pkg_provision_sync_service_go_clusterapi", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L79", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_getdevworkspacewithconfig", - "target": "pkg_provision_storage_commonstorage_test_go_devworkspacewithconfig" + "source": "sync_service_syncroutingservicewithcluster", + "target": "pkg_provision_sync_service_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L29", + "weight": 1.0, + "context": "parameter_type", + "source": "sync_service_syncroutingservicewithcluster", + "target": "pkg_provision_sync_service_go_service", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L151", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L37", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", - "target": "storage_commonstorage_test_getdevworkspacewithconfig" + "source": "sync_service_syncroutingservicewithcluster", + "target": "sync_service_serviceownershipconflict", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L187", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service.go", + "source_location": "L40", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testterminatingpvc", - "target": "storage_commonstorage_test_getdevworkspacewithconfig" + "source": "sync_service_syncroutingservicewithcluster", + "target": "sync_sync_syncobjectafterread" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L121", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L282", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", - "target": "storage_commonstorage_test_getdevworkspacewithconfig" + "source": "sync_service_test_testroutingservicesyncreadsonceandwritesthroughcachedclient", + "target": "sync_service_syncroutingservicewithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L108", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L164", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_loadalltestcasesorpanic", - "target": "storage_commonstorage_test_loadtestcaseorpanic" + "source": "sync_service_test_testsyncaggregateservicerejectshiddenforeignservice", + "target": "sync_service_syncroutingservicewithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L86", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L65", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_loadtestcaseorpanic", - "target": "pkg_provision_storage_commonstorage_test_go_t" + "source": "sync_service_test_testsyncdiscoverableservicepreservesforeignservice", + "target": "sync_service_syncroutingservicewithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L181", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L103", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testterminatingpvc", - "target": "storage_commonstorage_test_loadtestcaseorpanic" + "source": "sync_service_test_testsyncdiscoverableserviceupdatesownedservice", + "target": "sync_service_syncroutingservicewithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L114", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L137", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", - "target": "storage_commonstorage_test_loadtestcaseorpanic" + "source": "sync_service_test_testsyncownedservicerestoresmissingworkspacelabel", + "target": "sync_service_syncroutingservicewithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L98", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_loadalltestcasesorpanic", - "target": "pkg_provision_storage_commonstorage_test_go_t" + "source": "sync_service_recoverservicecreatecollision", + "target": "pkg_provision_sync_service_go_service", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L195", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L45", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testneedsstorage", - "target": "pkg_provision_storage_commonstorage_test_go_t" + "source": "sync_service_serviceownershipconflict", + "target": "pkg_provision_sync_service_go_service", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L130", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", - "target": "pkg_provision_storage_commonstorage_test_go_t" + "source": "sync_service_recoverservicecreatecollision", + "target": "pkg_provision_sync_service_go_clusterapi", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L167", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testterminatingpvc", - "target": "pkg_provision_storage_commonstorage_test_go_t" + "context": "return_type", + "source": "sync_service_recoverservicecreatecollision", + "target": "pkg_provision_sync_service_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L113", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L56", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", - "target": "pkg_provision_storage_commonstorage_test_go_t" + "source": "sync_service_recoverservicecreatecollision", + "target": "notinsyncerror", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L131", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service.go", + "source_location": "L83", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", - "target": "storage_commonstorage_test_loadalltestcasesorpanic" + "source": "sync_service_recoverservicecreatecollision", + "target": "sync_sync_syncobjectafterread" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L121", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L59", "weight": 1.0, - "source": "storage_commonstorage_test_testusecommonstorageprovisionerforperuserstorageclass", - "target": "storage_provisioner_getprovisioner" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_service_recoverservicecreatecollision" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L158", + "source_file": "pkg/provision/sync/service.go", + "source_location": "L94", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", - "target": "storage_commonstorage_test_sortvolumesandvolumemounts" + "source": "sync_serviceconflicterror", + "target": "sync_serviceconflicterror_error", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L133", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L37", "weight": 1.0, - "source": "storage_commonstorage_test_testprovisionstorageforcommonstorageclass", - "target": "storage_shared_getpvcspec" + "source": "sync_service_collision_test", + "target": "sync_service_collision_test_collisionservices", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L169", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L243", "weight": 1.0, - "source": "storage_commonstorage_test_testterminatingpvc", - "target": "storage_shared_getpvcspec" + "source": "sync_service_collision_test", + "target": "sync_service_collision_test_testgenericnonservicecollisionkeepsupdatefallback", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/commonStorage_test.go", - "source_location": "L292", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L153", "weight": 1.0, - "source": "storage_commonstorage_test_testneedsstorage", - "target": "storage_shared_workspaceneedsstorage" + "source": "sync_service_collision_test", + "target": "sync_service_collision_test_testgenericservicecollisionoutcomes", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L45", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L55", "weight": 1.0, - "source": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", - "target": "storage_commonstorage_test_sortvolumesandvolumemounts" + "source": "sync_service_collision_test", + "target": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L106", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L108", "weight": 1.0, - "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", - "target": "storage_commonstorage_test_sortvolumesandvolumemounts" + "source": "sync_service_collision_test", + "target": "sync_service_collision_test_testgenericservicecollisionrepairsownedservice", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L37", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_ephemeralstorage", - "target": "storage_ephemeralstorageprovisioner" + "context": "return_type", + "source": "sync_service_collision_test_collisionservices", + "target": "pkg_provision_sync_service_collision_test_go_service", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L63", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L157", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner", - "target": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage" + "source": "sync_service_collision_test_testgenericservicecollisionoutcomes", + "target": "sync_service_collision_test_collisionservices", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L34", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L58", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner", - "target": "storage_ephemeralstorageprovisioner_needsstorage" + "source": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", + "target": "sync_service_collision_test_collisionservices", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L111", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner", - "target": "storage_ephemeralstorageprovisioner_provisionstorage" + "source": "sync_service_collision_test_testgenericservicecollisionrepairsownedservice", + "target": "sync_service_collision_test_collisionservices", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L34", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L55", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner_needsstorage", - "target": "pkg_provision_storage_ephemeralstorage_go_devworkspacetemplatespec" + "source": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", + "target": "pkg_provision_sync_service_collision_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L88", + "weight": 1.0, + "source": "sync_service_collision_test_testgenericservicecollisionrejectsforeignownership", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L243", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_ephemeralstorage_go_clusterapi" + "source": "sync_service_collision_test_testgenericnonservicecollisionkeepsupdatefallback", + "target": "pkg_provision_sync_service_collision_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L153", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_ephemeralstorage_go_devworkspacewithconfig" + "source": "sync_service_collision_test_testgenericservicecollisionoutcomes", + "target": "pkg_provision_sync_service_collision_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L39", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L108", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_ephemeralstorage_go_podadditions" + "source": "sync_service_collision_test_testgenericservicecollisionrepairsownedservice", + "target": "pkg_provision_sync_service_collision_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L41", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L124", "weight": 1.0, - "source": "storage_ephemeralstorageprovisioner_provisionstorage", - "target": "storage_shared_addephemeralvolumestopodadditions" + "source": "sync_service_collision_test_testgenericservicecollisionrepairsownedservice", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L40", + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L201", "weight": 1.0, - "source": "storage_ephemeralstorageprovisioner_provisionstorage", - "target": "storage_shared_getworkspacevolumes" + "source": "sync_service_collision_test_testgenericservicecollisionoutcomes", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L63", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_collision_test.go", + "source_location": "L252", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_ephemeralstorage_go_devworkspacewithconfig" + "source": "sync_service_collision_test_testgenericnonservicecollisionkeepsupdatefallback", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage.go", - "source_location": "L63", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L321", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_ephemeralstorage_go_clusterapi" + "source": "sync_service_test", + "target": "sync_countingserviceclient", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L26", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L181", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_ephemeralstorage_test", - "target": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass" + "source": "sync_service_test", + "target": "sync_filteredserviceclient", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/ephemeralStorage_test.go", - "source_location": "L26", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L207", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_ephemeralstorage_test_testrewritecontainervolumemountsforephemeralstorageclass", - "target": "pkg_provision_storage_ephemeralstorage_test_go_t" + "source": "sync_service_test", + "target": "sync_service_test_testgenericservicesyncusescachedclient", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L257", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorage", - "target": "storage_perworkspacestorage_getpvcsize" + "source": "sync_service_test", + "target": "sync_service_test_testroutingservicesyncreadsonceandwritesthroughcachedclient", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L152", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L154", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorage", - "target": "storage_perworkspacestorage_syncperworkspacepvc" + "source": "sync_service_test", + "target": "sync_service_test_testsyncaggregateservicerejectshiddenforeignservice", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", + "source_file": "pkg/provision/sync/service_test.go", "source_location": "L37", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorage", - "target": "storage_perworkspacestorageprovisioner" + "source": "sync_service_test", + "target": "sync_service_test_testsyncdiscoverableservicepreservesforeignservice", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L91", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L92", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner", - "target": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage" + "source": "sync_service_test", + "target": "sync_service_test_testsyncdiscoverableserviceupdatesownedservice", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L44", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L118", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner", - "target": "storage_perworkspacestorageprovisioner_needsstorage" + "source": "sync_service_test", + "target": "sync_service_test_testsyncownedservicerestoresmissingworkspacelabel", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L195", + "weight": 1.0, + "source": "sync_service_test", + "target": "sync_servicecreateraceclient", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L37", + "weight": 1.0, + "context": "parameter_type", + "source": "sync_service_test_testsyncdiscoverableservicepreservesforeignservice", + "target": "pkg_provision_sync_service_test_go_t", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L62", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner", - "target": "storage_perworkspacestorageprovisioner_provisionstorage" + "source": "sync_service_test_testsyncdiscoverableservicepreservesforeignservice", + "target": "sync_countingserviceclient_create", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L99", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L70", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner", - "target": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts" + "source": "sync_service_test_testsyncdiscoverableservicepreservesforeignservice", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L44", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L207", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_needsstorage", - "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacetemplatespec" + "source": "sync_service_test_testgenericservicesyncusescachedclient", + "target": "pkg_provision_sync_service_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L99", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L257", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts", - "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacetemplatespec" + "source": "sync_service_test_testroutingservicesyncreadsonceandwritesthroughcachedclient", + "target": "pkg_provision_sync_service_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L154", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_perworkspacestorage_go_clusterapi" + "source": "sync_service_test_testsyncaggregateservicerejectshiddenforeignservice", + "target": "pkg_provision_sync_service_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L92", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" + "source": "sync_service_test_testsyncdiscoverableserviceupdatesownedservice", + "target": "pkg_provision_sync_service_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L118", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "pkg_provision_storage_perworkspacestorage_go_podadditions" + "source": "sync_service_test_testsyncownedservicerestoresmissingworkspacelabel", + "target": "pkg_provision_sync_service_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L60", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L109", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "storage_perworkspacestorage_syncperworkspacepvc" + "source": "sync_service_test_testsyncdiscoverableserviceupdatesownedservice", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L74", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L143", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts" + "source": "sync_service_test_testsyncownedservicerestoresmissingworkspacelabel", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L50", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L171", "weight": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "storage_shared_addephemeralvolumesfromworkspace" + "source": "sync_service_test_testsyncaggregateservicerejectshiddenforeignservice", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L55", + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L181", "weight": 1.0, - "source": "storage_perworkspacestorageprovisioner_provisionstorage", - "target": "storage_shared_workspaceneedsstorage" + "source": "sync_filteredserviceclient", + "target": "pkg_provision_sync_service_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", + "weight": 1.0, + "source": "sync_filteredserviceclient", + "target": "sync_filteredserviceclient_get", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L322", + "weight": 1.0, + "source": "sync_countingserviceclient", + "target": "pkg_provision_sync_service_test_go_client", + "confidence_score": 1.0 + }, + { + "relation": "embeds", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L196", + "weight": 1.0, + "source": "sync_servicecreateraceclient", + "target": "pkg_provision_sync_service_test_go_client", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L99", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_rewritecontainervolumemounts", - "target": "pkg_provision_storage_perworkspacestorage_go_podadditions" + "source": "sync_filteredserviceclient_get", + "target": "pkg_provision_sync_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_getpvcsize", - "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" + "source": "sync_filteredserviceclient_get", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L152", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L183", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" + "source": "sync_filteredserviceclient_get", + "target": "pkg_provision_sync_service_test_go_objectkey", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L184", + "weight": 1.0, + "source": "sync_filteredserviceclient_get", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L91", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L332", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_perworkspacestorage_go_devworkspacewithconfig" + "source": "sync_countingserviceclient_create", + "target": "pkg_provision_sync_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L152", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L344", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "pkg_provision_storage_perworkspacestorage_go_clusterapi" + "source": "sync_countingserviceclient_delete", + "target": "pkg_provision_sync_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L91", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L327", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorageprovisioner_cleanupworkspacestorage", - "target": "pkg_provision_storage_perworkspacestorage_go_clusterapi" + "source": "sync_countingserviceclient_get", + "target": "pkg_provision_sync_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L337", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_getpvcsize", - "target": "namespacedconfig" + "source": "sync_countingserviceclient_update", + "target": "pkg_provision_sync_service_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L111", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L200", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_getpvcsize", - "target": "pkg_provision_storage_perworkspacestorage_go_quantity" + "context": "parameter_type", + "source": "sync_servicecreateraceclient_create", + "target": "pkg_provision_sync_service_test_go_context", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L119", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L327", "weight": 1.0, - "source": "storage_perworkspacestorage_getpvcsize", - "target": "storage_shared_isephemeral" + "context": "parameter_type", + "source": "sync_countingserviceclient_get", + "target": "pkg_provision_sync_service_test_go_objectkey", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L158", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L324", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "storage_perworkspacestorage_getpvcsize" + "context": "field", + "source": "sync_countingserviceclient", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L152", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L332", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "pkg_provision_storage_perworkspacestorage_go_persistentvolumeclaim" + "context": "parameter_type", + "source": "sync_countingserviceclient_create", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L164", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L344", "weight": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "storage_shared_getpvcspec" + "context": "parameter_type", + "source": "sync_countingserviceclient_delete", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage.go", - "source_location": "L178", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L327", "weight": 1.0, - "source": "storage_perworkspacestorage_syncperworkspacepvc", - "target": "sync_sync_syncobjectwithcluster" + "context": "parameter_type", + "source": "sync_countingserviceclient_get", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L38", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L337", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_test", - "target": "storage_perworkspacestorage_test_init" + "context": "parameter_type", + "source": "sync_countingserviceclient_update", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L44", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L200", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_test", - "target": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass" + "context": "parameter_type", + "source": "sync_servicecreateraceclient_create", + "target": "pkg_provision_sync_service_test_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L44", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L197", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", - "target": "pkg_provision_storage_perworkspacestorage_test_go_t" + "context": "field", + "source": "sync_servicecreateraceclient", + "target": "pkg_provision_sync_service_test_go_service", + "confidence_score": 1.0 + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L200", + "weight": 1.0, + "source": "sync_servicecreateraceclient", + "target": "sync_servicecreateraceclient_create", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/perWorkspaceStorage_test.go", - "source_location": "L63", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L201", "weight": 1.0, - "source": "storage_perworkspacestorage_test_testrewritecontainervolumemountsforperworkspacestorageclass", - "target": "storage_shared_workspaceneedsstorage" + "source": "sync_servicecreateraceclient_create", + "target": "sync_countingserviceclient_create", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/provisioner.go", - "source_location": "L33", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L247", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_provisioner", - "target": "storage_provisioner" + "source": "sync_service_test_testgenericservicesyncusescachedclient", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/provisioner.go", - "source_location": "L49", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L235", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_provisioner_getprovisioner", - "target": "storage_provisioner" + "source": "sync_service_test_testgenericservicesyncusescachedclient", + "target": "sync_countingserviceclient_update", + "confidence_score": 1.0 }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/provisioner.go", - "source_location": "L49", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L224", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_provisioner_getprovisioner", - "target": "pkg_provision_storage_provisioner_go_devworkspacewithconfig" + "source": "sync_service_test_testgenericservicesyncusescachedclient", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L147", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L272", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_addephemeralvolumesfromworkspace" + "source": "sync_service_test_testroutingservicesyncreadsonceandwritesthroughcachedclient", + "target": "sync_countingserviceclient_create", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L303", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_addephemeralvolumestopodadditions" + "source": "sync_service_test_testroutingservicesyncreadsonceandwritesthroughcachedclient", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L236", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L332", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_checkforalternatepvc" + "source": "sync_countingserviceclient", + "target": "sync_countingserviceclient_create", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L326", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L344", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_checkpvcterminating" + "source": "sync_countingserviceclient", + "target": "sync_countingserviceclient_delete", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L275", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L327", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_findnodeforpvc" + "source": "sync_countingserviceclient", + "target": "sync_countingserviceclient_get", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L313", + "source_file": "pkg/provision/sync/service_test.go", + "source_location": "L337", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_getnodenamewithpvc" + "source": "sync_countingserviceclient", + "target": "sync_countingserviceclient_update", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L137", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_getpvcspec" + "source": "sync_sync", + "target": "sync_sync_createobjectgeneric" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L252", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_getsharedpvcworkspacecount" + "source": "sync_sync", + "target": "sync_sync_deleteobject", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L191", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L180", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_getworkspacevolumes" + "source": "sync_sync", + "target": "sync_sync_ismutableobject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L89", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_isephemeral" + "source": "sync_sync", + "target": "sync_sync_isrecognizedobject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L293", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L189", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_nodeaffinityforhostname" + "source": "sync_sync", + "target": "sync_sync_printdiff" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L218", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L65", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_processprojectsvolume" + "source": "sync_sync", + "target": "sync_sync_syncobjectafterread", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L350", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L47", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_rewritecontainervolumemounts" + "source": "sync_sync", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L91", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_synccommonpvc" + "source": "sync_sync", + "target": "sync_sync_syncunrecognizedobjectwithcluster" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L45", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L154", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared", - "target": "storage_shared_workspaceneedsstorage" + "source": "sync_sync", + "target": "sync_sync_updateobjectgeneric" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L45", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_workspaceneedsstorage", - "target": "pkg_provision_storage_shared_go_devworkspacetemplatespec" + "source": "sync_sync_isrecognizedobject", + "target": "pkg_provision_sync_sync_go_object" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L50", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L137", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_workspaceneedsstorage", - "target": "storage_shared_isephemeral" + "source": "sync_sync_createobjectgeneric", + "target": "pkg_provision_sync_sync_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L218", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_processprojectsvolume", - "target": "pkg_provision_storage_shared_go_devworkspacetemplatespec" + "source": "sync_sync_deleteobject", + "target": "pkg_provision_sync_sync_go_object", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L350", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L180", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_rewritecontainervolumemounts", - "target": "pkg_provision_storage_shared_go_devworkspacetemplatespec" + "source": "sync_sync_ismutableobject", + "target": "pkg_provision_sync_sync_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L189", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_getpvcspec", - "target": "pkg_provision_storage_shared_go_persistentvolumeaccessmode" + "source": "sync_sync_printdiff", + "target": "pkg_provision_sync_sync_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L65", + "weight": 1.0, + "context": "return_type", + "source": "sync_sync_syncobjectafterread", + "target": "pkg_provision_sync_sync_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L47", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "storage_shared_getpvcspec", - "target": "pkg_provision_storage_shared_go_persistentvolumeclaim" + "source": "sync_sync_syncobjectwithcluster", + "target": "pkg_provision_sync_sync_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L66", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L91", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "storage_shared_getpvcspec", - "target": "pkg_provision_storage_shared_go_quantity" + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "pkg_provision_sync_sync_go_object" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L106", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L154", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_synccommonpvc", - "target": "storage_shared_getpvcspec" + "source": "sync_sync_updateobjectgeneric", + "target": "pkg_provision_sync_sync_go_object" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L56", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L116", "weight": 1.0, - "source": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", - "target": "storage_shared_getpvcspec" + "source": "networkpolicy_networkpolicy_createnetworkpolicy", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L37", - "weight": 1.0, - "source": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", - "target": "storage_shared_getpvcspec" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L32", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_shared_synccommonpvc", - "target": "pkg_provision_storage_shared_go_persistentvolumeclaim" + "source": "rbac_role_syncroles", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L153", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L111", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumesfromworkspace", - "target": "storage_shared_isephemeral" + "source": "rbac_rolebinding_addserviceaccounttorolebinding", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L200", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L145", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_getworkspacevolumes", - "target": "storage_shared_isephemeral" + "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L89", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L47", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_isephemeral", - "target": "pkg_provision_storage_shared_go_volumecomponent" + "source": "sync_sync_syncobjectwithcluster", + "target": "pkg_provision_sync_sync_go_clusterapi" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L404", - "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_rewritecontainervolumemounts", - "target": "storage_shared_isephemeral" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L54", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_synccommonpvc", - "target": "pkg_provision_storage_shared_go_clusterapi" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_sync_createobjectgeneric" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L93", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L59", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_synccommonpvc", - "target": "pkg_provision_storage_shared_go_operatorconfiguration" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_sync_ismutableobject" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L114", - "weight": 1.0, - "source": "storage_shared_synccommonpvc", - "target": "sync_sync_syncobjectwithcluster" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L236", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L69", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_checkforalternatepvc", - "target": "pkg_provision_storage_shared_go_clusterapi" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_sync_printdiff" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L326", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L56", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_checkpvcterminating", - "target": "pkg_provision_storage_shared_go_clusterapi" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_sync_syncobjectafterread", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L252", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L79", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_getsharedpvcworkspacecount", - "target": "pkg_provision_storage_shared_go_clusterapi" + "source": "sync_sync_syncobjectwithcluster", + "target": "sync_sync_updateobjectgeneric" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L147", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L68", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumesfromworkspace", - "target": "pkg_provision_storage_shared_go_devworkspacewithconfig" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "sync_sync_syncobjectwithcluster" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L147", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L45", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumesfromworkspace", - "target": "pkg_provision_storage_shared_go_podadditions" + "source": "workspace_routing_syncroutingtocluster", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L149", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L72", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumesfromworkspace", - "target": "storage_shared_addephemeralvolumestopodadditions" + "source": "workspace_serviceaccount_syncserviceaccount", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L148", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumesfromworkspace", - "target": "storage_shared_getworkspacevolumes" + "source": "workspace_ssh_provisionsshaskpass", + "target": "sync_sync_syncobjectwithcluster" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L191", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L137", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_getworkspacevolumes", - "target": "pkg_provision_storage_shared_go_devworkspacewithconfig" + "source": "sync_sync_createobjectgeneric", + "target": "pkg_provision_sync_sync_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L65", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumestopodadditions", - "target": "pkg_provision_storage_shared_go_podadditions" + "source": "sync_sync_syncobjectafterread", + "target": "pkg_provision_sync_sync_go_clusterapi", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L350", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L91", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_rewritecontainervolumemounts", - "target": "pkg_provision_storage_shared_go_podadditions" + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "pkg_provision_sync_sync_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L154", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumestopodadditions", - "target": "pkg_provision_storage_shared_go_component" + "source": "sync_sync_updateobjectgeneric", + "target": "pkg_provision_sync_sync_go_clusterapi" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L164", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L68", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_shared_addephemeralvolumestopodadditions", - "target": "pkg_provision_storage_shared_go_volume" + "source": "sync_sync_syncobjectafterread", + "target": "sync_sync_createobjectgeneric", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L191", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L85", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_shared_getworkspacevolumes", - "target": "pkg_provision_storage_shared_go_component" + "source": "sync_sync_syncobjectafterread", + "target": "sync_sync_deleteobject", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L218", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L74", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_shared_processprojectsvolume", - "target": "pkg_provision_storage_shared_go_component" + "source": "sync_sync_syncobjectafterread", + "target": "sync_sync_ismutableobject", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L276", - "weight": 1.0, - "source": "storage_shared_findnodeforpvc", - "target": "handler_webhookhandler_parse" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L275", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L84", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_findnodeforpvc", - "target": "pkg_provision_storage_shared_go_client" + "source": "sync_sync_syncobjectafterread", + "target": "sync_sync_printdiff", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L275", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L94", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_findnodeforpvc", - "target": "pkg_provision_storage_shared_go_context" + "source": "sync_sync_syncobjectafterread", + "target": "sync_sync_updateobjectgeneric", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L287", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared_findnodeforpvc", - "target": "storage_shared_getnodenamewithpvc" + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "sync_sync_createobjectgeneric" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L180", - "weight": 1.0, - "source": "storage_shared_test_testfindnodeforpvc", - "target": "storage_shared_findnodeforpvc" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L293", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L137", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "storage_shared_nodeaffinityforhostname", - "target": "affinity" + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "sync_sync_deleteobject", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L68", - "weight": 1.0, - "source": "storage_shared_test_testnodeaffinityforhostname", - "target": "storage_shared_nodeaffinityforhostname" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared.go", - "source_location": "L313", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L104", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_getnodenamewithpvc", - "target": "pkg_provision_storage_shared_go_podlist" + "source": "sync_sync_syncunrecognizedobjectwithcluster", + "target": "sync_update_unrecognizedobjectupdatefunc" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L83", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L146", "weight": 1.0, "confidence_score": 1.0, - "source": "storage_shared_test", - "target": "storage_shared_test_testfindnodeforpvc" + "source": "sync_sync_createobjectgeneric", + "target": "sync_sync_updateobjectgeneric" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L177", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_test", - "target": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode" + "source": "sync_sync_updateobjectgeneric", + "target": "sync_sync_deleteobject", + "confidence_score": 1.0 }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L30", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L155", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_test", - "target": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode" + "source": "sync_sync_updateobjectgeneric", + "target": "sync_update_getupdatefunc" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L67", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L156", "weight": 1.0, - "confidence_score": 1.0, - "source": "storage_shared_test", - "target": "storage_shared_test_testnodeaffinityforhostname" + "source": "sync_sync_updateobjectgeneric", + "target": "sync_updatefunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_test_testgetpvcspecwithdefaultstorageaccessmode", - "target": "pkg_provision_storage_shared_test_go_t" + "source": "sync_sync_deleteobject", + "target": "pkg_provision_sync_sync_go_client", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L83", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L210", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "storage_shared_test_testfindnodeforpvc", - "target": "pkg_provision_storage_shared_test_go_t" + "source": "sync_sync_deleteobject", + "target": "pkg_provision_sync_sync_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L48", + "source_file": "pkg/provision/sync/sync.go", + "source_location": "L189", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_test_testgetpvcspecwithcustomstorageaccessmode", - "target": "pkg_provision_storage_shared_test_go_t" + "source": "sync_sync_printdiff", + "target": "pkg_provision_sync_sync_go_logger" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/storage/shared_test.go", - "source_location": "L67", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L37", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "storage_shared_test_testnodeaffinityforhostname", - "target": "pkg_provision_storage_shared_test_go_t" + "source": "sync_update", + "target": "sync_update_defaultupdatefunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L54", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L71", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_cluster_api", - "target": "sync_cluster_api_newnotinsync" + "source": "sync_update", + "target": "sync_update_deploymentupdatefunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L26", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L95", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_cluster_api", - "target": "sync_clusterapi" + "source": "sync_update", + "target": "sync_update_getupdatefunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L35", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L84", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_cluster_api", - "target": "sync_notinsyncerror" + "source": "sync_update", + "target": "sync_update_mergemaps" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L40", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_cluster_api", - "target": "sync_notinsyncreason" + "source": "sync_update", + "target": "sync_update_serviceaccountupdatefunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L63", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_cluster_api", - "target": "sync_unrecoverablesyncerror" + "source": "sync_update", + "target": "sync_update_serviceupdatefunc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L77", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L109", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_cluster_api", - "target": "sync_warningerror" + "source": "sync_update", + "target": "sync_update_unrecognizedobjectupdatefunc" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L28", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L35", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "sync_clusterapi", - "target": "pkg_provision_sync_cluster_api_go_client" + "source": "sync_update", + "target": "sync_updatefunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L31", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L95", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_clusterapi", - "target": "pkg_provision_sync_cluster_api_go_context" + "source": "sync_update_getupdatefunc", + "target": "sync_updatefunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L30", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L37", "weight": 1.0, - "context": "field", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_clusterapi", - "target": "pkg_provision_sync_cluster_api_go_logger" + "source": "sync_update_defaultupdatefunc", + "target": "pkg_provision_sync_update_go_object" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L29", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L73", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "sync_clusterapi", - "target": "pkg_provision_sync_cluster_api_go_scheme" + "source": "sync_update_deploymentupdatefunc", + "target": "sync_update_defaultupdatefunc" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L54", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L71", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "sync_cluster_api_newnotinsync", - "target": "sync_notinsyncerror" + "source": "sync_update_deploymentupdatefunc", + "target": "pkg_provision_sync_update_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L36", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L95", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_notinsyncerror", - "target": "notinsyncreason" + "source": "sync_update_getupdatefunc", + "target": "pkg_provision_sync_update_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L37", - "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "sync_notinsyncerror", - "target": "pkg_provision_sync_cluster_api_go_object" - }, - { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L49", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L55", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "sync_notinsyncerror", - "target": "sync_notinsyncerror_error" + "source": "sync_update_serviceaccountupdatefunc", + "target": "pkg_provision_sync_update_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L54", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L44", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_cluster_api_newnotinsync", - "target": "pkg_provision_sync_cluster_api_go_object" + "source": "sync_update_serviceupdatefunc", + "target": "pkg_provision_sync_update_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L54", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L109", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_cluster_api_newnotinsync", - "target": "sync_notinsyncreason" + "source": "sync_update_unrecognizedobjectupdatefunc", + "target": "pkg_provision_sync_update_go_object" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L142", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/sync/update.go", + "source_location": "L79", "weight": 1.0, - "source": "sync_sync_createobjectgeneric", - "target": "sync_cluster_api_newnotinsync" + "confidence_score": 1.0, + "source": "sync_update_deploymentupdatefunc", + "target": "sync_update_mergemaps" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L75", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L148", "weight": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "sync_cluster_api_newnotinsync" + "source": "sync_update_test_testdeploymentupdatefunc", + "target": "sync_update_deploymentupdatefunc" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L112", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L174", "weight": 1.0, - "source": "sync_sync_syncunrecognizedobjectwithcluster", - "target": "sync_cluster_api_newnotinsync" + "source": "sync_update_test_testdeploymentupdatefunc_nilcluster", + "target": "sync_update_deploymentupdatefunc" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L162", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L27", "weight": 1.0, - "source": "sync_sync_updateobjectgeneric", - "target": "sync_cluster_api_newnotinsync" + "source": "sync_update_test_testgetupdatefunc_deployment", + "target": "sync_update_getupdatefunc" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L67", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L71", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_unrecoverablesyncerror", - "target": "sync_unrecoverablesyncerror_error" + "source": "sync_update_test", + "target": "sync_update_test_testdeploymentupdatefunc" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L71", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L170", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_unrecoverablesyncerror", - "target": "sync_unrecoverablesyncerror_unwrap" + "source": "sync_update_test", + "target": "sync_update_test_testdeploymentupdatefunc_nilcluster" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L82", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_warningerror", - "target": "sync_warningerror_error" + "source": "sync_update_test", + "target": "sync_update_test_testgetupdatefunc_deployment" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/cluster_api.go", - "source_location": "L89", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L25", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_warningerror", - "target": "sync_warningerror_unwrap" + "source": "sync_update_test_testgetupdatefunc_deployment", + "target": "pkg_provision_sync_update_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L119", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L71", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_alldifffuncs" + "source": "sync_update_test_testdeploymentupdatefunc", + "target": "pkg_provision_sync_update_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L57", + "source_file": "pkg/provision/sync/update_test.go", + "source_location": "L170", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_basicdifffunc" + "source": "sync_update_test_testdeploymentupdatefunc_nilcluster", + "target": "pkg_provision_sync_update_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L213", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_containersdifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_deleteworkspacedeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L285", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L382", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_containsownerref" + "source": "workspace_deployment", + "target": "workspace_deployment_getadditionaldeploymentannotations" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L132", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L400", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_deploymentdifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_getclusterdeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L250", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L283", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_jobdifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_getprogressdeadlineseconds" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_metadatadifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_getspecdeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L141", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L360", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_poddifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_getworkspacesubpathvolumemount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L92", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L295", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_podtemplatemetadatadifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_mergepodadditions" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L241", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L370", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_routingdifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_needspvcworkaround" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L257", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L115", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_servicedifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_scaledeploymenttozero" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L281", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_diff_unrecognizedobjectdifffunc" + "source": "workspace_deployment", + "target": "workspace_deployment_syncdeploymenttocluster" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L38", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff", - "target": "sync_difffunc" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "pkg_provision_workspace_deployment_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L119", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_alldifffuncs", - "target": "sync_difffunc" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L57", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L46", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_basicdifffunc", - "target": "sync_difffunc" + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "pkg_provision_workspace_deployment_go_podadditions" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L67", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L59", "weight": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "sync_difffunc" + "confidence_score": 1.0, + "source": "workspace_deployment_syncdeploymenttocluster", + "target": "workspace_deployment_getspecdeployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L57", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_basicdifffunc", - "target": "options" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L181", - "weight": 1.0, - "source": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges", - "target": "sync_diff_basicdifffunc" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L149", - "weight": 1.0, - "source": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata", - "target": "sync_diff_basicdifffunc" + "source": "workspace_deployment_deleteworkspacedeployment", + "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L382", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_metadatadifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_getadditionaldeploymentannotations", + "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L80", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L400", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_metadatadifffunc", - "target": "sync_diff_containsownerref" + "source": "workspace_deployment_getclusterdeployment", + "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L282", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_unrecognizedobjectdifffunc", - "target": "sync_diff_metadatadifffunc" + "source": "workspace_deployment_getspecdeployment", + "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L132", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L115", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_deploymentdifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_scaledeploymenttozero", + "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L250", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_jobdifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_getspecdeployment", + "target": "pkg_provision_workspace_deployment_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L141", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L295", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_diff_poddifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_mergepodadditions", + "target": "pkg_provision_workspace_deployment_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L92", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L370", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_podtemplatemetadatadifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_needspvcworkaround", + "target": "pkg_provision_workspace_deployment_go_podadditions" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L241", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L400", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_routingdifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_getclusterdeployment", + "target": "pkg_provision_workspace_deployment_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L257", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_servicedifffunc", - "target": "pkg_provision_sync_diff_go_object" + "source": "workspace_deployment_deleteworkspacedeployment", + "target": "pkg_provision_workspace_deployment_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L281", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L98", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_unrecognizedobjectdifffunc", - "target": "pkg_provision_sync_diff_go_object" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L107", - "weight": 1.0, - "source": "sync_diff_test_testpodtemplatemetadatadifffunc", - "target": "sync_diff_podtemplatemetadatadifffunc" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L121", - "weight": 1.0, - "source": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment", - "target": "sync_diff_podtemplatemetadatadifffunc" + "source": "workspace_deployment_deleteworkspacedeployment", + "target": "pkg_provision_workspace_deployment_go_context" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L198", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L115", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_poddifffunc", - "target": "sync_diff_containersdifffunc" + "source": "workspace_deployment_scaledeploymenttozero", + "target": "pkg_provision_workspace_deployment_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L213", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L115", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_containersdifffunc", - "target": "pkg_provision_sync_diff_go_container" + "source": "workspace_deployment_scaledeploymenttozero", + "target": "pkg_provision_workspace_deployment_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L102", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "weight": 1.0, - "source": "sync_sync_syncunrecognizedobjectwithcluster", - "target": "sync_diff_unrecognizedobjectdifffunc" + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_deployment_getspecdeployment", + "target": "pkg_provision_workspace_deployment_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff.go", - "source_location": "L285", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_containsownerref", - "target": "pkg_provision_sync_diff_go_ownerreference" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/update.go", - "source_location": "L63", - "weight": 1.0, - "source": "sync_update_serviceaccountupdatefunc", - "target": "sync_diff_containsownerref" + "source": "workspace_deployment_getspecdeployment", + "target": "pkg_provision_workspace_deployment_go_scheme" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L159", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L131", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_test", - "target": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges" + "source": "workspace_deployment_getspecdeployment", + "target": "pkg_provision_workspace_deployment_go_toleration" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L127", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L157", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff_test", - "target": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata" + "source": "workspace_deployment_getspecdeployment", + "target": "workspace_deployment_getadditionaldeploymentannotations" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L191", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L171", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff_test", - "target": "sync_diff_test_testdeploymentfulldiff_externallabelsnoupdate" + "source": "workspace_deployment_getspecdeployment", + "target": "workspace_deployment_getprogressdeadlineseconds" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L25", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L248", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff_test", - "target": "sync_diff_test_testpodtemplatemetadatadifffunc" + "source": "workspace_deployment_getspecdeployment", + "target": "workspace_deployment_getworkspacesubpathvolumemount" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L118", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L141", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diff_test", - "target": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment" + "source": "workspace_deployment_getspecdeployment", + "target": "workspace_deployment_mergepodadditions" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L25", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L241", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_test_testpodtemplatemetadatadifffunc", - "target": "pkg_provision_sync_diff_test_go_t" + "source": "workspace_deployment_getspecdeployment", + "target": "workspace_deployment_needspvcworkaround" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L159", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L400", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_diff_test_testdeploymentdiffopts_detectsspecchanges", - "target": "pkg_provision_sync_diff_test_go_t" + "source": "workspace_deployment_getclusterdeployment", + "target": "pkg_provision_workspace_deployment_go_deployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L127", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L283", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_test_testdeploymentdiffopts_ignorespodtemplatemetadata", - "target": "pkg_provision_sync_diff_test_go_t" + "source": "workspace_deployment_getprogressdeadlineseconds", + "target": "pkg_provision_workspace_deployment_go_operatorconfiguration" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L191", + "source_file": "pkg/provision/workspace/deployment.go", + "source_location": "L360", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "sync_diff_test_testdeploymentfulldiff_externallabelsnoupdate", - "target": "pkg_provision_sync_diff_test_go_t" + "source": "workspace_deployment_getworkspacesubpathvolumemount", + "target": "pkg_provision_workspace_deployment_go_volumemount" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diff_test.go", - "source_location": "L118", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L108", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diff_test_testpodtemplatemetadatadifffunc_nondeployment", - "target": "pkg_provision_sync_diff_test_go_t" + "source": "networkpolicy_networkpolicy", + "target": "networkpolicy_networkpolicy_createnetworkpolicy" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diffopts.go", - "source_location": "L101", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L126", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_diffopts", - "target": "sync_diffopts_getnamefromenvfrom" + "source": "networkpolicy_networkpolicy", + "target": "networkpolicy_networkpolicy_deletenetworkpolicy" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/diffopts.go", - "source_location": "L101", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_diffopts_getnamefromenvfrom", - "target": "pkg_provision_sync_diffopts_go_envfromsource" + "source": "networkpolicy_networkpolicy", + "target": "networkpolicy_networkpolicy_generatenetworkpolicy" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L137", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L85", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_createobjectgeneric" + "source": "networkpolicy_networkpolicy", + "target": "networkpolicy_networkpolicy_normalizeports" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L180", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L93", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_ismutableobject" + "source": "networkpolicy_networkpolicy", + "target": "networkpolicy_networkpolicy_shouldprovision" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L101", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_isrecognizedobject" + "source": "networkpolicy_networkpolicy", + "target": "networkpolicy_networkpolicy_syncnetworkpolicy" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L189", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L109", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_printdiff" + "source": "networkpolicy_networkpolicy_createnetworkpolicy", + "target": "networkpolicy_networkpolicy_generatenetworkpolicy" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L47", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L63", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_syncobjectwithcluster" + "source": "networkpolicy_networkpolicy_generatenetworkpolicy", + "target": "networkpolicy_networkpolicy_normalizeports" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_syncunrecognizedobjectwithcluster" + "source": "networkpolicy_networkpolicy_generatenetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L154", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "sync_sync", - "target": "sync_sync_updateobjectgeneric" + "source": "networkpolicy_networkpolicy_generatenetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicy" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L38", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_isrecognizedobject", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_generatenetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicyconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L147", + "weight": 1.0, + "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", + "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L106", + "weight": 1.0, + "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L137", + "weight": 1.0, + "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", + "target": "networkpolicy_networkpolicy_generatenetworkpolicy" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L137", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L108", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_createobjectgeneric", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_createnetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L180", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L126", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_ismutableobject", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_deletenetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L189", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L93", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_printdiff", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_shouldprovision", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L47", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L101", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_syncnetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L85", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_syncunrecognizedobjectwithcluster", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_normalizeports", + "target": "networkpolicyport" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L154", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L102", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_updateobjectgeneric", - "target": "pkg_provision_sync_sync_go_object" + "source": "networkpolicy_networkpolicy_syncnetworkpolicy", + "target": "networkpolicy_networkpolicy_shouldprovision" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, + "confidence": "EXTRACTED", "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L116", + "source_location": "L105", "weight": 1.0, - "source": "networkpolicy_networkpolicy_createnetworkpolicy", - "target": "sync_sync_syncobjectwithcluster" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_syncnetworkpolicy", + "target": "networkpolicy_networkpolicy_createnetworkpolicy" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L103", + "weight": 1.0, + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_syncnetworkpolicy", + "target": "networkpolicy_networkpolicy_deletenetworkpolicy" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L101", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_syncnetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L159", "weight": 1.0, - "source": "rbac_role_syncroles", - "target": "sync_sync_syncobjectwithcluster" + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "networkpolicy_networkpolicy_syncnetworkpolicy" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L111", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L180", "weight": 1.0, - "source": "rbac_rolebinding_addserviceaccounttorolebinding", - "target": "sync_sync_syncobjectwithcluster" + "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "target": "networkpolicy_networkpolicy_syncnetworkpolicy" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L145", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L202", "weight": 1.0, - "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", - "target": "sync_sync_syncobjectwithcluster" + "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", + "target": "networkpolicy_networkpolicy_syncnetworkpolicy" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L47", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L108", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "pkg_provision_sync_sync_go_clusterapi" + "source": "networkpolicy_networkpolicy_createnetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L54", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", + "source_location": "L126", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "sync_sync_createobjectgeneric" + "source": "networkpolicy_networkpolicy_deletenetworkpolicy", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L59", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L85", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "sync_sync_ismutableobject" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L69", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L91", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "sync_sync_printdiff" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L79", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L55", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync_syncobjectwithcluster", - "target": "sync_sync_updateobjectgeneric" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_gettestclusterapi" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L68", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L65", "weight": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "sync_sync_syncobjectwithcluster" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L45", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L49", "weight": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "sync_sync_syncobjectwithcluster" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_init" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L72", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L145", "weight": 1.0, - "source": "workspace_serviceaccount_syncserviceaccount", - "target": "sync_sync_syncobjectwithcluster" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L39", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L104", "weight": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "sync_sync_syncobjectwithcluster" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L137", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L155", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_createobjectgeneric", - "target": "pkg_provision_sync_sync_go_clusterapi" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L176", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_syncunrecognizedobjectwithcluster", - "target": "pkg_provision_sync_sync_go_clusterapi" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L154", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L197", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_updateobjectgeneric", - "target": "pkg_provision_sync_sync_go_clusterapi" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L98", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L121", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync_syncunrecognizedobjectwithcluster", - "target": "sync_sync_createobjectgeneric" + "source": "networkpolicy_networkpolicy_test", + "target": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L104", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L55", "weight": 1.0, - "source": "sync_sync_syncunrecognizedobjectwithcluster", - "target": "sync_update_unrecognizedobjectupdatefunc" + "context": "return_type", + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_gettestclusterapi", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_clusterapi" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L55", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_gettestclusterapi", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L146", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L157", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_sync_createobjectgeneric", - "target": "sync_sync_updateobjectgeneric" + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "networkpolicy_networkpolicy_test_gettestclusterapi" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L155", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L178", "weight": 1.0, - "source": "sync_sync_updateobjectgeneric", - "target": "sync_update_getupdatefunc" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_gettestclusterapi" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L156", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L201", "weight": 1.0, - "source": "sync_sync_updateobjectgeneric", - "target": "sync_updatefunc" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_gettestclusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/sync.go", - "source_location": "L189", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L145", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_sync_printdiff", - "target": "pkg_provision_sync_sync_go_logger" + "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L104", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_defaultupdatefunc" + "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L155", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L71", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L176", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_deploymentupdatefunc" + "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L95", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L197", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_getupdatefunc" + "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L84", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L121", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_mergemaps" + "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L55", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L91", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_serviceaccountupdatefunc" + "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L44", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L65", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_serviceupdatefunc" + "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L109", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L65", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_update_unrecognizedobjectupdatefunc" + "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicyconfig" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L35", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L147", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_update", - "target": "sync_updatefunc" + "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L95", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L105", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "sync_update_getupdatefunc", - "target": "sync_updatefunc" + "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L37", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L156", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "sync_update_defaultupdatefunc", - "target": "pkg_provision_sync_update_go_object" + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L73", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L177", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_update_deploymentupdatefunc", - "target": "sync_update_defaultupdatefunc" + "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L71", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L200", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "sync_update_deploymentupdatefunc", - "target": "pkg_provision_sync_update_go_object" + "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L95", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L137", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update_getupdatefunc", - "target": "pkg_provision_sync_update_go_object" + "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", + "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L55", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L85", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "sync_update_serviceaccountupdatefunc", - "target": "pkg_provision_sync_update_go_object" + "source": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicyconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L44", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L91", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update_serviceupdatefunc", - "target": "pkg_provision_sync_update_go_object" + "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_devworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L109", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L105", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "sync_update_unrecognizedobjectupdatefunc", - "target": "pkg_provision_sync_update_go_object" + "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", + "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update.go", - "source_location": "L79", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L156", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_update_deploymentupdatefunc", - "target": "sync_update_mergemaps" + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L148", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L177", "weight": 1.0, - "source": "sync_update_test_testdeploymentupdatefunc", - "target": "sync_update_deploymentupdatefunc" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L174", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L198", "weight": 1.0, - "source": "sync_update_test_testdeploymentupdatefunc_nilcluster", - "target": "sync_update_deploymentupdatefunc" + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L27", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L91", "weight": 1.0, - "source": "sync_update_test_testgetupdatefunc_deployment", - "target": "sync_update_getupdatefunc" + "context": "return_type", + "confidence_score": 1.0, + "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", + "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicy" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L71", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L167", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_update_test", - "target": "sync_update_test_testdeploymentupdatefunc" + "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", + "target": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L170", + "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", + "source_location": "L186", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_update_test", - "target": "sync_update_test_testdeploymentupdatefunc_nilcluster" + "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", + "target": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L25", + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L34", "weight": 1.0, "confidence_score": 1.0, - "source": "sync_update_test", - "target": "sync_update_test_testgetupdatefunc_deployment" + "source": "workspace_pull_secret_test", + "target": "workspace_pull_secret_test_testpullsecrets_tabledriven" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L25", + "source_file": "pkg/provision/workspace/pull_secret_test.go", + "source_location": "L34", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update_test_testgetupdatefunc_deployment", - "target": "pkg_provision_sync_update_test_go_t" + "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", + "target": "pkg_provision_workspace_pull_secret_test_go_t" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L71", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L27", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update_test_testdeploymentupdatefunc", - "target": "pkg_provision_sync_update_test_go_t" + "source": "rbac_common", + "target": "rbac_common_syncrbac" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/sync/update_test.go", - "source_location": "L170", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L27", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "sync_update_test_testdeploymentupdatefunc_nilcluster", - "target": "pkg_provision_sync_update_test_go_t" + "source": "rbac_common_syncrbac", + "target": "pkg_provision_workspace_rbac_common_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L27", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_deleteworkspacedeployment" + "source": "rbac_common_syncrbac", + "target": "pkg_provision_workspace_rbac_common_go_devworkspacewithconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L382", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L28", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_getadditionaldeploymentannotations" + "source": "rbac_common_syncrbac", + "target": "rbac_migrate_cleanupdeprecatedrbac" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L400", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_getclusterdeployment" + "source": "rbac_common_syncrbac", + "target": "rbac_role_syncroles" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L283", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/common.go", + "source_location": "L34", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_getprogressdeadlineseconds" + "source": "rbac_common_syncrbac", + "target": "rbac_rolebinding_syncrolebindings" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L118", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_getspecdeployment" + "source": "rbac_common_test_testsyncrbac", + "target": "rbac_common_syncrbac" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L360", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L175", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_getworkspacesubpathvolumemount" + "source": "rbac_common_test", + "target": "rbac_common_test_gettestclusterapi" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L295", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L185", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_mergepodadditions" + "source": "rbac_common_test", + "target": "rbac_common_test_gettestdevworkspace" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L370", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L201", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_needspvcworkaround" + "source": "rbac_common_test", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L115", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L51", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_scaledeploymenttozero" + "source": "rbac_common_test", + "target": "rbac_common_test_init" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L107", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_deployment", - "target": "workspace_deployment_syncdeploymenttocluster" + "source": "rbac_common_test", + "target": "rbac_common_test_testsyncrbac" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L107", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "pkg_provision_workspace_deployment_go_clusterapi" + "source": "rbac_common_test_testsyncrbac", + "target": "pkg_provision_workspace_rbac_common_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L113", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "source": "rbac_common_test_testsyncrbac", + "target": "rbac_common_test_gettestclusterapi" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L46", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L109", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "pkg_provision_workspace_deployment_go_podadditions" + "source": "rbac_common_test_testsyncrbac", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L59", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L162", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment_syncdeploymenttocluster", - "target": "workspace_deployment_getspecdeployment" + "source": "rbac_common_test_testsyncrbac", + "target": "rbac_rolebinding_test_testhassubject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L175", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_deployment_deleteworkspacedeployment", - "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "source": "rbac_common_test_gettestclusterapi", + "target": "pkg_provision_workspace_rbac_common_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L382", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L201", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_deployment_getadditionaldeploymentannotations", - "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "source": "rbac_common_test_gettestdevworkspacewithattributes", + "target": "pkg_provision_workspace_rbac_common_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L400", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L175", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "workspace_deployment_getclusterdeployment", - "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "source": "rbac_common_test_gettestclusterapi", + "target": "pkg_provision_workspace_rbac_common_test_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L185", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "source": "rbac_common_test_gettestdevworkspace", + "target": "pkg_provision_workspace_rbac_common_test_go_devworkspacewithconfig" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L176", + "weight": 1.0, + "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "target": "rbac_common_test_gettestdevworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L55", + "weight": 1.0, + "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", + "target": "rbac_common_test_gettestdevworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L34", + "weight": 1.0, + "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", + "target": "rbac_common_test_gettestdevworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L218", + "weight": 1.0, + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", + "target": "rbac_common_test_gettestdevworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L206", + "weight": 1.0, + "source": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L115", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L118", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_scaledeploymenttozero", - "target": "pkg_provision_workspace_deployment_go_devworkspacewithconfig" + "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L138", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "pkg_provision_workspace_deployment_go_podadditions" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L295", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L80", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_deployment_mergepodadditions", - "target": "pkg_provision_workspace_deployment_go_podadditions" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L370", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L30", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_needspvcworkaround", - "target": "pkg_provision_workspace_deployment_go_podadditions" + "source": "rbac_role_test_testcreatesroleifnotexists", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L400", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L49", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getclusterdeployment", - "target": "pkg_provision_workspace_deployment_go_clusterapi" + "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L52", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_deleteworkspacedeployment", - "target": "pkg_provision_workspace_deployment_go_client" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L98", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L162", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_deleteworkspacedeployment", - "target": "pkg_provision_workspace_deployment_go_context" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L115", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L30", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_scaledeploymenttozero", - "target": "pkg_provision_workspace_deployment_go_context" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "rbac_common_test_gettestdevworkspace" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L115", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L201", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_scaledeploymenttozero", - "target": "pkg_provision_workspace_deployment_go_client" + "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", + "target": "rbac_common_test_gettestdevworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "source_file": "pkg/provision/workspace/rbac/common_test.go", + "source_location": "L201", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "pkg_provision_workspace_deployment_go_deployment" + "source": "rbac_common_test_gettestdevworkspacewithattributes", + "target": "pkg_provision_workspace_rbac_common_test_go_devworkspacewithconfig" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L239", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "pkg_provision_workspace_deployment_go_scheme" + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L131", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L217", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "pkg_provision_workspace_deployment_go_toleration" + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L157", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L302", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "workspace_deployment_getadditionaldeploymentannotations" + "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L171", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L264", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "workspace_deployment_getprogressdeadlineseconds" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L248", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L108", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "workspace_deployment_getworkspacesubpathvolumemount" + "source": "rbac_role_test_testcreatessccroleifnotexists", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L141", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L131", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "workspace_deployment_mergepodadditions" + "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L241", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L89", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_deployment_getspecdeployment", - "target": "workspace_deployment_needspvcworkaround" + "source": "rbac_role_test_testrejectssccrolewhenannotationempty", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L400", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L70", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getclusterdeployment", - "target": "pkg_provision_workspace_deployment_go_deployment" + "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L283", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L114", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getprogressdeadlineseconds", - "target": "pkg_provision_workspace_deployment_go_operatorconfiguration" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/deployment.go", - "source_location": "L360", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L84", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_deployment_getworkspacesubpathvolumemount", - "target": "pkg_provision_workspace_deployment_go_volumemount" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "rbac_common_test_gettestdevworkspacewithattributes" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L108", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L96", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy", - "target": "networkpolicy_networkpolicy_createnetworkpolicy" + "source": "rbac_finalize", + "target": "rbac_finalize_countnondeletedworkspaces" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L126", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L115", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy", - "target": "networkpolicy_networkpolicy_deletenetworkpolicy" + "source": "rbac_finalize", + "target": "rbac_finalize_countnondeletedworkspacesusingscc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy", - "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + "source": "rbac_finalize", + "target": "rbac_finalize_finalizerbac" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L85", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L83", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy", - "target": "networkpolicy_networkpolicy_normalizeports" + "source": "rbac_finalize", + "target": "rbac_finalize_finalizeregistryrbac" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L93", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy", - "target": "networkpolicy_networkpolicy_shouldprovision" + "source": "rbac_finalize", + "target": "rbac_finalize_finalizesccrbac" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L101", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy", - "target": "networkpolicy_networkpolicy_syncnetworkpolicy" + "source": "rbac_finalize_finalizerbac", + "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L109", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_createnetworkpolicy", - "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + "source": "rbac_finalize_finalizerbac", + "target": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L63", - "weight": 1.0, - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_generatenetworkpolicy", - "target": "networkpolicy_networkpolicy_normalizeports" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_generatenetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" + "source": "rbac_finalize_finalizerbac", + "target": "rbac_finalize_countnondeletedworkspaces" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L51", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_generatenetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicy" + "source": "rbac_finalize_finalizerbac", + "target": "rbac_finalize_finalizeregistryrbac" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L38", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L28", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_generatenetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_networkpolicyconfig" + "source": "rbac_finalize_finalizerbac", + "target": "rbac_finalize_finalizesccrbac" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L147", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L40", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", - "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + "source": "rbac_finalize_finalizerbac", + "target": "rbac_role_deleterole" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L106", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L43", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", - "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + "source": "rbac_finalize_finalizerbac", + "target": "rbac_rolebinding_deleterolebinding" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L137", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L46", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", - "target": "networkpolicy_networkpolicy_generatenetworkpolicy" + "source": "rbac_finalize_finalizerbac", + "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L108", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L83", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_createnetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" + "source": "rbac_finalize_finalizeregistryrbac", + "target": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L126", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L59", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_deletenetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" + "source": "rbac_finalize_finalizesccrbac", + "target": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L93", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L96", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_shouldprovision", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" + "source": "rbac_finalize_countnondeletedworkspaces", + "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L101", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L115", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_syncnetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_devworkspacewithconfig" + "source": "rbac_finalize_countnondeletedworkspacesusingscc", + "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L85", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L83", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_normalizeports", - "target": "networkpolicyport" + "source": "rbac_finalize_finalizeregistryrbac", + "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L102", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L59", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_syncnetworkpolicy", - "target": "networkpolicy_networkpolicy_shouldprovision" + "source": "rbac_finalize_finalizesccrbac", + "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L105", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L64", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_syncnetworkpolicy", - "target": "networkpolicy_networkpolicy_createnetworkpolicy" + "source": "rbac_finalize_finalizesccrbac", + "target": "rbac_finalize_countnondeletedworkspacesusingscc" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L103", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L69", "weight": 1.0, - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_syncnetworkpolicy", - "target": "networkpolicy_networkpolicy_deletenetworkpolicy" + "source": "rbac_finalize_finalizesccrbac", + "target": "rbac_role_deleterole" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L101", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_syncnetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L72", + "weight": 1.0, + "source": "rbac_finalize_finalizesccrbac", + "target": "rbac_rolebinding_deleterolebinding" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L159", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L77", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "networkpolicy_networkpolicy_syncnetworkpolicy" + "source": "rbac_finalize_finalizesccrbac", + "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L180", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L86", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", - "target": "networkpolicy_networkpolicy_syncnetworkpolicy" + "confidence_score": 1.0, + "source": "rbac_finalize_finalizeregistryrbac", + "target": "rbac_finalize_countnondeletedworkspaces" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L202", + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L91", "weight": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", - "target": "networkpolicy_networkpolicy_syncnetworkpolicy" + "source": "rbac_finalize_finalizeregistryrbac", + "target": "rbac_rolebinding_deleterolebinding" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L108", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_location": "L93", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_createnetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" + "source": "rbac_finalize_finalizeregistryrbac", + "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy.go", - "source_location": "L126", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L320", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_deletenetworkpolicy", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_go_clusterapi" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_newregistryimagepullerrolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L85", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L174", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L53", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L55", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L32", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_gettestclusterapi" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L237", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L49", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L215", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_init" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L145", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L204", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L104", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L116", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L155", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L300", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L176", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L136", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L197", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L121", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L262", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test", - "target": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress" + "source": "rbac_finalize_test", + "target": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L55", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L32", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_gettestclusterapi", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_clusterapi" + "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L55", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L174", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_gettestclusterapi", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L157", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L53", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "networkpolicy_networkpolicy_test_gettestclusterapi" + "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L178", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L237", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_gettestclusterapi" + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L201", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L215", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_gettestclusterapi" + "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L145", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L204", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L104", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L116", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L155", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L300", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L176", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L136", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L197", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L78", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L121", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L262", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_t" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "pkg_provision_workspace_rbac_finalize_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L112", + "weight": 1.0, + "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", + "target": "rbac_rolebinding_test_testhassubject" + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L144", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_clusterapi" + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "rbac_finalize_test_newregistryimagepullerrolebinding" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L170", + "weight": 1.0, + "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", + "target": "rbac_rolebinding_test_testhassubject" + }, + { + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L179", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_devworkspacewithconfig" + "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", + "target": "rbac_finalize_test_newregistryimagepullerrolebinding" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L296", + "weight": 1.0, + "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", + "target": "rbac_rolebinding_test_testhassubject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L65", + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L320", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicyconfig" + "source": "rbac_finalize_test_newregistryimagepullerrolebinding", + "target": "pkg_provision_workspace_rbac_finalize_test_go_rolebinding" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/finalize_test.go", + "source_location": "L321", + "weight": 1.0, + "source": "rbac_finalize_test_newregistryimagepullerrolebinding", + "target": "rbac_rolebinding_generatedefaultrolebinding" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L147", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testbothdirectionsnildeniesalltraffic", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_migrate", + "target": "rbac_migrate_cleanupdeprecatedrbac" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L105", + "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_location": "L37", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_migrate_cleanupdeprecatedrbac", + "target": "pkg_provision_workspace_rbac_migrate_go_clusterapi" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L156", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L63", "weight": 1.0, - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", + "target": "rbac_migrate_cleanupdeprecatedrbac" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L177", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", + "target": "rbac_migrate_cleanupdeprecatedrbac" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L200", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L83", "weight": 1.0, - "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", + "target": "rbac_migrate_cleanupdeprecatedrbac" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L110", + "weight": 1.0, + "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", + "target": "rbac_migrate_cleanupdeprecatedrbac" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L137", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testunsetingressdeniesallingress", - "target": "networkpolicy_networkpolicy_test_gettestdevworkspacewithconfig" + "source": "rbac_migrate_test", + "target": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L85", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L27", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicyconfig" + "source": "rbac_migrate_test", + "target": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L79", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_devworkspacewithconfig" + "source": "rbac_migrate_test", + "target": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L105", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L106", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testgeneratedpolicyselectsonlyitsownworkspacepods", - "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" + "source": "rbac_migrate_test", + "target": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L156", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L27", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" + "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", + "target": "pkg_provision_workspace_rbac_migrate_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L177", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L60", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" + "source": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", + "target": "pkg_provision_workspace_rbac_migrate_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L198", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L79", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncistolerantofmissingpolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_getenablednetworkpolicyconfig" + "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", + "target": "pkg_provision_workspace_rbac_migrate_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L91", + "source_file": "pkg/provision/workspace/rbac/migrate_test.go", + "source_location": "L106", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster", - "target": "pkg_provision_workspace_networkpolicy_networkpolicy_test_go_networkpolicy" + "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", + "target": "pkg_provision_workspace_rbac_migrate_test_go_t" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L167", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L57", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsynccreatespolicywhenenabled", - "target": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" + "source": "rbac_role", + "target": "rbac_role_deleterole" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/networkpolicy/networkpolicy_test.go", - "source_location": "L186", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "networkpolicy_networkpolicy_test_testsyncdeletespolicywhendisabled", - "target": "networkpolicy_networkpolicy_test_getnetworkpolicyfromcluster" + "source": "rbac_role", + "target": "rbac_role_generatedefaultrole" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L135", + "weight": 1.0, + "confidence_score": 1.0, + "source": "rbac_role", + "target": "rbac_role_generateuseroleforscc" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L34", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_pull_secret_test", - "target": "workspace_pull_secret_test_testpullsecrets_tabledriven" + "source": "rbac_role", + "target": "rbac_role_syncroles" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/pull_secret_test.go", - "source_location": "L34", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_pull_secret_test_testpullsecrets_tabledriven", - "target": "pkg_provision_workspace_pull_secret_test_go_t" + "source": "rbac_role_syncroles", + "target": "pkg_provision_workspace_rbac_role_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L27", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L30", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common", - "target": "rbac_common_syncrbac" + "source": "rbac_role_syncroles", + "target": "pkg_provision_workspace_rbac_role_go_devworkspacewithconfig" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L27", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L31", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_syncrbac", - "target": "pkg_provision_workspace_rbac_common_go_clusterapi" + "source": "rbac_role_syncroles", + "target": "rbac_role_generatedefaultrole" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L27", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L50", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_syncrbac", - "target": "pkg_provision_workspace_rbac_common_go_devworkspacewithconfig" + "source": "rbac_role_syncroles", + "target": "rbac_role_generateuseroleforscc" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L28", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L32", "weight": 1.0, - "source": "rbac_common_syncrbac", - "target": "rbac_migrate_cleanupdeprecatedrbac" + "source": "rbac_role_test_testcreatesroleifnotexists", + "target": "rbac_role_syncroles" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L31", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L111", "weight": 1.0, - "source": "rbac_common_syncrbac", + "source": "rbac_role_test_testcreatessccroleifnotexists", "target": "rbac_role_syncroles" }, { @@ -73531,281 +88289,296 @@ "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common.go", - "source_location": "L34", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L51", "weight": 1.0, - "source": "rbac_common_syncrbac", - "target": "rbac_rolebinding_syncrolebindings" + "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", + "target": "rbac_role_syncroles" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L118", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L134", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "rbac_common_syncrbac" + "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", + "target": "rbac_role_syncroles" }, { - "relation": "contains", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L95", + "weight": 1.0, + "source": "rbac_role_test_testrejectssccrolewhenannotationempty", + "target": "rbac_role_syncroles" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L76", + "weight": 1.0, + "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", + "target": "rbac_role_syncroles" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L175", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L57", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_test", - "target": "rbac_common_test_gettestclusterapi" + "source": "rbac_role_deleterole", + "target": "pkg_provision_workspace_rbac_role_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L185", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L78", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_common_test", - "target": "rbac_common_test_gettestdevworkspace" + "source": "rbac_role_generatedefaultrole", + "target": "pkg_provision_workspace_rbac_role_go_role" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L201", + "source_file": "pkg/provision/workspace/rbac/role.go", + "source_location": "L135", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_common_test", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "source": "rbac_role_generateuseroleforscc", + "target": "pkg_provision_workspace_rbac_role_go_role" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L51", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L28", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_common_test", - "target": "rbac_common_test_init" + "source": "rbac_role_test", + "target": "rbac_role_test_testcreatesroleifnotexists" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L107", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L106", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_common_test", - "target": "rbac_common_test_testsyncrbac" + "source": "rbac_role_test", + "target": "rbac_role_test_testcreatessccroleifnotexists" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L107", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L47", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "pkg_provision_workspace_rbac_common_test_go_t" + "source": "rbac_role_test", + "target": "rbac_role_test_testdoesnothingifrolealreadyinsync" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L113", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L129", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "rbac_common_test_gettestclusterapi" + "source": "rbac_role_test", + "target": "rbac_role_test_testdoesnothingifsccrolealreadyinsync" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L109", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L87", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "source": "rbac_role_test", + "target": "rbac_role_test_testrejectssccrolewhenannotationempty" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L162", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L68", "weight": 1.0, - "source": "rbac_common_test_testsyncrbac", - "target": "rbac_rolebinding_test_testhassubject" + "confidence_score": 1.0, + "source": "rbac_role_test", + "target": "rbac_role_test_testrejectssccrolewhenannotationmismatches" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L175", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L28", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_test_gettestclusterapi", - "target": "pkg_provision_workspace_rbac_common_test_go_t" + "source": "rbac_role_test_testcreatesroleifnotexists", + "target": "pkg_provision_workspace_rbac_role_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L201", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L106", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_test_gettestdevworkspacewithattributes", - "target": "pkg_provision_workspace_rbac_common_test_go_t" + "source": "rbac_role_test_testcreatessccroleifnotexists", + "target": "pkg_provision_workspace_rbac_role_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L175", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L47", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_test_gettestclusterapi", - "target": "pkg_provision_workspace_rbac_common_test_go_clusterapi" + "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", + "target": "pkg_provision_workspace_rbac_role_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L185", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L129", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_common_test_gettestdevworkspace", - "target": "pkg_provision_workspace_rbac_common_test_go_devworkspacewithconfig" + "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", + "target": "pkg_provision_workspace_rbac_role_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L176", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L87", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", - "target": "rbac_common_test_gettestdevworkspace" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_role_test_testrejectssccrolewhenannotationempty", + "target": "pkg_provision_workspace_rbac_role_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L55", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/role_test.go", + "source_location": "L68", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", - "target": "rbac_common_test_gettestdevworkspace" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", + "target": "pkg_provision_workspace_rbac_role_test_go_t" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L34", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L86", "weight": 1.0, - "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding", + "target": "rbac_rolebinding_addserviceaccounttorolebinding" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L218", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L65", "weight": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding", + "target": "rbac_rolebinding_deleterolebinding" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L206", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L151", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding", + "target": "rbac_rolebinding_generatedefaultrolebinding" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L118", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L117", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding", + "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L138", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L167", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding", + "target": "rbac_rolebinding_rolebindinghassubject" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L80", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L31", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding", + "target": "rbac_rolebinding_syncrolebindings" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L30", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L31", "weight": 1.0, - "source": "rbac_role_test_testcreatesroleifnotexists", - "target": "rbac_common_test_gettestdevworkspace" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_rolebinding_syncrolebindings", + "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L49", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L31", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", - "target": "rbac_common_test_gettestdevworkspace" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_rolebinding_syncrolebindings", + "target": "pkg_provision_workspace_rbac_rolebinding_go_devworkspacewithconfig" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L52", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L35", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "rbac_common_test_gettestdevworkspace" + "confidence_score": 1.0, + "source": "rbac_rolebinding_syncrolebindings", + "target": "rbac_rolebinding_addserviceaccounttorolebinding" }, { "relation": "calls", @@ -73813,10 +88586,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L162", + "source_location": "L55", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "rbac_common_test_gettestdevworkspace" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "rbac_rolebinding_syncrolebindings" }, { "relation": "calls", @@ -73824,10 +88597,10 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L30", + "source_location": "L118", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "rbac_common_test_gettestdevworkspace" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "rbac_rolebinding_syncrolebindings" }, { "relation": "calls", @@ -73835,3555 +88608,3550 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L201", - "weight": 1.0, - "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", - "target": "rbac_common_test_gettestdevworkspace" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/common_test.go", - "source_location": "L201", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "rbac_common_test_gettestdevworkspacewithattributes", - "target": "pkg_provision_workspace_rbac_common_test_go_devworkspacewithconfig" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L239", + "source_location": "L167", "weight": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "rbac_rolebinding_syncrolebindings" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L217", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L32", "weight": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "rbac_rolebinding_syncrolebindings" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L302", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L87", "weight": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "rbac_rolebinding_syncrolebindings" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L264", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L206", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", + "target": "rbac_rolebinding_syncrolebindings" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L108", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L86", "weight": 1.0, - "source": "rbac_role_test_testcreatessccroleifnotexists", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_rolebinding_addserviceaccounttorolebinding", + "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L131", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L65", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_rolebinding_deleterolebinding", + "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L89", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L117", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationempty", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", + "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L70", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L99", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "confidence_score": 1.0, + "source": "rbac_rolebinding_addserviceaccounttorolebinding", + "target": "rbac_rolebinding_generatedefaultrolebinding" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L114", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L103", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "confidence_score": 1.0, + "source": "rbac_rolebinding_addserviceaccounttorolebinding", + "target": "rbac_rolebinding_rolebindinghassubject" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L84", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L134", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "rbac_common_test_gettestdevworkspacewithattributes" + "confidence_score": 1.0, + "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", + "target": "rbac_rolebinding_rolebindinghassubject" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L96", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L151", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_finalize", - "target": "rbac_finalize_countnondeletedworkspaces" + "source": "rbac_rolebinding_generatedefaultrolebinding", + "target": "pkg_provision_workspace_rbac_rolebinding_go_rolebinding" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L115", + "source_file": "pkg/provision/workspace/rbac/rolebinding.go", + "source_location": "L167", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize", - "target": "rbac_finalize_countnondeletedworkspacesusingscc" + "source": "rbac_rolebinding_rolebindinghassubject", + "target": "pkg_provision_workspace_rbac_rolebinding_go_rolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L50", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize", - "target": "rbac_finalize_finalizerbac" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L83", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L112", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize", - "target": "rbac_finalize_finalizeregistryrbac" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L59", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L160", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize", - "target": "rbac_finalize_finalizesccrbac" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L28", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testcreatesrolebindingifnotexists" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L26", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L82", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L35", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L199", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "rbac_finalize_countnondeletedworkspaces" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L51", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L224", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "rbac_finalize_finalizeregistryrbac" + "source": "rbac_rolebinding_test", + "target": "rbac_rolebinding_test_testhassubject" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", "source_location": "L28", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "rbac_finalize_finalizesccrbac" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L40", - "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "rbac_role_deleterole" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L43", - "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "rbac_rolebinding_deleterolebinding" + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L46", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L47", "weight": 1.0, - "source": "rbac_finalize_finalizerbac", - "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" + "confidence_score": 1.0, + "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", + "target": "rbac_rolebinding_test_testhassubject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L83", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L50", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L59", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L112", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "pkg_provision_workspace_rbac_finalize_go_devworkspacewithconfig" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L96", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L160", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_countnondeletedworkspaces", - "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L115", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L82", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_countnondeletedworkspacesusingscc", - "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L83", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L199", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" + "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L59", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L77", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "pkg_provision_workspace_rbac_finalize_go_clusterapi" + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", + "target": "rbac_rolebinding_test_testhassubject" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L64", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L109", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "rbac_finalize_countnondeletedworkspacesusingscc" + "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", + "target": "rbac_rolebinding_test_testhassubject" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L69", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L155", "weight": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "rbac_role_deleterole" + "confidence_score": 1.0, + "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", + "target": "rbac_rolebinding_test_testhassubject" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L72", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L196", "weight": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "rbac_rolebinding_deleterolebinding" + "confidence_score": 1.0, + "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", + "target": "rbac_rolebinding_test_testhassubject" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L77", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", + "source_location": "L224", "weight": 1.0, - "source": "rbac_finalize_finalizesccrbac", - "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "rbac_rolebinding_test_testhassubject", + "target": "pkg_provision_workspace_rbac_rolebinding_test_go_rolebinding" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L86", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L75", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "rbac_finalize_countnondeletedworkspaces" + "source": "workspace_routing", + "target": "workspace_routing_getspecrouting" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L91", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "weight": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "rbac_rolebinding_deleterolebinding" + "confidence_score": 1.0, + "source": "workspace_routing", + "target": "workspace_routing_syncroutingtocluster" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize.go", - "source_location": "L93", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L82", "weight": 1.0, - "source": "rbac_finalize_finalizeregistryrbac", - "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" + "source": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "target": "workspace_routing_syncroutingtocluster" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L320", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_newregistryimagepullerrolebinding" + "source": "workspace_routing_syncroutingtocluster", + "target": "pkg_provision_workspace_routing_go_clusterapi" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L174", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift" + "source": "workspace_routing_syncroutingtocluster", + "target": "pkg_provision_workspace_routing_go_devworkspacewithconfig" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L53", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted" + "source": "workspace_routing_syncroutingtocluster", + "target": "pkg_provision_workspace_routing_go_exposedendpointlist" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L36", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted" + "source": "workspace_routing_syncroutingtocluster", + "target": "pkg_provision_workspace_routing_go_podadditions" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L237", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L40", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted" + "source": "workspace_routing_syncroutingtocluster", + "target": "workspace_routing_getspecrouting" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L215", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L75", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted" + "source": "workspace_routing_getspecrouting", + "target": "pkg_provision_workspace_routing_go_devworkspacewithconfig" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L204", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L54", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift" + "source": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "target": "workspace_routing_getspecrouting" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L116", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L75", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist" + "source": "workspace_routing_getspecrouting", + "target": "pkg_provision_workspace_routing_go_devworkspacerouting" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L300", + "source_file": "pkg/provision/workspace/routing.go", + "source_location": "L75", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist" + "source": "workspace_routing_getspecrouting", + "target": "pkg_provision_workspace_routing_go_scheme" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L136", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L37", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift" + "source": "workspace_routing_generation_test", + "target": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L78", + "source_file": "pkg/provision/workspace/routing_generation_test.go", + "source_location": "L37", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted" + "context": "parameter_type", + "source": "workspace_routing_generation_test_testsyncroutingtoclusterfailedgenerationbehavior", + "target": "pkg_provision_workspace_routing_generation_test_go_t", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L262", - "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_finalize_test", - "target": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L32", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenlastworkspaceisdeleted", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount", + "target": "workspace_serviceaccount_finalizeserviceaccount" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L174", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L96", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount", + "target": "workspace_serviceaccount_removesccfromserviceaccount" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L53", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L37", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testdeletesroleandrolebindingwhenallworkspacesaredeleted", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount", + "target": "workspace_serviceaccount_syncserviceaccount" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L237", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenallworkspacesaredeleted", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_syncserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L215", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testdeletessccroleandrolebindingwhenlastworkspaceisdeleted", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_syncserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L204", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenregistryrolebindingdoesnotexistonopenshift", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_finalizeserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_devworkspacewithconfig" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L116", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhenrolebindingdoesnotexist", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_finalizeserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L300", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L83", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testfinalizedoesnothingwhensccrolebindingdoesnotexist", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_finalizeserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_context" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L136", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L91", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_finalizeserviceaccount", + "target": "workspace_serviceaccount_removesccfromserviceaccount" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L78", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L96", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_removesccfromserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L262", + "source_file": "pkg/provision/workspace/serviceaccount.go", + "source_location": "L96", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "pkg_provision_workspace_rbac_finalize_test_go_t" + "source": "workspace_serviceaccount_removesccfromserviceaccount", + "target": "pkg_provision_workspace_serviceaccount_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L112", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/ssh-askpass.sh", + "source_location": "L1", "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromrolebindingwhendeleted", - "target": "rbac_rolebinding_test_testhassubject" + "source": "workspace_ssh_askpass", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_pkg_provision_workspace_ssh_askpass_sh__entry", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L144", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "rbac_finalize_test_newregistryimagepullerrolebinding" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L170", - "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromregistryrolebindingwhendeletedonopenshift", - "target": "rbac_rolebinding_test_testhassubject" + "source": "workspace_ssh", + "target": "workspace_ssh_constructsshaskpasscm" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L179", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L74", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_finalize_test_testdeletesregistryrolebindingwhenlastworkspaceisdeletedonopenshift", - "target": "rbac_finalize_test_newregistryimagepullerrolebinding" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L296", - "weight": 1.0, - "source": "rbac_finalize_test_testshouldremoveworkspacesafromsccrolebindingwhendeleted", - "target": "rbac_rolebinding_test_testhassubject" + "source": "workspace_ssh", + "target": "workspace_ssh_getsshaskpassvolumesandvolumemounts" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L320", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "rbac_finalize_test_newregistryimagepullerrolebinding", - "target": "pkg_provision_workspace_rbac_finalize_test_go_rolebinding" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/finalize_test.go", - "source_location": "L321", - "weight": 1.0, - "source": "rbac_finalize_test_newregistryimagepullerrolebinding", - "target": "rbac_rolebinding_generatedefaultrolebinding" + "source": "workspace_ssh", + "target": "workspace_ssh_provisionsshaskpass" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_file": "pkg/provision/workspace/ssh.go", "source_location": "L37", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_migrate", - "target": "rbac_migrate_cleanupdeprecatedrbac" + "source": "workspace_ssh_provisionsshaskpass", + "target": "pkg_provision_workspace_ssh_go_clusterapi" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate.go", + "source_file": "pkg/provision/workspace/ssh.go", "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_migrate_cleanupdeprecatedrbac", - "target": "pkg_provision_workspace_rbac_migrate_go_clusterapi" + "source": "workspace_ssh_provisionsshaskpass", + "target": "pkg_provision_workspace_ssh_go_podadditions" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L63", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L38", "weight": 1.0, - "source": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", - "target": "rbac_migrate_cleanupdeprecatedrbac" + "confidence_score": 1.0, + "source": "workspace_ssh_provisionsshaskpass", + "target": "workspace_ssh_constructsshaskpasscm" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L31", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L47", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", - "target": "rbac_migrate_cleanupdeprecatedrbac" + "confidence_score": 1.0, + "source": "workspace_ssh_provisionsshaskpass", + "target": "workspace_ssh_getsshaskpassvolumesandvolumemounts" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L83", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L56", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", - "target": "rbac_migrate_cleanupdeprecatedrbac" + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_ssh_constructsshaskpasscm", + "target": "pkg_provision_workspace_ssh_go_configmap" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L110", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L74", "weight": 1.0, - "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", - "target": "rbac_migrate_cleanupdeprecatedrbac" + "context": "return_type", + "confidence_score": 1.0, + "source": "workspace_ssh_getsshaskpassvolumesandvolumemounts", + "target": "pkg_provision_workspace_ssh_go_volume" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L60", + "source_file": "pkg/provision/workspace/ssh.go", + "source_location": "L74", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_migrate_test", - "target": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent" + "source": "workspace_ssh_getsshaskpassvolumesandvolumemounts", + "target": "pkg_provision_workspace_ssh_go_volumemount" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L27", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_migrate_test", - "target": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent" + "source": "tlssetup_server_tls", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L79", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_migrate_test", - "target": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent" + "source": "tlssetup_server_tls", + "target": "tlssetup_server_tls_registersecurityprofilewatcher" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L106", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_migrate_test", - "target": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent" + "source": "tlssetup_server_tls", + "target": "tlssetup_servertls" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L27", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L62", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_migrate_test_testremovesoldrbacwhennewrbacnotpresent", - "target": "pkg_provision_workspace_rbac_migrate_test_go_t" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "tlssetup_servertls" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L60", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_migrate_test_testdoesnotremoveoldrbacwhennewrbacpresent", - "target": "pkg_provision_workspace_rbac_migrate_test_go_t" + "source": "tlssetup_server_tls_registersecurityprofilewatcher", + "target": "tlssetup_servertls" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L79", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L39", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "rbac_migrate_test_testremovesoldrolebindingwhennewrolebindingnotpresent", - "target": "pkg_provision_workspace_rbac_migrate_test_go_t" + "source": "tlssetup_servertls", + "target": "pkg_tlssetup_server_tls_go_config" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/migrate_test.go", - "source_location": "L106", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "rbac_migrate_test_testremovesoldrolewhennewrolenotpresent", - "target": "pkg_provision_workspace_rbac_migrate_test_go_t" + "source": "tlssetup_servertls", + "target": "tlsadherencepolicy" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L57", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L40", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "rbac_role", - "target": "rbac_role_deleterole" + "source": "tlssetup_servertls", + "target": "tlsprofilespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L78", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L49", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role", - "target": "rbac_role_generatedefaultrole" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "pkg_tlssetup_server_tls_go_config" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L135", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L62", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role", - "target": "rbac_role_generateuseroleforscc" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "pkg_tlssetup_server_tls_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L30", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L62", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role", - "target": "rbac_role_syncroles" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "pkg_tlssetup_server_tls_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L30", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L62", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_syncroles", - "target": "pkg_provision_workspace_rbac_role_go_clusterapi" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "pkg_tlssetup_server_tls_go_logger" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L30", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_syncroles", - "target": "pkg_provision_workspace_rbac_role_go_devworkspacewithconfig" + "source": "tlssetup_server_tls_buildservertlsoptions", + "target": "pkg_tlssetup_server_tls_go_scheme" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L31", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L50", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_role_syncroles", - "target": "rbac_role_generatedefaultrole" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L50", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L219", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_role_syncroles", - "target": "rbac_role_generateuseroleforscc" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L32", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L98", "weight": 1.0, - "source": "rbac_role_test_testcreatesroleifnotexists", - "target": "rbac_role_syncroles" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L111", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L245", "weight": 1.0, - "source": "rbac_role_test_testcreatessccroleifnotexists", - "target": "rbac_role_syncroles" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L51", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L159", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", - "target": "rbac_role_syncroles" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", + "target": "tlssetup_server_tls_buildservertlsoptions" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L134", + "source_file": "webhook/main.go", + "source_location": "L113", "weight": 1.0, - "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", - "target": "rbac_role_syncroles" + "source": "webhook_main_main", + "target": "tlssetup_server_tls_buildservertlsoptions" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "tlssetup_server_tls_registersecurityprofilewatcher", + "target": "pkg_tlssetup_server_tls_go_logger" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", + "weight": 1.0, + "context": "parameter_type", + "source": "tlssetup_server_tls_registersecurityprofilewatcher", + "target": "pkg_tlssetup_server_tls_go_cancelfunc", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls.go", + "source_location": "L116", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "tlssetup_server_tls_registersecurityprofilewatcher", + "target": "pkg_tlssetup_server_tls_go_manager" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L95", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L37", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationempty", - "target": "rbac_role_syncroles" + "source": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", + "target": "tlssetup_server_tls_registersecurityprofilewatcher" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L76", + "source_file": "webhook/main.go", + "source_location": "L192", "weight": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", - "target": "rbac_role_syncroles" + "source": "webhook_main_main", + "target": "tlssetup_server_tls_registersecurityprofilewatcher" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L43", + "weight": 1.0, + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test", + "target": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L185", + "weight": 1.0, + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test", + "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L60", + "weight": 1.0, + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test", + "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L229", + "weight": 1.0, + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test", + "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L121", + "weight": 1.0, + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test", + "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L31", + "weight": 1.0, + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test", + "target": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L57", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L31", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_deleterole", - "target": "pkg_provision_workspace_rbac_role_go_clusterapi" + "source": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", + "target": "pkg_tlssetup_server_tls_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L78", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L43", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_generatedefaultrole", - "target": "pkg_provision_workspace_rbac_role_go_role" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", + "target": "pkg_tlssetup_server_tls_test_go_t" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role.go", - "source_location": "L135", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L185", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_generateuseroleforscc", - "target": "pkg_provision_workspace_rbac_role_go_role" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", + "target": "pkg_tlssetup_server_tls_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L28", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L60", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test", - "target": "rbac_role_test_testcreatesroleifnotexists" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", + "target": "pkg_tlssetup_server_tls_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L106", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L229", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_role_test", - "target": "rbac_role_test_testcreatessccroleifnotexists" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", + "target": "pkg_tlssetup_server_tls_test_go_t" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L47", + "source_file": "pkg/tlssetup/server_tls_test.go", + "source_location": "L121", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test", - "target": "rbac_role_test_testdoesnothingifrolealreadyinsync" + "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", + "target": "pkg_tlssetup_server_tls_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L129", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L29", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_role_test", - "target": "rbac_role_test_testdoesnothingifsccrolealreadyinsync" + "source": "webhook_cluster_role_bindings", + "target": "webhook_cluster_role_bindings_createwebhookclusterrolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L87", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_role_test", - "target": "rbac_role_test_testrejectssccrolewhenannotationempty" + "source": "webhook_cluster_role_bindings", + "target": "webhook_cluster_role_bindings_getclusterrolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L68", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_role_test", - "target": "rbac_role_test_testrejectssccrolewhenannotationmismatches" + "source": "webhook_cluster_role_bindings", + "target": "webhook_cluster_role_bindings_getspecclusterrolebinding" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L28", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test_testcreatesroleifnotexists", - "target": "pkg_provision_workspace_rbac_role_test_go_t" + "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", + "target": "pkg_webhook_cluster_role_bindings_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L106", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test_testcreatessccroleifnotexists", - "target": "pkg_provision_workspace_rbac_role_test_go_t" + "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", + "target": "pkg_webhook_cluster_role_bindings_go_context" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L47", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test_testdoesnothingifrolealreadyinsync", - "target": "pkg_provision_workspace_rbac_role_test_go_t" + "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", + "target": "webhook_cluster_role_bindings_getclusterrolebinding" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L129", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L33", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test_testdoesnothingifsccrolealreadyinsync", - "target": "pkg_provision_workspace_rbac_role_test_go_t" + "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", + "target": "webhook_cluster_role_bindings_getspecclusterrolebinding" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L87", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/create.go", + "source_location": "L108", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationempty", - "target": "pkg_provision_workspace_rbac_role_test_go_t" + "source": "webhook_create_setupwebhookserverrbac", + "target": "webhook_cluster_role_bindings_createwebhookclusterrolebinding" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/role_test.go", - "source_location": "L68", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L82", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_role_test_testrejectssccrolewhenannotationmismatches", - "target": "pkg_provision_workspace_rbac_role_test_go_t" + "source": "webhook_cluster_role_bindings_getclusterrolebinding", + "target": "pkg_webhook_cluster_role_bindings_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L86", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L82", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding", - "target": "rbac_rolebinding_addserviceaccounttorolebinding" + "source": "webhook_cluster_role_bindings_getclusterrolebinding", + "target": "pkg_webhook_cluster_role_bindings_go_context" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L65", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L59", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_rolebinding", - "target": "rbac_rolebinding_deleterolebinding" + "source": "webhook_cluster_role_bindings_getspecclusterrolebinding", + "target": "clusterrolebinding" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L151", + "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_location": "L82", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_rolebinding", - "target": "rbac_rolebinding_generatedefaultrolebinding" + "source": "webhook_cluster_role_bindings_getclusterrolebinding", + "target": "clusterrolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L117", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L29", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding", - "target": "rbac_rolebinding_removeserviceaccountfromrolebinding" + "source": "webhook_cluster_roles", + "target": "webhook_cluster_roles_createwebhookclusterrole" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L167", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L215", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding", - "target": "rbac_rolebinding_rolebindinghassubject" + "source": "webhook_cluster_roles", + "target": "webhook_cluster_roles_getexistingclusterrole" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L31", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L58", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding", - "target": "rbac_rolebinding_syncrolebindings" + "source": "webhook_cluster_roles", + "target": "webhook_cluster_roles_getspecclusterrole" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L31", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" + "source": "webhook_cluster_roles_createwebhookclusterrole", + "target": "pkg_webhook_cluster_roles_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L31", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "pkg_provision_workspace_rbac_rolebinding_go_devworkspacewithconfig" + "source": "webhook_cluster_roles_createwebhookclusterrole", + "target": "pkg_webhook_cluster_roles_go_context" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L35", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L41", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_syncrolebindings", - "target": "rbac_rolebinding_addserviceaccounttorolebinding" + "source": "webhook_cluster_roles_createwebhookclusterrole", + "target": "webhook_cluster_roles_getexistingclusterrole" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L55", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L32", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "rbac_rolebinding_syncrolebindings" + "confidence_score": 1.0, + "source": "webhook_cluster_roles_createwebhookclusterrole", + "target": "webhook_cluster_roles_getspecclusterrole" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L118", + "source_file": "pkg/webhook/create.go", + "source_location": "L101", "weight": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "rbac_rolebinding_syncrolebindings" + "source": "webhook_create_setupwebhookserverrbac", + "target": "webhook_cluster_roles_createwebhookclusterrole" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L167", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L215", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "rbac_rolebinding_syncrolebindings" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "webhook_cluster_roles_getexistingclusterrole", + "target": "pkg_webhook_cluster_roles_go_client" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L32", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L215", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "rbac_rolebinding_syncrolebindings" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "webhook_cluster_roles_getexistingclusterrole", + "target": "pkg_webhook_cluster_roles_go_context" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L87", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L58", "weight": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "rbac_rolebinding_syncrolebindings" + "context": "return_type", + "confidence_score": 1.0, + "source": "webhook_cluster_roles_getspecclusterrole", + "target": "clusterrole" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L206", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/cluster_roles.go", + "source_location": "L215", "weight": 1.0, - "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", - "target": "rbac_rolebinding_syncrolebindings" + "context": "return_type", + "confidence_score": 1.0, + "source": "webhook_cluster_roles_getexistingclusterrole", + "target": "clusterrole" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L86", + "source_file": "pkg/webhook/create.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_addserviceaccounttorolebinding", - "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" + "source": "webhook_create", + "target": "webhook_create_setupwebhooks" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/create.go", + "source_location": "L91", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_create", + "target": "webhook_create_setupwebhookserverrbac" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L65", + "source_file": "pkg/webhook/create.go", + "source_location": "L35", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_deleterolebinding", - "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" + "source": "webhook_create_setupwebhooks", + "target": "pkg_webhook_create_go_config" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L117", + "source_file": "pkg/webhook/create.go", + "source_location": "L35", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", - "target": "pkg_provision_workspace_rbac_rolebinding_go_clusterapi" + "source": "webhook_create_setupwebhooks", + "target": "pkg_webhook_create_go_context" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L99", + "source_file": "pkg/webhook/create.go", + "source_location": "L53", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_addserviceaccounttorolebinding", - "target": "rbac_rolebinding_generatedefaultrolebinding" + "source": "webhook_create_setupwebhooks", + "target": "webhook_create_setupwebhookserverrbac" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L103", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/create.go", + "source_location": "L81", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_rolebinding_addserviceaccounttorolebinding", - "target": "rbac_rolebinding_rolebindinghassubject" + "source": "webhook_create_setupwebhooks", + "target": "webhook_deployment_createwebhookserverdeployment" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L134", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/create.go", + "source_location": "L48", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_rolebinding_removeserviceaccountfromrolebinding", - "target": "rbac_rolebinding_rolebindinghassubject" + "source": "webhook_create_setupwebhooks", + "target": "webhook_init_cfg_webhookcfgsinit" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L151", + "source_file": "pkg/webhook/create.go", + "source_location": "L91", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_generatedefaultrolebinding", - "target": "pkg_provision_workspace_rbac_rolebinding_go_rolebinding" + "source": "webhook_create_setupwebhookserverrbac", + "target": "pkg_webhook_create_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding.go", - "source_location": "L167", + "source_file": "pkg/webhook/create.go", + "source_location": "L91", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_rolebindinghassubject", - "target": "pkg_provision_workspace_rbac_rolebinding_go_rolebinding" + "source": "webhook_create_setupwebhookserverrbac", + "target": "pkg_webhook_create_go_client" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L50", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/create.go", + "source_location": "L122", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding" + "source": "webhook_create_setupwebhookserverrbac", + "target": "webhook_role_bindings_createwebhookrolebinding" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L112", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/create.go", + "source_location": "L115", "weight": 1.0, - "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding" + "source": "webhook_create_setupwebhookserverrbac", + "target": "webhook_roles_createwebhookrole" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L160", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift" + "source": "webhook_deployment", + "target": "webhook_deployment_createwebhookserverdeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L28", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L250", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testcreatesrolebindingifnotexists" + "source": "webhook_deployment", + "target": "webhook_deployment_getclusterdeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L82", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L69", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists" + "source": "webhook_deployment", + "target": "webhook_deployment_getspecdeployment" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L199", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L221", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes" + "source": "webhook_deployment", + "target": "webhook_deployment_getwebhooksserverresources" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L224", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L38", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test", - "target": "rbac_rolebinding_test_testhassubject" + "source": "webhook_deployment_createwebhookserverdeployment", + "target": "pkg_webhook_deployment_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L28", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L38", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "source": "webhook_deployment_createwebhookserverdeployment", + "target": "pkg_webhook_deployment_go_context" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L47", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L53", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testcreatesrolebindingifnotexists", - "target": "rbac_rolebinding_test_testhassubject" + "source": "webhook_deployment_createwebhookserverdeployment", + "target": "webhook_deployment_getclusterdeployment" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L44", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_deployment_createwebhookserverdeployment", + "target": "webhook_deployment_getspecdeployment" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L50", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L250", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "source": "webhook_deployment_getclusterdeployment", + "target": "pkg_webhook_deployment_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L112", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L250", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "source": "webhook_deployment_getclusterdeployment", + "target": "pkg_webhook_deployment_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L160", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L69", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "source": "webhook_deployment_getspecdeployment", + "target": "pkg_webhook_deployment_go_deployment" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L75", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_deployment_getspecdeployment", + "target": "webhook_deployment_getwebhooksserverresources" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L250", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "webhook_deployment_getclusterdeployment", + "target": "pkg_webhook_deployment_go_deployment" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/deployment.go", + "source_location": "L221", + "weight": 1.0, + "context": "return_type", + "confidence_score": 1.0, + "source": "webhook_deployment_getwebhooksserverresources", + "target": "pkg_webhook_deployment_go_resourcerequirements" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L82", + "source_file": "pkg/webhook/info.go", + "source_location": "L32", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "source": "webhook_info", + "target": "webhook_info_getwebhookscreationtimestamp" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L199", + "source_file": "pkg/webhook/info.go", + "source_location": "L32", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testdoesnotcreateregistryimagepullerrolebindingonkubernetes", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_t" + "source": "webhook_info_getwebhookscreationtimestamp", + "target": "pkg_webhook_info_go_client" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L77", + "source_file": "pkg/webhook/info.go", + "source_location": "L32", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstorolebinding", - "target": "rbac_rolebinding_test_testhassubject" + "source": "webhook_info_getwebhookscreationtimestamp", + "target": "pkg_webhook_info_go_time" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L109", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L47", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testcreatessccrolebindingifnotexists", - "target": "rbac_rolebinding_test_testhassubject" + "source": "webhook_init_cfg", + "target": "webhook_init_cfg_checkexistingconfigforconflict" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L155", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testaddsmultiplesubjectstosccrolebinding", - "target": "rbac_rolebinding_test_testhassubject" + "source": "webhook_init_cfg", + "target": "webhook_init_cfg_webhookcfgsinit" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L196", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testcreatesregistryimagepullerrolebindingonopenshift", - "target": "rbac_rolebinding_test_testhassubject" + "source": "webhook_init_cfg_webhookcfgsinit", + "target": "pkg_webhook_init_cfg_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/rbac/rolebinding_test.go", - "source_location": "L224", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L31", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "rbac_rolebinding_test_testhassubject", - "target": "pkg_provision_workspace_rbac_rolebinding_test_go_rolebinding" + "source": "webhook_init_cfg_webhookcfgsinit", + "target": "pkg_webhook_init_cfg_go_context" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L38", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_routing", - "target": "workspace_routing_getspecrouting" + "source": "webhook_init_cfg_webhookcfgsinit", + "target": "webhook_init_cfg_checkexistingconfigforconflict" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L32", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_routing", - "target": "workspace_routing_syncroutingtocluster" + "source": "webhook_init_cfg_webhookcfgsinit", + "target": "workspace_mutating_cfg_buildmutatewebhookcfg" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L47", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "pkg_provision_workspace_routing_go_clusterapi" + "source": "webhook_init_cfg_checkexistingconfigforconflict", + "target": "pkg_webhook_init_cfg_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/webhook/init_cfg.go", + "source_location": "L47", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "pkg_provision_workspace_routing_go_devworkspacewithconfig" + "source": "webhook_init_cfg_checkexistingconfigforconflict", + "target": "pkg_webhook_init_cfg_go_context" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L30", + "weight": 1.0, + "confidence_score": 1.0, + "source": "kubernetes_tls", + "target": "kubernetes_tls_setupsecureservice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "pkg_provision_workspace_routing_go_exposedendpointlist" + "source": "kubernetes_tls_setupsecureservice", + "target": "pkg_webhook_kubernetes_tls_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L36", + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L30", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "pkg_provision_workspace_routing_go_podadditions" + "source": "kubernetes_tls_setupsecureservice", + "target": "pkg_webhook_kubernetes_tls_go_context" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L40", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/kubernetes/tls.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_routing_syncroutingtocluster", - "target": "workspace_routing_getspecrouting" + "source": "kubernetes_tls_setupsecureservice", + "target": "service_service_createorupdatesecureservice" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_getspecrouting", - "target": "pkg_provision_workspace_routing_go_devworkspacewithconfig" + "source": "openshift_tls", + "target": "openshift_tls_setupsecureservice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L29", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_getspecrouting", - "target": "pkg_provision_workspace_routing_go_devworkspacerouting" + "source": "openshift_tls_setupsecureservice", + "target": "pkg_webhook_openshift_tls_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/routing.go", - "source_location": "L75", + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_routing_getspecrouting", - "target": "pkg_provision_workspace_routing_go_scheme" + "source": "openshift_tls_setupsecureservice", + "target": "pkg_webhook_openshift_tls_go_context" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "pkg/webhook/openshift/tls.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_serviceaccount", - "target": "workspace_serviceaccount_finalizeserviceaccount" + "source": "openshift_tls_setupsecureservice", + "target": "service_service_createorupdatesecureservice" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L96", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_serviceaccount", - "target": "workspace_serviceaccount_removesccfromserviceaccount" + "source": "webhook_role_bindings", + "target": "webhook_role_bindings_createwebhookrolebinding" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L37", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_serviceaccount", - "target": "workspace_serviceaccount_syncserviceaccount" + "source": "webhook_role_bindings", + "target": "webhook_role_bindings_getspecrolebinding" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L37", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_syncserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_clusterapi" + "source": "webhook_role_bindings_createwebhookrolebinding", + "target": "pkg_webhook_role_bindings_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L37", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_syncserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_devworkspacewithconfig" + "source": "webhook_role_bindings_createwebhookrolebinding", + "target": "pkg_webhook_role_bindings_go_context" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L35", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_finalizeserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_devworkspacewithconfig" + "source": "webhook_role_bindings_createwebhookrolebinding", + "target": "webhook_role_bindings_getspecrolebinding" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "source_file": "pkg/webhook/role_bindings.go", + "source_location": "L56", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_finalizeserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_client" + "source": "webhook_role_bindings_getspecrolebinding", + "target": "pkg_webhook_role_bindings_go_rolebinding" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L83", + "source_file": "pkg/webhook/roles.go", + "source_location": "L30", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_finalizeserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_context" + "source": "webhook_roles", + "target": "webhook_roles_createwebhookrole" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L91", + "source_file": "pkg/webhook/roles.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_serviceaccount_finalizeserviceaccount", - "target": "workspace_serviceaccount_removesccfromserviceaccount" + "source": "webhook_roles", + "target": "webhook_roles_getspecrole" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L96", + "source_file": "pkg/webhook/roles.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_removesccfromserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_context" + "source": "webhook_roles_createwebhookrole", + "target": "pkg_webhook_roles_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/serviceaccount.go", - "source_location": "L96", + "source_file": "pkg/webhook/roles.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_serviceaccount_removesccfromserviceaccount", - "target": "pkg_provision_workspace_serviceaccount_go_client" + "source": "webhook_roles_createwebhookrole", + "target": "pkg_webhook_roles_go_context" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh-askpass.sh", - "source_location": "L1", + "source_file": "pkg/webhook/roles.go", + "source_location": "L35", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_ssh_askpass", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_pkg_provision_workspace_ssh_askpass_sh__entry" + "source": "webhook_roles_createwebhookrole", + "target": "webhook_roles_getspecrole" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", + "source_file": "pkg/webhook/roles.go", "source_location": "L56", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "workspace_ssh", - "target": "workspace_ssh_constructsshaskpasscm" + "source": "webhook_roles_getspecrole", + "target": "pkg_webhook_roles_go_role" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L74", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_ssh", - "target": "workspace_ssh_getsshaskpassvolumesandvolumemounts" + "source": "service_service", + "target": "service_service_createorupdatesecureservice" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L37", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L83", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_ssh", - "target": "workspace_ssh_provisionsshaskpass" + "source": "service_service", + "target": "service_service_getclusterservice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L37", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "pkg_provision_workspace_ssh_go_clusterapi" + "source": "service_service_createorupdatesecureservice", + "target": "pkg_webhook_service_service_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L37", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L30", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "pkg_provision_workspace_ssh_go_podadditions" + "source": "service_service_createorupdatesecureservice", + "target": "pkg_webhook_service_service_go_context" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L38", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L62", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "workspace_ssh_constructsshaskpasscm" + "source": "service_service_createorupdatesecureservice", + "target": "service_service_getclusterservice" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L47", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L83", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_ssh_provisionsshaskpass", - "target": "workspace_ssh_getsshaskpassvolumesandvolumemounts" + "source": "service_service_getclusterservice", + "target": "pkg_webhook_service_service_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L56", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L83", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_ssh_constructsshaskpasscm", - "target": "pkg_provision_workspace_ssh_go_configmap" + "source": "service_service_getclusterservice", + "target": "pkg_webhook_service_service_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L74", + "source_file": "pkg/webhook/service/service.go", + "source_location": "L83", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "workspace_ssh_getsshaskpassvolumesandvolumemounts", - "target": "pkg_provision_workspace_ssh_go_volume" + "source": "service_service_getclusterservice", + "target": "pkg_webhook_service_service_go_service" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/provision/workspace/ssh.go", - "source_location": "L74", + "source_file": "project-backup/entrypoint.sh", + "source_location": "L1", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "workspace_ssh_getsshaskpassvolumesandvolumemounts", - "target": "pkg_provision_workspace_ssh_go_volumemount" + "source": "project_backup_entrypoint", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_entrypoint_sh__entry", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L62", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L68", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls", - "target": "tlssetup_server_tls_buildservertlsoptions" + "source": "project_backup_workspace_recovery", + "target": "project_backup_workspace_recovery_backup" }, { - "relation": "contains", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L111", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls", - "target": "tlssetup_server_tls_registersecurityprofilewatcher" + "source": "project_backup_workspace_recovery", + "target": "project_backup_workspace_recovery_restore" }, { - "relation": "contains", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L38", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L24", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls", - "target": "tlssetup_servertls" + "source": "project_backup_workspace_recovery", + "target": "project_backup_workspace_recovery_setup_registry_auth" }, { - "relation": "references", + "relation": "defines", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L62", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L150", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "tlssetup_servertls" + "source": "project_backup_workspace_recovery", + "target": "project_backup_workspace_recovery_usage" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L1", "weight": 1.0, - "context": "parameter_type", + "source": "project_backup_workspace_recovery", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_workspace_recovery_sh__entry", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L164", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_workspace_recovery_sh__entry", + "target": "project_backup_workspace_recovery_backup", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L167", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_workspace_recovery_sh__entry", + "target": "project_backup_workspace_recovery_restore", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L158", + "weight": 1.0, + "context": "call", + "source": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_project_backup_workspace_recovery_sh__entry", + "target": "project_backup_workspace_recovery_usage", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "confidence": "EXTRACTED", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L93", + "weight": 1.0, + "context": "call", "confidence_score": 1.0, - "source": "tlssetup_server_tls_registersecurityprofilewatcher", - "target": "tlssetup_servertls" + "source": "project_backup_workspace_recovery_backup", + "target": "project_backup_workspace_recovery_setup_registry_auth" }, { - "relation": "references", + "relation": "calls", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L39", + "source_file": "project-backup/workspace-recovery.sh", + "source_location": "L123", "weight": 1.0, - "context": "field", + "context": "call", "confidence_score": 1.0, - "source": "tlssetup_servertls", - "target": "pkg_tlssetup_server_tls_go_config" + "source": "project_backup_workspace_recovery_restore", + "target": "project_backup_workspace_recovery_setup_registry_auth" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L41", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L43", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "tlssetup_servertls", - "target": "tlsadherencepolicy" + "source": "bootstrap_bootstrap", + "target": "bootstrap_bootstrap_bootstrapworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L40", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L101", "weight": 1.0, - "context": "field", "confidence_score": 1.0, - "source": "tlssetup_servertls", - "target": "tlsprofilespec" + "source": "bootstrap_bootstrap", + "target": "bootstrap_bootstrap_mergeprojects" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L49", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L28", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "pkg_tlssetup_server_tls_go_config" + "source": "bootstrap_bootstrap", + "target": "bootstrap_bootstrap_needsbootstrap" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L62", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L76", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "pkg_tlssetup_server_tls_go_client" + "source": "bootstrap_bootstrap", + "target": "bootstrap_bootstrap_updateworkspacefromdevfile" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L62", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L28", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "pkg_tlssetup_server_tls_go_context" + "source": "bootstrap_bootstrap_needsbootstrap", + "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/main.go", + "source_location": "L122", + "weight": 1.0, + "source": "project_clone_main_main", + "target": "bootstrap_bootstrap_needsbootstrap" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L62", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L43", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "pkg_tlssetup_server_tls_go_logger" + "source": "bootstrap_bootstrap_bootstrapworkspace", + "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L49", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L76", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_buildservertlsoptions", - "target": "pkg_tlssetup_server_tls_go_scheme" + "source": "bootstrap_bootstrap_updateworkspacefromdevfile", + "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L50", + "confidence": "EXTRACTED", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L65", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", - "target": "tlssetup_server_tls_buildservertlsoptions" + "confidence_score": 1.0, + "source": "bootstrap_bootstrap_bootstrapworkspace", + "target": "bootstrap_bootstrap_updateworkspacefromdevfile" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L219", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L55", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", - "target": "tlssetup_server_tls_buildservertlsoptions" + "source": "bootstrap_bootstrap_bootstrapworkspace", + "target": "bootstrap_cluster_getworkspacenamespacedname" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L98", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L50", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", - "target": "tlssetup_server_tls_buildservertlsoptions" + "source": "bootstrap_bootstrap_bootstrapworkspace", + "target": "bootstrap_cluster_setupkubeclient" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L245", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L44", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", - "target": "tlssetup_server_tls_buildservertlsoptions" + "source": "bootstrap_bootstrap_bootstrapworkspace", + "target": "bootstrap_util_getbootstrapdevfile" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L159", + "source_file": "project-clone/main.go", + "source_location": "L127", "weight": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", - "target": "tlssetup_server_tls_buildservertlsoptions" + "source": "project_clone_main_main", + "target": "bootstrap_bootstrap_bootstrapworkspace" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L113", - "weight": 1.0, - "source": "webhook_main_main", - "target": "tlssetup_server_tls_buildservertlsoptions" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L93", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_registersecurityprofilewatcher", - "target": "pkg_tlssetup_server_tls_go_logger" + "source": "bootstrap_bootstrap_updateworkspacefromdevfile", + "target": "bootstrap_bootstrap_mergeprojects" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L76", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_registersecurityprofilewatcher", - "target": "cancelfunc" + "source": "bootstrap_bootstrap_updateworkspacefromdevfile", + "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls.go", - "source_location": "L116", + "source_file": "project-clone/internal/bootstrap/bootstrap.go", + "source_location": "L101", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_registersecurityprofilewatcher", - "target": "pkg_tlssetup_server_tls_go_manager" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L37", - "weight": 1.0, - "source": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", - "target": "tlssetup_server_tls_registersecurityprofilewatcher" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L192", - "weight": 1.0, - "source": "webhook_main_main", - "target": "tlssetup_server_tls_registersecurityprofilewatcher" + "source": "bootstrap_bootstrap_mergeprojects", + "target": "project_clone_internal_bootstrap_bootstrap_go_project" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L43", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L48", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls_test", - "target": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift" + "source": "bootstrap_cluster", + "target": "bootstrap_cluster_getworkspacenamespacedname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L185", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L28", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls_test", - "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence" + "source": "bootstrap_cluster", + "target": "bootstrap_cluster_setupkubeclient" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L60", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L28", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_test", - "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence" + "source": "bootstrap_cluster_setupkubeclient", + "target": "project_clone_internal_bootstrap_cluster_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L229", + "source_file": "project-clone/internal/bootstrap/cluster.go", + "source_location": "L48", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_test", - "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver" + "source": "bootstrap_cluster_getworkspacenamespacedname", + "target": "project_clone_internal_bootstrap_cluster_go_namespacedname" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L121", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls_test", - "target": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence" + "source": "bootstrap_util", + "target": "bootstrap_util_getbootstrapdevfile" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L31", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "tlssetup_server_tls_test", - "target": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift" + "source": "bootstrap_util", + "target": "bootstrap_util_getdevfilefromproject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", + "source_file": "project-clone/internal/bootstrap/util.go", "source_location": "L31", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "tlssetup_server_tls_test_testregistersecurityprofilewatcher_nonopenshift", - "target": "pkg_tlssetup_server_tls_test_go_t" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L43", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_nonopenshift", - "target": "pkg_tlssetup_server_tls_test_go_t" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L185", - "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_emptyadherence", - "target": "pkg_tlssetup_server_tls_test_go_t" + "source": "bootstrap_util_getbootstrapdevfile", + "target": "bootstrap_util_getdevfilefromproject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L60", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L27", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_legacyadherence", - "target": "pkg_tlssetup_server_tls_test_go_t" + "source": "bootstrap_util_getbootstrapdevfile", + "target": "project_clone_internal_bootstrap_util_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L229", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L27", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_noapiserver", - "target": "pkg_tlssetup_server_tls_test_go_t" + "source": "bootstrap_util_getbootstrapdevfile", + "target": "project_clone_internal_bootstrap_util_go_project" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/tlssetup/server_tls_test.go", - "source_location": "L121", + "source_file": "project-clone/internal/bootstrap/util.go", + "source_location": "L49", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "tlssetup_server_tls_test_testbuildservertlsoptions_openshift_strictadherence", - "target": "pkg_tlssetup_server_tls_test_go_t" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L29", - "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings", - "target": "webhook_cluster_role_bindings_createwebhookclusterrolebinding" + "source": "bootstrap_util_getdevfilefromproject", + "target": "project_clone_internal_bootstrap_util_go_project" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L82", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L37", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings", - "target": "webhook_cluster_role_bindings_getclusterrolebinding" + "source": "internal_devfile", + "target": "internal_devfile_readflatteneddevworkspace" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", + "source_file": "project-clone/internal/devfile.go", "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings", - "target": "webhook_cluster_role_bindings_getspecclusterrolebinding" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L29", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", - "target": "pkg_webhook_cluster_role_bindings_go_client" + "source": "internal_devfile", + "target": "internal_devfile_starterprojecttoregularproject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L29", - "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", - "target": "pkg_webhook_cluster_role_bindings_go_context" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L42", - "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", - "target": "webhook_cluster_role_bindings_getclusterrolebinding" - }, - { - "relation": "calls", - "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L33", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L37", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_createwebhookclusterrolebinding", - "target": "webhook_cluster_role_bindings_getspecclusterrolebinding" + "source": "internal_devfile_readflatteneddevworkspace", + "target": "project_clone_internal_devfile_go_devworkspacetemplatespec" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L108", + "source_file": "project-clone/main.go", + "source_location": "L62", "weight": 1.0, - "source": "webhook_create_setupwebhookserverrbac", - "target": "webhook_cluster_role_bindings_createwebhookclusterrolebinding" + "source": "project_clone_main_main", + "target": "internal_devfile_readflatteneddevworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L82", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L59", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_getclusterrolebinding", - "target": "pkg_webhook_cluster_role_bindings_go_client" + "source": "internal_devfile_starterprojecttoregularproject", + "target": "project_clone_internal_devfile_go_project" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L82", + "source_file": "project-clone/internal/devfile.go", + "source_location": "L59", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_getclusterrolebinding", - "target": "pkg_webhook_cluster_role_bindings_go_context" + "source": "internal_devfile_starterprojecttoregularproject", + "target": "project_clone_internal_devfile_go_starterproject" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L59", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/main.go", + "source_location": "L75", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_getspecclusterrolebinding", - "target": "clusterrolebinding" + "source": "project_clone_main_main", + "target": "internal_devfile_starterprojecttoregularproject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_role_bindings.go", - "source_location": "L82", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L203", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "webhook_cluster_role_bindings_getclusterrolebinding", - "target": "clusterrolebinding" + "source": "git_operations", + "target": "git_operations_checkoutcommit" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L29", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L171", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_roles", - "target": "webhook_cluster_roles_createwebhookclusterrole" + "source": "git_operations", + "target": "git_operations_checkoutlocalbranch" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L215", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L136", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_roles", - "target": "webhook_cluster_roles_getexistingclusterrole" + "source": "git_operations", + "target": "git_operations_checkoutreference" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L58", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L185", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_roles", - "target": "webhook_cluster_roles_getspecclusterrole" + "source": "git_operations", + "target": "git_operations_checkoutremotebranch" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L29", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L194", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_cluster_roles_createwebhookclusterrole", - "target": "pkg_webhook_cluster_roles_go_client" + "source": "git_operations", + "target": "git_operations_checkouttag" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L29", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L33", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_cluster_roles_createwebhookclusterrole", - "target": "pkg_webhook_cluster_roles_go_context" + "source": "git_operations", + "target": "git_operations_cloneproject" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L41", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L104", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_roles_createwebhookclusterrole", - "target": "webhook_cluster_roles_getexistingclusterrole" + "source": "git_operations", + "target": "git_operations_setupremotes" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L32", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L85", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_cluster_roles_createwebhookclusterrole", - "target": "webhook_cluster_roles_getspecclusterrole" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L101", - "weight": 1.0, - "source": "webhook_create_setupwebhookserverrbac", - "target": "webhook_cluster_roles_createwebhookclusterrole" + "source": "git_operations", + "target": "git_operations_setupsparsecheckout" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L215", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L123", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_cluster_roles_getexistingclusterrole", - "target": "pkg_webhook_cluster_roles_go_client" + "source": "git_operations", + "target": "git_operations_setupsubmodules" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L215", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L33", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_cluster_roles_getexistingclusterrole", - "target": "pkg_webhook_cluster_roles_go_context" + "source": "git_operations_cloneproject", + "target": "project_clone_internal_git_operations_go_project" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L58", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L74", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "webhook_cluster_roles_getspecclusterrole", - "target": "clusterrole" + "source": "git_operations_cloneproject", + "target": "shell_execute_gitcloneproject" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/cluster_roles.go", - "source_location": "L215", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L69", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "webhook_cluster_roles_getexistingclusterrole", - "target": "clusterrole" + "source": "git_operations_cloneproject", + "target": "shell_execute_gitsparsecloneproject" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L35", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L61", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_create", - "target": "webhook_create_setupwebhooks" + "source": "git_setup_doinitialgitclone", + "target": "git_operations_cloneproject" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L91", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L136", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_create", - "target": "webhook_create_setupwebhookserverrbac" + "source": "git_operations_checkoutreference", + "target": "project_clone_internal_git_operations_go_project" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L35", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L104", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "pkg_webhook_create_go_config" + "source": "git_operations_setupremotes", + "target": "project_clone_internal_git_operations_go_project" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L35", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L85", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "pkg_webhook_create_go_context" + "source": "git_operations_setupsparsecheckout", + "target": "project_clone_internal_git_operations_go_project" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L53", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L123", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "webhook_create_setupwebhookserverrbac" + "source": "git_operations_setupsubmodules", + "target": "project_clone_internal_git_operations_go_project" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L81", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L96", "weight": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "webhook_deployment_createwebhookserverdeployment" + "source": "git_operations_setupsparsecheckout", + "target": "shell_execute_gitsetupsparsecheckout" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L48", - "weight": 1.0, - "source": "webhook_create_setupwebhooks", - "target": "webhook_init_cfg_webhookcfgsinit" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L91", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L74", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_create_setupwebhookserverrbac", - "target": "pkg_webhook_create_go_context" + "source": "git_setup_doinitialgitclone", + "target": "git_operations_setupsparsecheckout" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/create.go", - "source_location": "L91", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L104", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_create_setupwebhookserverrbac", - "target": "pkg_webhook_create_go_client" + "source": "git_operations_setupremotes", + "target": "project_clone_internal_git_operations_go_repository" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L122", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L114", "weight": 1.0, - "source": "webhook_create_setupwebhookserverrbac", - "target": "webhook_role_bindings_createwebhookrolebinding" + "source": "git_operations_setupremotes", + "target": "shell_execute_gitfetchremote" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/create.go", - "source_location": "L115", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L86", "weight": 1.0, - "source": "webhook_create_setupwebhookserverrbac", - "target": "webhook_roles_createwebhookrole" + "source": "git_setup_doinitialgitclone", + "target": "git_operations_setupremotes" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L38", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L119", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_deployment", - "target": "webhook_deployment_createwebhookserverdeployment" + "source": "git_setup_setupremotesforexistingproject", + "target": "git_operations_setupremotes" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L250", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L129", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_deployment", - "target": "webhook_deployment_getclusterdeployment" + "source": "git_operations_setupsubmodules", + "target": "shell_execute_gitinitsubmodules" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L69", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L94", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_deployment", - "target": "webhook_deployment_getspecdeployment" + "source": "git_setup_doinitialgitclone", + "target": "git_operations_setupsubmodules" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L221", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L164", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_deployment", - "target": "webhook_deployment_getwebhooksserverresources" + "source": "git_operations_checkoutreference", + "target": "git_operations_checkoutcommit" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L38", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L158", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_deployment_createwebhookserverdeployment", - "target": "pkg_webhook_deployment_go_client" + "source": "git_operations_checkoutreference", + "target": "git_operations_checkoutlocalbranch" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L38", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L160", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_deployment_createwebhookserverdeployment", - "target": "pkg_webhook_deployment_go_context" + "source": "git_operations_checkoutreference", + "target": "git_operations_checkoutremotebranch" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L53", + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L162", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_deployment_createwebhookserverdeployment", - "target": "webhook_deployment_getclusterdeployment" + "source": "git_operations_checkoutreference", + "target": "git_operations_checkouttag" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L44", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L152", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_deployment_createwebhookserverdeployment", - "target": "webhook_deployment_getspecdeployment" + "source": "git_operations_checkoutreference", + "target": "shell_execute_gitresolvereference" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L250", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L90", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_deployment_getclusterdeployment", - "target": "pkg_webhook_deployment_go_client" + "source": "git_setup_doinitialgitclone", + "target": "git_operations_checkoutreference" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L250", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L173", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_deployment_getclusterdeployment", - "target": "pkg_webhook_deployment_go_context" + "source": "git_operations_checkoutlocalbranch", + "target": "shell_execute_gitcheckoutbranchlocal" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L69", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L178", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "webhook_deployment_getspecdeployment", - "target": "pkg_webhook_deployment_go_deployment" + "source": "git_operations_checkoutlocalbranch", + "target": "shell_execute_gitsettrackingremotebranch" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L75", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L188", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_deployment_getspecdeployment", - "target": "webhook_deployment_getwebhooksserverresources" + "source": "git_operations_checkoutremotebranch", + "target": "shell_execute_gitcheckoutbranch" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L250", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L197", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "webhook_deployment_getclusterdeployment", - "target": "pkg_webhook_deployment_go_deployment" + "source": "git_operations_checkouttag", + "target": "shell_execute_gitcheckoutref" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/deployment.go", - "source_location": "L221", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/operations.go", + "source_location": "L206", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "webhook_deployment_getwebhooksserverresources", - "target": "pkg_webhook_deployment_go_resourcerequirements" + "source": "git_operations_checkoutcommit", + "target": "shell_execute_gitcheckoutref" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/info.go", - "source_location": "L32", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L125", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_info", - "target": "webhook_info_getwebhookscreationtimestamp" + "source": "git_setup", + "target": "git_setup_copyprojectfromtmpdir" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/info.go", - "source_location": "L32", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L105", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_info_getwebhookscreationtimestamp", - "target": "pkg_webhook_info_go_client" + "source": "git_setup", + "target": "git_setup_delaybeforeretry" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/info.go", - "source_location": "L32", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L46", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "webhook_info_getwebhookscreationtimestamp", - "target": "pkg_webhook_info_go_time" + "source": "git_setup", + "target": "git_setup_doinitialgitclone" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L47", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L31", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_init_cfg", - "target": "webhook_init_cfg_checkexistingconfigforconflict" + "source": "git_setup", + "target": "git_setup_setupgitproject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L31", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L111", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_init_cfg", - "target": "webhook_init_cfg_webhookcfgsinit" + "source": "git_setup", + "target": "git_setup_setupremotesforexistingproject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L31", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L37", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_init_cfg_webhookcfgsinit", - "target": "pkg_webhook_init_cfg_go_client" + "source": "git_setup_setupgitproject", + "target": "git_setup_doinitialgitclone" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L31", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L39", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_init_cfg_webhookcfgsinit", - "target": "pkg_webhook_init_cfg_go_context" + "source": "git_setup_setupgitproject", + "target": "git_setup_setupremotesforexistingproject" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L32", + "weight": 1.0, + "source": "git_setup_setupgitproject", + "target": "internal_utils_checkprojectstate" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L38", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L31", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_init_cfg_webhookcfgsinit", - "target": "webhook_init_cfg_checkexistingconfigforconflict" + "source": "git_setup_setupgitproject", + "target": "project_clone_internal_git_setup_go_project" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L32", + "source_file": "project-clone/main.go", + "source_location": "L104", "weight": 1.0, - "source": "webhook_init_cfg_webhookcfgsinit", - "target": "workspace_mutating_cfg_buildmutatewebhookcfg" + "source": "project_clone_main_main", + "target": "git_setup_setupgitproject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L47", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L125", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_init_cfg_checkexistingconfigforconflict", - "target": "pkg_webhook_init_cfg_go_client" + "source": "git_setup_copyprojectfromtmpdir", + "target": "project_clone_internal_git_setup_go_project" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/init_cfg.go", - "source_location": "L47", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L46", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_init_cfg_checkexistingconfigforconflict", - "target": "pkg_webhook_init_cfg_go_context" + "source": "git_setup_doinitialgitclone", + "target": "project_clone_internal_git_setup_go_project" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L30", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L111", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_tls", - "target": "kubernetes_tls_setupsecureservice" + "source": "git_setup_setupremotesforexistingproject", + "target": "project_clone_internal_git_setup_go_project" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L30", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L98", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_tls_setupsecureservice", - "target": "pkg_webhook_kubernetes_tls_go_client" + "source": "git_setup_doinitialgitclone", + "target": "git_setup_copyprojectfromtmpdir" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L30", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L56", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "kubernetes_tls_setupsecureservice", - "target": "pkg_webhook_kubernetes_tls_go_context" + "source": "git_setup_doinitialgitclone", + "target": "git_setup_delaybeforeretry" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "pkg/webhook/kubernetes/tls.go", - "source_location": "L31", + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L79", "weight": 1.0, - "source": "kubernetes_tls_setupsecureservice", - "target": "service_service_createorupdatesecureservice" + "source": "git_setup_doinitialgitclone", + "target": "internal_utils_openrepo" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L29", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/internal/git/setup.go", + "source_location": "L113", "weight": 1.0, - "confidence_score": 1.0, - "source": "openshift_tls", - "target": "openshift_tls_setupsecureservice" + "source": "git_setup_setupremotesforexistingproject", + "target": "internal_utils_openrepo" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L29", + "source_file": "project-clone/internal/global.go", + "source_location": "L85", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "openshift_tls_setupsecureservice", - "target": "pkg_webhook_openshift_tls_go_client" + "source": "internal_global", + "target": "internal_global_getauthforhost" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L29", + "source_file": "project-clone/internal/global.go", + "source_location": "L53", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "openshift_tls_setupsecureservice", - "target": "pkg_webhook_openshift_tls_go_context" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "pkg/webhook/openshift/tls.go", - "source_location": "L31", - "weight": 1.0, - "source": "openshift_tls_setupsecureservice", - "target": "service_service_createorupdatesecureservice" + "source": "internal_global", + "target": "internal_global_init" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L30", + "source_file": "project-clone/internal/global.go", + "source_location": "L135", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_role_bindings", - "target": "webhook_role_bindings_createwebhookrolebinding" + "source": "internal_global", + "target": "internal_global_parsecredentialsfile" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L56", + "source_file": "project-clone/internal/global.go", + "source_location": "L122", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_role_bindings", - "target": "webhook_role_bindings_getspecrolebinding" + "source": "internal_global", + "target": "internal_global_setupauth" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L30", + "source_file": "project-clone/internal/global.go", + "source_location": "L82", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_role_bindings_createwebhookrolebinding", - "target": "pkg_webhook_role_bindings_go_client" + "source": "internal_global_init", + "target": "internal_global_setupauth" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L30", + "source_file": "project-clone/internal/global.go", + "source_location": "L85", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_role_bindings_createwebhookrolebinding", - "target": "pkg_webhook_role_bindings_go_context" + "source": "internal_global_getauthforhost", + "target": "authmethod" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L35", + "source_file": "project-clone/internal/global.go", + "source_location": "L131", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_role_bindings_createwebhookrolebinding", - "target": "webhook_role_bindings_getspecrolebinding" + "source": "internal_global_setupauth", + "target": "internal_global_parsecredentialsfile" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/role_bindings.go", - "source_location": "L56", + "source_file": "project-clone/internal/global.go", + "source_location": "L135", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "webhook_role_bindings_getspecrolebinding", - "target": "pkg_webhook_role_bindings_go_rolebinding" + "source": "internal_global_parsecredentialsfile", + "target": "basicauth" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/roles.go", - "source_location": "L30", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L106", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_roles", - "target": "webhook_roles_createwebhookrole" + "source": "shell_execute", + "target": "shell_execute_executecommand" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/roles.go", - "source_location": "L56", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L113", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_roles", - "target": "webhook_roles_getspecrole" + "source": "shell_execute", + "target": "shell_execute_executecommandsilent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/roles.go", - "source_location": "L30", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L71", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_roles_createwebhookrole", - "target": "pkg_webhook_roles_go_client" + "source": "shell_execute", + "target": "shell_execute_gitcheckoutbranch" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/roles.go", - "source_location": "L30", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L75", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_roles_createwebhookrole", - "target": "pkg_webhook_roles_go_context" + "source": "shell_execute", + "target": "shell_execute_gitcheckoutbranchlocal" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/roles.go", - "source_location": "L35", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L67", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_roles_createwebhookrole", - "target": "webhook_roles_getspecrole" + "source": "shell_execute", + "target": "shell_execute_gitcheckoutref" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/roles.go", - "source_location": "L56", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L36", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "webhook_roles_getspecrole", - "target": "pkg_webhook_roles_go_role" + "source": "shell_execute", + "target": "shell_execute_gitcloneproject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L30", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L63", "weight": 1.0, "confidence_score": 1.0, - "source": "service_service", - "target": "service_service_createorupdatesecureservice" + "source": "shell_execute", + "target": "shell_execute_gitfetchremote" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L83", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L102", "weight": 1.0, "confidence_score": 1.0, - "source": "service_service", - "target": "service_service_getclusterservice" + "source": "shell_execute", + "target": "shell_execute_gitinitsubmodules" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L30", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L86", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "service_service_createorupdatesecureservice", - "target": "pkg_webhook_service_service_go_client" + "source": "shell_execute", + "target": "shell_execute_gitresolvereference" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L30", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L79", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "service_service_createorupdatesecureservice", - "target": "pkg_webhook_service_service_go_context" + "source": "shell_execute", + "target": "shell_execute_gitsettrackingremotebranch" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L62", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "service_service_createorupdatesecureservice", - "target": "service_service_getclusterservice" + "source": "shell_execute", + "target": "shell_execute_gitsetupsparsecheckout" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L83", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L47", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "service_service_getclusterservice", - "target": "pkg_webhook_service_service_go_client" + "source": "shell_execute", + "target": "shell_execute_gitsparsecloneproject" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L83", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L24", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "service_service_getclusterservice", - "target": "pkg_webhook_service_service_go_context" + "source": "shell_execute", + "target": "shell_gitreftype" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "pkg/webhook/service/service.go", - "source_location": "L83", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L86", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "service_service_getclusterservice", - "target": "pkg_webhook_service_service_go_service" + "source": "shell_execute_gitresolvereference", + "target": "shell_gitreftype" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/entrypoint.sh", - "source_location": "L1", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L44", "weight": 1.0, "confidence_score": 1.0, - "source": "project_backup_entrypoint", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_entrypoint_sh__entry" + "source": "shell_execute_gitcloneproject", + "target": "shell_execute_executecommand" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L1", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "project_backup_workspace_recovery", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_workspace_recovery_sh__entry" + "source": "shell_execute_gitsparsecloneproject", + "target": "shell_execute_executecommand" }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L68", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "project_backup_workspace_recovery", - "target": "project_backup_workspace_recovery_backup" + "source": "shell_execute_gitsetupsparsecheckout", + "target": "shell_execute_executecommand" }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L111", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L64", "weight": 1.0, "confidence_score": 1.0, - "source": "project_backup_workspace_recovery", - "target": "project_backup_workspace_recovery_restore" + "source": "shell_execute_gitfetchremote", + "target": "shell_execute_executecommand" }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L24", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L68", "weight": 1.0, "confidence_score": 1.0, - "source": "project_backup_workspace_recovery", - "target": "project_backup_workspace_recovery_setup_registry_auth" + "source": "shell_execute_gitcheckoutref", + "target": "shell_execute_executecommand" }, { - "relation": "defines", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L150", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L72", "weight": 1.0, "confidence_score": 1.0, - "source": "project_backup_workspace_recovery", - "target": "project_backup_workspace_recovery_usage" + "source": "shell_execute_gitcheckoutbranch", + "target": "shell_execute_executecommand" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L164", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L76", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_workspace_recovery_sh__entry", - "target": "project_backup_workspace_recovery_backup" + "source": "shell_execute_gitcheckoutbranchlocal", + "target": "shell_execute_executecommand" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L167", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L80", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_workspace_recovery_sh__entry", - "target": "project_backup_workspace_recovery_restore" + "source": "shell_execute_gitsettrackingremotebranch", + "target": "shell_execute_executecommand" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L158", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L87", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_project_backup_workspace_recovery_sh__entry", - "target": "project_backup_workspace_recovery_usage" + "source": "shell_execute_gitresolvereference", + "target": "shell_execute_executecommandsilent" }, { "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L93", + "source_file": "project-clone/internal/shell/execute.go", + "source_location": "L103", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "project_backup_workspace_recovery_backup", - "target": "project_backup_workspace_recovery_setup_registry_auth" + "source": "shell_execute_gitinitsubmodules", + "target": "shell_execute_executecommand" }, { - "relation": "calls", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-backup/workspace-recovery.sh", - "source_location": "L123", + "source_file": "project-clone/internal/utils.go", + "source_location": "L37", "weight": 1.0, - "context": "call", "confidence_score": 1.0, - "source": "project_backup_workspace_recovery_restore", - "target": "project_backup_workspace_recovery_setup_registry_auth" + "source": "internal_utils", + "target": "internal_utils_checkprojectstate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L43", + "source_file": "project-clone/internal/utils.go", + "source_location": "L100", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_bootstrap", - "target": "bootstrap_bootstrap_bootstrapworkspace" + "source": "internal_utils", + "target": "internal_utils_checksubpathprojectstate" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L101", + "source_file": "project-clone/internal/utils.go", + "source_location": "L85", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_bootstrap", - "target": "bootstrap_bootstrap_mergeprojects" + "source": "internal_utils", + "target": "internal_utils_direxists" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L28", + "source_file": "project-clone/internal/utils.go", + "source_location": "L124", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_bootstrap", - "target": "bootstrap_bootstrap_needsbootstrap" + "source": "internal_utils", + "target": "internal_utils_getadditionalcerts" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L76", + "source_file": "project-clone/internal/utils.go", + "source_location": "L72", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_bootstrap", - "target": "bootstrap_bootstrap_updateworkspacefromdevfile" + "source": "internal_utils", + "target": "internal_utils_openrepo" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L28", + "source_file": "project-clone/internal/utils.go", + "source_location": "L39", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_bootstrap_needsbootstrap", - "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" + "source": "internal_utils_checkprojectstate", + "target": "internal_utils_checksubpathprojectstate" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L122", + "confidence": "EXTRACTED", + "source_file": "project-clone/internal/utils.go", + "source_location": "L41", "weight": 1.0, - "source": "project_clone_main_main", - "target": "bootstrap_bootstrap_needsbootstrap" + "confidence_score": 1.0, + "source": "internal_utils_checkprojectstate", + "target": "internal_utils_openrepo" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L43", + "source_file": "project-clone/internal/utils.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_bootstrap_bootstrapworkspace", - "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" + "source": "internal_utils_checkprojectstate", + "target": "project_clone_internal_utils_go_project" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L76", + "source_file": "project-clone/internal/utils.go", + "source_location": "L100", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_bootstrap_updateworkspacefromdevfile", - "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspacetemplatespec" + "source": "internal_utils_checksubpathprojectstate", + "target": "project_clone_internal_utils_go_project" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L65", + "source_file": "project-clone/internal/utils.go", + "source_location": "L72", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "bootstrap_bootstrap_bootstrapworkspace", - "target": "bootstrap_bootstrap_updateworkspacefromdevfile" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L55", - "weight": 1.0, - "source": "bootstrap_bootstrap_bootstrapworkspace", - "target": "bootstrap_cluster_getworkspacenamespacedname" + "source": "internal_utils_openrepo", + "target": "project_clone_internal_utils_go_repository" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L50", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L46", "weight": 1.0, - "source": "bootstrap_bootstrap_bootstrapworkspace", - "target": "bootstrap_cluster_setupkubeclient" + "source": "zip_setup_setupzipproject", + "target": "internal_utils_direxists" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L44", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "project-clone/internal/utils.go", + "source_location": "L124", "weight": 1.0, - "source": "bootstrap_bootstrap_bootstrapworkspace", - "target": "bootstrap_util_getbootstrapdevfile" + "context": "return_type", + "confidence_score": 1.0, + "source": "internal_utils_getadditionalcerts", + "target": "project_clone_internal_utils_go_certpool" }, { "relation": "calls", @@ -77391,4094 +92159,4254 @@ "confidence": "INFERRED", "confidence_score": 0.8, "source_file": "project-clone/main.go", - "source_location": "L127", + "source_location": "L79", "weight": 1.0, "source": "project_clone_main_main", - "target": "bootstrap_bootstrap_bootstrapworkspace" + "target": "internal_utils_getadditionalcerts" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L93", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L232", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_bootstrap_updateworkspacefromdevfile", - "target": "bootstrap_bootstrap_mergeprojects" + "source": "zip_setup", + "target": "zip_setup_closesafe" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L76", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L93", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "bootstrap_bootstrap_updateworkspacefromdevfile", - "target": "project_clone_internal_bootstrap_bootstrap_go_devworkspace" + "source": "zip_setup", + "target": "zip_setup_downloadzip" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/bootstrap.go", - "source_location": "L101", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L193", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "bootstrap_bootstrap_mergeprojects", - "target": "project_clone_internal_bootstrap_bootstrap_go_project" + "source": "zip_setup", + "target": "zip_setup_droptoplevelfolder" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L48", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L39", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_cluster", - "target": "bootstrap_cluster_getworkspacenamespacedname" + "source": "zip_setup", + "target": "zip_setup_setupzipproject" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L28", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L122", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_cluster", - "target": "bootstrap_cluster_setupkubeclient" + "source": "zip_setup", + "target": "zip_setup_unzip" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L28", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "project-clone/main.go", + "source_location": "L106", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "bootstrap_cluster_setupkubeclient", - "target": "project_clone_internal_bootstrap_cluster_go_client" + "source": "project_clone_main_main", + "target": "zip_setup_setupzipproject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/cluster.go", - "source_location": "L48", - "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "bootstrap_cluster_getworkspacenamespacedname", - "target": "project_clone_internal_bootstrap_cluster_go_namespacedname" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L27", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L39", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_util", - "target": "bootstrap_util_getbootstrapdevfile" + "source": "zip_setup_setupzipproject", + "target": "project_clone_internal_zip_setup_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L49", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L39", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_util", - "target": "bootstrap_util_getdevfilefromproject" + "source": "zip_setup_setupzipproject", + "target": "project_clone_internal_zip_setup_go_project" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L31", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L61", "weight": 1.0, "confidence_score": 1.0, - "source": "bootstrap_util_getbootstrapdevfile", - "target": "bootstrap_util_getdevfilefromproject" + "source": "zip_setup_setupzipproject", + "target": "zip_setup_downloadzip" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L27", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L81", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "bootstrap_util_getbootstrapdevfile", - "target": "project_clone_internal_bootstrap_util_go_devworkspacetemplatespec" + "source": "zip_setup_setupzipproject", + "target": "zip_setup_droptoplevelfolder" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L27", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L67", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_util_getbootstrapdevfile", - "target": "project_clone_internal_bootstrap_util_go_project" + "source": "zip_setup_setupzipproject", + "target": "zip_setup_unzip" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/bootstrap/util.go", - "source_location": "L49", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L93", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "bootstrap_util_getdevfilefromproject", - "target": "project_clone_internal_bootstrap_util_go_project" + "source": "zip_setup_downloadzip", + "target": "project_clone_internal_zip_setup_go_client" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L37", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_devfile", - "target": "internal_devfile_readflatteneddevworkspace" + "source": "zip_setup_downloadzip", + "target": "zip_setup_closesafe" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L59", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L127", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_devfile", - "target": "internal_devfile_starterprojecttoregularproject" + "source": "zip_setup_unzip", + "target": "zip_setup_closesafe" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L37", + "source_file": "project-clone/internal/zip/setup.go", + "source_location": "L232", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_devfile_readflatteneddevworkspace", - "target": "project_clone_internal_devfile_go_devworkspacetemplatespec" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L62", - "weight": 1.0, - "source": "project_clone_main_main", - "target": "internal_devfile_readflatteneddevworkspace" + "source": "zip_setup_closesafe", + "target": "closer" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L59", + "source_file": "project-clone/main.go", + "source_location": "L138", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "internal_devfile_starterprojecttoregularproject", - "target": "project_clone_internal_devfile_go_project" + "source": "project_clone_main", + "target": "project_clone_main_copylogfiletoprojectsroot" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/devfile.go", - "source_location": "L59", + "source_file": "project-clone/main.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_devfile_starterprojecttoregularproject", - "target": "project_clone_internal_devfile_go_starterproject" + "source": "project_clone_main", + "target": "project_clone_main_main" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, + "confidence": "EXTRACTED", "source_file": "project-clone/main.go", - "source_location": "L75", + "source_location": "L109", "weight": 1.0, + "confidence_score": 1.0, "source": "project_clone_main_main", - "target": "internal_devfile_starterprojecttoregularproject" + "target": "project_clone_main_copylogfiletoprojectsroot" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L203", + "source_file": "test/e2e/cmd/workspaces_test.go", + "source_location": "L125", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_checkoutcommit" + "source": "cmd_workspaces_test", + "target": "cmd_workspaces_test_testworkspacecontroller" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L171", + "source_file": "test/e2e/cmd/workspaces_test.go", + "source_location": "L125", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_checkoutlocalbranch" + "source": "cmd_workspaces_test_testworkspacecontroller", + "target": "test_e2e_cmd_workspaces_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L136", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L134", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_checkoutreference" + "source": "client_client", + "target": "client_client_copyfile" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L185", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L148", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_checkoutremotebranch" + "source": "client_client", + "target": "client_client_generateuniqprefixforfile" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L194", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L41", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_checkouttag" + "source": "client_client", + "target": "client_client_init" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L33", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L54", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_cloneproject" + "source": "client_client", + "target": "client_client_newk8sclientwithkubeconfig" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L104", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L86", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_setupremotes" + "source": "client_client", + "target": "client_client_newk8sclientwithtoken" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L85", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L47", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_setupsparsecheckout" + "source": "client_client", + "target": "test_e2e_pkg_client_client_go_client_k8sclient" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L123", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L54", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "git_operations", - "target": "git_operations_setupsubmodules" + "source": "client_client_newk8sclientwithkubeconfig", + "target": "test_e2e_pkg_client_client_go_client_k8sclient" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L33", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L86", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "git_operations_cloneproject", - "target": "project_clone_internal_git_operations_go_project" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L74", - "weight": 1.0, - "source": "git_operations_cloneproject", - "target": "shell_execute_gitcloneproject" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L69", - "weight": 1.0, - "source": "git_operations_cloneproject", - "target": "shell_execute_gitsparsecloneproject" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L61", - "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_operations_cloneproject" + "source": "client_client_newk8sclientwithtoken", + "target": "test_e2e_pkg_client_client_go_client_k8sclient" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L136", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L129", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "git_operations_checkoutreference", - "target": "project_clone_internal_git_operations_go_project" + "source": "test_e2e_pkg_client_client_go_client_k8sclient", + "target": "client_k8sclient_controllerruntimeclient" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L104", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L124", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "git_operations_setupremotes", - "target": "project_clone_internal_git_operations_go_project" + "source": "test_e2e_pkg_client_client_go_client_k8sclient", + "target": "client_k8sclient_kube" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L85", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L48", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "git_operations_setupsparsecheckout", - "target": "project_clone_internal_git_operations_go_project" + "source": "test_e2e_pkg_client_client_go_client_k8sclient", + "target": "clientset" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L123", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L49", "weight": 1.0, - "context": "parameter_type", + "context": "field", "confidence_score": 1.0, - "source": "git_operations_setupsubmodules", - "target": "project_clone_internal_git_operations_go_project" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L96", - "weight": 1.0, - "source": "git_operations_setupsparsecheckout", - "target": "shell_execute_gitsetupsparsecheckout" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L74", - "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_operations_setupsparsecheckout" + "source": "test_e2e_pkg_client_client_go_client_k8sclient", + "target": "test_e2e_pkg_client_client_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L104", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L129", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "git_operations_setupremotes", - "target": "project_clone_internal_git_operations_go_repository" - }, - { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L114", - "weight": 1.0, - "source": "git_operations_setupremotes", - "target": "shell_execute_gitfetchremote" + "source": "client_k8sclient_controllerruntimeclient", + "target": "test_e2e_pkg_client_client_go_client" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L86", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L61", "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_operations_setupremotes" + "confidence_score": 1.0, + "source": "client_client_newk8sclientwithkubeconfig", + "target": "client_client_copyfile" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L119", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L60", "weight": 1.0, - "source": "git_setup_setupremotesforexistingproject", - "target": "git_operations_setupremotes" + "confidence_score": 1.0, + "source": "client_client_newk8sclientwithkubeconfig", + "target": "client_client_generateuniqprefixforfile" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L129", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L88", "weight": 1.0, - "source": "git_operations_setupsubmodules", - "target": "shell_execute_gitinitsubmodules" + "confidence_score": 1.0, + "source": "client_client_newk8sclientwithtoken", + "target": "client_client_copyfile" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L94", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L87", "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_operations_setupsubmodules" + "confidence_score": 1.0, + "source": "client_client_newk8sclientwithtoken", + "target": "client_client_generateuniqprefixforfile" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L164", + "source_file": "test/e2e/pkg/client/client.go", + "source_location": "L124", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "git_operations_checkoutreference", - "target": "git_operations_checkoutcommit" + "source": "client_k8sclient_kube", + "target": "interface" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L158", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L99", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations_checkoutreference", - "target": "git_operations_checkoutlocalbranch" + "source": "test_e2e_pkg_client_devws_go_client_k8sclient", + "target": "client_k8sclient_deletedevworkspace" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L160", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L133", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations_checkoutreference", - "target": "git_operations_checkoutremotebranch" + "source": "test_e2e_pkg_client_devws_go_client_k8sclient", + "target": "client_k8sclient_deletedevworkspaceandwait" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L162", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L58", "weight": 1.0, "confidence_score": 1.0, - "source": "git_operations_checkoutreference", - "target": "git_operations_checkouttag" + "source": "test_e2e_pkg_client_devws_go_client_k8sclient", + "target": "client_k8sclient_getdevwsstatus" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L152", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L34", "weight": 1.0, - "source": "git_operations_checkoutreference", - "target": "shell_execute_gitresolvereference" + "confidence_score": 1.0, + "source": "test_e2e_pkg_client_devws_go_client_k8sclient", + "target": "client_k8sclient_updatedevworkspacestarted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L90", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L73", "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_operations_checkoutreference" + "confidence_score": 1.0, + "source": "test_e2e_pkg_client_devws_go_client_k8sclient", + "target": "client_k8sclient_waitdevwsstatus" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L173", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L113", "weight": 1.0, - "source": "git_operations_checkoutlocalbranch", - "target": "shell_execute_gitcheckoutbranchlocal" + "confidence_score": 1.0, + "source": "test_e2e_pkg_client_devws_go_client_k8sclient", + "target": "client_k8sclient_waitforpvcdeleted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L178", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L58", "weight": 1.0, - "source": "git_operations_checkoutlocalbranch", - "target": "shell_execute_gitsettrackingremotebranch" + "context": "return_type", + "confidence_score": 1.0, + "source": "client_k8sclient_getdevwsstatus", + "target": "test_e2e_pkg_client_devws_go_devworkspacestatus" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L188", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L82", "weight": 1.0, - "source": "git_operations_checkoutremotebranch", - "target": "shell_execute_gitcheckoutbranch" + "confidence_score": 1.0, + "source": "client_k8sclient_waitdevwsstatus", + "target": "client_k8sclient_getdevwsstatus" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L197", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L73", "weight": 1.0, - "source": "git_operations_checkouttag", - "target": "shell_execute_gitcheckoutref" + "context": "parameter_type", + "confidence_score": 1.0, + "source": "client_k8sclient_waitdevwsstatus", + "target": "test_e2e_pkg_client_devws_go_devworkspacephase" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/operations.go", - "source_location": "L206", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L134", "weight": 1.0, - "source": "git_operations_checkoutcommit", - "target": "shell_execute_gitcheckoutref" + "confidence_score": 1.0, + "source": "client_k8sclient_deletedevworkspaceandwait", + "target": "client_k8sclient_deletedevworkspace" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L125", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L139", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup", - "target": "git_setup_copyprojectfromtmpdir" + "source": "client_k8sclient_deletedevworkspaceandwait", + "target": "client_k8sclient_waitforpvcdeleted" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L105", + "source_file": "test/e2e/pkg/client/devws.go", + "source_location": "L113", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "git_setup", - "target": "git_setup_delaybeforeretry" + "source": "client_k8sclient_waitforpvcdeleted", + "target": "test_e2e_pkg_client_devws_go_duration" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L46", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L32", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup", - "target": "git_setup_doinitialgitclone" + "source": "test_e2e_pkg_client_namespace_go_client_k8sclient", + "target": "client_k8sclient_createnamespace" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L31", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L41", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup", - "target": "git_setup_setupgitproject" + "source": "test_e2e_pkg_client_namespace_go_client_k8sclient", + "target": "client_k8sclient_deletenamespace" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L111", + "source_file": "test/e2e/pkg/client/namespace.go", + "source_location": "L46", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup", - "target": "git_setup_setupremotesforexistingproject" + "source": "test_e2e_pkg_client_namespace_go_client_k8sclient", + "target": "client_k8sclient_waitnamespaceisterminated" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L37", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L48", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup_setupgitproject", - "target": "git_setup_doinitialgitclone" + "source": "test_e2e_pkg_client_oc_go_client_k8sclient", + "target": "client_k8sclient_execcommandincontainer" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L39", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L60", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup_setupgitproject", - "target": "git_setup_setupremotesforexistingproject" + "source": "test_e2e_pkg_client_oc_go_client_k8sclient", + "target": "client_k8sclient_getlogsforcontainer" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L32", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/oc.go", + "source_location": "L26", "weight": 1.0, - "source": "git_setup_setupgitproject", - "target": "internal_utils_checkprojectstate" + "confidence_score": 1.0, + "source": "test_e2e_pkg_client_oc_go_client_k8sclient", + "target": "client_k8sclient_ocapplyworkspace" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L31", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L106", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "git_setup_setupgitproject", - "target": "project_clone_internal_git_setup_go_project" + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_getpodnamebyselector" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L104", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L146", "weight": 1.0, - "source": "project_clone_main_main", - "target": "git_setup_setupgitproject" + "confidence_score": 1.0, + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_ispodcontainerready" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L125", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L88", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "git_setup_copyprojectfromtmpdir", - "target": "project_clone_internal_git_setup_go_project" + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_ispodrunning" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L46", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L70", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "project_clone_internal_git_setup_go_project" + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_listpods" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L111", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L124", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "git_setup_setupremotesforexistingproject", - "target": "project_clone_internal_git_setup_go_project" + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_waitforpodcontainertoready" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L98", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L82", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_setup_copyprojectfromtmpdir" + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_waitforpodrunning" }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L56", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L30", "weight": 1.0, "confidence_score": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "git_setup_delaybeforeretry" + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_waitforpodrunningbylabel" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L79", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L49", "weight": 1.0, - "source": "git_setup_doinitialgitclone", - "target": "internal_utils_openrepo" + "confidence_score": 1.0, + "source": "test_e2e_pkg_client_pod_go_client_k8sclient", + "target": "client_k8sclient_waitforrunningpodbyselector" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "project-clone/internal/git/setup.go", - "source_location": "L113", + "confidence": "EXTRACTED", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L39", "weight": 1.0, - "source": "git_setup_setupremotesforexistingproject", - "target": "internal_utils_openrepo" + "confidence_score": 1.0, + "source": "client_k8sclient_waitforpodrunningbylabel", + "target": "client_k8sclient_waitforrunningpodbyselector" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L85", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L50", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_global", - "target": "internal_global_getauthforhost" + "source": "client_k8sclient_waitforrunningpodbyselector", + "target": "client_k8sclient_listpods" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L53", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L61", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_global", - "target": "internal_global_init" + "source": "client_k8sclient_waitforrunningpodbyselector", + "target": "client_k8sclient_waitforpodrunning" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L135", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L49", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_global", - "target": "internal_global_parsecredentialsfile" + "source": "client_k8sclient_waitforrunningpodbyselector", + "target": "test_e2e_pkg_client_pod_go_duration" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L122", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L82", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_global", - "target": "internal_global_setupauth" + "source": "client_k8sclient_waitforpodrunning", + "target": "test_e2e_pkg_client_pod_go_duration" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L82", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L107", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_global_init", - "target": "internal_global_setupauth" + "source": "client_k8sclient_getpodnamebyselector", + "target": "client_k8sclient_listpods" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L85", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L70", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "internal_global_getauthforhost", - "target": "authmethod" + "source": "client_k8sclient_listpods", + "target": "test_e2e_pkg_client_pod_go_podlist" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L131", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L83", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_global_setupauth", - "target": "internal_global_parsecredentialsfile" + "source": "client_k8sclient_waitforpodrunning", + "target": "client_k8sclient_ispodrunning" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/global.go", - "source_location": "L135", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L88", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "internal_global_parsecredentialsfile", - "target": "basicauth" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L106", - "weight": 1.0, - "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_executecommand" + "source": "client_k8sclient_ispodrunning", + "target": "conditionfunc" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L113", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L138", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_executecommandsilent" + "source": "client_k8sclient_waitforpodcontainertoready", + "target": "client_k8sclient_ispodcontainerready" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L71", + "source_file": "test/e2e/pkg/client/pod.go", + "source_location": "L146", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitcheckoutbranch" + "source": "client_k8sclient_ispodcontainerready", + "target": "test_e2e_pkg_client_pod_go_pod" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L75", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L46", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitcheckoutbranchlocal" + "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "target": "client_k8sclient_assignroletosa" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L67", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L70", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitcheckoutref" + "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "target": "client_k8sclient_checkk8sversion" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L36", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitcloneproject" + "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "target": "client_k8sclient_createsa" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L63", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L78", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitfetchremote" + "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "target": "client_k8sclient_createsatoken" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L102", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L120", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitinitsubmodules" + "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "target": "client_k8sclient_getsatoken" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L86", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L90", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitresolvereference" + "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", + "target": "client_k8sclient_waitsatoken" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L79", + "source_file": "test/e2e/pkg/client/rbac.go", + "source_location": "L105", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitsettrackingremotebranch" + "source": "client_k8sclient_waitsatoken", + "target": "client_k8sclient_getsatoken" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L59", + "source_file": "test/e2e/pkg/client/webhooks.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitsetupsparsecheckout" + "source": "test_e2e_pkg_client_webhooks_go_client_k8sclient", + "target": "client_k8sclient_waitformutatingwebhooksconfigurations" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L47", + "source_file": "test/e2e/pkg/metadata/metadata.go", + "source_location": "L18", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_execute_gitsparsecloneproject" + "source": "test_e2e_pkg_metadata_metadata_go_metadata_metadata", + "target": "metadata_operatornamespace" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L24", + "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", + "source_location": "L191", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute", - "target": "shell_gitreftype" + "source": "tests_automount_volume_sanitization_tests", + "target": "tests_automount_volume_sanitization_tests_getpodvolumenames" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L86", + "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", + "source_location": "L191", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "shell_execute_gitresolvereference", - "target": "shell_gitreftype" + "source": "tests_automount_volume_sanitization_tests_getpodvolumenames", + "target": "test_e2e_pkg_tests_automount_volume_sanitization_tests_go_pod" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L44", + "source_file": "test/e2e/pkg/tests/custom_init_container_tests.go", + "source_location": "L36", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitcloneproject", - "target": "shell_execute_executecommand" + "source": "tests_custom_init_container_tests", + "target": "tests_custom_init_container_tests_getprojectroot" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L56", + "source_file": "update_devworkspace_crds.sh", + "source_location": "L1", "weight": 1.0, - "confidence_score": 1.0, - "source": "shell_execute_gitsparsecloneproject", - "target": "shell_execute_executecommand" + "source": "update_devworkspace_crds", + "target": "users_okurinny_workspace_devfile_devworkspace_operator_worktrees_identical_endpoint_name_merge_update_devworkspace_crds_sh__entry", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L60", + "source_file": "webhook/main.go", + "source_location": "L217", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitsetupsparsecheckout", - "target": "shell_execute_executecommand" + "source": "webhook_main", + "target": "webhook_main_createwebhooks" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L64", + "source_file": "webhook/main.go", + "source_location": "L68", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitfetchremote", - "target": "shell_execute_executecommand" + "source": "webhook_main", + "target": "webhook_main_init" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L68", + "source_file": "webhook/main.go", + "source_location": "L87", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitcheckoutref", - "target": "shell_execute_executecommand" + "source": "webhook_main", + "target": "webhook_main_main" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L72", + "source_file": "webhook/main.go", + "source_location": "L231", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitcheckoutbranch", - "target": "shell_execute_executecommand" + "source": "webhook_main", + "target": "webhook_main_setupconfigcachewatcher" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L76", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L92", "weight": 1.0, - "confidence_score": 1.0, - "source": "shell_execute_gitcheckoutbranchlocal", - "target": "shell_execute_executecommand" + "source": "webhook_main_main", + "target": "handler_webhookhandler_parse" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L80", + "source_file": "webhook/main.go", + "source_location": "L181", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitsettrackingremotebranch", - "target": "shell_execute_executecommand" + "source": "webhook_main_main", + "target": "webhook_main_createwebhooks" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L87", + "source_file": "webhook/main.go", + "source_location": "L175", "weight": 1.0, "confidence_score": 1.0, - "source": "shell_execute_gitresolvereference", - "target": "shell_execute_executecommandsilent" + "source": "webhook_main_main", + "target": "webhook_main_setupconfigcachewatcher" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/shell/execute.go", - "source_location": "L103", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L219", "weight": 1.0, - "confidence_score": 1.0, - "source": "shell_execute_gitinitsubmodules", - "target": "shell_execute_executecommand" + "source": "webhook_main_createwebhooks", + "target": "server_server_configurewebhookserver" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L37", + "source_file": "webhook/main.go", + "source_location": "L217", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_utils", - "target": "internal_utils_checkprojectstate" + "source": "webhook_main_createwebhooks", + "target": "webhook_main_go_manager" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L100", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/main.go", + "source_location": "L225", "weight": 1.0, - "confidence_score": 1.0, - "source": "internal_utils", - "target": "internal_utils_checksubpathprojectstate" + "source": "webhook_main_createwebhooks", + "target": "workspace_config_configure" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L85", + "source_file": "webhook/main.go", + "source_location": "L231", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_utils", - "target": "internal_utils_direxists" + "source": "webhook_main_setupconfigcachewatcher", + "target": "webhook_main_go_manager" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L124", + "source_file": "webhook/server/server.go", + "source_location": "L73", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_utils", - "target": "internal_utils_getadditionalcerts" + "source": "server_server", + "target": "server_server_configurewebhookserver" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L72", + "source_file": "webhook/server/server.go", + "source_location": "L104", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_utils", - "target": "internal_utils_openrepo" + "source": "server_server", + "target": "server_server_getwebhookserver" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L39", + "source_file": "webhook/server/server.go", + "source_location": "L109", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_utils_checkprojectstate", - "target": "internal_utils_checksubpathprojectstate" + "source": "server_server", + "target": "server_server_issetup" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L41", + "source_file": "webhook/server/server.go", + "source_location": "L98", "weight": 1.0, "confidence_score": 1.0, - "source": "internal_utils_checkprojectstate", - "target": "internal_utils_openrepo" + "source": "server_server_configurewebhookserver", + "target": "server_server_getwebhookserver" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L37", + "source_file": "webhook/server/server.go", + "source_location": "L73", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "internal_utils_checkprojectstate", - "target": "project_clone_internal_utils_go_project" + "source": "server_server_configurewebhookserver", + "target": "webhook_server_server_go_manager" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L100", + "source_file": "webhook/server/server.go", + "source_location": "L104", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "internal_utils_checksubpathprojectstate", - "target": "project_clone_internal_utils_go_project" + "source": "server_server_getwebhookserver", + "target": "server" }, { - "relation": "references", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L91", + "weight": 1.0, + "source": "workspace_config_configure", + "target": "server_server_getwebhookserver" + }, + { + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L72", + "source_file": "webhook/workspace/annotations.go", + "source_location": "L24", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "internal_utils_openrepo", - "target": "project_clone_internal_utils_go_repository" + "source": "workspace_annotations", + "target": "workspace_annotations_getwebhookannotations" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L46", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L35", "weight": 1.0, - "source": "zip_setup_setupzipproject", - "target": "internal_utils_direxists" + "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", + "target": "workspace_annotations_getwebhookannotations" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/utils.go", - "source_location": "L124", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L27", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "internal_utils_getadditionalcerts", - "target": "project_clone_internal_utils_go_certpool" + "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", + "target": "workspace_annotations_getwebhookannotations" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L79", + "source_file": "webhook/workspace/mutating_cfg.go", + "source_location": "L158", "weight": 1.0, - "source": "project_clone_main_main", - "target": "internal_utils_getadditionalcerts" + "source": "workspace_mutating_cfg_buildmutatewebhookcfg", + "target": "workspace_annotations_getwebhookannotations" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/validating_cfg.go", + "source_location": "L39", + "weight": 1.0, + "source": "workspace_validating_cfg_buildvalidatingwebhookcfg", + "target": "workspace_annotations_getwebhookannotations" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L232", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup", - "target": "zip_setup_closesafe" + "source": "workspace_annotations_test", + "target": "workspace_annotations_test_testgetwebhookannotationswithkubernetes" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L93", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L25", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup", - "target": "zip_setup_downloadzip" + "source": "workspace_annotations_test", + "target": "workspace_annotations_test_testgetwebhookannotationswithopenshift" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L193", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L25", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "zip_setup", - "target": "zip_setup_droptoplevelfolder" + "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", + "target": "webhook_workspace_annotations_test_go_t" + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/annotations_test.go", + "source_location": "L33", + "weight": 1.0, + "context": "parameter_type", + "confidence_score": 1.0, + "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", + "target": "webhook_workspace_annotations_test_go_t" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", + "source_file": "webhook/workspace/config.go", "source_location": "L39", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup", - "target": "zip_setup_setupzipproject" + "source": "workspace_config", + "target": "workspace_config_configure" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L122", + "source_file": "webhook/workspace/config.go", + "source_location": "L137", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup", - "target": "zip_setup_unzip" + "source": "workspace_config", + "target": "workspace_config_controllersauid" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/config.go", + "source_location": "L161", + "weight": 1.0, + "confidence_score": 1.0, + "source": "workspace_config", + "target": "workspace_config_createclient" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/config.go", + "source_location": "L119", + "weight": 1.0, + "confidence_score": 1.0, + "source": "workspace_config", + "target": "workspace_config_getmutatingwebhook" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/config.go", + "source_location": "L128", + "weight": 1.0, + "confidence_score": 1.0, + "source": "workspace_config", + "target": "workspace_config_getvalidatewebhook" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "project-clone/main.go", - "source_location": "L106", + "source_file": "webhook/workspace/config.go", + "source_location": "L41", "weight": 1.0, - "source": "project_clone_main_main", - "target": "zip_setup_setupzipproject" + "source": "workspace_config_configure", + "target": "handler_validate_registerdiscoverableendpointindex" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", + "source_file": "webhook/workspace/config.go", "source_location": "L39", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "zip_setup_setupzipproject", - "target": "project_clone_internal_zip_setup_go_client" + "source": "workspace_config_configure", + "target": "webhook_workspace_config_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", + "source_file": "webhook/workspace/config.go", "source_location": "L39", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "zip_setup_setupzipproject", - "target": "project_clone_internal_zip_setup_go_project" + "source": "workspace_config_configure", + "target": "webhook_workspace_config_go_manager" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L61", + "source_file": "webhook/workspace/config.go", + "source_location": "L65", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup_setupzipproject", - "target": "zip_setup_downloadzip" + "source": "workspace_config_configure", + "target": "workspace_config_controllersauid" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L81", + "source_file": "webhook/workspace/config.go", + "source_location": "L41", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup_setupzipproject", - "target": "zip_setup_droptoplevelfolder" + "source": "workspace_config_configure", + "target": "workspace_config_createclient" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L67", - "weight": 1.0, - "confidence_score": 1.0, - "source": "zip_setup_setupzipproject", - "target": "zip_setup_unzip" - }, - { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L93", + "source_file": "webhook/workspace/config.go", + "source_location": "L55", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "zip_setup_downloadzip", - "target": "project_clone_internal_zip_setup_go_client" + "source": "workspace_config_configure", + "target": "workspace_config_getmutatingwebhook" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L98", + "source_file": "webhook/workspace/config.go", + "source_location": "L56", "weight": 1.0, "confidence_score": 1.0, - "source": "zip_setup_downloadzip", - "target": "zip_setup_closesafe" + "source": "workspace_config_configure", + "target": "workspace_config_getvalidatewebhook" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L127", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L91", "weight": 1.0, - "confidence_score": 1.0, - "source": "zip_setup_unzip", - "target": "zip_setup_closesafe" + "source": "workspace_config_configure", + "target": "workspace_mutate_newresourcesmutator" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "project-clone/internal/zip/setup.go", - "source_location": "L232", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "zip_setup_closesafe", - "target": "closer" + "source": "workspace_config_configure", + "target": "workspace_mutating_cfg_buildmutatewebhookcfg" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "project-clone/main.go", - "source_location": "L138", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L114", "weight": 1.0, - "confidence_score": 1.0, - "source": "project_clone_main", - "target": "project_clone_main_copylogfiletoprojectsroot" + "source": "workspace_config_configure", + "target": "workspace_validate_newresourcesvalidator" }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "project-clone/main.go", - "source_location": "L42", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config.go", + "source_location": "L52", "weight": 1.0, - "confidence_score": 1.0, - "source": "project_clone_main", - "target": "project_clone_main_main" + "source": "workspace_config_configure", + "target": "workspace_validating_cfg_buildvalidatingwebhookcfg" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "project-clone/main.go", - "source_location": "L109", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/config_test.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "project_clone_main_main", - "target": "project_clone_main_copylogfiletoprojectsroot" + "source": "workspace_config_test_testconfigurepropagatesendpointindexfailure", + "target": "workspace_config_configure" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/cmd/workspaces_test.go", - "source_location": "L125", + "source_file": "webhook/workspace/config.go", + "source_location": "L137", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "cmd_workspaces_test", - "target": "cmd_workspaces_test_testworkspacecontroller" + "source": "workspace_config_controllersauid", + "target": "webhook_workspace_config_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/cmd/workspaces_test.go", - "source_location": "L125", + "source_file": "webhook/workspace/config.go", + "source_location": "L119", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "cmd_workspaces_test_testworkspacecontroller", - "target": "test_e2e_cmd_workspaces_test_go_t" + "source": "workspace_config_getmutatingwebhook", + "target": "webhook_workspace_config_go_context" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L134", + "source_file": "webhook/workspace/config.go", + "source_location": "L128", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_client", - "target": "client_client_copyfile" + "source": "workspace_config_getvalidatewebhook", + "target": "webhook_workspace_config_go_context" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L148", + "source_file": "webhook/workspace/config.go", + "source_location": "L119", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_client", - "target": "client_client_generateuniqprefixforfile" + "source": "workspace_config_getmutatingwebhook", + "target": "webhook_workspace_config_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L41", + "source_file": "webhook/workspace/config.go", + "source_location": "L119", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "client_client", - "target": "client_client_init" + "source": "workspace_config_getmutatingwebhook", + "target": "webhook_workspace_config_go_mutatingwebhookconfiguration" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L54", + "source_file": "webhook/workspace/config.go", + "source_location": "L137", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_client", - "target": "client_client_newk8sclientwithkubeconfig" + "source": "workspace_config_controllersauid", + "target": "webhook_workspace_config_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L86", + "source_file": "webhook/workspace/config.go", + "source_location": "L161", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "client_client", - "target": "client_client_newk8sclientwithtoken" + "source": "workspace_config_createclient", + "target": "webhook_workspace_config_go_client" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L47", + "source_file": "webhook/workspace/config.go", + "source_location": "L128", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_client", - "target": "test_e2e_pkg_client_client_go_client_k8sclient" + "source": "workspace_config_getvalidatewebhook", + "target": "webhook_workspace_config_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L54", + "source_file": "webhook/workspace/config.go", + "source_location": "L128", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "client_client_newk8sclientwithkubeconfig", - "target": "test_e2e_pkg_client_client_go_client_k8sclient" + "source": "workspace_config_getvalidatewebhook", + "target": "webhook_workspace_config_go_validatingwebhookconfiguration" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L86", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L28", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "client_client_newk8sclientwithtoken", - "target": "test_e2e_pkg_client_client_go_client_k8sclient" + "source": "workspace_config_test", + "target": "workspace_config_test_testconfigurepropagatesendpointindexfailure", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L129", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L34", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_client_go_client_k8sclient", - "target": "client_k8sclient_controllerruntimeclient" + "source": "workspace_config_test", + "target": "workspace_endpointindexmanager", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L124", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L41", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_client_go_client_k8sclient", - "target": "client_k8sclient_kube" + "source": "workspace_config_test", + "target": "workspace_failingendpointindexer", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L48", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L28", "weight": 1.0, - "context": "field", - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_client_go_client_k8sclient", - "target": "clientset" + "context": "parameter_type", + "source": "workspace_config_test_testconfigurepropagatesendpointindexfailure", + "target": "webhook_workspace_config_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L49", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L36", "weight": 1.0, "context": "field", - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_client_go_client_k8sclient", - "target": "test_e2e_pkg_client_client_go_client" + "source": "workspace_endpointindexmanager", + "target": "webhook_workspace_config_test_go_fieldindexer", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L129", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L35", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "client_k8sclient_controllerruntimeclient", - "target": "test_e2e_pkg_client_client_go_client" + "source": "workspace_endpointindexmanager", + "target": "webhook_workspace_config_test_go_manager", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L61", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_client_newk8sclientwithkubeconfig", - "target": "client_client_copyfile" + "source": "workspace_endpointindexmanager", + "target": "workspace_endpointindexmanager_getfieldindexer", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L60", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_client_newk8sclientwithkubeconfig", - "target": "client_client_generateuniqprefixforfile" + "context": "return_type", + "source": "workspace_endpointindexmanager_getfieldindexer", + "target": "webhook_workspace_config_test_go_fieldindexer", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L88", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_client_newk8sclientwithtoken", - "target": "client_client_copyfile" + "source": "workspace_failingendpointindexer", + "target": "workspace_failingendpointindexer_indexfield", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L87", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_client_newk8sclientwithtoken", - "target": "client_client_generateuniqprefixforfile" + "context": "parameter_type", + "source": "workspace_failingendpointindexer_indexfield", + "target": "webhook_workspace_config_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/client.go", - "source_location": "L124", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "client_k8sclient_kube", - "target": "interface" + "context": "parameter_type", + "source": "workspace_failingendpointindexer_indexfield", + "target": "webhook_workspace_config_test_go_indexerfunc", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L99", + "source_file": "webhook/workspace/config_test.go", + "source_location": "L43", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_devws_go_client_k8sclient", - "target": "client_k8sclient_deletedevworkspace" + "context": "parameter_type", + "source": "workspace_failingendpointindexer_indexfield", + "target": "webhook_workspace_config_test_go_object", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L133", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L88", "weight": 1.0, "confidence_score": 1.0, - "source": "test_e2e_pkg_client_devws_go_client_k8sclient", - "target": "client_k8sclient_deletedevworkspaceandwait" + "source": "webhook_workspace_handler_access_control_go_handler_webhookhandler", + "target": "handler_webhookhandler_validateopenshiftscc" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L58", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "weight": 1.0, "confidence_score": 1.0, - "source": "test_e2e_pkg_client_devws_go_client_k8sclient", - "target": "client_k8sclient_getdevwsstatus" + "source": "webhook_workspace_handler_access_control_go_handler_webhookhandler", + "target": "handler_webhookhandler_validateuserpermissions" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L34", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L81", "weight": 1.0, "confidence_score": 1.0, - "source": "test_e2e_pkg_client_devws_go_client_k8sclient", - "target": "client_k8sclient_updatedevworkspacestarted" + "source": "handler_webhookhandler_validateuserpermissions", + "target": "handler_webhookhandler_validateopenshiftscc" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L73", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_devws_go_client_k8sclient", - "target": "client_k8sclient_waitdevwsstatus" + "source": "handler_webhookhandler_validateuserpermissions", + "target": "webhook_workspace_handler_access_control_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L113", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_devws_go_client_k8sclient", - "target": "client_k8sclient_waitforpvcdeleted" + "source": "handler_webhookhandler_validateuserpermissions", + "target": "webhook_workspace_handler_access_control_go_devworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L58", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_k8sclient_getdevwsstatus", - "target": "test_e2e_pkg_client_devws_go_devworkspacestatus" + "source": "handler_webhookhandler_validateuserpermissions", + "target": "webhook_workspace_handler_access_control_go_devworkspacetemplatespec" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L82", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L32", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_k8sclient_waitdevwsstatus", - "target": "client_k8sclient_getdevwsstatus" + "source": "handler_webhookhandler_validateuserpermissions", + "target": "webhook_workspace_handler_access_control_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L73", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L88", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "client_k8sclient_waitdevwsstatus", - "target": "test_e2e_pkg_client_devws_go_devworkspacephase" + "source": "handler_webhookhandler_validateopenshiftscc", + "target": "webhook_workspace_handler_access_control_go_context" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L134", + "source_file": "webhook/workspace/handler/access_control.go", + "source_location": "L88", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "client_k8sclient_deletedevworkspaceandwait", - "target": "client_k8sclient_deletedevworkspace" + "source": "handler_webhookhandler_validateopenshiftscc", + "target": "webhook_workspace_handler_access_control_go_request" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L139", + "source_file": "webhook/workspace/handler/attributes.go", + "source_location": "L32", "weight": 1.0, "confidence_score": 1.0, - "source": "client_k8sclient_deletedevworkspaceandwait", - "target": "client_k8sclient_waitforpvcdeleted" + "source": "handler_attributes", + "target": "handler_attributes_checkmultiplecontainercontributiontargets" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/devws.go", - "source_location": "L113", + "source_file": "webhook/workspace/handler/attributes.go", + "source_location": "L32", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "client_k8sclient_waitforpvcdeleted", - "target": "test_e2e_pkg_client_devws_go_duration" + "source": "handler_attributes_checkmultiplecontainercontributiontargets", + "target": "webhook_workspace_handler_attributes_go_devworkspacetemplatespec" }, { - "relation": "method", - "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L32", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/workspace.go", + "source_location": "L275", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_namespace_go_client_k8sclient", - "target": "client_k8sclient_createnamespace" + "source": "handler_webhookhandler_validateworkspacev1alpha2permissions", + "target": "handler_attributes_checkmultiplecontainercontributiontargets" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L41", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "weight": 1.0, "confidence_score": 1.0, - "source": "test_e2e_pkg_client_namespace_go_client_k8sclient", - "target": "client_k8sclient_deletenamespace" + "source": "webhook_workspace_handler_deployment_go_handler_webhookhandler", + "target": "handler_webhookhandler_mutatedeploymentoncreate" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/namespace.go", - "source_location": "L46", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L47", "weight": 1.0, "confidence_score": 1.0, - "source": "test_e2e_pkg_client_namespace_go_client_k8sclient", - "target": "client_k8sclient_waitnamespaceisterminated" + "source": "webhook_workspace_handler_deployment_go_handler_webhookhandler", + "target": "handler_webhookhandler_mutatedeploymentonupdate" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L48", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_oc_go_client_k8sclient", - "target": "client_k8sclient_execcommandincontainer" + "source": "handler_webhookhandler_mutatedeploymentoncreate", + "target": "webhook_workspace_handler_deployment_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/oc.go", - "source_location": "L60", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_oc_go_client_k8sclient", - "target": "client_k8sclient_getlogsforcontainer" + "source": "handler_webhookhandler_mutatedeploymentoncreate", + "target": "webhook_workspace_handler_deployment_go_request" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/oc.go", + "source_file": "webhook/workspace/handler/deployment.go", "source_location": "L26", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_oc_go_client_k8sclient", - "target": "client_k8sclient_ocapplyworkspace" + "source": "handler_webhookhandler_mutatedeploymentoncreate", + "target": "webhook_workspace_handler_deployment_go_response" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L106", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L47", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_getpodnamebyselector" + "source": "handler_webhookhandler_mutatedeploymentonupdate", + "target": "webhook_workspace_handler_deployment_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L146", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L47", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_ispodcontainerready" + "source": "handler_webhookhandler_mutatedeploymentonupdate", + "target": "webhook_workspace_handler_deployment_go_request" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/deployment.go", + "source_location": "L47", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_ispodrunning" + "source": "handler_webhookhandler_mutatedeploymentonupdate", + "target": "webhook_workspace_handler_deployment_go_response" }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L70", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_listpods" + "source": "handler_endpoint_cache_test", + "target": "handler_endpoint_cache_test_newendpointcache", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L124", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L134", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_waitforpodcontainertoready" + "source": "handler_endpoint_cache_test", + "target": "handler_endpoint_cache_test_testdiscoverableendpointcachelifecycle", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L82", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_waitforpodrunning" + "context": "return_type", + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "cache", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L109", + "weight": 1.0, + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "handler_validate_registerdiscoverableendpointindex" + }, + { + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L30", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_waitforpodrunningbylabel" + "context": "return_type", + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "racefreefakewatcher", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L49", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_pod_go_client_k8sclient", - "target": "client_k8sclient_waitforrunningpodbyselector" + "context": "parameter_type", + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "tb", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L39", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L45", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_waitforpodrunningbylabel", - "target": "client_k8sclient_waitforrunningpodbyselector" + "context": "parameter_type", + "source": "handler_endpoint_cache_test_newendpointcache", + "target": "webhook_workspace_handler_endpoint_cache_test_go_devworkspace", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L50", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L135", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_waitforrunningpodbyselector", - "target": "client_k8sclient_listpods" + "source": "handler_endpoint_cache_test_testdiscoverableendpointcachelifecycle", + "target": "handler_endpoint_cache_test_newendpointcache", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L61", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L143", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_waitforrunningpodbyselector", - "target": "client_k8sclient_waitforpodrunning" + "source": "handler_endpoint_cache_test_testdiscoverableendpointcachelifecycle", + "target": "handler_validate_test_setupworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L49", + "source_file": "webhook/workspace/handler/endpoint_cache_test.go", + "source_location": "L134", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "client_k8sclient_waitforrunningpodbyselector", - "target": "test_e2e_pkg_client_pod_go_duration" + "source": "handler_endpoint_cache_test_testdiscoverableendpointcachelifecycle", + "target": "webhook_workspace_handler_endpoint_cache_test_go_t", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L82", + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L36", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "client_k8sclient_waitforpodrunning", - "target": "test_e2e_pkg_client_pod_go_duration" + "source": "handler_endpoint_contract_test", + "target": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L107", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L142", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_getpodnamebyselector", - "target": "client_k8sclient_listpods" + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L70", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L42", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "client_k8sclient_listpods", - "target": "test_e2e_pkg_client_pod_go_podlist" + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "handler_validate_registerdiscoverableendpointindex" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L83", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L146", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_waitforpodrunning", - "target": "client_k8sclient_ispodrunning" + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "handler_validate_test_newrawextension" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L88", + "weight": 1.0, + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "handler_validate_test_setupworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/endpoint_contract_test.go", + "source_location": "L36", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "client_k8sclient_ispodrunning", - "target": "conditionfunc" + "context": "parameter_type", + "source": "handler_endpoint_contract_test_testdiscoverableendpointcontract", + "target": "webhook_workspace_handler_endpoint_contract_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L138", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_waitforpodcontainertoready", - "target": "client_k8sclient_ispodcontainerready" + "source": "handler_endpoint_index_test", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/pod.go", - "source_location": "L146", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L51", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "client_k8sclient_ispodcontainerready", - "target": "test_e2e_pkg_client_pod_go_pod" + "source": "handler_endpoint_index_test", + "target": "handler_endpoint_index_test_testregisterdiscoverableendpointindexfailure", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L46", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L57", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", - "target": "client_k8sclient_assignroletosa" + "source": "handler_endpoint_index_test", + "target": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L70", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L85", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", - "target": "client_k8sclient_checkk8sversion" + "source": "handler_endpoint_index_test", + "target": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L33", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L31", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", - "target": "client_k8sclient_createsa" + "source": "handler_endpoint_index_test", + "target": "handler_endpointindexregistration", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L78", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L75", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", - "target": "client_k8sclient_createsatoken" + "source": "handler_endpoint_index_test", + "target": "handler_endpointlistfailureclient", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L120", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L105", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", - "target": "client_k8sclient_getsatoken" + "source": "handler_endpoint_index_test", + "target": "handler_endpointqueryclient", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L90", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L38", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_rbac_go_client_k8sclient", - "target": "client_k8sclient_waitsatoken" + "source": "handler_endpointindexregistration", + "target": "handler_endpointindexregistration_indexfield", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/rbac.go", - "source_location": "L105", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L34", "weight": 1.0, - "confidence_score": 1.0, - "source": "client_k8sclient_waitsatoken", - "target": "client_k8sclient_getsatoken" + "context": "field", + "source": "handler_endpointindexregistration", + "target": "webhook_workspace_handler_endpoint_index_test_go_indexerfunc", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/client/webhooks.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L32", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_client_webhooks_go_client_k8sclient", - "target": "client_k8sclient_waitformutatingwebhooksconfigurations" + "context": "field", + "source": "handler_endpointindexregistration", + "target": "webhook_workspace_handler_endpoint_index_test_go_object", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/metadata/metadata.go", - "source_location": "L18", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L38", "weight": 1.0, - "confidence_score": 1.0, - "source": "test_e2e_pkg_metadata_metadata_go_metadata_metadata", - "target": "metadata_operatornamespace" + "context": "parameter_type", + "source": "handler_endpointindexregistration_indexfield", + "target": "webhook_workspace_handler_endpoint_index_test_go_object", + "confidence_score": 1.0 + }, + { + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L38", + "weight": 1.0, + "context": "parameter_type", + "source": "handler_endpointindexregistration_indexfield", + "target": "webhook_workspace_handler_endpoint_index_test_go_indexerfunc", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", - "source_location": "L191", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L38", "weight": 1.0, - "confidence_score": 1.0, - "source": "tests_automount_volume_sanitization_tests", - "target": "tests_automount_volume_sanitization_tests_getpodvolumenames" + "context": "parameter_type", + "source": "handler_endpointindexregistration_indexfield", + "target": "webhook_workspace_handler_endpoint_index_test_go_context", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/tests/automount_volume_sanitization_tests.go", - "source_location": "L191", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L80", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "tests_automount_volume_sanitization_tests_getpodvolumenames", - "target": "test_e2e_pkg_tests_automount_volume_sanitization_tests_go_pod" + "source": "handler_endpointlistfailureclient_list", + "target": "webhook_workspace_handler_endpoint_index_test_go_context", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "test/e2e/pkg/tests/custom_init_container_tests.go", - "source_location": "L36", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L111", "weight": 1.0, - "confidence_score": 1.0, - "source": "tests_custom_init_container_tests", - "target": "tests_custom_init_container_tests_getprojectroot" + "context": "parameter_type", + "source": "handler_endpointqueryclient_list", + "target": "webhook_workspace_handler_endpoint_index_test_go_context", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "update_devworkspace_crds.sh", - "source_location": "L1", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "weight": 1.0, - "confidence_score": 1.0, - "source": "update_devworkspace_crds", - "target": "private_tmp_dwo_pr1714_regenerated_1tuc57_devworkspace_operator_update_devworkspace_crds_sh__entry" + "context": "return_type", + "source": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "target": "clientbuilder", + "confidence_score": 1.0 }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L217", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L47", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_main", - "target": "webhook_main_createwebhooks" + "source": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "target": "handler_validate_registerdiscoverableendpointindex" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L68", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_main", - "target": "webhook_main_init" + "context": "parameter_type", + "source": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "target": "webhook_workspace_handler_endpoint_index_test_go_scheme", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L87", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L44", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_main", - "target": "webhook_main_main" + "context": "parameter_type", + "source": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "target": "webhook_workspace_handler_endpoint_index_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L231", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L96", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_main", - "target": "webhook_main_setupconfigcachewatcher" + "source": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L92", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L453", "weight": 1.0, - "source": "webhook_main_main", - "target": "handler_webhookhandler_parse" + "source": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L181", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L544", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_main_main", - "target": "webhook_main_createwebhooks" + "source": "handler_validate_test_testvalidatedevfileendpointexposure", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { "relation": "calls", "context": "call", - "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L175", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L590", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_main_main", - "target": "webhook_main_setupconfigcachewatcher" + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L219", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L629", "weight": 1.0, - "source": "webhook_main_createwebhooks", - "target": "server_server_configurewebhookserver" + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L217", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L284", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_main_createwebhooks", - "target": "webhook_main_go_manager" + "source": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/main.go", - "source_location": "L225", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L78", "weight": 1.0, - "source": "webhook_main_createwebhooks", - "target": "workspace_config_configure" + "source": "handler_validate_test_testvalidateendpoints", + "target": "handler_endpoint_index_test_newindexedworkspaceclientbuilder" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/main.go", - "source_location": "L231", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L51", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "webhook_main_setupconfigcachewatcher", - "target": "webhook_main_go_manager" + "source": "handler_endpoint_index_test_testregisterdiscoverableendpointindexfailure", + "target": "webhook_workspace_handler_endpoint_index_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/server/server.go", - "source_location": "L73", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L57", "weight": 1.0, - "confidence_score": 1.0, - "source": "server_server", - "target": "server_server_configurewebhookserver" + "context": "parameter_type", + "source": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "target": "webhook_workspace_handler_endpoint_index_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/server/server.go", - "source_location": "L104", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L85", "weight": 1.0, - "confidence_score": 1.0, - "source": "server_server", - "target": "server_server_getwebhookserver" + "context": "parameter_type", + "source": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "target": "webhook_workspace_handler_endpoint_index_test_go_t", + "confidence_score": 1.0 }, { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "webhook/server/server.go", - "source_location": "L109", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L53", "weight": 1.0, - "confidence_score": 1.0, - "source": "server_server", - "target": "server_server_issetup" + "source": "handler_endpoint_index_test_testregisterdiscoverableendpointindexfailure", + "target": "handler_validate_registerdiscoverableendpointindex" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L63", + "weight": 1.0, + "source": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "target": "handler_validate_discoverableendpointnames" + }, + { + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L68", + "weight": 1.0, + "source": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "target": "handler_validate_test_newrawextension" }, { "relation": "calls", "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L60", + "weight": 1.0, + "source": "handler_endpoint_index_test_testvalidateendpointslistfailure", + "target": "handler_validate_test_setupworkspace" + }, + { + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/server/server.go", - "source_location": "L98", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L80", "weight": 1.0, - "confidence_score": 1.0, - "source": "server_server_configurewebhookserver", - "target": "server_server_getwebhookserver" + "source": "handler_endpointlistfailureclient", + "target": "handler_endpointlistfailureclient_list", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "webhook/server/server.go", - "source_location": "L73", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L76", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "server_server_configurewebhookserver", - "target": "webhook_server_server_go_manager" + "source": "handler_endpointlistfailureclient", + "target": "webhook_workspace_handler_endpoint_index_test_go_client", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "embeds", "confidence": "EXTRACTED", - "source_file": "webhook/server/server.go", - "source_location": "L104", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L106", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "server_server_getwebhookserver", - "target": "server" + "source": "handler_endpointqueryclient", + "target": "webhook_workspace_handler_endpoint_index_test_go_client", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L91", + "relation": "references", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L80", "weight": 1.0, - "source": "workspace_config_configure", - "target": "server_server_getwebhookserver" + "context": "parameter_type", + "source": "handler_endpointlistfailureclient_list", + "target": "webhook_workspace_handler_endpoint_index_test_go_objectlist", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/annotations.go", - "source_location": "L24", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L111", "weight": 1.0, - "confidence_score": 1.0, - "source": "workspace_annotations", - "target": "workspace_annotations_getwebhookannotations" + "context": "parameter_type", + "source": "handler_endpointqueryclient_list", + "target": "webhook_workspace_handler_endpoint_index_test_go_objectlist", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L35", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L99", "weight": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", - "target": "workspace_annotations_getwebhookannotations" + "source": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "target": "handler_validate_discoverableendpointnames" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L27", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L94", "weight": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", - "target": "workspace_annotations_getwebhookannotations" + "source": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "target": "handler_validate_registerdiscoverableendpointindex" }, { "relation": "calls", "context": "call", "confidence": "INFERRED", "confidence_score": 0.8, - "source_file": "webhook/workspace/mutating_cfg.go", - "source_location": "L158", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L88", "weight": 1.0, - "source": "workspace_mutating_cfg_buildmutatewebhookcfg", - "target": "workspace_annotations_getwebhookannotations" + "source": "handler_endpoint_index_test_testvalidateendpointsusesuniqueindexedqueries", + "target": "handler_validate_test_setupworkspace" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/validating_cfg.go", - "source_location": "L39", + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/endpoint_index_test.go", + "source_location": "L111", "weight": 1.0, - "source": "workspace_validating_cfg_buildvalidatingwebhookcfg", - "target": "workspace_annotations_getwebhookannotations" + "source": "handler_endpointqueryclient", + "target": "handler_endpointqueryclient_list", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/annotations_test.go", + "source_file": "webhook/workspace/handler/exec.go", "source_location": "L33", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_annotations_test", - "target": "workspace_annotations_test_testgetwebhookannotationswithkubernetes" + "source": "webhook_workspace_handler_exec_go_handler_webhookhandler", + "target": "handler_webhookhandler_validateexeconconnect" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L25", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_annotations_test", - "target": "workspace_annotations_test_testgetwebhookannotationswithopenshift" + "source": "handler_webhookhandler_validateexeconconnect", + "target": "webhook_workspace_handler_exec_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/annotations_test.go", - "source_location": "L25", + "source_file": "webhook/workspace/handler/exec.go", + "source_location": "L33", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithopenshift", - "target": "webhook_workspace_annotations_test_go_t" + "source": "handler_webhookhandler_validateexeconconnect", + "target": "webhook_workspace_handler_exec_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/annotations_test.go", + "source_file": "webhook/workspace/handler/exec.go", "source_location": "L33", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "workspace_annotations_test_testgetwebhookannotationswithkubernetes", - "target": "webhook_workspace_annotations_test_go_t" + "source": "handler_webhookhandler_validateexeconconnect", + "target": "webhook_workspace_handler_exec_go_response" }, { "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L39", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L27", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_config", - "target": "workspace_config_configure" + "source": "handler_handler", + "target": "webhook_workspace_handler_handler_go_handler_webhookhandler" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L137", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L31", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "workspace_config", - "target": "workspace_config_controllersauid" + "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", + "target": "decoder" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L161", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L36", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_config", - "target": "workspace_config_createclient" + "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", + "target": "handler_webhookhandler_parse" }, { - "relation": "contains", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L49", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_config", - "target": "workspace_config_getmutatingwebhook" + "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", + "target": "handler_webhookhandler_returnpatched" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L128", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L30", "weight": 1.0, + "context": "field", "confidence_score": 1.0, - "source": "workspace_config", - "target": "workspace_config_getvalidatewebhook" + "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", + "target": "webhook_workspace_handler_handler_go_client" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L39", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L36", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_configure", - "target": "webhook_workspace_config_go_context" + "source": "handler_webhookhandler_parse", + "target": "webhook_workspace_handler_handler_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L39", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L36", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_configure", - "target": "webhook_workspace_config_go_manager" + "source": "handler_webhookhandler_parse", + "target": "webhook_workspace_handler_handler_go_request" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L65", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L49", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_configure", - "target": "workspace_config_controllersauid" + "source": "handler_webhookhandler_returnpatched", + "target": "webhook_workspace_handler_handler_go_request" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L41", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L49", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_configure", - "target": "workspace_config_createclient" + "source": "handler_webhookhandler_returnpatched", + "target": "webhook_workspace_handler_handler_go_object" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L55", + "source_file": "webhook/workspace/handler/handler.go", + "source_location": "L49", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "workspace_config_configure", - "target": "workspace_config_getmutatingwebhook" + "source": "handler_webhookhandler_returnpatched", + "target": "webhook_workspace_handler_handler_go_response" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L56", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L210", "weight": 1.0, "confidence_score": 1.0, - "source": "workspace_config_configure", - "target": "workspace_config_getvalidatewebhook" + "source": "handler_immutable", + "target": "handler_immutable_changepermitted" }, { - "relation": "calls", - "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L91", + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L202", "weight": 1.0, - "source": "workspace_config_configure", - "target": "workspace_mutate_newresourcesmutator" + "confidence_score": 1.0, + "source": "handler_immutable", + "target": "handler_immutable_checkrestrictedworkspacemetadata" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L187", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_checkrestrictedaccessannotation" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L99", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L113", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L127", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_handleimmutableobj" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L134", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_handleimmutablepod" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L171", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_handleimmutableroute" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L178", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_handleimmutableservice" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L79", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_handlerestrictedaccesscreate" + }, + { + "relation": "method", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", + "weight": 1.0, + "confidence_score": 1.0, + "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", + "target": "handler_webhookhandler_handlerestrictedaccessupdate" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L51", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L48", "weight": 1.0, - "source": "workspace_config_configure", - "target": "workspace_mutating_cfg_buildmutatewebhookcfg" + "confidence_score": 1.0, + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "handler_webhookhandler_checkrestrictedaccessannotation" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L114", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L69", "weight": 1.0, - "source": "workspace_config_configure", - "target": "workspace_validate_newresourcesvalidator" + "confidence_score": 1.0, + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "handler_webhookhandler_handleimmutableobj" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/config.go", - "source_location": "L52", - "weight": 1.0, - "source": "workspace_config_configure", - "target": "workspace_validating_cfg_buildvalidatingwebhookcfg" - }, - { - "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L137", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L65", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_controllersauid", - "target": "webhook_workspace_config_go_context" + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "handler_webhookhandler_handleimmutableroute" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L67", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_getmutatingwebhook", - "target": "webhook_workspace_config_go_context" + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "handler_webhookhandler_handleimmutableservice" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L128", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_getvalidatewebhook", - "target": "webhook_workspace_config_go_context" + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "webhook_workspace_handler_immutable_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_getmutatingwebhook", - "target": "webhook_workspace_config_go_client" + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "webhook_workspace_handler_immutable_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L119", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L47", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "workspace_config_getmutatingwebhook", - "target": "webhook_workspace_config_go_mutatingwebhookconfiguration" + "source": "handler_webhookhandler_handlerestrictedaccessupdate", + "target": "webhook_workspace_handler_immutable_go_response" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L137", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L79", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_controllersauid", - "target": "webhook_workspace_config_go_client" + "source": "handler_webhookhandler_handlerestrictedaccesscreate", + "target": "webhook_workspace_handler_immutable_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L161", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L187", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_createclient", - "target": "webhook_workspace_config_go_client" + "source": "handler_webhookhandler_checkrestrictedaccessannotation", + "target": "webhook_workspace_handler_immutable_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L128", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L79", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "workspace_config_getvalidatewebhook", - "target": "webhook_workspace_config_go_client" + "source": "handler_webhookhandler_handlerestrictedaccesscreate", + "target": "webhook_workspace_handler_immutable_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/config.go", - "source_location": "L128", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L79", "weight": 1.0, "context": "return_type", "confidence_score": 1.0, - "source": "workspace_config_getvalidatewebhook", - "target": "webhook_workspace_config_go_validatingwebhookconfiguration" + "source": "handler_webhookhandler_handlerestrictedaccesscreate", + "target": "webhook_workspace_handler_immutable_go_response" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L80", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_access_control_go_handler_webhookhandler", - "target": "handler_webhookhandler_validateopenshiftscc" + "source": "handler_webhookhandler_handlerestrictedaccesscreate", + "target": "handler_webhookhandler_checkrestrictedaccessannotation" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L110", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_access_control_go_handler_webhookhandler", - "target": "handler_webhookhandler_validateuserpermissions" + "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", + "target": "handler_immutable_checkrestrictedworkspacemetadata" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L81", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L99", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateuserpermissions", - "target": "handler_webhookhandler_validateopenshiftscc" + "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", + "target": "webhook_workspace_handler_immutable_go_devworkspace" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L113", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateuserpermissions", - "target": "webhook_workspace_handler_access_control_go_context" + "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", + "target": "webhook_workspace_handler_immutable_go_devworkspace" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L124", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateuserpermissions", - "target": "webhook_workspace_handler_access_control_go_devworkspace" + "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", + "target": "handler_immutable_checkrestrictedworkspacemetadata" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L131", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateuserpermissions", - "target": "webhook_workspace_handler_access_control_go_devworkspacetemplatespec" + "source": "handler_webhookhandler_handleimmutableobj", + "target": "handler_immutable_changepermitted" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L127", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateuserpermissions", - "target": "webhook_workspace_handler_access_control_go_request" + "source": "handler_webhookhandler_handleimmutableobj", + "target": "webhook_workspace_handler_immutable_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L210", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateopenshiftscc", - "target": "webhook_workspace_handler_access_control_go_context" + "source": "handler_immutable_changepermitted", + "target": "webhook_workspace_handler_immutable_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/access_control.go", - "source_location": "L88", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L171", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateopenshiftscc", - "target": "webhook_workspace_handler_access_control_go_request" + "source": "handler_webhookhandler_handleimmutableroute", + "target": "webhook_workspace_handler_immutable_go_object" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/attributes.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L178", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_attributes", - "target": "handler_attributes_checkmultiplecontainercontributiontargets" + "source": "handler_webhookhandler_handleimmutableservice", + "target": "webhook_workspace_handler_immutable_go_object" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/attributes.go", - "source_location": "L32", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L134", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_attributes_checkmultiplecontainercontributiontargets", - "target": "webhook_workspace_handler_attributes_go_devworkspacetemplatespec" + "source": "handler_webhookhandler_handleimmutablepod", + "target": "webhook_workspace_handler_immutable_go_pod" }, { "relation": "calls", "context": "call", - "confidence": "INFERRED", - "confidence_score": 0.8, - "source_file": "webhook/workspace/handler/workspace.go", - "source_location": "L275", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L175", "weight": 1.0, - "source": "handler_webhookhandler_validateworkspacev1alpha2permissions", - "target": "handler_attributes_checkmultiplecontainercontributiontargets" + "confidence_score": 1.0, + "source": "handler_webhookhandler_handleimmutableroute", + "target": "handler_immutable_changepermitted" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L184", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_deployment_go_handler_webhookhandler", - "target": "handler_webhookhandler_mutatedeploymentoncreate" + "source": "handler_webhookhandler_handleimmutableservice", + "target": "handler_immutable_changepermitted" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/immutable.go", + "source_location": "L202", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_deployment_go_handler_webhookhandler", - "target": "handler_webhookhandler_mutatedeploymentonupdate" + "source": "handler_immutable_checkrestrictedworkspacemetadata", + "target": "webhook_workspace_handler_immutable_go_objectmeta" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L138", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatedeploymentoncreate", - "target": "webhook_workspace_handler_deployment_go_context" + "source": "handler_kubernetes", + "target": "handler_kubernetes_getkubecomponentsfromworkspace" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L187", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatedeploymentoncreate", - "target": "webhook_workspace_handler_deployment_go_request" + "source": "handler_kubernetes", + "target": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L153", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatedeploymentoncreate", - "target": "webhook_workspace_handler_deployment_go_response" + "source": "handler_kubernetes", + "target": "handler_kubernetes_getkubelikecomponent" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L199", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatedeploymentonupdate", - "target": "webhook_workspace_handler_deployment_go_context" + "source": "handler_kubernetes", + "target": "handler_kubernetes_getkubelikecomponent_v1alpha1" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L209", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatedeploymentonupdate", - "target": "webhook_workspace_handler_deployment_go_request" + "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", + "target": "handler_webhookhandler_checksar" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/deployment.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatedeploymentonupdate", - "target": "webhook_workspace_handler_deployment_go_response" + "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", + "target": "handler_webhookhandler_validatekubernetesobjectpermissions" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L163", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_exec_go_handler_webhookhandler", - "target": "handler_webhookhandler_validateexeconconnect" + "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", + "target": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L77", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateexeconconnect", - "target": "webhook_workspace_handler_exec_go_context" + "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", + "target": "handler_webhookhandler_validatepermissionsonobject" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L44", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateexeconconnect", - "target": "webhook_workspace_handler_exec_go_request" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "handler_kubernetes_getkubecomponentsfromworkspace" + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L64", + "weight": 1.0, + "confidence_score": 1.0, + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "handler_webhookhandler_validatepermissionsonobject" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/exec.go", - "source_location": "L33", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validateexeconconnect", - "target": "webhook_workspace_handler_exec_go_response" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "webhook_workspace_handler_kubernetes_go_context" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L27", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_handler", - "target": "webhook_workspace_handler_handler_go_handler_webhookhandler" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L31", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L37", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", - "target": "decoder" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions", + "target": "webhook_workspace_handler_kubernetes_go_request" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L36", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L209", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", - "target": "handler_webhookhandler_parse" + "source": "handler_webhookhandler_checksar", + "target": "webhook_workspace_handler_kubernetes_go_context" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L49", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L163", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", - "target": "handler_webhookhandler_returnpatched" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L30", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L77", "weight": 1.0, - "context": "field", + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_handler_go_handler_webhookhandler", - "target": "webhook_workspace_handler_handler_go_client" + "source": "handler_webhookhandler_validatepermissionsonobject", + "target": "webhook_workspace_handler_kubernetes_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L36", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L209", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_parse", - "target": "webhook_workspace_handler_handler_go_object" + "source": "handler_webhookhandler_checksar", + "target": "webhook_workspace_handler_kubernetes_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L36", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L163", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_parse", - "target": "webhook_workspace_handler_handler_go_request" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L49", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L77", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_returnpatched", - "target": "webhook_workspace_handler_handler_go_request" + "source": "handler_webhookhandler_validatepermissionsonobject", + "target": "webhook_workspace_handler_kubernetes_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L49", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L138", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_returnpatched", - "target": "webhook_workspace_handler_handler_go_object" + "source": "handler_kubernetes_getkubecomponentsfromworkspace", + "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/handler.go", - "source_location": "L49", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L187", "weight": 1.0, - "context": "return_type", + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_returnpatched", - "target": "webhook_workspace_handler_handler_go_response" + "source": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L210", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L163", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_immutable", - "target": "handler_immutable_changepermitted" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L202", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L180", "weight": 1.0, "confidence_score": 1.0, - "source": "handler_immutable", - "target": "handler_immutable_checkrestrictedworkspacemetadata" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", + "target": "handler_webhookhandler_validatepermissionsonobject" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L187", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L101", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_checkrestrictedaccessannotation" + "source": "handler_webhookhandler_validatepermissionsonobject", + "target": "handler_webhookhandler_checksar" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L99", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L77", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1" + "source": "handler_webhookhandler_validatepermissionsonobject", + "target": "webhook_workspace_handler_kubernetes_go_typemeta" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L113", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L209", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2" + "source": "handler_webhookhandler_checksar", + "target": "webhook_workspace_handler_kubernetes_go_typemeta" }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L127", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L141", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_handleimmutableobj" + "source": "handler_kubernetes_getkubecomponentsfromworkspace", + "target": "handler_kubernetes_getkubelikecomponent" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L134", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L138", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_handleimmutablepod" + "source": "handler_kubernetes_getkubecomponentsfromworkspace", + "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L171", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L187", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_handleimmutableroute" + "source": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L178", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L153", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_handleimmutableservice" + "source": "handler_kubernetes_getkubelikecomponent", + "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L79", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L199", "weight": 1.0, + "context": "return_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_handlerestrictedaccesscreate" + "source": "handler_kubernetes_getkubelikecomponent_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L153", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "webhook_workspace_handler_immutable_go_handler_webhookhandler", - "target": "handler_webhookhandler_handlerestrictedaccessupdate" + "source": "handler_kubernetes_getkubelikecomponent", + "target": "webhook_workspace_handler_kubernetes_go_component" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L48", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L199", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "handler_webhookhandler_checkrestrictedaccessannotation" + "source": "handler_kubernetes_getkubelikecomponent_v1alpha1", + "target": "webhook_workspace_handler_kubernetes_go_component" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L69", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L164", "weight": 1.0, "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "handler_webhookhandler_handleimmutableobj" + "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", + "target": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L65", + "source_file": "webhook/workspace/handler/kubernetes.go", + "source_location": "L190", "weight": 1.0, "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "handler_webhookhandler_handleimmutableroute" + "source": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", + "target": "handler_kubernetes_getkubelikecomponent_v1alpha1" }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L67", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L90", "weight": 1.0, "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "handler_webhookhandler_handleimmutableservice" + "source": "handler_metadata", + "target": "handler_metadata_mutatecreatorlabel" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L53", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "webhook_workspace_handler_immutable_go_context" + "source": "handler_metadata", + "target": "handler_metadata_mutatelabelsonupdate" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L68", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "webhook_workspace_handler_immutable_go_request" + "source": "handler_metadata", + "target": "handler_metadata_mutateworkspaceidlabel" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L47", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L26", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccessupdate", - "target": "webhook_workspace_handler_immutable_go_response" + "source": "webhook_workspace_handler_metadata_go_handler_webhookhandler", + "target": "handler_webhookhandler_mutatemetadataoncreate" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L79", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L41", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccesscreate", - "target": "webhook_workspace_handler_immutable_go_context" + "source": "webhook_workspace_handler_metadata_go_handler_webhookhandler", + "target": "handler_webhookhandler_mutatemetadataonupdate" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L187", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L26", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessannotation", - "target": "webhook_workspace_handler_immutable_go_request" + "source": "handler_webhookhandler_mutatemetadataoncreate", + "target": "webhook_workspace_handler_metadata_go_objectmeta" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L79", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L41", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccesscreate", - "target": "webhook_workspace_handler_immutable_go_request" + "source": "handler_webhookhandler_mutatemetadataonupdate", + "target": "webhook_workspace_handler_metadata_go_objectmeta" }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L79", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L45", "weight": 1.0, - "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccesscreate", - "target": "webhook_workspace_handler_immutable_go_response" + "source": "handler_webhookhandler_mutatemetadataonupdate", + "target": "handler_metadata_mutatelabelsonupdate" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L80", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L59", "weight": 1.0, "confidence_score": 1.0, - "source": "handler_webhookhandler_handlerestrictedaccesscreate", - "target": "handler_webhookhandler_checkrestrictedaccessannotation" + "source": "handler_metadata_mutatelabelsonupdate", + "target": "handler_metadata_mutatecreatorlabel" }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L110", + "source_file": "webhook/workspace/handler/metadata.go", + "source_location": "L54", "weight": 1.0, "confidence_score": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", - "target": "handler_immutable_checkrestrictedworkspacemetadata" + "source": "handler_metadata_mutatelabelsonupdate", + "target": "handler_metadata_mutateworkspaceidlabel" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L99", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha1", - "target": "webhook_workspace_handler_immutable_go_devworkspace" + "source": "webhook_workspace_handler_pod_go_handler_webhookhandler", + "target": "handler_webhookhandler_mutatepodoncreate" }, { - "relation": "references", + "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L113", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", - "target": "webhook_workspace_handler_immutable_go_devworkspace" + "source": "webhook_workspace_handler_pod_go_handler_webhookhandler", + "target": "handler_webhookhandler_mutatepodonupdate" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L124", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_checkrestrictedaccessworkspacev1alpha2", - "target": "handler_immutable_checkrestrictedworkspacemetadata" + "source": "handler_webhookhandler_mutatepodoncreate", + "target": "webhook_workspace_handler_pod_go_context" }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L131", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutableobj", - "target": "handler_immutable_changepermitted" + "source": "handler_webhookhandler_mutatepodoncreate", + "target": "webhook_workspace_handler_pod_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L127", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L26", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutableobj", - "target": "webhook_workspace_handler_immutable_go_object" + "source": "handler_webhookhandler_mutatepodoncreate", + "target": "webhook_workspace_handler_pod_go_response" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L210", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L42", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_immutable_changepermitted", - "target": "webhook_workspace_handler_immutable_go_object" + "source": "handler_webhookhandler_mutatepodonupdate", + "target": "webhook_workspace_handler_pod_go_context" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L171", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L42", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutableroute", - "target": "webhook_workspace_handler_immutable_go_object" + "source": "handler_webhookhandler_mutatepodonupdate", + "target": "webhook_workspace_handler_pod_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L178", + "source_file": "webhook/workspace/handler/pod.go", + "source_location": "L42", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutableservice", - "target": "webhook_workspace_handler_immutable_go_object" + "source": "handler_webhookhandler_mutatepodonupdate", + "target": "webhook_workspace_handler_pod_go_response" }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L134", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L167", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutablepod", - "target": "webhook_workspace_handler_immutable_go_pod" + "source": "handler_validate", + "target": "handler_validate_discoverableendpointnames", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L175", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutableroute", - "target": "handler_immutable_changepermitted" + "source": "handler_validate", + "target": "handler_validate_registerdiscoverableendpointindex", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L184", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L41", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_handleimmutableservice", - "target": "handler_immutable_changepermitted" + "source": "handler_validate_registerdiscoverableendpointindex", + "target": "handler_validate_discoverableendpointnames", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/immutable.go", - "source_location": "L202", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L39", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_immutable_checkrestrictedworkspacemetadata", - "target": "webhook_workspace_handler_immutable_go_objectmeta" - }, - { - "relation": "contains", - "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L138", - "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_kubernetes", - "target": "handler_kubernetes_getkubecomponentsfromworkspace" + "source": "handler_validate_registerdiscoverableendpointindex", + "target": "webhook_workspace_handler_validate_go_context", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L187", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L39", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_kubernetes", - "target": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1" + "context": "parameter_type", + "source": "handler_validate_registerdiscoverableendpointindex", + "target": "webhook_workspace_handler_validate_go_fieldindexer", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L153", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L29", "weight": 1.0, + "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_kubernetes", - "target": "handler_kubernetes_getkubelikecomponent" + "source": "handler_webhookhandler_validatedevfile", + "target": "webhook_workspace_handler_validate_go_context" }, { - "relation": "contains", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L199", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L184", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_kubernetes", - "target": "handler_kubernetes_getkubelikecomponent_v1alpha1" + "context": "parameter_type", + "source": "handler_webhookhandler_validateendpoints", + "target": "webhook_workspace_handler_validate_go_context", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L209", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L129", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", - "target": "handler_webhookhandler_checksar" + "source": "webhook_workspace_handler_validate_go_handler_webhookhandler", + "target": "handler_webhookhandler_shouldcheckendpointconflicts", + "confidence_score": 1.0 }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L29", "weight": 1.0, "confidence_score": 1.0, - "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", - "target": "handler_webhookhandler_validatekubernetesobjectpermissions" + "source": "webhook_workspace_handler_validate_go_handler_webhookhandler", + "target": "handler_webhookhandler_validatedevfile" }, { "relation": "method", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L163", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L184", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", - "target": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1" + "source": "webhook_workspace_handler_validate_go_handler_webhookhandler", + "target": "handler_webhookhandler_validateendpoints", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L77", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L99", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_kubernetes_go_handler_webhookhandler", - "target": "handler_webhookhandler_validatepermissionsonobject" + "source": "handler_webhookhandler_validatedevfile", + "target": "handler_validate_discoverableendpointnames", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L44", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L100", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "handler_kubernetes_getkubecomponentsfromworkspace" + "source": "handler_webhookhandler_validatedevfile", + "target": "handler_webhookhandler_shouldcheckendpointconflicts", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L64", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L107", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "handler_webhookhandler_validatepermissionsonobject" + "source": "handler_webhookhandler_validatedevfile", + "target": "handler_webhookhandler_validateendpoints", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L29", "weight": 1.0, "context": "parameter_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "webhook_workspace_handler_kubernetes_go_context" + "source": "handler_webhookhandler_validatedevfile", + "target": "webhook_workspace_handler_validate_go_request" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L29", "weight": 1.0, - "context": "parameter_type", + "context": "return_type", "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" + "source": "handler_webhookhandler_validatedevfile", + "target": "webhook_workspace_handler_validate_go_response" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L37", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L129", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions", - "target": "webhook_workspace_handler_kubernetes_go_request" + "source": "handler_webhookhandler_shouldcheckendpointconflicts", + "target": "webhook_workspace_handler_validate_go_request", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L209", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L143", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_checksar", - "target": "webhook_workspace_handler_kubernetes_go_context" + "source": "handler_webhookhandler_shouldcheckendpointconflicts", + "target": "handler_validate_discoverableendpointnames", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L163", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L167", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_context" + "source": "handler_validate_discoverableendpointnames", + "target": "webhook_workspace_handler_validate_go_devworkspace", + "confidence_score": 1.0 }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L77", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L318", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatepermissionsonobject", - "target": "webhook_workspace_handler_kubernetes_go_context" + "source": "handler_validate_test_testshouldcheckendpointconflicts", + "target": "handler_validate_discoverableendpointnames" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L209", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L598", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_checksar", - "target": "webhook_workspace_handler_kubernetes_go_request" + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "handler_validate_discoverableendpointnames" }, { - "relation": "references", - "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L163", + "relation": "calls", + "context": "call", + "confidence": "INFERRED", + "confidence_score": 0.8, + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L80", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_request" + "source": "handler_validate_test_testvalidateendpoints", + "target": "handler_validate_discoverableendpointnames" }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L77", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L184", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatepermissionsonobject", - "target": "webhook_workspace_handler_kubernetes_go_request" + "source": "handler_webhookhandler_validateendpoints", + "target": "webhook_workspace_handler_validate_go_devworkspace", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L138", + "source_file": "webhook/workspace/handler/validate.go", + "source_location": "L184", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubecomponentsfromworkspace", - "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" + "context": "return_type", + "source": "handler_webhookhandler_validateendpoints", + "target": "serviceconflicterror", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L187", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L43", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" + "source": "handler_validate_test", + "target": "handler_validate_test_loadobjectfromfile", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", + "weight": 1.0, + "source": "handler_validate_test", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L163", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L57", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_devworkspacetemplatespec" + "source": "handler_validate_test", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L180", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L303", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", - "target": "handler_webhookhandler_validatepermissionsonobject" + "source": "handler_validate_test", + "target": "handler_validate_test_testshouldcheckendpointconflicts", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L101", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L430", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatepermissionsonobject", - "target": "handler_webhookhandler_checksar" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L77", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L519", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatepermissionsonobject", - "target": "webhook_workspace_handler_kubernetes_go_typemeta" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidatedevfileendpointexposure", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L209", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L563", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_checksar", - "target": "webhook_workspace_handler_kubernetes_go_typemeta" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L141", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L612", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubecomponentsfromworkspace", - "target": "handler_kubernetes_getkubelikecomponent" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidatedevfilenamespacefallback", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L138", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L690", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubecomponentsfromworkspace", - "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidatedevfilenamespacemissing", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L187", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L252", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "contains", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L153", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L66", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubelikecomponent", - "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" + "source": "handler_validate_test", + "target": "handler_validate_test_testvalidateendpoints", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L199", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubelikecomponent_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_k8slikecomponent" + "source": "handler_validate_test_newrawextension", + "target": "rawextension", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L153", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubelikecomponent", - "target": "webhook_workspace_handler_kubernetes_go_component" + "source": "handler_validate_test_newrawextension", + "target": "webhook_workspace_handler_validate_test_go_devworkspace", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L199", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L37", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubelikecomponent_v1alpha1", - "target": "webhook_workspace_handler_kubernetes_go_component" + "source": "handler_validate_test_newrawextension", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L164", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L326", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatekubernetesobjectpermissions_v1alpha1", - "target": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1" + "source": "handler_validate_test_testshouldcheckendpointconflicts", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { "relation": "calls", "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/kubernetes.go", - "source_location": "L190", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L441", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_kubernetes_getkubecomponentsfromworkspace_v1alpha1", - "target": "handler_kubernetes_getkubelikecomponent_v1alpha1" + "source": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L90", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L548", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_metadata", - "target": "handler_metadata_mutatecreatorlabel" + "source": "handler_validate_test_testvalidatedevfileendpointexposure", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L53", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L594", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_metadata", - "target": "handler_metadata_mutatelabelsonupdate" + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { - "relation": "contains", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L68", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L635", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_metadata", - "target": "handler_metadata_mutateworkspaceidlabel" + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L701", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_metadata_go_handler_webhookhandler", - "target": "handler_webhookhandler_mutatemetadataoncreate" + "source": "handler_validate_test_testvalidatedevfilenamespacemissing", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L41", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L289", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_metadata_go_handler_webhookhandler", - "target": "handler_webhookhandler_mutatemetadataonupdate" + "source": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "target": "handler_validate_test_newrawextension", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L57", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatemetadataoncreate", - "target": "webhook_workspace_handler_metadata_go_objectmeta" + "source": "handler_validate_test_setupworkspace", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L41", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L303", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatemetadataonupdate", - "target": "webhook_workspace_handler_metadata_go_objectmeta" + "source": "handler_validate_test_testshouldcheckendpointconflicts", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L45", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L430", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatemetadataonupdate", - "target": "handler_metadata_mutatelabelsonupdate" + "context": "parameter_type", + "source": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L59", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L519", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_metadata_mutatelabelsonupdate", - "target": "handler_metadata_mutatecreatorlabel" + "context": "parameter_type", + "source": "handler_validate_test_testvalidatedevfileendpointexposure", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { - "relation": "calls", - "context": "call", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/metadata.go", - "source_location": "L54", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L563", "weight": 1.0, - "confidence_score": 1.0, - "source": "handler_metadata_mutatelabelsonupdate", - "target": "handler_metadata_mutateworkspaceidlabel" + "context": "parameter_type", + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L612", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_pod_go_handler_webhookhandler", - "target": "handler_webhookhandler_mutatepodoncreate" + "context": "parameter_type", + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L42", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L690", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_pod_go_handler_webhookhandler", - "target": "handler_webhookhandler_mutatepodonupdate" + "context": "parameter_type", + "source": "handler_validate_test_testvalidatedevfilenamespacemissing", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L252", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatepodoncreate", - "target": "webhook_workspace_handler_pod_go_context" + "source": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L66", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatepodoncreate", - "target": "webhook_workspace_handler_pod_go_request" + "source": "handler_validate_test_testvalidateendpoints", + "target": "webhook_workspace_handler_validate_test_go_t", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L26", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L57", "weight": 1.0, "context": "return_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatepodoncreate", - "target": "webhook_workspace_handler_pod_go_response" + "source": "handler_validate_test_setupworkspace", + "target": "webhook_workspace_handler_validate_test_go_devworkspace", + "confidence_score": 1.0 }, { "relation": "references", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L42", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L43", "weight": 1.0, "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatepodonupdate", - "target": "webhook_workspace_handler_pod_go_context" + "source": "handler_validate_test_loadobjectfromfile", + "target": "webhook_workspace_handler_validate_test_go_object", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L42", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L59", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatepodonupdate", - "target": "webhook_workspace_handler_pod_go_request" + "source": "handler_validate_test_setupworkspace", + "target": "handler_validate_test_loadobjectfromfile", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/pod.go", - "source_location": "L42", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L309", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_mutatepodonupdate", - "target": "webhook_workspace_handler_pod_go_response" + "source": "handler_validate_test_testshouldcheckendpointconflicts", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 }, { - "relation": "method", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L435", "weight": 1.0, - "confidence_score": 1.0, - "source": "webhook_workspace_handler_validate_go_handler_webhookhandler", - "target": "handler_webhookhandler_validatedevfile" + "source": "handler_validate_test_testvalidatedevfileendpointconflictgating", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L538", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatedevfile", - "target": "webhook_workspace_handler_validate_go_context" + "source": "handler_validate_test_testvalidatedevfileendpointexposure", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L583", "weight": 1.0, - "context": "parameter_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatedevfile", - "target": "webhook_workspace_handler_validate_go_request" + "source": "handler_validate_test_testvalidatedevfileendpointexposurechanges", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 }, { - "relation": "references", + "relation": "calls", + "context": "call", "confidence": "EXTRACTED", - "source_file": "webhook/workspace/handler/validate.go", - "source_location": "L29", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L626", "weight": 1.0, - "context": "return_type", - "confidence_score": 1.0, - "source": "handler_webhookhandler_validatedevfile", - "target": "webhook_workspace_handler_validate_go_response" + "source": "handler_validate_test_testvalidatedevfilenamespacefallback", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L696", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfilenamespacemissing", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L275", + "weight": 1.0, + "source": "handler_validate_test_testvalidatedevfilepeerdiscoverability", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 + }, + { + "relation": "calls", + "context": "call", + "confidence": "EXTRACTED", + "source_file": "webhook/workspace/handler/validate_test.go", + "source_location": "L72", + "weight": 1.0, + "source": "handler_validate_test_testvalidateendpoints", + "target": "handler_validate_test_setupworkspace", + "confidence_score": 1.0 }, { "relation": "contains", @@ -84077,6 +99005,36 @@ "source": "changelog", "target": "changelog_v1_0_0" }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L9", + "weight": 1.0, + "source": "changelog", + "target": "changelog_v1_1_0", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L3", + "weight": 1.0, + "source": "changelog", + "target": "changelog_v1_1_1", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L5", + "weight": 1.0, + "source": "changelog_v1_1_1", + "target": "changelog_bug_fixes_improvements", + "confidence_score": 1.0 + }, { "relation": "contains", "confidence": "EXTRACTED", @@ -84091,11 +99049,31 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L5", + "source_location": "L37", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_v1_0_0", - "target": "changelog_features" + "source": "changelog_v1_1_0", + "target": "changelog_bug_fixes_improvements_37", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L11", + "weight": 1.0, + "source": "changelog_v1_1_0", + "target": "changelog_features", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L13", + "weight": 1.0, + "source": "changelog_features", + "target": "changelog_configurable_pod_scheduling_for_workspaces_and_operator_managed_jobs_1723_https_github_com_devfile_devworkspace_operator_pull_1723", + "confidence_score": 1.0 }, { "relation": "contains", @@ -84131,381 +99109,441 @@ "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L41", + "source_location": "L5", "weight": 1.0, "confidence_score": 1.0, + "source": "changelog_v1_0_0", + "target": "changelog_features" + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L76", + "weight": 1.0, + "source": "changelog_v1_0_0", + "target": "changelog_bug_fixes_improvements_76", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L46", + "weight": 1.0, + "source": "changelog_v1_0_0", + "target": "changelog_features_46", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L68", + "weight": 1.0, + "source": "changelog_features_46", + "target": "changelog_openshift_aware_tls_configuration_for_metrics_and_webhook_servers_1695_https_github_com_devfile_devworkspace_operator_pull_1695", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L48", + "weight": 1.0, + "source": "changelog_features_46", + "target": "changelog_optional_per_workspace_networkpolicy_provisioning_1710_https_github_com_devfile_devworkspace_operator_pull_1710", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L72", + "weight": 1.0, + "source": "changelog_features_46", + "target": "changelog_tolerate_additional_labels_and_annotations_on_workspace_deployments_1711_https_github_com_devfile_devworkspace_operator_pull_1711", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "CHANGELOG.md", + "source_location": "L82", + "weight": 1.0, "source": "changelog_v0_43_0", - "target": "changelog_bug_fixes_improvements_41" + "target": "changelog_bug_fixes_improvements_82", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L75", + "source_location": "L116", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_42_0", - "target": "changelog_bug_fixes_improvements_75" + "target": "changelog_bug_fixes_improvements_116", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L50", + "source_location": "L91", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_42_0", - "target": "changelog_features_50" + "target": "changelog_features_91", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L52", + "source_location": "L93", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_50", - "target": "changelog_configurable_field_level_restrictions_for_container_and_pod_overrides_1653_https_github_com_devfile_devworkspace_operator_pull_1653" + "source": "changelog_features_91", + "target": "changelog_configurable_field_level_restrictions_for_container_and_pod_overrides_1653_https_github_com_devfile_devworkspace_operator_pull_1653", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L132", + "source_location": "L173", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_41_0", - "target": "changelog_bug_fixes_improvements_132" + "target": "changelog_bug_fixes_improvements_173", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L85", + "source_location": "L126", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_41_0", - "target": "changelog_features_85" + "target": "changelog_features_126", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L87", + "source_location": "L128", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_85", - "target": "changelog_mount_automount_resources_only_to_specific_devworkspaces_1619_https_github_com_devfile_devworkspace_operator_pull_1619" + "source": "changelog_features_126", + "target": "changelog_mount_automount_resources_only_to_specific_devworkspaces_1619_https_github_com_devfile_devworkspace_operator_pull_1619", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L117", + "source_location": "L158", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_85", - "target": "changelog_mount_pvc_subdirectory_into_workspace_using_subpath_1595_https_github_com_devfile_devworkspace_operator_pull_1595" + "source": "changelog_features_126", + "target": "changelog_mount_pvc_subdirectory_into_workspace_using_subpath_1595_https_github_com_devfile_devworkspace_operator_pull_1595", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L98", + "source_location": "L139", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_85", - "target": "changelog_prevent_workspace_restart_when_automount_resources_are_created_or_modified_1533_https_github_com_devfile_devworkspace_operator_pull_1533" + "source": "changelog_features_126", + "target": "changelog_prevent_workspace_restart_when_automount_resources_are_created_or_modified_1533_https_github_com_devfile_devworkspace_operator_pull_1533", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L146", + "source_location": "L187", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_40_1", - "target": "changelog_bug_fixes_improvements_146" + "target": "changelog_bug_fixes_improvements_187", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L140", + "source_location": "L181", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_40_1", - "target": "changelog_features_140" + "target": "changelog_features_181", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L142", + "source_location": "L183", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_140", - "target": "changelog_project_clone_retries_1613_https_github_com_devfile_devworkspace_operator_pull_1613" + "source": "changelog_features_181", + "target": "changelog_project_clone_retries_1613_https_github_com_devfile_devworkspace_operator_pull_1613", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L203", + "source_location": "L244", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_40_0", - "target": "changelog_bug_fixes_improvements_203" + "target": "changelog_bug_fixes_improvements_244", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L157", + "source_location": "L198", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_40_0", - "target": "changelog_features_157" + "target": "changelog_features_198", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L184", + "source_location": "L225", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_157", - "target": "changelog_configurable_backup_job_retry_limit_1579_https_github_com_devfile_devworkspace_operator_issues_1579" + "source": "changelog_features_198", + "target": "changelog_configurable_backup_job_retry_limit_1579_https_github_com_devfile_devworkspace_operator_issues_1579", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L199", + "source_location": "L240", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_157", - "target": "changelog_inject_host_users_environment_variable_for_user_namespace_configuration_1582_https_github_com_devfile_devworkspace_operator_pull_1582" + "source": "changelog_features_198", + "target": "changelog_inject_host_users_environment_variable_for_user_namespace_configuration_1582_https_github_com_devfile_devworkspace_operator_pull_1582", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L159", + "source_location": "L200", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_157", - "target": "changelog_per_workspace_backup_status_tracking_1549_https_github_com_devfile_devworkspace_operator_issues_1549" + "source": "changelog_features_198", + "target": "changelog_per_workspace_backup_status_tracking_1549_https_github_com_devfile_devworkspace_operator_issues_1549", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L168", + "source_location": "L209", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_157", - "target": "changelog_restore_workspace_from_backup_1525_https_github_com_devfile_devworkspace_operator_issues_1525" + "source": "changelog_features_198", + "target": "changelog_restore_workspace_from_backup_1525_https_github_com_devfile_devworkspace_operator_issues_1525", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L269", + "source_location": "L310", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_39_0", - "target": "changelog_bug_fixes_improvements_269" + "target": "changelog_bug_fixes_improvements_310", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L211", + "source_location": "L252", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_39_0", - "target": "changelog_features_211" + "target": "changelog_features_252", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L247", + "source_location": "L288", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_211", - "target": "changelog_add_container_resource_caps_enforcement_1561_https_github_com_devfile_devworkspace_operator_issues_1561" + "source": "changelog_features_252", + "target": "changelog_add_container_resource_caps_enforcement_1561_https_github_com_devfile_devworkspace_operator_issues_1561", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L222", + "source_location": "L263", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_211", - "target": "changelog_add_the_ability_to_configure_custom_init_containers_1559_https_github_com_devfile_devworkspace_operator_issues_1559" + "source": "changelog_features_252", + "target": "changelog_add_the_ability_to_configure_custom_init_containers_1559_https_github_com_devfile_devworkspace_operator_issues_1559", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L212", + "source_location": "L253", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_211", - "target": "changelog_implement_backup_feature_for_devworkspaces_1524_https_github_com_devfile_devworkspace_operator_issues_1524" + "source": "changelog_features_252", + "target": "changelog_implement_backup_feature_for_devworkspaces_1524_https_github_com_devfile_devworkspace_operator_issues_1524", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L281", + "source_location": "L322", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_38_0", - "target": "changelog_bug_fixes_improvements_281" + "target": "changelog_bug_fixes_improvements_322", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L273", + "source_location": "L314", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_38_0", - "target": "changelog_features_273" + "target": "changelog_features_314", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L274", + "source_location": "L315", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_273", - "target": "changelog_improved_debugging_for_failing_poststart_commands_1538_https_github_com_devfile_devworkspace_operator_issues_1538" + "source": "changelog_features_314", + "target": "changelog_improved_debugging_for_failing_poststart_commands_1538_https_github_com_devfile_devworkspace_operator_issues_1538", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L316", + "source_location": "L357", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_37_0", - "target": "changelog_bug_fixes_improvements_316" + "target": "changelog_bug_fixes_improvements_357", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L287", + "source_location": "L328", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_37_0", - "target": "changelog_features_287" + "target": "changelog_features_328", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L288", + "source_location": "L329", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_287", - "target": "changelog_add_hostusers_field_to_dwoc_1493_https_github_com_devfile_devworkspace_operator_issues_1493" + "source": "changelog_features_328", + "target": "changelog_add_hostusers_field_to_dwoc_1493_https_github_com_devfile_devworkspace_operator_issues_1493", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L303", + "source_location": "L344", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_287", - "target": "changelog_provide_timeout_for_poststart_events_1496_https_github_com_devfile_devworkspace_operator_issues_1496" + "source": "changelog_features_328", + "target": "changelog_provide_timeout_for_poststart_events_1496_https_github_com_devfile_devworkspace_operator_issues_1496", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L323", + "source_location": "L364", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_36_0", - "target": "changelog_bug_fixes_improvements_323" + "target": "changelog_bug_fixes_improvements_364", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L332", + "source_location": "L373", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_36_0", - "target": "changelog_bug_fixes_improvements_332" + "target": "changelog_bug_fixes_improvements_373", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L329", + "source_location": "L370", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_bug_fixes_improvements_323", - "target": "changelog_execute_prestart_devfile_events_after_the_project_clone_init_container_has_run_1454_https_github_com_devfile_devworkspace_operator_issues_1454" + "source": "changelog_bug_fixes_improvements_364", + "target": "changelog_execute_prestart_devfile_events_after_the_project_clone_init_container_has_run_1454_https_github_com_devfile_devworkspace_operator_issues_1454", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L324", + "source_location": "L365", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_bug_fixes_improvements_323", - "target": "changelog_remove_kube_rbac_proxy_from_the_controller_deployment_1437_https_github_com_devfile_devworkspace_operator_pull_1437" + "source": "changelog_bug_fixes_improvements_364", + "target": "changelog_remove_kube_rbac_proxy_from_the_controller_deployment_1437_https_github_com_devfile_devworkspace_operator_pull_1437", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L337", + "source_location": "L378", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_35_1", - "target": "changelog_bug_fixes_improvements_337" + "target": "changelog_bug_fixes_improvements_378", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L358", + "source_location": "L399", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_35_0", - "target": "changelog_bug_fixes_improvements_358" + "target": "changelog_bug_fixes_improvements_399", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L342", + "source_location": "L383", "weight": 1.0, - "confidence_score": 1.0, "source": "changelog_v0_35_0", - "target": "changelog_features_342" + "target": "changelog_features_383", + "confidence_score": 1.0 }, { "relation": "contains", "confidence": "EXTRACTED", "source_file": "CHANGELOG.md", - "source_location": "L343", + "source_location": "L384", "weight": 1.0, - "confidence_score": 1.0, - "source": "changelog_features_342", - "target": "changelog_make_workspace_pvc_s_access_mode_configurable_1019_https_github_com_devfile_devworkspace_operator_issues_1019" + "source": "changelog_features_383", + "target": "changelog_make_workspace_pvc_s_access_mode_configurable_1019_https_github_com_devfile_devworkspace_operator_issues_1019", + "confidence_score": 1.0 }, { "relation": "contains", @@ -85117,6 +100155,696 @@ "source": "adr_2026_08_26_sanitize_automount_volume_names_consequences", "target": "adr_2026_08_26_sanitize_automount_volume_names_positive" }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L1", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index", + "target": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L41", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "target": "adr_2026_10_07_discoverable_endpoint_index_consequences", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L21", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "target": "adr_2026_10_07_discoverable_endpoint_index_considered_alternatives", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L7", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "target": "adr_2026_10_07_discoverable_endpoint_index_context", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L11", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "target": "adr_2026_10_07_discoverable_endpoint_index_decision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L55", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_index_discoverable_endpoints_for_admission_conflict_checks", + "target": "adr_2026_10_07_discoverable_endpoint_index_references", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L23", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_considered_alternatives", + "target": "adr_2026_10_07_discoverable_endpoint_index_alternative_1_keep_listing_and_scanning_the_whole_namespace", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L29", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_considered_alternatives", + "target": "adr_2026_10_07_discoverable_endpoint_index_alternative_2_disable_cache_object_copying", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L35", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_considered_alternatives", + "target": "adr_2026_10_07_discoverable_endpoint_index_alternative_3_add_a_custom_cache_or_external_endpoint_index_owner", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L47", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_consequences", + "target": "adr_2026_10_07_discoverable_endpoint_index_negative", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L51", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_consequences", + "target": "adr_2026_10_07_discoverable_endpoint_index_neutral", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-07-discoverable-endpoint-index.md", + "source_location": "L43", + "weight": 1.0, + "source": "adr_2026_10_07_discoverable_endpoint_index_consequences", + "target": "adr_2026_10_07_discoverable_endpoint_index_positive", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L1", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates", + "target": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L37", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "target": "adr_2026_10_08_discoverable_service_certificates_consequences", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L17", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "target": "adr_2026_10_08_discoverable_service_certificates_considered_alternatives", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L7", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "target": "adr_2026_10_08_discoverable_service_certificates_context", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L11", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "target": "adr_2026_10_08_discoverable_service_certificates_decision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L54", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_mount_per_service_certificates_for_discoverable_endpoints", + "target": "adr_2026_10_08_discoverable_service_certificates_references", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L19", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_considered_alternatives", + "target": "adr_2026_10_08_discoverable_service_certificates_alternative_1_share_the_aggregate_certificate_mount", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L25", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_considered_alternatives", + "target": "adr_2026_10_08_discoverable_service_certificates_alternative_2_truncate_long_volume_names_or_reject_long_service_names", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L31", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_considered_alternatives", + "target": "adr_2026_10_08_discoverable_service_certificates_alternative_3_hash_every_volume_name", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L44", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_consequences", + "target": "adr_2026_10_08_discoverable_service_certificates_negative", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L49", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_consequences", + "target": "adr_2026_10_08_discoverable_service_certificates_neutral", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-discoverable-service-certificates.md", + "source_location": "L39", + "weight": 1.0, + "source": "adr_2026_10_08_discoverable_service_certificates_consequences", + "target": "adr_2026_10_08_discoverable_service_certificates_positive", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L1", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership", + "target": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L43", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "target": "adr_2026_10_08_routing_service_ownership_consequences", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L23", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "target": "adr_2026_10_08_routing_service_ownership_considered_alternatives", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L7", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "target": "adr_2026_10_08_routing_service_ownership_context", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L11", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "target": "adr_2026_10_08_routing_service_ownership_decision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L58", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_guard_routing_service_ownership_during_synchronization", + "target": "adr_2026_10_08_routing_service_ownership_references", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L25", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_considered_alternatives", + "target": "adr_2026_10_08_routing_service_ownership_alternative_1_trust_admission_conflict_checks", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L31", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_considered_alternatives", + "target": "adr_2026_10_08_routing_service_ownership_alternative_2_treat_workspace_id_labels_as_ownership_proof", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L37", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_considered_alternatives", + "target": "adr_2026_10_08_routing_service_ownership_alternative_3_keep_the_generic_alreadyexists_update_fallback", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L50", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_consequences", + "target": "adr_2026_10_08_routing_service_ownership_negative", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L54", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_consequences", + "target": "adr_2026_10_08_routing_service_ownership_neutral", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-08-routing-service-ownership.md", + "source_location": "L45", + "weight": 1.0, + "source": "adr_2026_10_08_routing_service_ownership_consequences", + "target": "adr_2026_10_08_routing_service_ownership_positive", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L1", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery", + "target": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L37", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "target": "adr_2026_10_12_routing_failure_recovery_consequences", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L19", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "target": "adr_2026_10_12_routing_failure_recovery_considered_alternatives", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L7", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "target": "adr_2026_10_12_routing_failure_recovery_context", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L11", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "target": "adr_2026_10_12_routing_failure_recovery_decision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L54", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_recover_failed_routing_after_spec_changes", + "target": "adr_2026_10_12_routing_failure_recovery_references", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L21", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_considered_alternatives", + "target": "adr_2026_10_12_routing_failure_recovery_alternative_1_retry_unchanged_failures_on_resource_events", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L29", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_considered_alternatives", + "target": "adr_2026_10_12_routing_failure_recovery_alternative_2_require_routing_recreation", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L44", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_consequences", + "target": "adr_2026_10_12_routing_failure_recovery_negative", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L49", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_consequences", + "target": "adr_2026_10_12_routing_failure_recovery_neutral", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-failure-recovery.md", + "source_location": "L39", + "weight": 1.0, + "source": "adr_2026_10_12_routing_failure_recovery_consequences", + "target": "adr_2026_10_12_routing_failure_recovery_positive", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L1", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context", + "target": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L31", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "target": "adr_2026_10_12_routing_solver_context_consequences", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L17", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "target": "adr_2026_10_12_routing_solver_context_considered_alternatives", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L7", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "target": "adr_2026_10_12_routing_solver_context_context", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L11", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "target": "adr_2026_10_12_routing_solver_context_decision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L47", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_pass_reconciliation_context_through_routing_solvers", + "target": "adr_2026_10_12_routing_solver_context_references", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L19", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_considered_alternatives", + "target": "adr_2026_10_12_routing_solver_context_alternative_1_retain_legacy_entry_points_alongside_context_aware_methods", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L25", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_considered_alternatives", + "target": "adr_2026_10_12_routing_solver_context_alternative_2_add_a_fixed_timeout_to_service_lookup", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L37", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_consequences", + "target": "adr_2026_10_12_routing_solver_context_negative", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L41", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_consequences", + "target": "adr_2026_10_12_routing_solver_context_neutral", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-routing-solver-context.md", + "source_location": "L33", + "weight": 1.0, + "source": "adr_2026_10_12_routing_solver_context_consequences", + "target": "adr_2026_10_12_routing_solver_context_positive", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L1", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness", + "target": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L33", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "target": "adr_2026_10_12_serving_certificate_readiness_consequences", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L19", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "target": "adr_2026_10_12_serving_certificate_readiness_considered_alternatives", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L7", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "target": "adr_2026_10_12_serving_certificate_readiness_context", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L11", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "target": "adr_2026_10_12_serving_certificate_readiness_decision", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L51", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_validate_serving_certificates_before_publishing_routing_mounts", + "target": "adr_2026_10_12_serving_certificate_readiness_references", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L21", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_considered_alternatives", + "target": "adr_2026_10_12_serving_certificate_readiness_alternative_1_change_certificate_secret_names", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L27", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_considered_alternatives", + "target": "adr_2026_10_12_serving_certificate_readiness_alternative_2_publish_mounts_immediately_after_service_creation", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L40", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_consequences", + "target": "adr_2026_10_12_serving_certificate_readiness_negative", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L46", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_consequences", + "target": "adr_2026_10_12_serving_certificate_readiness_neutral", + "confidence_score": 1.0 + }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "adr/2026-10-12-serving-certificate-readiness.md", + "source_location": "L35", + "weight": 1.0, + "source": "adr_2026_10_12_serving_certificate_readiness_consequences", + "target": "adr_2026_10_12_serving_certificate_readiness_positive", + "confidence_score": 1.0 + }, { "relation": "contains", "confidence": "EXTRACTED", @@ -85407,6 +101135,16 @@ "source": "docs_dwo_configuration", "target": "docs_dwo_configuration_configuring_workspace_networkpolicy" }, + { + "relation": "contains", + "confidence": "EXTRACTED", + "source_file": "docs/dwo-configuration.md", + "source_location": "L51", + "weight": 1.0, + "source": "docs_dwo_configuration", + "target": "docs_dwo_configuration_configuring_workspace_pod_scheduling", + "confidence_score": 1.0 + }, { "relation": "contains", "confidence": "EXTRACTED", @@ -86239,5 +101977,5 @@ } ], "hyperedges": [], - "built_at_commit": "9bc67f05489821b6701cf0d0b0903d9c833fea14" + "built_at_commit": "dc74391c5e7b20f2c16f505621cf6ccb7e541a6f" } \ No newline at end of file diff --git a/pkg/common/naming.go b/pkg/common/naming.go index c7f2504f6..0a0440282 100644 --- a/pkg/common/naming.go +++ b/pkg/common/naming.go @@ -22,6 +22,7 @@ import ( "strings" dw "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + "github.com/devfile/devworkspace-operator/pkg/constants" ) @@ -32,10 +33,31 @@ func DevWorkspaceRoutingName(workspaceId string) string { } func EndpointName(endpointName string) string { - name := strings.ToLower(endpointName) - name = NonAlphaNumRegexp.ReplaceAllString(name, "-") - name = strings.Trim(name, "-") - return name + // Lowercase ASCII letters, digits, and single internal hyphens need no normalization. + // Return these names unchanged to avoid regexp work and allocations during admission scans. + for i := 0; i < len(endpointName); i++ { + c := endpointName[i] + switch { + case c >= 'a' && c <= 'z' || c >= '0' && c <= '9': + case c == '-' && i > 0 && i < len(endpointName)-1 && endpointName[i-1] != '-': + default: + // Generated by Codex. Collapse non-alphanumeric runs without regexp allocations. + separator := false + name := strings.Map(func(c rune) rune { + if c >= 'a' && c <= 'z' || c >= '0' && c <= '9' { + separator = false + return c + } + if separator { + return -1 + } + separator = true + return '-' + }, strings.ToLower(endpointName)) + return strings.Trim(name, "-") + } + } + return endpointName } func PortName(endpoint dw.Endpoint) string { @@ -101,7 +123,13 @@ func DeploymentName(workspaceId string) string { } func ServingCertVolumeName(serviceName string) string { - return fmt.Sprintf("devworkspace-serving-cert-%s", serviceName) + volumeName := fmt.Sprintf("devworkspace-serving-cert-%s", serviceName) + if len(volumeName) <= 63 { + return volumeName + } + // Generated by Codex. Keep hashes apart from unchanged names derived from short services. + hash := sha256.Sum256([]byte(serviceName)) + return fmt.Sprintf("devworkspace-cert-%x", hash[:10]) } func PVCCleanupJobName(workspaceId string) string { diff --git a/pkg/common/naming_test.go b/pkg/common/naming_test.go index d0c493497..90584eb94 100644 --- a/pkg/common/naming_test.go +++ b/pkg/common/naming_test.go @@ -16,6 +16,8 @@ package common import ( + "regexp" + "strings" "testing" "github.com/stretchr/testify/assert" @@ -78,3 +80,78 @@ func TestSanitizeVolumeName(t *testing.T) { }) } } + +func TestEndpointName(t *testing.T) { + originalRegexp := regexp.MustCompile(`[^a-z0-9]+`) + for _, test := range []struct { + name string + want string + }{ + {"", ""}, + {"a", "a"}, + {"0", "0"}, + {"endpoint123", "endpoint123"}, + {"my-endpoint", "my-endpoint"}, + {"a-0-z-9", "a-0-z-9"}, + {strings.Repeat("a", 1000), strings.Repeat("a", 1000)}, + {"my--endpoint", "my-endpoint"}, + {"my---endpoint", "my-endpoint"}, + {"endpoint--0--0", "endpoint-0-0"}, + {"a--é--b", "a-b"}, + {"a\xff--b", "a-b"}, + {"-endpoint", "endpoint"}, + {"endpoint-", "endpoint"}, + {"--endpoint--", "endpoint"}, + {"-", ""}, + {"---", ""}, + {"My-Endpoint", "my-endpoint"}, + {"ENDPOINT", "endpoint"}, + {"my._ /endpoint!?", "my-endpoint"}, + {"!?", ""}, + {"é-endpoint-界", "endpoint"}, + {"端点", ""}, + {"Kelvin", "kelvin"}, + {"a\x00b", "a-b"}, + } { + t.Run(test.name, func(t *testing.T) { + original := strings.Trim(originalRegexp.ReplaceAllString(strings.ToLower(test.name), "-"), "-") + if got := EndpointName(test.name); got != test.want || got != original { + t.Fatalf("EndpointName(%q) = %q, want %q (original %q)", test.name, got, test.want, original) + } + if test.name == test.want { + var got string + allocs := testing.AllocsPerRun(100, func() { got = EndpointName(test.name) }) + if allocs != 0 || got != test.want { + t.Fatalf("Canonical name %q: got %q with %g allocations, want zero", test.name, got, allocs) + } + } + }) + } +} + +// Generated by Codex. +func TestEndpointNameRepeatedHyphensAllocations(t *testing.T) { + for _, name := range []string{"endpoint--0--0", "--endpoint--", "my---endpoint"} { + t.Run(name, func(t *testing.T) { + var got string + allocs := testing.AllocsPerRun(100, func() { got = EndpointName(name) }) + if allocs > 1 { + t.Fatalf("EndpointName(%q) = %q with %g allocations, want at most one", name, got, allocs) + } + }) + } +} + +// Generated by Codex. +func FuzzEndpointName(f *testing.F) { + for _, name := range []string{"", "endpoint--0--0", "--endpoint--", "A._ /b!?", "a--é--b", "Kelvin", "a\xff--b"} { + f.Add(name) + } + originalRegexp := regexp.MustCompile(`[^a-z0-9]+`) + f.Fuzz(func(t *testing.T, name string) { + want := strings.Trim(originalRegexp.ReplaceAllString(strings.ToLower(name), "-"), "-") + if got := EndpointName(name); got != want { + t.Fatalf("EndpointName(%q) = %q, want %q", name, got, want) + } + }) +} diff --git a/pkg/library/kubernetes/provision.go b/pkg/library/kubernetes/provision.go index 6a3ca6dbc..dd12cb596 100644 --- a/pkg/library/kubernetes/provision.go +++ b/pkg/library/kubernetes/provision.go @@ -21,18 +21,20 @@ import ( "strings" dw "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" - "github.com/devfile/devworkspace-operator/pkg/common" - "github.com/devfile/devworkspace-operator/pkg/constants" - "github.com/devfile/devworkspace-operator/pkg/dwerrors" - "github.com/devfile/devworkspace-operator/pkg/library/overrides/restrictions" - "github.com/devfile/devworkspace-operator/pkg/provision/sync" appsv1 "k8s.io/api/apps/v1" batchv1 "k8s.io/api/batch/v1" corev1 "k8s.io/api/core/v1" rbacv1 "k8s.io/api/rbac/v1" k8sErrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" + + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/dwerrors" + "github.com/devfile/devworkspace-operator/pkg/library/overrides/restrictions" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" ) // HandleKubernetesComponents processes the Kubernetes and OpenShift components of a DevWorkspace, @@ -82,7 +84,11 @@ func HandleKubernetesComponents(workspace *common.DevWorkspaceWithConfig, api sy return &dwerrors.FailError{Message: fmt.Sprintf("could not process component %s", component.Name), Err: err} } var syncErr error - if sync.IsRecognizedObject(obj) { + service, isService := obj.(*corev1.Service) + owner := metav1.GetControllerOf(obj) + if isService && (service.Annotations[constants.DevWorkspaceDiscoverableServiceAnnotation] == "true" || (owner != nil && owner.Kind == "DevWorkspaceRouting")) { + _, syncErr = sync.SyncRoutingServiceWithCluster(service, api) + } else if sync.IsRecognizedObject(obj) { _, syncErr = sync.SyncObjectWithCluster(obj, api) } else { _, syncErr = sync.SyncUnrecognizedObjectWithCluster(obj, api) diff --git a/pkg/library/kubernetes/provision_test.go b/pkg/library/kubernetes/provision_test.go index 9967ae37f..25b95b19c 100644 --- a/pkg/library/kubernetes/provision_test.go +++ b/pkg/library/kubernetes/provision_test.go @@ -14,6 +14,7 @@ package kubernetes import ( + "context" "errors" "fmt" "os" @@ -22,22 +23,25 @@ import ( "testing" dw "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" - controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" - "github.com/devfile/devworkspace-operator/pkg/common" - "github.com/devfile/devworkspace-operator/pkg/constants" - "github.com/devfile/devworkspace-operator/pkg/dwerrors" - "github.com/devfile/devworkspace-operator/pkg/provision/sync" "github.com/go-logr/logr/testr" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types" "k8s.io/utils/ptr" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/client/fake" "sigs.k8s.io/yaml" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/dwerrors" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" ) type testCase struct { @@ -149,6 +153,296 @@ func TestHandleKubernetesComponents(t *testing.T) { } } +func TestHandleKubernetesComponentsUsesGuardedSyncForRoutingServices(t *testing.T) { + if err := InitializeDeserializer(testScheme); err != nil { + t.Fatal(err) + } + defer func() { decoder = nil }() + + for _, tc := range []struct { + name string + metadata string + }{ + { + name: "discoverable annotation", + metadata: `"annotations":{"` + constants.DevWorkspaceDiscoverableServiceAnnotation + `":"true"}`, + }, + { + name: "DevWorkspaceRouting controller owner", + metadata: `"ownerReferences":[{"apiVersion":"controller.devfile.io/v1alpha1","kind":"DevWorkspaceRouting","name":"routing","uid":"routing-uid","controller":true}]`, + }, + } { + t.Run(tc.name, func(t *testing.T) { + ctx := context.Background() + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: testNamespace, UID: "foreign-service"}, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}, + } + backing := fake.NewClientBuilder().WithScheme(testScheme).WithObjects(foreign).Build() + cached := &serviceGetCountingClient{Client: backing, hideUnlabeledServices: true} + fresh := &serviceGetCountingClient{Client: backing} + api := sync.ClusterAPI{ + Client: cached, + NonCachingClient: fresh, + Scheme: testScheme, + Logger: testr.New(t), + Ctx: ctx, + } + wksp := &common.DevWorkspaceWithConfig{DevWorkspace: testDevWorkspace.DeepCopy()} + service := `{"apiVersion":"v1","kind":"Service","metadata":{"name":"api",` + tc.metadata + `},"spec":{"selector":{"app":"mine"},"ports":[{"port":8080}]}}` + wksp.Spec.Template.Components = append(wksp.Spec.Template.Components, serviceComponent(service)) + + err := HandleKubernetesComponents(wksp, api) + var conflict *sync.ServiceConflictError + if !errors.As(err, &conflict) { + t.Fatalf("want guarded foreign Service conflict, got %v", err) + } + if fresh.serviceGets != 1 { + t.Fatalf("want one fresh Service GET, got %d", fresh.serviceGets) + } + if cached.serviceGets != 1 { + t.Fatalf("want only the precheck cache GET, got %d", cached.serviceGets) + } + + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatalf("foreign Service was removed: %v", err) + } + if actual.UID != foreign.UID || actual.Spec.Selector["app"] != "foreign" || len(actual.Labels) != 0 { + t.Fatalf("foreign Service was modified: %#v", actual) + } + }) + } +} + +func TestHandleKubernetesComponentsUsesCachedSyncForOrdinaryService(t *testing.T) { + if err := InitializeDeserializer(testScheme); err != nil { + t.Fatal(err) + } + defer func() { decoder = nil }() + + ctx := context.Background() + backing := fake.NewClientBuilder().WithScheme(testScheme).Build() + cached := &serviceGetCountingClient{Client: backing} + fresh := &serviceGetCountingClient{Client: backing} + api := sync.ClusterAPI{ + Client: cached, + NonCachingClient: fresh, + Scheme: testScheme, + Logger: testr.New(t), + Ctx: ctx, + } + wksp := &common.DevWorkspaceWithConfig{DevWorkspace: testDevWorkspace.DeepCopy()} + wksp.Spec.Template.Components = append(wksp.Spec.Template.Components, serviceComponent(`{"apiVersion":"v1","kind":"Service","metadata":{"name":"ordinary"},"spec":{"selector":{"app":"mine"},"ports":[{"port":8080}]}}`)) + + var err error + for i := 0; i < 2; i++ { + err = HandleKubernetesComponents(wksp, api) + if i == 0 { + var retry *dwerrors.RetryError + if !errors.As(err, &retry) { + t.Fatalf("want retry after creating ordinary Service, got %v", err) + } + } else if err != nil { + t.Fatalf("second sync failed: %v", err) + } + } + if cached.serviceGets != 4 { + t.Fatalf("want four cached Service GETs across precheck and sync, got %d", cached.serviceGets) + } + if fresh.serviceGets != 0 { + t.Fatalf("ordinary Service unexpectedly used fresh client for %d GETs", fresh.serviceGets) + } +} + +// Generated by Codex +func TestHandleKubernetesComponentsRecoversOwnedHiddenServiceCollision(t *testing.T) { + if err := InitializeDeserializer(testScheme); err != nil { + t.Fatal(err) + } + defer func() { decoder = nil }() + + ctx := context.Background() + existing := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "api", + Namespace: testNamespace, + UID: "existing-service", + ResourceVersion: "17", + Labels: map[string]string{"app": "mine"}, + OwnerReferences: []metav1.OwnerReference{{ + APIVersion: "workspace.devfile.io/v1alpha2", + Kind: "DevWorkspace", + Name: testDevWorkspaceName, + UID: testDevWorkspaceUID, + }}, + }, + Spec: corev1.ServiceSpec{ + ClusterIP: "10.0.0.21", + Selector: map[string]string{"app": "mine"}, + Ports: []corev1.ServicePort{{Port: 8080}}, + }, + } + backing := fake.NewClientBuilder().WithScheme(testScheme).WithObjects(existing).Build() + cached := &serviceGetCountingClient{Client: backing, hideUnlabeledServices: true} + fresh := &serviceGetCountingClient{Client: backing} + api := sync.ClusterAPI{Client: cached, NonCachingClient: fresh, Scheme: testScheme, Logger: testr.New(t), Ctx: ctx} + wksp := &common.DevWorkspaceWithConfig{DevWorkspace: testDevWorkspace.DeepCopy()} + wksp.Spec.Template.Components = append(wksp.Spec.Template.Components, serviceComponent(`{"apiVersion":"v1","kind":"Service","metadata":{"name":"api"},"spec":{"selector":{"app":"mine"},"ports":[{"port":8080}]}}`)) + + err := HandleKubernetesComponents(wksp, api) + var retry *dwerrors.RetryError + if !errors.As(err, &retry) { + t.Fatalf("want retry after updating owned Service, got %v", err) + } + if cached.serviceGets != 2 || fresh.serviceGets != 1 || cached.creates != 1 || cached.updates != 1 || cached.deletes != 0 { + t.Fatalf("want cached read/create/update and one fresh read; cached=%+v fresh=%+v", cached, fresh) + } + + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if label, ok := actual.Labels[constants.DevWorkspaceIDLabel]; !ok || label != testID { + t.Fatalf("workspace ID label was not restored: labels=%v", actual.Labels) + } + if actual.UID != existing.UID || actual.Spec.ClusterIP != existing.Spec.ClusterIP { + t.Fatalf("Service identity or ClusterIP changed: uid=%q clusterIP=%q", actual.UID, actual.Spec.ClusterIP) + } + if cached.lastUpdateResourceVersion != existing.ResourceVersion { + t.Fatalf("Service update did not preserve the existing resourceVersion: got %q, want %q", cached.lastUpdateResourceVersion, existing.ResourceVersion) + } + + if err := HandleKubernetesComponents(wksp, api); err != nil { + t.Fatalf("second sync did not converge: %v", err) + } + if cached.creates != 1 || cached.updates != 1 || cached.deletes != 0 || fresh.serviceGets != 1 { + t.Fatalf("converged sync wrote or reread the Service: cached=%+v fresh=%+v", cached, fresh) + } +} + +// Generated by Codex +func TestHandleKubernetesComponentsFailsHiddenForeignServiceCollision(t *testing.T) { + if err := InitializeDeserializer(testScheme); err != nil { + t.Fatal(err) + } + defer func() { decoder = nil }() + + expectedWorkspaceOwner := metav1.OwnerReference{ + APIVersion: "workspace.devfile.io/v1alpha2", + Kind: "DevWorkspace", + Name: testDevWorkspaceName, + UID: testDevWorkspaceUID, + } + foreignControllerOwner := metav1.OwnerReference{APIVersion: "apps/v1", Kind: "Deployment", Name: "foreign", UID: "foreign-controller"} + foreignControllerOwner.Controller = ptr.To(true) + for _, tc := range []struct { + name string + owners []metav1.OwnerReference + }{ + {name: "no expected owner"}, + {name: "unexpected controller owner", owners: []metav1.OwnerReference{expectedWorkspaceOwner, foreignControllerOwner}}, + } { + t.Run(tc.name, func(t *testing.T) { + ctx := context.Background() + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: testNamespace, UID: "foreign-service", OwnerReferences: tc.owners}, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}, + } + backing := fake.NewClientBuilder().WithScheme(testScheme).WithObjects(foreign).Build() + cached := &serviceGetCountingClient{Client: backing, hideUnlabeledServices: true} + fresh := &serviceGetCountingClient{Client: backing} + api := sync.ClusterAPI{Client: cached, NonCachingClient: fresh, Scheme: testScheme, Logger: testr.New(t), Ctx: ctx} + wksp := &common.DevWorkspaceWithConfig{DevWorkspace: testDevWorkspace.DeepCopy()} + wksp.Spec.Template.Components = append(wksp.Spec.Template.Components, serviceComponent(`{"apiVersion":"v1","kind":"Service","metadata":{"name":"api"},"spec":{"selector":{"app":"mine"},"ports":[{"port":8080}]}}`)) + + err := HandleKubernetesComponents(wksp, api) + var fail *dwerrors.FailError + var unrecoverable *sync.UnrecoverableSyncError + if !errors.As(err, &fail) || !errors.As(err, &unrecoverable) { + t.Fatalf("want permanent sync failure for foreign Service, got %v", err) + } + if cached.serviceGets != 2 || fresh.serviceGets != 1 { + t.Fatalf("want cache miss and one authoritative read; cached=%+v fresh=%+v", cached, fresh) + } + if cached.creates != 1 || cached.updates != 0 || cached.deletes != 0 || fresh.updates != 0 || fresh.deletes != 0 { + t.Fatalf("foreign collision caused unexpected writes: cached=%+v fresh=%+v", cached, fresh) + } + + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatalf("foreign Service was deleted: %v", err) + } + if !reflect.DeepEqual(foreign, actual) { + t.Fatalf("foreign Service was modified:\nwant: %#v\n got: %#v", foreign, actual) + } + }) + } +} + +func serviceComponent(inline string) dw.Component { + return dw.Component{ + Name: "test-service", + ComponentUnion: dw.ComponentUnion{ + Kubernetes: &dw.KubernetesComponent{ + K8sLikeComponent: dw.K8sLikeComponent{ + DeployByDefault: ptr.To(true), + K8sLikeComponentLocation: dw.K8sLikeComponentLocation{Inlined: inline}, + }, + }, + }, + } +} + +type serviceGetCountingClient struct { + client.Client + serviceGets int + hideUnlabeledServices bool + creates, updates, deletes int + lastUpdateResourceVersion string +} + +func (c *serviceGetCountingClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + service, isService := obj.(*corev1.Service) + if isService { + c.serviceGets++ + } + if err := c.Client.Get(ctx, key, obj, opts...); err != nil { + return err + } + if isService && c.hideUnlabeledServices { + if _, labeled := service.Labels[constants.DevWorkspaceIDLabel]; !labeled { + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + } + } + return nil +} + +// Generated by Codex +func (c *serviceGetCountingClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.creates++ + } + return c.Client.Create(ctx, obj, opts...) +} + +// Generated by Codex +func (c *serviceGetCountingClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.updates++ + c.lastUpdateResourceVersion = obj.GetResourceVersion() + } + return c.Client.Update(ctx, obj, opts...) +} + +// Generated by Codex +func (c *serviceGetCountingClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.deletes++ + } + return c.Client.Delete(ctx, obj, opts...) +} + func TestSecretAndConfigMapProvisioning(t *testing.T) { if err := InitializeDeserializer(testScheme); err != nil { t.Fatalf("Unexpected error: %s", err) diff --git a/pkg/library/status/check.go b/pkg/library/status/check.go index 55dd18781..63b304724 100644 --- a/pkg/library/status/check.go +++ b/pkg/library/status/check.go @@ -1,5 +1,4 @@ -// -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -11,7 +10,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// package status @@ -21,14 +19,15 @@ import ( "regexp" "strings" - "github.com/devfile/devworkspace-operator/pkg/common" - "github.com/devfile/devworkspace-operator/pkg/constants" - "github.com/devfile/devworkspace-operator/pkg/infrastructure" - "github.com/devfile/devworkspace-operator/pkg/provision/sync" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/fields" k8sclient "sigs.k8s.io/controller-runtime/pkg/client" + + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" ) var ( @@ -152,11 +151,10 @@ func CheckPodEvents(pod *corev1.Pod, workspaceID string, ignoredEvents []string, continue } - // On OpenShift, it's possible see "FailedMount" events when using a routingClass that depends on the service-ca - // operator. To avoid this, we always ignore FailedMount events if the message refers to the DWO-provisioned volume + // Serving certificate Secrets may arrive after the pod while service-ca provisions them. if infrastructure.IsOpenShift() && ev.Reason == "FailedMount" && - strings.Contains(ev.Message, common.ServingCertVolumeName(common.ServiceName(workspaceID))) { + isServingCertMountFailure(pod, workspaceID, ev.Message) { continue } @@ -180,6 +178,20 @@ func CheckPodEvents(pod *corev1.Pod, workspaceID string, ignoredEvents []string, return "", nil } +func isServingCertMountFailure(pod *corev1.Pod, workspaceID, message string) bool { + if strings.Contains(message, common.ServingCertVolumeName(common.ServiceName(workspaceID))) { + return true + } + for _, volume := range pod.Spec.Volumes { + if volume.Secret != nil && volume.Secret.SecretName != "" && + volume.Name == common.ServingCertVolumeName(volume.Secret.SecretName) && + strings.Contains(message, fmt.Sprintf("volume %q", volume.Name)) { + return true + } + } + return false +} + // getConcisePostStartFailureMessage tries to parse the Kubelet's verbose message // for a PostStartHookError into a more user-friendly one. func getConcisePostStartFailureMessage(kubeletMsg string) string { diff --git a/pkg/library/status/check_test.go b/pkg/library/status/check_test.go index b9eabae03..989377e91 100644 --- a/pkg/library/status/check_test.go +++ b/pkg/library/status/check_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -14,9 +14,202 @@ package status import ( + "context" + "fmt" "testing" + + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + "github.com/devfile/devworkspace-operator/pkg/infrastructure" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" ) +func TestCheckPodEvents(t *testing.T) { + const ( + workspaceID = "workspace-id" + podName = "workspace-pod" + namespace = "workspace-namespace" + aggregateSecret = "workspace-id-service" + aggregateVolume = "devworkspace-serving-cert-workspace-id-service" + discoverableSecret = "api" + discoverableVolume = "devworkspace-serving-cert-api" + longSecret = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + longVolume = "devworkspace-cert-e33cdf9c7f7120b98e8c" + ) + + secretVolume := func(name, secretName string) corev1.Volume { + return corev1.Volume{ + Name: name, + VolumeSource: corev1.VolumeSource{ + Secret: &corev1.SecretVolumeSource{SecretName: secretName}, + }, + } + } + failedMount := func(volumeName string, count int32, seriesCount *int32) corev1.Event { + series := (*corev1.EventSeries)(nil) + if seriesCount != nil { + series = &corev1.EventSeries{Count: *seriesCount} + } + return corev1.Event{ + ObjectMeta: metav1.ObjectMeta{Name: "failed-mount", Namespace: namespace}, + InvolvedObject: corev1.ObjectReference{ + Kind: "Pod", + Name: podName, + }, + Reason: "FailedMount", + Message: fmt.Sprintf("MountVolume.SetUp failed for volume %q: secret not found", volumeName), + Count: count, + Series: series, + } + } + + count2, count3 := int32(2), int32(3) + tests := []struct { + name string + infrastructure infrastructure.Type + event corev1.Event + volumes []corev1.Volume + wantFailure bool + }{ + { + name: "aggregate serving certificate remains ignored on OpenShift", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(aggregateVolume, 3, nil), + volumes: []corev1.Volume{secretVolume(aggregateVolume, aggregateSecret)}, + }, + { + name: "discoverable serving certificate is ignored on OpenShift", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(discoverableVolume, 3, nil), + volumes: []corev1.Volume{secretVolume(discoverableVolume, discoverableSecret)}, + }, + { + name: "hashed long serving certificate volume is ignored on OpenShift", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(longVolume, 3, nil), + volumes: []corev1.Volume{secretVolume(longVolume, longSecret)}, + }, + { + name: "unrelated Secret volume remains fatal", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount("user-secret", 3, nil), + volumes: []corev1.Volume{secretVolume("user-secret", "user-secret")}, + wantFailure: true, + }, + { + name: "similar volume name is not exempted", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(discoverableVolume+"-extra", 3, nil), + volumes: []corev1.Volume{secretVolume(discoverableVolume, discoverableSecret)}, + wantFailure: true, + }, + { + name: "absent pod volume is not exempted", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(discoverableVolume, 3, nil), + wantFailure: true, + }, + { + name: "volume mapped to another Secret is not exempted", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(discoverableVolume, 3, nil), + volumes: []corev1.Volume{secretVolume(discoverableVolume, "other-secret")}, + wantFailure: true, + }, + { + name: "volume without a Secret source is not exempted", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(discoverableVolume, 3, nil), + volumes: []corev1.Volume{{Name: discoverableVolume}}, + wantFailure: true, + }, + { + name: "volume with an empty Secret name is not exempted", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount(discoverableVolume, 3, nil), + volumes: []corev1.Volume{secretVolume(discoverableVolume, "")}, + wantFailure: true, + }, + { + name: "generated certificate failure remains fatal on Kubernetes", + infrastructure: infrastructure.Kubernetes, + event: failedMount(discoverableVolume, 3, nil), + volumes: []corev1.Volume{secretVolume(discoverableVolume, discoverableSecret)}, + wantFailure: true, + }, + { + name: "other unrecoverable event remains fatal on OpenShift", + infrastructure: infrastructure.OpenShiftv4, + event: corev1.Event{ + ObjectMeta: metav1.ObjectMeta{Name: "failed-scheduling", Namespace: namespace}, + InvolvedObject: corev1.ObjectReference{Kind: "Pod", Name: podName}, + Reason: "FailedScheduling", + Message: "no nodes available", + }, + volumes: []corev1.Volume{secretVolume(discoverableVolume, discoverableSecret)}, + wantFailure: true, + }, + { + name: "legacy Count below threshold remains recoverable", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount("user-secret", 2, nil), + wantFailure: false, + }, + { + name: "legacy Count at threshold is fatal", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount("user-secret", 3, nil), + wantFailure: true, + }, + { + name: "Series Count takes precedence below threshold", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount("user-secret", 3, &count2), + wantFailure: false, + }, + { + name: "Series Count at threshold is fatal", + infrastructure: infrastructure.OpenShiftv4, + event: failedMount("user-secret", 1, &count3), + wantFailure: true, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + infrastructure.InitializeForTesting(tt.infrastructure) + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + kubeClient := fake.NewClientBuilder(). + WithScheme(scheme). + WithIndex(&corev1.Event{}, "involvedObject.name", func(obj client.Object) []string { + return []string{obj.(*corev1.Event).InvolvedObject.Name} + }). + WithObjects(&tt.event). + Build() + clusterAPI := sync.ClusterAPI{Client: kubeClient, Ctx: context.Background()} + pod := &corev1.Pod{ + ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace}, + Spec: corev1.PodSpec{Volumes: tt.volumes}, + } + + msg, err := CheckPodEvents(pod, workspaceID, nil, clusterAPI) + if err != nil { + t.Fatalf("CheckPodEvents() error = %v", err) + } + if gotFailure := msg != ""; gotFailure != tt.wantFailure { + t.Errorf("CheckPodEvents() message = %q, want failure %t", msg, tt.wantFailure) + } + }) + } +} + func TestGetConcisePostStartFailureMessage(t *testing.T) { tests := []struct { name string diff --git a/pkg/provision/storage/asyncstorage/service_test.go b/pkg/provision/storage/asyncstorage/service_test.go new file mode 100644 index 000000000..beb08f6a9 --- /dev/null +++ b/pkg/provision/storage/asyncstorage/service_test.go @@ -0,0 +1,205 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package asyncstorage + +import ( + "context" + "errors" + "reflect" + "testing" + + "github.com/go-logr/logr" + appsv1 "k8s.io/api/apps/v1" + corev1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/utils/ptr" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" + + "github.com/devfile/devworkspace-operator/pkg/constants" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" +) + +// Generated by Codex +func TestSyncWorkspaceSyncServiceRepairsHiddenServiceWithEmptyWorkspaceID(t *testing.T) { + ctx := context.Background() + scheme := runtime.NewScheme() + if err := appsv1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + deployment := &appsv1.Deployment{ + ObjectMeta: metav1.ObjectMeta{Name: asyncServerDeploymentName, Namespace: "ns", UID: "async-deployment"}, + Spec: appsv1.DeploymentSpec{Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"app": "async-storage"}}}, + } + desired := getWorkspaceSyncServiceSpec(deployment) + existing := desired.DeepCopy() + existing.UID = "existing-service" + existing.ResourceVersion = "17" + existing.Spec.ClusterIP = "10.0.0.21" + delete(existing.Labels, constants.DevWorkspaceIDLabel) + if err := controllerutil.SetOwnerReference(deployment, existing, scheme); err != nil { + t.Fatal(err) + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(existing).Build() + cached := &asyncServiceCountingClient{Client: backing, hideUnlabeledServices: true} + fresh := &asyncServiceCountingClient{Client: backing} + api := sync.ClusterAPI{Client: cached, NonCachingClient: fresh, Scheme: scheme, Logger: logr.Discard(), Ctx: ctx} + + service, err := SyncWorkspaceSyncServiceToCluster(deployment, api) + if !errors.Is(err, NotReadyError) { + t.Fatalf("want not-ready while repairing Service, got service=%#v err=%v", service, err) + } + if service != nil { + t.Fatalf("want nil Service until the update is observed, got %#v", service) + } + if cached.gets != 1 || fresh.gets != 1 || cached.creates != 1 || cached.updates != 1 || cached.deletes != 0 { + t.Fatalf("want cached create/update and one fresh read; cached=%+v fresh=%+v", cached, fresh) + } + + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if label, ok := actual.Labels[constants.DevWorkspaceIDLabel]; !ok || label != "" { + t.Fatalf("empty workspace ID label was not restored: labels=%v", actual.Labels) + } + if actual.UID != existing.UID || actual.Spec.ClusterIP != existing.Spec.ClusterIP { + t.Fatalf("Service identity or ClusterIP changed: uid=%q clusterIP=%q", actual.UID, actual.Spec.ClusterIP) + } + if cached.lastUpdateResourceVersion != existing.ResourceVersion { + t.Fatalf("Service update did not preserve the existing resourceVersion: got %q, want %q", cached.lastUpdateResourceVersion, existing.ResourceVersion) + } + if len(actual.OwnerReferences) != 1 || actual.OwnerReferences[0].UID != deployment.UID || actual.OwnerReferences[0].Kind != "Deployment" { + t.Fatalf("expected async Deployment owner reference to remain: %#v", actual.OwnerReferences) + } + + service, err = SyncWorkspaceSyncServiceToCluster(deployment, api) + if err != nil { + t.Fatalf("second sync did not converge: %v", err) + } + if service == nil || service.UID != existing.UID || service.Spec.ClusterIP != existing.Spec.ClusterIP { + t.Fatalf("second sync returned unexpected Service: %#v", service) + } + if cached.gets != 2 || fresh.gets != 1 || cached.creates != 1 || cached.updates != 1 || cached.deletes != 0 { + t.Fatalf("converged sync wrote or reread the Service: cached=%+v fresh=%+v", cached, fresh) + } +} + +// Generated by Codex +func TestSyncWorkspaceSyncServiceRejectsForeignHiddenService(t *testing.T) { + ctx := context.Background() + scheme := runtime.NewScheme() + if err := appsv1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + deployment := &appsv1.Deployment{ + ObjectMeta: metav1.ObjectMeta{Name: asyncServerDeploymentName, Namespace: "ns", UID: "async-deployment"}, + Spec: appsv1.DeploymentSpec{Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"app": "async-storage"}}}, + } + foreignController := metav1.OwnerReference{APIVersion: "apps/v1", Kind: "Deployment", Name: "foreign", UID: "foreign-deployment", Controller: ptr.To(true)} + foreign := &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: asyncServerServiceName, + Namespace: "ns", + UID: "foreign-service", + ResourceVersion: "23", + Labels: map[string]string{"app.kubernetes.io/name": "async-storage"}, + OwnerReferences: []metav1.OwnerReference{foreignController}, + }, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}, + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(foreign).Build() + cached := &asyncServiceCountingClient{Client: backing, hideUnlabeledServices: true} + fresh := &asyncServiceCountingClient{Client: backing} + api := sync.ClusterAPI{Client: cached, NonCachingClient: fresh, Scheme: scheme, Logger: logr.Discard(), Ctx: ctx} + + _, err := SyncWorkspaceSyncServiceToCluster(deployment, api) + var unrecoverable *sync.UnrecoverableSyncError + if !errors.As(err, &unrecoverable) { + t.Fatalf("want permanent sync failure for foreign Service, got %v", err) + } + if cached.gets != 1 || fresh.gets != 1 { + t.Fatalf("want cache miss and one authoritative read; cached=%+v fresh=%+v", cached, fresh) + } + if cached.creates != 1 || cached.updates != 0 || cached.deletes != 0 || fresh.updates != 0 || fresh.deletes != 0 { + t.Fatalf("foreign collision caused unexpected writes: cached=%+v fresh=%+v", cached, fresh) + } + + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatalf("foreign Service was deleted: %v", err) + } + if !reflect.DeepEqual(foreign, actual) { + t.Fatalf("foreign Service was modified:\nwant: %#v\n got: %#v", foreign, actual) + } +} + +// Generated by Codex +type asyncServiceCountingClient struct { + client.Client + gets, creates, updates, deletes int + hideUnlabeledServices bool + lastUpdateResourceVersion string +} + +// Generated by Codex +func (c *asyncServiceCountingClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.gets++ + } + if err := c.Client.Get(ctx, key, obj, opts...); err != nil { + return err + } + if _, isService := obj.(*corev1.Service); isService && c.hideUnlabeledServices { + if _, labeled := obj.GetLabels()[constants.DevWorkspaceIDLabel]; !labeled { + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + } + } + return nil +} + +// Generated by Codex +func (c *asyncServiceCountingClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.creates++ + } + return c.Client.Create(ctx, obj, opts...) +} + +// Generated by Codex +func (c *asyncServiceCountingClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.updates++ + c.lastUpdateResourceVersion = obj.GetResourceVersion() + } + return c.Client.Update(ctx, obj, opts...) +} + +// Generated by Codex +func (c *asyncServiceCountingClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error { + if _, ok := obj.(*corev1.Service); ok { + c.deletes++ + } + return c.Client.Delete(ctx, obj, opts...) +} diff --git a/pkg/provision/sync/diff.go b/pkg/provision/sync/diff.go index 7b6f68287..69307489a 100644 --- a/pkg/provision/sync/diff.go +++ b/pkg/provision/sync/diff.go @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -18,7 +18,6 @@ import ( "sort" "strings" - "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" routev1 "github.com/openshift/api/route/v1" @@ -31,6 +30,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/utils/pointer" crclient "sigs.k8s.io/controller-runtime/pkg/client" + + "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" ) // diffFunc represents a function that compares a spec object against the corresponding cluster object and @@ -71,7 +72,7 @@ func metadataDiffFunc(spec, cluster crclient.Object) (delete, update bool) { } clusterLabels := cluster.GetLabels() for k, v := range spec.GetLabels() { - if clusterLabels[k] != v { + if cv, ok := clusterLabels[k]; !ok || cv != v { return false, true } } diff --git a/pkg/provision/sync/diff_test.go b/pkg/provision/sync/diff_test.go index 62946fac4..2be1fde1e 100644 --- a/pkg/provision/sync/diff_test.go +++ b/pkg/provision/sync/diff_test.go @@ -229,3 +229,25 @@ func TestDeploymentFullDiff_ExternalLabelsNoUpdate(t *testing.T) { t.Error("deployment diff should not trigger update when only external labels are added to deployment and pod template metadata") } } + +// Generated by Codex +func TestMetadataDiffRequiresEmptyLabelPresence(t *testing.T) { + desired := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Labels: map[string]string{"workspace": ""}}} + for _, scenario := range []struct { + name string + labels map[string]string + wantUpdate bool + }{ + {name: "missing", wantUpdate: true}, + {name: "present empty", labels: map[string]string{"workspace": ""}}, + {name: "present nonempty", labels: map[string]string{"workspace": "other"}, wantUpdate: true}, + } { + t.Run(scenario.name, func(t *testing.T) { + existing := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Labels: scenario.labels}} + del, update := metadataDiffFunc(desired, existing) + if del || update != scenario.wantUpdate { + t.Fatalf("want update=%t, got delete=%t update=%t", scenario.wantUpdate, del, update) + } + }) + } +} diff --git a/pkg/provision/sync/service.go b/pkg/provision/sync/service.go new file mode 100644 index 000000000..e2ca98565 --- /dev/null +++ b/pkg/provision/sync/service.go @@ -0,0 +1,99 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package sync + +import ( + "fmt" + + corev1 "k8s.io/api/core/v1" + k8sErrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "sigs.k8s.io/controller-runtime/pkg/client" + + "github.com/devfile/devworkspace-operator/pkg/constants" +) + +// SyncRoutingServiceWithCluster synchronizes a routing Service after a fresh ownership check. +// It falls back to the cached client when no non-caching client is configured. +func SyncRoutingServiceWithCluster(service *corev1.Service, api ClusterAPI) (client.Object, error) { + reader := api.Client + // Routing Services can be hidden by the cache when their workspace label is missing. + if api.NonCachingClient != nil { + reader = api.NonCachingClient + } + existing := &corev1.Service{} + err := reader.Get(api.Ctx, client.ObjectKeyFromObject(service), existing) + if err == nil && serviceOwnershipConflict(service, existing) { + return nil, &UnrecoverableSyncError{&ServiceConflictError{EndpointName: service.Name, WorkspaceName: existing.Labels[constants.DevWorkspaceNameLabel]}} + } + return syncObjectAfterRead(service, existing, err, api) +} + +// serviceOwnershipConflict reports whether the existing Service belongs to a different owner or +// workspace than the desired Service. +func serviceOwnershipConflict(desired, existing *corev1.Service) bool { + owner := metav1.GetControllerOf(desired) + existingOwner := metav1.GetControllerOf(existing) + if owner != nil { + return existingOwner == nil || owner.UID != existingOwner.UID + } + return desired.Labels[constants.DevWorkspaceIDLabel] == "" || + existing.Labels[constants.DevWorkspaceIDLabel] != desired.Labels[constants.DevWorkspaceIDLabel] +} + +// Generated by Codex +func recoverServiceCreateCollision(service *corev1.Service, retry *NotInSyncError, api ClusterAPI) (client.Object, error) { + if api.NonCachingClient == nil { + return nil, retry + } + existing := &corev1.Service{} + err := api.NonCachingClient.Get(api.Ctx, client.ObjectKeyFromObject(service), existing) + if k8sErrors.IsNotFound(err) { + return nil, retry + } + if err != nil { + return nil, err + } + + owners := service.OwnerReferences + owned := len(owners) > 0 + for _, owner := range owners { + if owner.UID == "" || !containsOwnerRef(owner, existing.OwnerReferences) { + owned = false + break + } + } + if controller := metav1.GetControllerOf(existing); controller != nil && !containsOwnerRef(*controller, owners) { + owned = false + } + if !owned { + return nil, &UnrecoverableSyncError{fmt.Errorf("Service %s already exists and is not owned by the expected owner", client.ObjectKeyFromObject(service))} + } + return syncObjectAfterRead(service, existing, nil, api) +} + +// ServiceConflictError reports a discoverable Service owned by another workspace. +// Generated by Codex +type ServiceConflictError struct { + EndpointName string + WorkspaceName string +} + +// Generated by Codex +func (e *ServiceConflictError) Error() string { + if e.WorkspaceName == "" { + return fmt.Sprintf("discoverable endpoint '%s' is already in use by another workspace", e.EndpointName) + } + return fmt.Sprintf("discoverable endpoint '%s' is already in use by workspace '%s'", e.EndpointName, e.WorkspaceName) +} diff --git a/pkg/provision/sync/service_collision_test.go b/pkg/provision/sync/service_collision_test.go new file mode 100644 index 000000000..271cc5013 --- /dev/null +++ b/pkg/provision/sync/service_collision_test.go @@ -0,0 +1,264 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package sync + +import ( + "context" + "errors" + "reflect" + "strings" + "testing" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/utils/ptr" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + "sigs.k8s.io/controller-runtime/pkg/client/interceptor" + + "github.com/devfile/devworkspace-operator/pkg/constants" +) + +// Generated by Codex +func collisionServices() (desired, existing *corev1.Service) { + desired = &corev1.Service{ + ObjectMeta: metav1.ObjectMeta{ + Name: "api", Namespace: "ns", + Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, + OwnerReferences: []metav1.OwnerReference{{APIVersion: "workspace.devfile.io/v1alpha2", Kind: "DevWorkspace", Name: "workspace", UID: "workspace-uid"}}, + }, + Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "mine"}, Ports: []corev1.ServicePort{{Port: 8080}}}, + } + existing = desired.DeepCopy() + existing.Labels = nil + existing.UID = "existing-service" + existing.ResourceVersion = "7" + existing.Spec.ClusterIP = "10.0.0.1" + return desired, existing +} + +// Generated by Codex +func TestGenericServiceCollisionRejectsForeignOwnership(t *testing.T) { + for _, scenario := range []string{"no existing refs", "no desired refs", "mismatched UID", "mismatched name", "mismatched kind", "empty desired UID", "missing second ref", "unexpected controller", "matching label with unexpected controller"} { + t.Run(scenario, func(t *testing.T) { + desired, existing := collisionServices() + switch scenario { + case "no existing refs": + existing.OwnerReferences = nil + case "no desired refs": + desired.OwnerReferences = nil + case "mismatched UID": + existing.OwnerReferences[0].UID = "foreign" + case "mismatched name": + existing.OwnerReferences[0].Name = "foreign" + case "mismatched kind": + existing.OwnerReferences[0].Kind = "Deployment" + case "empty desired UID": + desired.OwnerReferences[0].UID = "" + existing.OwnerReferences[0].UID = "" + case "missing second ref": + desired.OwnerReferences = append(desired.OwnerReferences, metav1.OwnerReference{Kind: "Deployment", Name: "async", UID: "async-uid"}) + case "unexpected controller", "matching label with unexpected controller": + existing.OwnerReferences = append(existing.OwnerReferences, metav1.OwnerReference{Kind: "Deployment", Name: "foreign", UID: "foreign-uid", Controller: ptr.To(true)}) + } + if scenario == "matching label with unexpected controller" { + existing.Labels = desired.Labels + } + backing := fake.NewClientBuilder().WithObjects(existing).Build() + // A stale filtered cache may miss even a Service whose label now matches. + stale := interceptor.NewClient(backing, interceptor.Funcs{Get: func(_ context.Context, _ client.WithWatch, key client.ObjectKey, _ client.Object, _ ...client.GetOption) error { + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + }}) + cached := &countingServiceClient{Client: stale} + fresh := &countingServiceClient{Client: backing} + _, err := SyncObjectWithCluster(desired, ClusterAPI{Client: cached, NonCachingClient: fresh, Ctx: context.Background(), Logger: logr.Discard()}) + var conflict *UnrecoverableSyncError + if !errors.As(err, &conflict) || !strings.Contains(err.Error(), desired.Name) || !strings.Contains(err.Error(), "Service") { + t.Fatalf("want permanent Service-name conflict, got %v", err) + } + if cached.creates != 1 || fresh.gets != 1 || cached.updates != 0 || cached.deletes != 0 || fresh.creates != 0 || fresh.updates != 0 || fresh.deletes != 0 { + t.Fatalf("foreign collision made unexpected calls: cached=%+v fresh=%+v", cached, fresh) + } + actual := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(actual, existing) { + t.Fatalf("foreign Service changed: %#v", actual) + } + }) + } +} + +// Generated by Codex +func TestGenericServiceCollisionRepairsOwnedService(t *testing.T) { + for _, owner := range []string{"DevWorkspace", "Deployment", "controller"} { + t.Run(owner, func(t *testing.T) { + desired, existing := collisionServices() + if owner == "Deployment" { + desired.OwnerReferences[0] = metav1.OwnerReference{APIVersion: "apps/v1", Kind: "Deployment", Name: "async", UID: "deployment-uid", Controller: ptr.To(false)} + desired.Labels[constants.DevWorkspaceIDLabel] = "" + } + if owner == "controller" { + desired.OwnerReferences[0].Controller = ptr.To(true) + } + existing.OwnerReferences = append([]metav1.OwnerReference(nil), desired.OwnerReferences...) + backing := fake.NewClientBuilder().WithObjects(existing).Build() + cached := &countingServiceClient{Client: filteredServiceClient{backing}} + fresh := &countingServiceClient{Client: backing} + api := ClusterAPI{Client: cached, NonCachingClient: fresh, Ctx: context.Background(), Logger: logr.Discard()} + _, err := SyncObjectWithCluster(desired, api) + var pending *NotInSyncError + if !errors.As(err, &pending) || pending.Reason != UpdatedObjectReason { + t.Fatalf("want in-place label repair, got %v", err) + } + sent := cached.lastUpdate.(*corev1.Service) + if sent.UID != existing.UID || sent.ResourceVersion != existing.ResourceVersion || sent.Spec.ClusterIP != existing.Spec.ClusterIP { + t.Fatalf("update lost Service identity: %#v", sent) + } + actual := &corev1.Service{} + if err := backing.Get(api.Ctx, client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + label, present := actual.Labels[constants.DevWorkspaceIDLabel] + if !present || label != desired.Labels[constants.DevWorkspaceIDLabel] || actual.UID != existing.UID || actual.Spec.ClusterIP != existing.Spec.ClusterIP { + t.Fatalf("owned Service was not repaired: %#v", actual) + } + obj, err := SyncObjectWithCluster(desired, api) + if err != nil || obj == nil { + t.Fatalf("second call did not converge: obj=%v err=%v", obj, err) + } + if cached.gets != 2 || cached.creates != 1 || cached.updates != 1 || cached.deletes != 0 || fresh.gets != 1 || fresh.updates != 0 { + t.Fatalf("unexpected recovery calls: cached=%+v fresh=%+v", cached, fresh) + } + }) + } +} + +// Generated by Codex +func TestGenericServiceCollisionOutcomes(t *testing.T) { + readFailure := errors.New("fresh read failed") + for _, scenario := range []string{"already synchronized", "disappeared", "read error", "canceled", "update conflict", "no fresh client"} { + t.Run(scenario, func(t *testing.T) { + desired, existing := collisionServices() + if scenario == "already synchronized" { + // The Service became cache-visible after the cached miss. + existing.Labels = desired.Labels + } + backing := fake.NewClientBuilder().WithObjects(existing).Build() + ctx, cancel := context.WithCancel(context.Background()) + defer cancel() + stale := interceptor.NewClient(backing, interceptor.Funcs{ + Get: func(_ context.Context, _ client.WithWatch, key client.ObjectKey, _ client.Object, _ ...client.GetOption) error { + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + }, + Create: func(ctx context.Context, cl client.WithWatch, obj client.Object, opts ...client.CreateOption) error { + err := cl.Create(ctx, obj, opts...) + if scenario == "canceled" { + cancel() + } + return err + }, + Update: func(ctx context.Context, cl client.WithWatch, obj client.Object, opts ...client.UpdateOption) error { + if scenario == "update conflict" { + return apierrors.NewConflict(schema.GroupResource{Resource: "services"}, obj.GetName(), errors.New("changed")) + } + return cl.Update(ctx, obj, opts...) + }, + }) + reader := interceptor.NewClient(backing, interceptor.Funcs{Get: func(ctx context.Context, cl client.WithWatch, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + switch scenario { + case "disappeared": + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + case "read error": + return readFailure + case "canceled": + return ctx.Err() + default: + return cl.Get(ctx, key, obj, opts...) + } + }}) + cached := &countingServiceClient{Client: stale} + fresh := &countingServiceClient{Client: reader} + api := ClusterAPI{Client: cached, NonCachingClient: fresh, Ctx: ctx, Logger: logr.Discard()} + if scenario == "no fresh client" { + api.NonCachingClient = nil + } + obj, err := SyncObjectWithCluster(desired, api) + switch scenario { + case "already synchronized": + if err != nil || obj == nil || !reflect.DeepEqual(obj, existing) { + t.Fatalf("want nonnil fresh Service, got obj=%v err=%v", obj, err) + } + case "read error": + if !errors.Is(err, readFailure) { + t.Fatalf("want fresh read error, got %v", err) + } + case "canceled": + if !errors.Is(err, context.Canceled) { + t.Fatalf("want cancellation, got %v", err) + } + default: + var pending *NotInSyncError + if !errors.As(err, &pending) || pending.Reason != NeedRetryReason { + t.Fatalf("want retry, got %v", err) + } + } + wantReads, wantUpdates := 1, 0 + if scenario == "no fresh client" { + wantReads = 0 + } + if scenario == "update conflict" { + wantUpdates = 1 + } + if cached.creates != 1 || fresh.gets != wantReads || cached.updates != wantUpdates || cached.deletes != 0 || fresh.creates != 0 || fresh.updates != 0 || fresh.deletes != 0 { + t.Fatalf("unexpected collision calls: cached=%+v fresh=%+v", cached, fresh) + } + actual := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if !reflect.DeepEqual(actual, existing) { + t.Fatalf("Service changed: %#v", actual) + } + }) + } +} + +// Generated by Codex +func TestGenericNonServiceCollisionKeepsUpdateFallback(t *testing.T) { + existing := &corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "config", Namespace: "ns"}, Data: map[string]string{"key": "old"}} + desired := existing.DeepCopy() + desired.Data["key"] = "new" + backing := fake.NewClientBuilder().WithObjects(existing).Build() + stale := interceptor.NewClient(backing, interceptor.Funcs{Get: func(_ context.Context, _ client.WithWatch, key client.ObjectKey, _ client.Object, _ ...client.GetOption) error { + return apierrors.NewNotFound(schema.GroupResource{Resource: "configmaps"}, key.Name) + }}) + fresh := &countingServiceClient{Client: backing} + _, err := SyncObjectWithCluster(desired, ClusterAPI{Client: stale, NonCachingClient: fresh, Ctx: context.Background(), Logger: logr.Discard()}) + var pending *NotInSyncError + if !errors.As(err, &pending) || pending.Reason != UpdatedObjectReason { + t.Fatalf("want existing non-Service update behavior, got %v", err) + } + actual := &corev1.ConfigMap{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if actual.Data["key"] != "new" || fresh.gets != 0 { + t.Fatalf("non-Service collision changed behavior: actual=%v freshGets=%d", actual, fresh.gets) + } +} diff --git a/pkg/provision/sync/service_test.go b/pkg/provision/sync/service_test.go new file mode 100644 index 000000000..3a0fac723 --- /dev/null +++ b/pkg/provision/sync/service_test.go @@ -0,0 +1,347 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package sync + +import ( + "context" + "errors" + "fmt" + "reflect" + "testing" + + "github.com/go-logr/logr" + corev1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/utils/ptr" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + "github.com/devfile/devworkspace-operator/pkg/constants" +) + +// Generated by Codex +func TestSyncDiscoverableServicePreservesForeignService(t *testing.T) { + for _, scenario := range []string{"hidden by cache", "created after precheck", "matching label with foreign owner", "created during synchronization"} { + t.Run(scenario, func(t *testing.T) { + ctx := context.Background() + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + foreign := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "foreign-service"}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}, Ports: []corev1.ServicePort{{Port: 8080}}}} + desired := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, Annotations: map[string]string{constants.DevWorkspaceDiscoverableServiceAnnotation: "true"}, OwnerReferences: []metav1.OwnerReference{{APIVersion: "controller.devfile.io/v1alpha1", Kind: "DevWorkspaceRouting", Name: "routing-mine", UID: "mine-routing", Controller: ptr.To(true)}}}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "mine"}, Ports: []corev1.ServicePort{{Port: 8080}}}} + if scenario != "hidden by cache" { + foreign.Labels = map[string]string{constants.DevWorkspaceIDLabel: "other"} + } + if scenario == "matching label with foreign owner" { + foreign.Labels[constants.DevWorkspaceIDLabel] = "mine" + foreign.OwnerReferences = []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "other-routing", Controller: ptr.To(true)}} + } + backing := fake.NewClientBuilder().WithScheme(scheme).Build() + var cached client.Client = backing + if scenario == "hidden by cache" { + cached = filteredServiceClient{backing} + } + api := ClusterAPI{Client: cached, NonCachingClient: backing, Ctx: ctx, Logger: logr.Discard()} + if scenario == "created during synchronization" { + api.Client = serviceCreateRaceClient{Client: backing, foreign: foreign} + } else if err := backing.Create(ctx, foreign); err != nil { + t.Fatal(err) + } + _, syncErr := SyncRoutingServiceWithCluster(desired, api) + if syncErr == nil { + t.Fatal("expected conflict or retry") + } + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatalf("foreign Service deleted: %v", err) + } + if !reflect.DeepEqual(actual.Spec, foreign.Spec) || !reflect.DeepEqual(actual.Labels, foreign.Labels) || !reflect.DeepEqual(actual.OwnerReferences, foreign.OwnerReferences) { + t.Fatalf("foreign Service modified: %#v", actual) + } + if scenario == "created during synchronization" { + var retry *NotInSyncError + if !errors.As(syncErr, &retry) || retry.Reason != NeedRetryReason { + t.Fatalf("want retry on create race, got %v", syncErr) + } + _, syncErr = SyncRoutingServiceWithCluster(desired, api) + } + var fatal *UnrecoverableSyncError + if !errors.As(syncErr, &fatal) { + t.Fatalf("want permanent Service conflict, got %v", syncErr) + } + }) + } +} + +// Generated by Codex +func TestSyncDiscoverableServiceUpdatesOwnedService(t *testing.T) { + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + existing := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "owned-service", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "mine-routing", Controller: ptr.To(true)}}}, Spec: corev1.ServiceSpec{ClusterIP: "10.0.0.1", Selector: map[string]string{"app": "old"}}} + desired := existing.DeepCopy() + desired.Annotations = map[string]string{constants.DevWorkspaceDiscoverableServiceAnnotation: "true"} + desired.Spec.ClusterIP = "" + desired.Spec.Selector = map[string]string{"app": "mine"} + cl := fake.NewClientBuilder().WithScheme(scheme).WithObjects(existing).Build() + _, err := SyncRoutingServiceWithCluster(desired, ClusterAPI{Client: cl, NonCachingClient: cl, Ctx: context.Background(), Logger: logr.Discard()}) + var pending *NotInSyncError + if !errors.As(err, &pending) { + t.Fatalf("want pending update, got %v", err) + } + actual := &corev1.Service{} + if err := cl.Get(context.Background(), client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if actual.Spec.Selector["app"] != "mine" || actual.Spec.ClusterIP != "10.0.0.1" || actual.UID != "owned-service" { + t.Fatalf("owned Service was not updated in place: %#v", actual) + } +} + +// Generated by Codex +func TestSyncOwnedServiceRestoresMissingWorkspaceLabel(t *testing.T) { + for _, discoverable := range []bool{false, true} { + t.Run(map[bool]string{false: "aggregate", true: "discoverable"}[discoverable], func(t *testing.T) { + ctx := context.Background() + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + existing := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", UID: "owned-service", OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "mine-routing", Controller: ptr.To(true)}}}, Spec: corev1.ServiceSpec{ClusterIP: "10.0.0.1", Selector: map[string]string{"app": "old"}}} + desired := existing.DeepCopy() + desired.UID = "" + desired.Labels = map[string]string{constants.DevWorkspaceIDLabel: "mine"} + desired.Spec.ClusterIP = "" + desired.Spec.Selector = map[string]string{"app": "mine"} + if discoverable { + desired.Annotations = map[string]string{constants.DevWorkspaceDiscoverableServiceAnnotation: "true"} + } + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(existing).Build() + api := ClusterAPI{Client: filteredServiceClient{backing}, NonCachingClient: backing, Ctx: ctx, Logger: logr.Discard()} + _, err := SyncRoutingServiceWithCluster(desired, api) + var pending *NotInSyncError + if !errors.As(err, &pending) || pending.Reason != UpdatedObjectReason { + t.Fatalf("want in-place update, got %v", err) + } + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(existing), actual); err != nil { + t.Fatal(err) + } + if actual.Labels[constants.DevWorkspaceIDLabel] != "mine" || actual.Spec.Selector["app"] != "mine" || actual.Spec.ClusterIP != "10.0.0.1" || actual.UID != "owned-service" { + t.Fatalf("owned Service was not repaired in place: label=%q selector=%q clusterIP=%q uid=%q", actual.Labels[constants.DevWorkspaceIDLabel], actual.Spec.Selector["app"], actual.Spec.ClusterIP, actual.UID) + } + }) + } +} + +// Generated by Codex +func TestSyncAggregateServiceRejectsHiddenForeignService(t *testing.T) { + ctx := context.Background() + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + foreign := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "mine-service", Namespace: "ns", UID: "foreign-service"}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "foreign"}}} + desired := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "mine-service", Namespace: "ns", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}, OwnerReferences: []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "mine-routing", Controller: ptr.To(true)}}}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "mine"}}} + backing := fake.NewClientBuilder().WithScheme(scheme).WithObjects(foreign).Build() + api := ClusterAPI{Client: filteredServiceClient{backing}, NonCachingClient: backing, Ctx: ctx, Logger: logr.Discard()} + _, err := SyncRoutingServiceWithCluster(desired, api) + var fatal *UnrecoverableSyncError + var conflict *ServiceConflictError + if !errors.As(err, &fatal) || !errors.As(err, &conflict) { + t.Fatalf("want typed permanent conflict, got %v", err) + } + actual := &corev1.Service{} + if err := backing.Get(ctx, client.ObjectKeyFromObject(foreign), actual); err != nil { + t.Fatalf("foreign Service deleted: %v", err) + } + if actual.UID != "foreign-service" || actual.Spec.Selector["app"] != "foreign" || len(actual.Labels) != 0 { + t.Fatalf("foreign Service modified: %#v", actual) + } +} + +// Generated by Codex +// filteredServiceClient models the production cache's workspace-label filter. +type filteredServiceClient struct{ client.Client } + +func (c filteredServiceClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + if err := c.Client.Get(ctx, key, obj, opts...); err != nil { + return err + } + _, labeled := obj.GetLabels()[constants.DevWorkspaceIDLabel] + if _, ok := obj.(*corev1.Service); ok && !labeled { + return apierrors.NewNotFound(schema.GroupResource{Resource: "services"}, key.Name) + } + return nil +} + +// Generated by Codex +type serviceCreateRaceClient struct { + client.Client + foreign *corev1.Service +} + +func (c serviceCreateRaceClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error { + if err := c.Client.Create(ctx, c.foreign); err != nil { + return err + } + return c.Client.Create(ctx, obj, opts...) +} + +func TestGenericServiceSyncUsesCachedClient(t *testing.T) { + for _, metadata := range []string{"ordinary", "discoverable", "routing owner"} { + t.Run(metadata, func(t *testing.T) { + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + desired := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns"}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "new"}}} + if metadata == "discoverable" { + desired.Annotations = map[string]string{constants.DevWorkspaceDiscoverableServiceAnnotation: "true"} + } + if metadata == "routing owner" { + desired.OwnerReferences = []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "mine", Controller: ptr.To(true)}} + } + backing := fake.NewClientBuilder().WithScheme(scheme).Build() + cached := &countingServiceClient{Client: backing} + fresh := &countingServiceClient{Client: backing} + _, err := SyncObjectWithCluster(desired, ClusterAPI{Client: cached, NonCachingClient: fresh, Ctx: context.Background(), Logger: logr.Discard()}) + var pending *NotInSyncError + if !errors.As(err, &pending) || pending.Reason != CreatedObjectReason { + t.Fatalf("want created object, got %v", err) + } + if cached.gets != 1 || fresh.gets != 0 || cached.creates != 1 || fresh.creates != 0 { + t.Fatalf("want one cached GET and cached create; cached=%+v fresh=%+v", cached, fresh) + } + existing := desired.DeepCopy() + existing.OwnerReferences = []metav1.OwnerReference{{Kind: "DevWorkspaceRouting", UID: "foreign", Controller: ptr.To(true)}} + existing.Spec.Selector["app"] = "old" + if err := backing.Update(context.Background(), existing); err != nil { + t.Fatal(err) + } + cached.gets = 0 + _, err = SyncObjectWithCluster(desired, ClusterAPI{Client: cached, NonCachingClient: fresh, Ctx: context.Background(), Logger: logr.Discard()}) + if !errors.As(err, &pending) || pending.Reason != UpdatedObjectReason { + t.Fatalf("want generic update regardless of routing ownership, got %v", err) + } + if cached.gets != 1 || fresh.gets != 0 || cached.updates != 1 || fresh.updates != 0 { + t.Fatalf("want one cached GET and cached update; cached=%+v fresh=%+v", cached, fresh) + } + actual := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(desired), actual); err != nil { + t.Fatal(err) + } + if actual.Spec.Selector["app"] != "new" { + t.Fatalf("generic Service update not persisted: %#v", actual) + } + }) + } +} + +func TestRoutingServiceSyncReadsOnceAndWritesThroughCachedClient(t *testing.T) { + for _, freshReader := range []bool{false, true} { + for _, exists := range []bool{false, true} { + name := fmt.Sprintf("fresh=%t/exists=%t", freshReader, exists) + t.Run(name, func(t *testing.T) { + scheme := runtime.NewScheme() + if err := corev1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + desired := &corev1.Service{ObjectMeta: metav1.ObjectMeta{Name: "api", Namespace: "ns", Labels: map[string]string{constants.DevWorkspaceIDLabel: "mine"}}, Spec: corev1.ServiceSpec{Selector: map[string]string{"app": "new"}}} + backing := fake.NewClientBuilder().WithScheme(scheme).Build() + if exists { + existing := desired.DeepCopy() + existing.Spec.Selector["app"] = "old" + existing.Spec.ClusterIP = "10.0.0.1" + if err := backing.Create(context.Background(), existing); err != nil { + t.Fatal(err) + } + } + cached := &countingServiceClient{Client: backing} + fresh := &countingServiceClient{Client: backing} + api := ClusterAPI{Client: cached, Ctx: context.Background(), Logger: logr.Discard()} + if freshReader { + api.NonCachingClient = fresh + } + _, err := SyncRoutingServiceWithCluster(desired, api) + var pending *NotInSyncError + wantReason := CreatedObjectReason + if exists { + wantReason = UpdatedObjectReason + } + if !errors.As(err, &pending) || pending.Reason != wantReason { + t.Fatalf("want %s, got %v", wantReason, err) + } + wantCachedGets, wantFreshGets := 1, 0 + if freshReader { + wantCachedGets, wantFreshGets = 0, 1 + } + wantCreates, wantUpdates := 1, 0 + if exists { + wantCreates, wantUpdates = 0, 1 + } + if cached.gets != wantCachedGets || fresh.gets != wantFreshGets || cached.creates != wantCreates || cached.updates != wantUpdates || fresh.creates != 0 || fresh.updates != 0 { + t.Fatalf("unexpected reads/writes: cached=%+v fresh=%+v", cached, fresh) + } + actual := &corev1.Service{} + if err := backing.Get(context.Background(), client.ObjectKeyFromObject(desired), actual); err != nil { + t.Fatal(err) + } + if actual.Spec.Selector["app"] != "new" || exists && actual.Spec.ClusterIP != "10.0.0.1" { + t.Fatalf("Service not synchronized in place: %#v", actual) + } + cached.gets, fresh.gets = 0, 0 + if _, err := SyncRoutingServiceWithCluster(desired, api); err != nil { + t.Fatalf("second sync did not converge: %v", err) + } + if cached.gets != wantCachedGets || fresh.gets != wantFreshGets || cached.creates != wantCreates || cached.updates != wantUpdates { + t.Fatalf("converged sync reread or wrote Service: cached=%+v fresh=%+v", cached, fresh) + } + }) + } + } +} + +type countingServiceClient struct { + client.Client + gets, creates, updates, deletes int + lastUpdate client.Object +} + +func (c *countingServiceClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error { + c.gets++ + return c.Client.Get(ctx, key, obj, opts...) +} + +func (c *countingServiceClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error { + c.creates++ + return c.Client.Create(ctx, obj, opts...) +} + +func (c *countingServiceClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error { + c.updates++ + c.lastUpdate = obj.DeepCopyObject().(client.Object) + return c.Client.Update(ctx, obj, opts...) +} + +// Generated by Codex +func (c *countingServiceClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error { + c.deletes++ + return c.Client.Delete(ctx, obj, opts...) +} diff --git a/pkg/provision/sync/sync.go b/pkg/provision/sync/sync.go index f8e78b448..91e8e8b72 100644 --- a/pkg/provision/sync/sync.go +++ b/pkg/provision/sync/sync.go @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -18,8 +18,6 @@ import ( "fmt" "reflect" - "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" - "github.com/devfile/devworkspace-operator/pkg/config" "github.com/go-logr/logr" "github.com/google/go-cmp/cmp" routev1 "github.com/openshift/api/route/v1" @@ -31,6 +29,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" crclient "sigs.k8s.io/controller-runtime/pkg/client" + + "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/config" ) // IsRecognizedObject returns whether the provided object kind is recognized by the sync package to support updating @@ -46,17 +47,29 @@ func IsRecognizedObject(specObj crclient.Object) bool { // as required. If specObj is in sync with the cluster, returns the object as it exists on the cluster. Returns a // NotInSyncError if an update is required, UnrecoverableSyncError if object provided is invalid, or generic error // if an unexpected error is encountered +// Generated by Codex func SyncObjectWithCluster(specObj crclient.Object, api ClusterAPI) (crclient.Object, error) { objType := reflect.TypeOf(specObj).Elem() clusterObj := reflect.New(objType).Interface().(crclient.Object) - err := api.Client.Get(api.Ctx, types.NamespacedName{Name: specObj.GetName(), Namespace: specObj.GetNamespace()}, clusterObj) - if err != nil { - if k8sErrors.IsNotFound(err) { + readErr := api.Client.Get(api.Ctx, types.NamespacedName{Name: specObj.GetName(), Namespace: specObj.GetNamespace()}, clusterObj) + obj, err := syncObjectAfterRead(specObj, clusterObj, readErr, api) + if service, ok := specObj.(*corev1.Service); ok { + if retry, ok := err.(*NotInSyncError); ok && retry.Reason == NeedRetryReason && k8sErrors.IsNotFound(readErr) { + return recoverServiceCreateCollision(service, retry, api) + } + } + return obj, err +} + +func syncObjectAfterRead(specObj, clusterObj crclient.Object, readErr error, api ClusterAPI) (crclient.Object, error) { + if readErr != nil { + if k8sErrors.IsNotFound(readErr) { return nil, createObjectGeneric(specObj, api) } - return nil, err + return nil, readErr } + objType := reflect.TypeOf(specObj).Elem() if !isMutableObject(specObj) { // TODO: we could still update labels here, or treat a need to update as a fatal error return clusterObj, nil @@ -143,6 +156,10 @@ func createObjectGeneric(specObj crclient.Object, api ClusterAPI) error { api.Logger.Info("Created object", "kind", reflect.TypeOf(specObj).Elem().String(), "name", specObj.GetName()) return NewNotInSync(specObj, CreatedObjectReason) case k8sErrors.IsAlreadyExists(err): + // Services need a fresh instance to preserve ClusterIP and validate ownership. + if _, ok := specObj.(*corev1.Service); ok { + return NewNotInSync(specObj, NeedRetryReason) + } // Need to try to update the object to address an edge case where removing a labelselector // results in the object not being tracked by the controller's cache. return updateObjectGeneric(specObj, nil, api) diff --git a/pkg/provision/sync/update.go b/pkg/provision/sync/update.go index 3a5b75d7c..064a42e6d 100644 --- a/pkg/provision/sync/update.go +++ b/pkg/provision/sync/update.go @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -48,6 +48,7 @@ func serviceUpdateFunc(spec, cluster crclient.Object) (crclient.Object, error) { specService := spec.DeepCopyObject().(*corev1.Service) clusterService := cluster.(*corev1.Service) specService.ResourceVersion = clusterService.ResourceVersion + specService.UID = clusterService.UID specService.Spec.ClusterIP = clusterService.Spec.ClusterIP return specService, nil } diff --git a/pkg/provision/workspace/routing.go b/pkg/provision/workspace/routing.go index df14d89aa..0ce7450e7 100644 --- a/pkg/provision/workspace/routing.go +++ b/pkg/provision/workspace/routing.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -49,7 +49,9 @@ func SyncRoutingToCluster( clusterRouting := clusterObj.(*v1alpha1.DevWorkspaceRouting) statusMsg := clusterRouting.Status.Message - if clusterRouting.Status.Phase == v1alpha1.RoutingFailed { + // Generated by Codex + if clusterRouting.Status.Phase == v1alpha1.RoutingFailed && + (clusterRouting.Status.ObservedGeneration == 0 || clusterRouting.Status.ObservedGeneration == clusterRouting.Generation) { return nil, nil, statusMsg, &dwerrors.FailError{Message: statusMsg} } if clusterRouting.Status.Phase != v1alpha1.RoutingReady { diff --git a/pkg/provision/workspace/routing_generation_test.go b/pkg/provision/workspace/routing_generation_test.go new file mode 100644 index 000000000..0ef38816b --- /dev/null +++ b/pkg/provision/workspace/routing_generation_test.go @@ -0,0 +1,108 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package workspace + +import ( + "context" + "errors" + "testing" + "time" + + dw "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + "github.com/go-logr/logr" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/pkg/common" + "github.com/devfile/devworkspace-operator/pkg/config" + "github.com/devfile/devworkspace-operator/pkg/dwerrors" + "github.com/devfile/devworkspace-operator/pkg/provision/sync" +) + +// Generated by Codex +func TestSyncRoutingToClusterFailedGenerationBehavior(t *testing.T) { + scheme := runtime.NewScheme() + if err := dw.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + if err := controllerv1alpha1.AddToScheme(scheme); err != nil { + t.Fatal(err) + } + + workspace := &common.DevWorkspaceWithConfig{ + DevWorkspace: &dw.DevWorkspace{ + ObjectMeta: metav1.ObjectMeta{Name: "workspace", Namespace: "test", UID: types.UID("workspace-uid")}, + Spec: dw.DevWorkspaceSpec{RoutingClass: "cluster"}, + Status: dw.DevWorkspaceStatus{DevWorkspaceId: "workspace-id"}, + }, + Config: config.GetConfigForTesting(&controllerv1alpha1.OperatorConfiguration{}), + } + desiredRouting, err := getSpecRouting(workspace, scheme) + if err != nil { + t.Fatal(err) + } + + const message = "endpoint name is already in use" + for _, tc := range []struct { + name string + observedGeneration int64 + wantRetry bool + }{ + {name: "stale failure retries", observedGeneration: 3, wantRetry: true}, + {name: "current failure stays terminal", observedGeneration: 4}, + {name: "legacy failure stays terminal", observedGeneration: 0}, + } { + t.Run(tc.name, func(t *testing.T) { + routing := desiredRouting.DeepCopy() + routing.Generation = 4 + routing.Status = controllerv1alpha1.DevWorkspaceRoutingStatus{ + Phase: controllerv1alpha1.RoutingFailed, + Message: message, + ObservedGeneration: tc.observedGeneration, + } + cl := fake.NewClientBuilder().WithScheme(scheme). + WithStatusSubresource(&controllerv1alpha1.DevWorkspaceRouting{}). + WithObjects(routing).Build() + api := sync.ClusterAPI{Client: cl, Scheme: scheme, Logger: logr.Discard(), Ctx: context.Background()} + + _, _, statusMessage, err := SyncRoutingToCluster(workspace, api) + if tc.wantRetry { + var retryErr *dwerrors.RetryError + if !errors.As(err, &retryErr) { + t.Fatalf("want stale failed routing to retry, got %T: %v", err, err) + } + if retryErr.RequeueAfter != 5*time.Second { + t.Errorf("retry delay = %s, want 5s", retryErr.RequeueAfter) + } + if retryErr.Message != message { + t.Errorf("retry message = %q, want %q", retryErr.Message, message) + } + } else { + var failErr *dwerrors.FailError + if !errors.As(err, &failErr) { + t.Fatalf("want terminal failure, got %T: %v", err, err) + } + if failErr.Message != message { + t.Errorf("failure message = %q, want %q", failErr.Message, message) + } + } + if statusMessage != message { + t.Errorf("status message = %q, want %q", statusMessage, message) + } + }) + } +} diff --git a/pkg/webhook/cluster_roles.go b/pkg/webhook/cluster_roles.go index ef93554c2..347cd12c6 100755 --- a/pkg/webhook/cluster_roles.go +++ b/pkg/webhook/cluster_roles.go @@ -18,12 +18,13 @@ package webhook import ( "context" - "github.com/devfile/devworkspace-operator/webhook/server" v1 "k8s.io/api/rbac/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" crclient "sigs.k8s.io/controller-runtime/pkg/client" + + "github.com/devfile/devworkspace-operator/webhook/server" ) func CreateWebhookClusterRole(client crclient.Client, @@ -103,6 +104,19 @@ func getSpecClusterRole() (*v1.ClusterRole, error) { "watch", }, }, + { + APIGroups: []string{ + "workspace.devfile.io", + }, + Resources: []string{ + "devworkspaces", + }, + Verbs: []string{ + "get", + "list", + "watch", + }, + }, { APIGroups: []string{ "authentication.k8s.io", diff --git a/webhook/workspace/config.go b/webhook/workspace/config.go index b84eecc78..4eb6efdcb 100644 --- a/webhook/workspace/config.go +++ b/webhook/workspace/config.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -20,24 +20,27 @@ import ( "errors" "fmt" - "sigs.k8s.io/controller-runtime/pkg/manager" - - "github.com/devfile/devworkspace-operator/pkg/config" - "github.com/devfile/devworkspace-operator/pkg/infrastructure" - "github.com/devfile/devworkspace-operator/webhook/server" - admregv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" clientConfig "sigs.k8s.io/controller-runtime/pkg/client/config" + "sigs.k8s.io/controller-runtime/pkg/manager" "sigs.k8s.io/controller-runtime/pkg/webhook" + + "github.com/devfile/devworkspace-operator/pkg/config" + "github.com/devfile/devworkspace-operator/pkg/infrastructure" + "github.com/devfile/devworkspace-operator/webhook/server" + "github.com/devfile/devworkspace-operator/webhook/workspace/handler" ) // Configure configures mutate/validating webhooks that provides exec access into workspace for creator only func Configure(ctx context.Context, mgr manager.Manager) error { log.Info("Configuring devworkspace webhooks") + if err := handler.RegisterDiscoverableEndpointIndex(ctx, mgr.GetFieldIndexer()); err != nil { + return fmt.Errorf("register discoverable endpoint index: %w", err) + } c, err := createClient() if err != nil { return err diff --git a/webhook/workspace/config_test.go b/webhook/workspace/config_test.go new file mode 100644 index 000000000..6f49d07ef --- /dev/null +++ b/webhook/workspace/config_test.go @@ -0,0 +1,45 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package workspace + +import ( + "context" + "errors" + "path/filepath" + "testing" + + "github.com/stretchr/testify/require" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/manager" +) + +// Generated by Codex. +func TestConfigurePropagatesEndpointIndexFailure(t *testing.T) { + t.Setenv("KUBECONFIG", filepath.Join(t.TempDir(), "missing-kubeconfig")) + err := errors.New("cannot register endpoint index") + require.ErrorIs(t, Configure(context.Background(), endpointIndexManager{indexer: failingEndpointIndexer{err: err}}), err) +} + +type endpointIndexManager struct { + manager.Manager + indexer client.FieldIndexer +} + +func (m endpointIndexManager) GetFieldIndexer() client.FieldIndexer { return m.indexer } + +type failingEndpointIndexer struct{ err error } + +func (i failingEndpointIndexer) IndexField(context.Context, client.Object, string, client.IndexerFunc) error { + return i.err +} diff --git a/webhook/workspace/handler/endpoint_cache_test.go b/webhook/workspace/handler/endpoint_cache_test.go new file mode 100644 index 000000000..ad634a1c8 --- /dev/null +++ b/webhook/workspace/handler/endpoint_cache_test.go @@ -0,0 +1,182 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package handler + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "io" + "net/http" + "strings" + "testing" + "time" + + dwv2 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + "github.com/devfile/api/v2/pkg/attributes" + . "github.com/onsi/gomega" + "github.com/stretchr/testify/require" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" + "k8s.io/apimachinery/pkg/watch" + "k8s.io/client-go/rest" + restfake "k8s.io/client-go/rest/fake" + "sigs.k8s.io/controller-runtime/pkg/cache" + "sigs.k8s.io/controller-runtime/pkg/client" +) + +// newEndpointCache uses the real informer, index, and cache reader. Only the API +// transport is synthetic; queries and copies do not pass through a fake client. +// Generated by Codex. +func newEndpointCache(tb testing.TB, peers []dwv2.DevWorkspace) (cache.Cache, *watch.RaceFreeFakeWatcher) { + tb.Helper() + scheme := runtime.NewScheme() + require.NoError(tb, dwv2.AddToScheme(scheme)) + mapper := meta.NewDefaultRESTMapper([]schema.GroupVersion{dwv2.SchemeGroupVersion}) + mapper.Add(dwv2.SchemeGroupVersion.WithKind("DevWorkspace"), meta.RESTScopeNamespace) + events := watch.NewRaceFreeFake() + ready := make(chan struct{}) + list := &dwv2.DevWorkspaceList{ + TypeMeta: metav1.TypeMeta{APIVersion: dwv2.SchemeGroupVersion.String(), Kind: "DevWorkspaceList"}, + ListMeta: metav1.ListMeta{ResourceVersion: "1"}, + Items: peers, + } + initial, err := json.Marshal(list) + require.NoError(tb, err) + httpClient := restfake.CreateHTTPClient(func(req *http.Request) (*http.Response, error) { + if req.Method != http.MethodGet || !strings.HasSuffix(req.URL.Path, "/devworkspaces") { + return nil, fmt.Errorf("unexpected cache request: %s %s", req.Method, req.URL) + } + body := io.NopCloser(bytes.NewReader(initial)) + if req.URL.Query().Get("watch") == "true" { + reader, writer := io.Pipe() + body = reader + go func() { + defer writer.Close() + encoder := json.NewEncoder(writer) + // Support client-go's streaming initial list as well as List+Watch. + if req.URL.Query().Get("sendInitialEvents") == "true" { + for i := range peers { + if err := encoder.Encode(metav1.WatchEvent{Type: string(watch.Added), Object: runtime.RawExtension{Object: &peers[i]}}); err != nil { + return + } + } + bookmark := &dwv2.DevWorkspace{ + TypeMeta: metav1.TypeMeta{APIVersion: dwv2.SchemeGroupVersion.String(), Kind: "DevWorkspace"}, + ObjectMeta: metav1.ObjectMeta{ResourceVersion: "1", Annotations: map[string]string{"k8s.io/initial-events-end": "true"}}, + } + if err := encoder.Encode(metav1.WatchEvent{Type: string(watch.Bookmark), Object: runtime.RawExtension{Object: bookmark}}); err != nil { + return + } + } + close(ready) + for { + select { + case <-req.Context().Done(): + return + case event, ok := <-events.ResultChan(): + if !ok { + return + } + if err := encoder.Encode(metav1.WatchEvent{Type: string(event.Type), Object: runtime.RawExtension{Object: event.Object}}); err != nil { + return + } + } + } + }() + } + return &http.Response{StatusCode: http.StatusOK, Header: http.Header{"Content-Type": {"application/json"}}, Body: body}, nil + }) + ctx, cancel := context.WithCancel(context.Background()) + cached, err := cache.New(&rest.Config{Host: "https://endpoint-cache.test"}, cache.Options{ + Scheme: scheme, Mapper: mapper, HTTPClient: httpClient, + }) + require.NoError(tb, err) + require.NoError(tb, RegisterDiscoverableEndpointIndex(ctx, cached)) + stopped := make(chan error, 1) + go func() { stopped <- cached.Start(ctx) }() + tb.Cleanup(func() { + cancel() + events.Stop() + select { + case err := <-stopped: + require.NoError(tb, err) + case <-time.After(10 * time.Second): + tb.Error("endpoint cache did not stop") + } + }) + syncCtx, cancelSync := context.WithTimeout(ctx, 10*time.Second) + defer cancelSync() + require.True(tb, cached.WaitForCacheSync(syncCtx), "endpoint cache did not sync") + select { + case <-ready: + case <-syncCtx.Done(): + tb.Fatal("endpoint watch did not start") + } + return cached, events +} + +// Generated by Codex. +func TestDiscoverableEndpointCacheLifecycle(t *testing.T) { + cached, events := newEndpointCache(t, nil) + g := NewWithT(t) + query := func(namespace, name string) []dwv2.DevWorkspace { + list := &dwv2.DevWorkspaceList{} + require.NoError(t, cached.List(context.Background(), list, client.InNamespace(namespace), + client.MatchingFields{discoverableEndpointIndex: name})) + return list.Items + } + peer := setupWorkspace(t, "peer", "peer-uid", "test-namespace") + peer.ResourceVersion = "2" + peer.Spec.Template.Components[0].Container.Env = []dwv2.EnvVar{{Name: "ORIGINAL", Value: "original"}} + events.Add(peer.DeepCopy()) + g.Eventually(func() []dwv2.DevWorkspace { return query("test-namespace", "test-endpoint") }, 5*time.Second).Should(HaveLen(1)) + otherNamespace := peer.DeepCopy() + otherNamespace.Namespace = "other-namespace" + otherNamespace.UID = "other-uid" + events.Add(otherNamespace) + g.Eventually(func() []dwv2.DevWorkspace { return query("other-namespace", "test-endpoint") }, 5*time.Second).Should(HaveLen(1)) + items := query("test-namespace", "test-endpoint") + require.Len(t, items, 1) + require.Equal(t, peer.UID, items[0].UID) + container := items[0].Spec.Template.Components[0].Container + container.Endpoints[0].Name = "mutated" + container.Endpoints[0].Attributes = container.Endpoints[0].Attributes.PutBoolean("discoverable", false) + container.Env[0].Value = "mutated" + original := query("test-namespace", "test-endpoint")[0].Spec.Template.Components[0].Container + require.Equal(t, "test-endpoint", original.Endpoints[0].Name) + require.True(t, original.Endpoints[0].Attributes.GetBoolean("discoverable", nil)) + require.Equal(t, "original", original.Env[0].Value) + + peer.ResourceVersion = "3" + peer.Spec.Template.Components[0].Container.Endpoints[0].Name = "updated--endpoint" + peer.Spec.Template.Components[0].Container.Endpoints[0].Attributes = attributes.Attributes{}.PutString("discoverable", "true") + events.Modify(peer.DeepCopy()) + g.Eventually(func() []dwv2.DevWorkspace { return query("test-namespace", "updated-endpoint") }, 5*time.Second).Should(HaveLen(1)) + require.Empty(t, query("test-namespace", "test-endpoint")) + peer.ResourceVersion = "4" + peer.Spec.Template.Components[0].Container.Endpoints[0].Exposure = dwv2.NoneEndpointExposure + events.Modify(peer.DeepCopy()) + g.Eventually(func() []dwv2.DevWorkspace { return query("test-namespace", "updated-endpoint") }, 5*time.Second).Should(BeEmpty()) + peer.ResourceVersion = "5" + peer.Spec.Template.Components[0].Container.Endpoints[0].Exposure = dwv2.InternalEndpointExposure + events.Modify(peer.DeepCopy()) + g.Eventually(func() []dwv2.DevWorkspace { return query("test-namespace", "updated-endpoint") }, 5*time.Second).Should(HaveLen(1)) + events.Delete(peer.DeepCopy()) + g.Eventually(func() []dwv2.DevWorkspace { return query("test-namespace", "updated-endpoint") }, 5*time.Second).Should(BeEmpty()) + require.Len(t, query("other-namespace", "test-endpoint"), 1) +} diff --git a/webhook/workspace/handler/endpoint_contract_test.go b/webhook/workspace/handler/endpoint_contract_test.go new file mode 100644 index 000000000..07a233223 --- /dev/null +++ b/webhook/workspace/handler/endpoint_contract_test.go @@ -0,0 +1,160 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package handler + +import ( + "context" + "testing" + + dwv2 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + "github.com/devfile/api/v2/pkg/attributes" + "github.com/stretchr/testify/require" + admissionv1 "k8s.io/api/admission/v1" + corev1 "k8s.io/api/core/v1" + apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + "sigs.k8s.io/controller-runtime/pkg/webhook/admission" + + controllerv1alpha1 "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/conversion" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" +) + +// Generated by Codex. +func TestDiscoverableEndpointContract(t *testing.T) { + ctx := context.Background() + scheme := runtime.NewScheme() + require.NoError(t, dwv2.AddToScheme(scheme)) + require.NoError(t, corev1.AddToScheme(scheme)) + registration := &endpointIndexRegistration{} + require.NoError(t, RegisterDiscoverableEndpointIndex(ctx, registration)) + serviceClient := fake.NewClientBuilder().WithScheme(scheme).Build() + + exposures := []struct { + name string + value dwv2.EndpointExposure + eligible bool + }{ + {"omitted", "", true}, + {"internal", dwv2.InternalEndpointExposure, true}, + {"public", dwv2.PublicEndpointExposure, true}, + {"none", dwv2.NoneEndpointExposure, false}, + } + // Malformed values cover defensive in-memory behavior, not CRD acceptance. + discoverability := []struct { + name string + raw string + eligible bool + }{ + {"absent", "", false}, + {"empty-map", "", false}, + {"boolean-true", "true", true}, + {"boolean-false", "false", false}, + {"string-true", `"true"`, true}, + {"string-TRUE", `"TRUE"`, true}, + {"string-1", `"1"`, true}, + {"string-false", `"false"`, false}, + {"string-0", `"0"`, false}, + {"string-invalid", `"invalid"`, false}, + {"number", "1", false}, + {"null", "null", false}, + {"object", `{}`, false}, + {"array", `[]`, false}, + } + names := []struct { + raw string + service string + }{ + {"api", "api"}, + {"my--endpoint", "my-endpoint"}, + } + + for _, name := range names { + for _, exposure := range exposures { + for _, discoverable := range discoverability { + t.Run(name.raw+"/"+exposure.name+"/"+discoverable.name, func(t *testing.T) { + workspace := setupWorkspace(t, "varied", "varied-uid", "test-namespace") + endpoint := workspace.Spec.Template.Components[0].Container.Endpoints[0] + endpoint.Name = name.raw + endpoint.Exposure = exposure.value + endpoint.Attributes = nil + if discoverable.name == "empty-map" { + endpoint.Attributes = attributes.Attributes{} + } else if discoverable.raw != "" { + endpoint.Attributes = attributes.Attributes{ + "discoverable": apiextv1.JSON{Raw: []byte(discoverable.raw)}, + } + } + workspace.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{endpoint} + eligible := exposure.eligible && discoverable.eligible + var expected []string + if eligible { + expected = []string{name.service} + } + + t.Run("index", func(t *testing.T) { + require.ElementsMatch(t, expected, registration.extract(workspace)) + }) + t.Run("solver", func(t *testing.T) { + services, err := solvers.GetDiscoverableServicesForEndpoints( + ctx, + map[string]controllerv1alpha1.EndpointList{ + "test-component": conversion.ConvertAllDevfileEndpoints(workspace.Spec.Template.Components[0].Container.Endpoints), + }, solvers.DevWorkspaceMetadata{ + DevWorkspaceId: "workspace-contract", DevWorkspaceName: workspace.Name, Namespace: workspace.Namespace, + }, serviceClient) + require.NoError(t, err) + var serviceNames []string + for _, service := range services { + serviceNames = append(serviceNames, service.Name) + } + require.ElementsMatch(t, expected, serviceNames) + }) + + for _, variedSide := range []string{"incoming", "peer"} { + t.Run(variedSide, func(t *testing.T) { + incoming := setupWorkspace(t, "incoming", "incoming-uid", workspace.Namespace) + peer := setupWorkspace(t, "peer", "peer-uid", workspace.Namespace) + fixed := endpoint + fixed.Name = name.service + fixed.Exposure = dwv2.PublicEndpointExposure + fixed.Attributes = attributes.Attributes{}.PutBoolean("discoverable", true) + incoming.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{fixed} + peer.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{fixed} + if variedSide == "incoming" { + incoming.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{endpoint} + } else { + peer.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{endpoint} + } + handler := &WebhookHandler{ + Client: newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(peer).Build(), + Decoder: admission.NewDecoder(scheme), + } + response := handler.ValidateDevfile(ctx, admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, Namespace: incoming.Namespace, Object: newRawExtension(t, incoming), + }}) + require.Equal(t, !eligible, response.Allowed) + if eligible { + require.Contains(t, response.Result.Message, (&solvers.ServiceConflictError{ + EndpointName: peer.Spec.Template.Components[0].Container.Endpoints[0].Name, WorkspaceName: peer.Name, + }).Error()) + } + }) + } + }) + } + } + } +} diff --git a/webhook/workspace/handler/endpoint_index_test.go b/webhook/workspace/handler/endpoint_index_test.go new file mode 100644 index 000000000..8bf72e2ff --- /dev/null +++ b/webhook/workspace/handler/endpoint_index_test.go @@ -0,0 +1,122 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package handler + +import ( + "context" + "errors" + "fmt" + "testing" + + dwv2 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + "github.com/stretchr/testify/require" + admissionv1 "k8s.io/api/admission/v1" + "k8s.io/apimachinery/pkg/runtime" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/client/fake" + "sigs.k8s.io/controller-runtime/pkg/webhook/admission" +) + +type endpointIndexRegistration struct { + object client.Object + field string + extract client.IndexerFunc + err error +} + +func (r *endpointIndexRegistration) IndexField(_ context.Context, object client.Object, field string, extract client.IndexerFunc) error { + r.object, r.field, r.extract = object, field, extract + return r.err +} + +// Generated by Codex. +func newIndexedWorkspaceClientBuilder(t *testing.T, scheme *runtime.Scheme) *fake.ClientBuilder { + t.Helper() + registration := &endpointIndexRegistration{} + require.NoError(t, RegisterDiscoverableEndpointIndex(context.Background(), registration)) + return fake.NewClientBuilder().WithScheme(scheme).WithIndex(registration.object, registration.field, registration.extract) +} + +func TestRegisterDiscoverableEndpointIndexFailure(t *testing.T) { + err := errors.New("index unavailable") + require.ErrorIs(t, RegisterDiscoverableEndpointIndex(context.Background(), &endpointIndexRegistration{err: err}), err) +} + +// Generated by Codex. +func TestValidateEndpointsListFailure(t *testing.T) { + scheme := runtime.NewScheme() + require.NoError(t, dwv2.AddToScheme(scheme)) + workspace := setupWorkspace(t, "incoming", "incoming-uid", "test-namespace") + err := errors.New("list unavailable") + handler := &WebhookHandler{Client: endpointListFailureClient{err: err}, Decoder: admission.NewDecoder(scheme)} + conflict, got := handler.validateEndpoints(context.Background(), workspace, discoverableEndpointNames(workspace)) + require.ErrorIs(t, got, err) + require.Nil(t, conflict) + response := handler.ValidateDevfile(context.Background(), admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Object: newRawExtension(t, workspace), + }}) + require.False(t, response.Allowed) + require.EqualValues(t, 500, response.Result.Code) + require.Contains(t, response.Result.Message, err.Error()) +} + +type endpointListFailureClient struct { + client.Client + err error +} + +func (c endpointListFailureClient) List(context.Context, client.ObjectList, ...client.ListOption) error { + return c.err +} + +// Generated by Codex. +func TestValidateEndpointsUsesUniqueIndexedQueries(t *testing.T) { + scheme := runtime.NewScheme() + require.NoError(t, dwv2.AddToScheme(scheme)) + workspace := setupWorkspace(t, "incoming", "incoming-uid", "test-namespace") + endpoint := workspace.Spec.Template.Components[0].Container.Endpoints[0] + endpoint.Name = "unique--endpoint" + workspace.Spec.Template.Components[0].Container.Endpoints = append( + workspace.Spec.Template.Components[0].Container.Endpoints, endpoint, endpoint) + registration := &endpointIndexRegistration{} + require.NoError(t, RegisterDiscoverableEndpointIndex(context.Background(), registration)) + require.ElementsMatch(t, []string{"test-endpoint", "unique-endpoint"}, registration.extract(workspace)) + indexed := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(workspace).Build() + queries := &endpointQueryClient{Client: indexed} + handler := &WebhookHandler{Client: queries} + conflict, err := handler.validateEndpoints(context.Background(), workspace, discoverableEndpointNames(workspace)) + require.NoError(t, err) + require.Nil(t, conflict) + require.ElementsMatch(t, []string{"test-endpoint", "unique-endpoint"}, queries.names) +} + +type endpointQueryClient struct { + client.Client + names []string +} + +// Generated by Codex. +func (c *endpointQueryClient) List(ctx context.Context, out client.ObjectList, opts ...client.ListOption) error { + options := (&client.ListOptions{}).ApplyOptions(opts) + if options.Namespace != "test-namespace" || options.FieldSelector == nil { + return fmt.Errorf("endpoint queries must be namespace-scoped and indexed") + } + name, exact := options.FieldSelector.RequiresExactMatch("controller.devfile.io/discoverable-endpoint") + if !exact { + return fmt.Errorf("endpoint queries must select an exact name") + } + c.names = append(c.names, name) + return c.Client.List(ctx, out, opts...) +} diff --git a/webhook/workspace/handler/testdata/test-devworkspace.yaml b/webhook/workspace/handler/testdata/test-devworkspace.yaml new file mode 100644 index 000000000..82fc943e2 --- /dev/null +++ b/webhook/workspace/handler/testdata/test-devworkspace.yaml @@ -0,0 +1,16 @@ +apiVersion: workspace.devfile.io/v1alpha2 +kind: DevWorkspace +metadata: + name: test-devworkspace +spec: + started: true + template: + components: + - name: test-component + container: + image: test-image + endpoints: + - name: test-endpoint + targetPort: 8080 + attributes: + discoverable: "true" \ No newline at end of file diff --git a/webhook/workspace/handler/validate.go b/webhook/workspace/handler/validate.go index 2faa33c88..6d0acc7e1 100644 --- a/webhook/workspace/handler/validate.go +++ b/webhook/workspace/handler/validate.go @@ -1,5 +1,5 @@ // -// Copyright (c) 2019-2025 Red Hat, Inc. +// Copyright (c) 2019-2026 Red Hat, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -23,9 +23,30 @@ import ( dwv2 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" devfilevalidation "github.com/devfile/api/v2/pkg/validation" + admissionv1 "k8s.io/api/admission/v1" + "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/webhook/admission" + + "github.com/devfile/devworkspace-operator/apis/controller/v1alpha1" + "github.com/devfile/devworkspace-operator/controllers/controller/devworkspacerouting/solvers" + "github.com/devfile/devworkspace-operator/pkg/common" ) +const discoverableEndpointIndex = "controller.devfile.io/discoverable-endpoint" + +// RegisterDiscoverableEndpointIndex indexes normalized discoverable Service names in the workspace cache. +// Generated by Codex. +func RegisterDiscoverableEndpointIndex(ctx context.Context, indexer client.FieldIndexer) error { + return indexer.IndexField(ctx, &dwv2.DevWorkspace{}, discoverableEndpointIndex, func(obj client.Object) []string { + names := discoverableEndpointNames(obj.(*dwv2.DevWorkspace)) + values := make([]string, 0, len(names)) + for name := range names { + values = append(values, name) + } + return values + }) +} + func (h *WebhookHandler) ValidateDevfile(ctx context.Context, req admission.Request) admission.Response { wksp := &dwv2.DevWorkspace{} @@ -75,9 +96,124 @@ func (h *WebhookHandler) ValidateDevfile(ctx context.Context, req admission.Requ } } + names := discoverableEndpointNames(wksp) + if h.shouldCheckEndpointConflicts(req, names) { + if wksp.Namespace == "" { + wksp.Namespace = req.Namespace + } + if wksp.Namespace == "" { + return admission.Errored(http.StatusBadRequest, fmt.Errorf("namespace is required to validate discoverable endpoint conflicts")) + } + conflict, err := h.validateEndpoints(ctx, wksp, names) + if err != nil { + return admission.Errored(http.StatusInternalServerError, err) + } + if conflict != nil { + devfileErrors = append(devfileErrors, conflict.Error()) + } + } + if len(devfileErrors) > 0 { return admission.Denied(fmt.Sprintf("\n%s\n", strings.Join(devfileErrors, "\n"))) } return admission.Allowed("No Devfile errors were found") } + +// shouldCheckEndpointConflicts reports whether validateEndpoints needs to run for this request. Newly created +// workspaces with discoverable endpoints need the check, since every discoverable endpoint is new. An empty set +// never needs the check. For updates, a new conflict can only be introduced by a discoverable endpoint name that +// wasn't already present, so the check is skipped unless the new set contains a name that wasn't in the old set. +// This also skips pure removals, which can never introduce a conflict and would otherwise re-reject unrelated edits +// blocked only by a pre-existing conflict on an endpoint the update doesn't touch. +func (h *WebhookHandler) shouldCheckEndpointConflicts(req admission.Request, names map[string]bool) bool { + if len(names) == 0 { + return false + } + + if req.Operation != admissionv1.Update { + return true + } + + oldWorkspace := &dwv2.DevWorkspace{} + if err := h.Decoder.DecodeRaw(req.OldObject, oldWorkspace); err != nil { + return true + } + + oldNames := discoverableEndpointNames(oldWorkspace) + for name := range names { + if !oldNames[name] { + return true + } + } + return false +} + +// discoverableEndpointNames returns the sanitized Service names (see common.EndpointName) of the workspace's +// discoverable endpoints whose exposure is not none. Omitted exposure defaults to public and is included. +// Comparing by the sanitized name, rather than the raw devfile endpoint name, matches the +// actual collision surface: two differently-named endpoints that sanitize to the same value produce the same +// Service name and conflict at reconcile time. +// +// Only Container endpoints are indexed. Direct inline Kubernetes/OpenShift Service components are parsed and +// provisioned during reconciliation, where ownership checks run. +// +// Endpoints contributed via workspace.Spec.Contributions (plugins/parent templates) are invisible here, +// permanently: flatten.ResolveDevWorkspace inlines them only in-memory during reconcile, never back to +// .spec.template, so this field never reflects them, no matter how many times a workspace reconciles. Flattening +// here instead isn't safe either - it requires cluster/network calls unsuitable for a webhook's time budget. +// Such conflicts still surface at reconcile time via Service synchronization, which checks the +// actual Service objects rather than any spec - the same behavior that existed before this check was added. +func discoverableEndpointNames(workspace *dwv2.DevWorkspace) map[string]bool { + discoverableEndpoints := map[string]bool{} + for _, component := range workspace.Spec.Template.Components { + if component.Container != nil { + for _, endpoint := range component.Container.Endpoints { + if endpoint.Exposure != dwv2.NoneEndpointExposure && endpoint.Attributes.GetBoolean(string(v1alpha1.DiscoverableAttribute), nil) { + discoverableEndpoints[common.EndpointName(endpoint.Name)] = true + } + } + } + } + return discoverableEndpoints +} + +// validateEndpoints is best-effort: it reads the current cluster state at admission time, so two concurrent updates +// racing to claim the same endpoint name could both be admitted. The controller-level check in +// Service synchronization remains the authoritative ownership guard against that race. +func (h *WebhookHandler) validateEndpoints(ctx context.Context, workspace *dwv2.DevWorkspace, names map[string]bool) (*solvers.ServiceConflictError, error) { + if len(names) == 0 { + return nil, nil + } + + // Field selectors are ANDed, so query each name separately to find their union. + for name := range names { + workspaceList := &dwv2.DevWorkspaceList{} + if err := h.Client.List(ctx, workspaceList, client.InNamespace(workspace.Namespace), + client.MatchingFields{discoverableEndpointIndex: name}); err != nil { + return nil, err + } + for _, otherWorkspace := range workspaceList.Items { + if otherWorkspace.UID == workspace.UID { + continue + } + for _, component := range otherWorkspace.Spec.Template.Components { + if component.Container != nil { + for _, endpoint := range component.Container.Endpoints { + if endpoint.Exposure != dwv2.NoneEndpointExposure && + endpoint.Attributes.Exists(string(v1alpha1.DiscoverableAttribute)) && + names[common.EndpointName(endpoint.Name)] && + endpoint.Attributes.GetBoolean(string(v1alpha1.DiscoverableAttribute), nil) { + return &solvers.ServiceConflictError{ + EndpointName: endpoint.Name, + WorkspaceName: otherWorkspace.Name, + }, nil + } + } + } + } + } + } + + return nil, nil +} diff --git a/webhook/workspace/handler/validate_test.go b/webhook/workspace/handler/validate_test.go new file mode 100644 index 000000000..722d62603 --- /dev/null +++ b/webhook/workspace/handler/validate_test.go @@ -0,0 +1,759 @@ +// Copyright (c) 2019-2026 Red Hat, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package handler + +import ( + "context" + "encoding/json" + "errors" + "os" + "path/filepath" + "testing" + + dwv2 "github.com/devfile/api/v2/pkg/apis/workspaces/v1alpha2" + "github.com/devfile/api/v2/pkg/attributes" + "github.com/stretchr/testify/assert" + admissionv1 "k8s.io/api/admission/v1" + apiextv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/types" + "sigs.k8s.io/controller-runtime/pkg/client" + "sigs.k8s.io/controller-runtime/pkg/webhook/admission" + "sigs.k8s.io/yaml" +) + +func newRawExtension(t *testing.T, workspace *dwv2.DevWorkspace) runtime.RawExtension { + bytes, err := json.Marshal(workspace) + assert.NoError(t, err, "Failed to marshal workspace") + return runtime.RawExtension{Raw: bytes} +} + +func loadObjectFromFile(objName string, obj client.Object, filename string) error { + path := filepath.Join("testdata", filename) + bytes, err := os.ReadFile(path) + if err != nil { + return err + } + err = yaml.Unmarshal(bytes, obj) + if err != nil { + return err + } + obj.SetName(objName) + return nil +} + +func setupWorkspace(t *testing.T, name, uid, namespace string) *dwv2.DevWorkspace { + workspace := &dwv2.DevWorkspace{} + err := loadObjectFromFile(name, workspace, "test-devworkspace.yaml") + assert.NoError(t, err, "Failed to load workspace") + workspace.SetUID(types.UID(uid)) + workspace.SetNamespace(namespace) + return workspace +} + +func TestValidateEndpoints(t *testing.T) { + scheme := runtime.NewScheme() + _ = dwv2.AddToScheme(scheme) + + t.Run("Conflict in same namespace", func(t *testing.T) { + // Workspace with a discoverable endpoint in namespace "test-namespace" + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + // Another workspace with a conflicting discoverable endpoint in the SAME namespace + otherWorkspaceSameNS := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + + // Test for conflict in same namespace + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspaceSameNS).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err, "Did not expect an infrastructure error") + assert.NotNil(t, conflict, "Expected a conflict for workspaces in the same namespace") + assert.Equal(t, "test-endpoint", conflict.EndpointName, "Conflict should be on 'test-endpoint'") + assert.Equal(t, "workspace-2", conflict.WorkspaceName, "Conflict should reference 'workspace-2'") + }) + + t.Run("No conflict in different namespace", func(t *testing.T) { + // Workspace in "test-namespace" + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + // Another workspace with the same endpoint name but in a DIFFERENT namespace + otherWorkspaceDiffNS := setupWorkspace(t, "workspace-3", "uid-3", "other-namespace") + + // Test no conflict in different namespace (workspace only queries its own namespace) + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspaceDiffNS).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + assert.Nil(t, conflict, "Did not expect a conflict for workspaces in different namespaces") + }) + + t.Run("No conflict when endpoint name is different", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "new-endpoint" + + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + assert.Nil(t, conflict, "Did not expect a conflict for different endpoint names") + }) + + t.Run("Conflict detected even when workspace is being deleted", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + // Workspace being deleted with same endpoint name + deletingWorkspace := setupWorkspace(t, "workspace-deleting", "uid-deleting", "test-namespace") + now := metav1.Now() + deletingWorkspace.DeletionTimestamp = &now + // Add finalizer - required by fake client when setting deletionTimestamp + deletingWorkspace.Finalizers = []string{"test-finalizer"} + + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(deletingWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err, "Did not expect an infrastructure error") + assert.NotNil(t, conflict, "Should detect conflict even with workspace being deleted") + assert.Equal(t, "test-endpoint", conflict.EndpointName, "Conflict should be on 'test-endpoint'") + assert.Equal(t, "workspace-deleting", conflict.WorkspaceName, "Conflict should reference 'workspace-deleting'") + }) + + t.Run("No conflict when workspace has no discoverable endpoints", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + // Remove discoverable attribute + workspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + assert.Nil(t, conflict, "Did not expect a conflict when workspace has no discoverable endpoints") + }) + + t.Run("No conflict when other workspace endpoint is not discoverable", func(t *testing.T) { + // Current workspace has a discoverable endpoint + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + // Other workspace has endpoint with same name but NOT discoverable + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + otherWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + assert.Nil(t, conflict, "Should not conflict when other workspace's endpoint is not discoverable") + }) + + t.Run("Ignores non-discoverable aliases before a discoverable conflict", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "my-endpoint" + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + endpoint := otherWorkspace.Spec.Template.Components[0].Container.Endpoints[0] + otherWorkspace.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{ + {Name: "my---endpoint", TargetPort: 8081, Attributes: nil}, + {Name: "my----endpoint", TargetPort: 8082, Attributes: attributes.Attributes{}}, + {Name: "my-----endpoint", TargetPort: 8083, Attributes: attributes.Attributes{}.PutBoolean("discoverable", false)}, + } + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + assert.Nil(t, conflict, "Sanitized names alone must not make non-discoverable endpoints conflict") + + endpoint.Name = "my--endpoint" + otherWorkspace.Spec.Template.Components[0].Container.Endpoints = append(otherWorkspace.Spec.Template.Components[0].Container.Endpoints, endpoint) + assert.NoError(t, fakeClient.Update(context.TODO(), otherWorkspace)) + conflict, err = handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + if assert.NotNil(t, conflict, "Must continue scanning past non-discoverable aliases") { + assert.Equal(t, "my--endpoint", conflict.EndpointName, "Report the conflicting raw endpoint name") + assert.Equal(t, "workspace-2", conflict.WorkspaceName) + } + }) + + t.Run("Conflict detected when endpoint names differ but sanitize to the same service name", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "my--endpoint" + + // Different raw name, but common.EndpointName collapses repeated hyphens in "my--endpoint" to "-". + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + otherWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "my-endpoint" + + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err, "Did not expect an infrastructure error") + assert.NotNil(t, conflict, "Expected a conflict for endpoint names that sanitize to the same service name") + assert.Equal(t, "my-endpoint", conflict.EndpointName, "Conflict should report the other workspace's raw endpoint name") + assert.Equal(t, "workspace-2", conflict.WorkspaceName, "Conflict should reference 'workspace-2'") + }) + + t.Run("Ignores exposure none before an eligible sanitized alias", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "my-endpoint" + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + ignored := otherWorkspace.Spec.Template.Components[0].Container.Endpoints[0] + ignored.Name = "my---endpoint" + ignored.Exposure = dwv2.NoneEndpointExposure + eligible := ignored + eligible.Name = "my--endpoint" + eligible.Exposure = dwv2.InternalEndpointExposure + eligible.TargetPort = 8081 + otherWorkspace.Spec.Template.Components[0].Container.Endpoints = []dwv2.Endpoint{ignored, eligible} + + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient} + conflict, err := handler.validateEndpoints(context.TODO(), workspace, discoverableEndpointNames(workspace)) + assert.NoError(t, err) + if assert.NotNil(t, conflict, "Must continue scanning past exposure none") { + assert.Equal(t, "my--endpoint", conflict.EndpointName, "Report the eligible raw endpoint name") + assert.Equal(t, "workspace-2", conflict.WorkspaceName) + } + }) + + t.Run("Multiple workspaces in different namespaces can have same endpoint", func(t *testing.T) { + // Workspace 1 in namespace-a + workspace1 := setupWorkspace(t, "workspace-ns-a", "uid-ns-a", "namespace-a") + + // Workspace 2 in namespace-b (will be in the fake client as existing) + workspace2 := setupWorkspace(t, "workspace-ns-b", "uid-ns-b", "namespace-b") + + // Workspace 3 in namespace-c (will be in the fake client as existing) + workspace3 := setupWorkspace(t, "workspace-ns-c", "uid-ns-c", "namespace-c") + + // All three workspaces exist, but in different namespaces + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme). + WithObjects(workspace2, workspace3).Build() + handler := &WebhookHandler{Client: fakeClient} + + // Validating workspace1 should succeed (different namespaces) + conflict, err := handler.validateEndpoints(context.TODO(), workspace1, discoverableEndpointNames(workspace1)) + assert.NoError(t, err) + assert.Nil(t, conflict, "Should allow same endpoint name in different namespaces") + }) +} + +func TestValidateDevfilePeerDiscoverability(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, dwv2.AddToScheme(scheme)) + for _, name := range []string{"test--endpoint", "different-endpoint"} { + for _, test := range []struct { + name string + raw string + discovered bool + }{ + {"missing", "", false}, + {"boolean true", "true", true}, + {"boolean false", "false", false}, + {"string true", `"true"`, true}, + {"string uppercase true", `"TRUE"`, true}, + {"string one", `"1"`, true}, + {"string false", `"false"`, false}, + {"string zero", `"0"`, false}, + {"malformed string", `"invalid"`, false}, + {"number", "1", false}, + {"null", "null", false}, + {"object", "{}", false}, + } { + t.Run(name+"/"+test.name, func(t *testing.T) { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "test-namespace") + peer := setupWorkspace(t, "peer", "peer-uid", "test-namespace") + endpoint := &peer.Spec.Template.Components[0].Container.Endpoints[0] + endpoint.Name = name + endpoint.Attributes = nil + if test.raw != "" { + endpoint.Attributes = attributes.Attributes{"discoverable": apiextv1.JSON{Raw: []byte(test.raw)}} + } + handler := &WebhookHandler{ + Client: newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(peer).Build(), + Decoder: admission.NewDecoder(scheme), + } + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Object: newRawExtension(t, workspace), + }} + response := handler.ValidateDevfile(context.Background(), req) + wantConflict := name == "test--endpoint" && test.discovered + assert.Equal(t, !wantConflict, response.Allowed) + if wantConflict { + assert.Contains(t, response.Result.Message, name, "Report the raw peer name") + assert.Contains(t, response.Result.Message, peer.Name) + } + }) + } + } +} + +func TestShouldCheckEndpointConflicts(t *testing.T) { + scheme := runtime.NewScheme() + _ = dwv2.AddToScheme(scheme) + handler := &WebhookHandler{Decoder: admission.NewDecoder(scheme)} + + t.Run("Skips decoding on update with no discoverable endpoints", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + OldObject: runtime.RawExtension{Raw: []byte("not-json")}, + }} + handler := &WebhookHandler{} + + assert.NotPanics(t, func() { + assert.False(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(workspace)), "An empty incoming endpoint set needs no conflict check or old-object decoding") + }) + }) + + t.Run("Always checks on create", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Object: newRawExtension(t, workspace), + }} + assert.True(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(workspace)), "Create requests must always be checked") + }) + + t.Run("Skips check on update when discoverable endpoints are unchanged", func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace.Spec.Started = !oldWorkspace.Spec.Started + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + assert.False(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace)), "Unrelated update should skip the check") + }) + + t.Run("Checks on update when a discoverable endpoint is added", func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newEndpoint := newWorkspace.Spec.Template.Components[0].Container.Endpoints[0] + newEndpoint.Name = "another-endpoint" + newWorkspace.Spec.Template.Components[0].Container.Endpoints = append( + newWorkspace.Spec.Template.Components[0].Container.Endpoints, newEndpoint) + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + assert.True(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace)), "Adding a discoverable endpoint must trigger the check") + }) + + t.Run("Skips check on update when a discoverable endpoint is only removed", func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + secondEndpoint := oldWorkspace.Spec.Template.Components[0].Container.Endpoints[0] + secondEndpoint.Name = "second-endpoint" + oldWorkspace.Spec.Template.Components[0].Container.Endpoints = append( + oldWorkspace.Spec.Template.Components[0].Container.Endpoints, secondEndpoint) + + // newWorkspace keeps only the first endpoint - the second one was removed, nothing was added. + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + assert.False(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace)), "Removing a discoverable endpoint must not trigger the check") + }) + + t.Run("Skips check on update when a discoverable endpoint is renamed to the same sanitized service name", func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + oldWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "my--endpoint" + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + // Collapsing repeated hyphens gives the same Service name, so the rename introduces no new conflict. + newWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "my-endpoint" + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + assert.False(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace)), "Renaming to a name that sanitizes to the same service name should skip the check") + }) + + t.Run("Checks on update when the old object cannot be decoded", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, workspace), + OldObject: runtime.RawExtension{Raw: []byte("not-json")}, + }} + assert.True(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(workspace)), "Decode failures must fail safe by running the check") + }) + + t.Run("Checks on update when a discoverable endpoint is renamed", func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Name = "renamed-endpoint" + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + assert.True(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace)), "Renaming a discoverable endpoint must trigger the check") + }) + + t.Run("Checks on update when an endpoint becomes discoverable", func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + oldWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + assert.True(t, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace)), "An endpoint becoming discoverable must trigger the check") + }) +} + +func TestValidateDevfileEndpointConflictGating(t *testing.T) { + scheme := runtime.NewScheme() + _ = dwv2.AddToScheme(scheme) + + t.Run("Denies invalid events with no discoverable endpoints and a malformed old object", func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + workspace.Spec.Template.Events = &dwv2.Events{DevWorkspaceEvents: dwv2.DevWorkspaceEvents{PreStart: []string{"missing-command"}}} + handler := &WebhookHandler{Decoder: admission.NewDecoder(scheme)} + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, workspace), + OldObject: runtime.RawExtension{Raw: []byte("not-json")}, + }} + + resp := handler.ValidateDevfile(context.TODO(), req) + assert.False(t, resp.Allowed, "Skipping endpoint checks must still validate events") + assert.Contains(t, resp.Result.Message, "preStart type events are invalid") + assert.Contains(t, resp.Result.Message, "missing-command does not map to a valid devfile command") + }) + + t.Run("Allows an unrelated update even though another workspace already has a conflicting endpoint", func(t *testing.T) { + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient, Decoder: admission.NewDecoder(scheme)} + + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + // Unrelated change: the discoverable endpoint set is identical to oldWorkspace's. + newWorkspace.Spec.Started = !oldWorkspace.Spec.Started + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + + resp := handler.ValidateDevfile(context.TODO(), req) + assert.True(t, resp.Allowed, "Update unrelated to endpoints must be allowed even though a real conflict exists, proving the check was skipped") + }) + + t.Run("Denies an update that introduces a new conflicting discoverable endpoint", func(t *testing.T) { + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient, Decoder: admission.NewDecoder(scheme)} + + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + // Old workspace has no discoverable endpoints yet. + oldWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + + // New workspace makes "test-endpoint" discoverable, which now conflicts with otherWorkspace. + newWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + + resp := handler.ValidateDevfile(context.TODO(), req) + assert.False(t, resp.Allowed, "Update introducing a new conflicting discoverable endpoint must be denied") + assert.Contains(t, resp.Result.Message, "test-endpoint") + assert.Contains(t, resp.Result.Message, "workspace-2") + }) + + t.Run("Denies adding a unique endpoint while retaining an existing conflicting endpoint", func(t *testing.T) { + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + fakeClient := newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + handler := &WebhookHandler{Client: fakeClient, Decoder: admission.NewDecoder(scheme)} + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + newWorkspace := oldWorkspace.DeepCopy() + endpoint := newWorkspace.Spec.Template.Components[0].Container.Endpoints[0] + endpoint.Name = "unique-endpoint" + endpoint.TargetPort = 8081 + newWorkspace.Spec.Template.Components[0].Container.Endpoints = append( + newWorkspace.Spec.Template.Components[0].Container.Endpoints, endpoint) + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + + resp := handler.ValidateDevfile(context.TODO(), req) + assert.False(t, resp.Allowed, "Adding a name must validate the full incoming endpoint set") + assert.Contains(t, resp.Result.Message, "test-endpoint") + assert.Contains(t, resp.Result.Message, "workspace-2") + }) +} + +func TestValidateDevfileEndpointExposure(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, dwv2.AddToScheme(scheme)) + + for _, tc := range []struct { + name string + incoming dwv2.EndpointExposure + existing dwv2.EndpointExposure + allowed bool + withoutClient bool + }{ + {name: "Incoming none allows a matching eligible endpoint", incoming: dwv2.NoneEndpointExposure, existing: dwv2.PublicEndpointExposure, allowed: true}, + {name: "Incoming none skips List", incoming: dwv2.NoneEndpointExposure, existing: dwv2.PublicEndpointExposure, allowed: true, withoutClient: true}, + {name: "Existing none does not block admission", incoming: dwv2.PublicEndpointExposure, existing: dwv2.NoneEndpointExposure, allowed: true}, + {name: "Internal endpoints conflict", incoming: dwv2.InternalEndpointExposure, existing: dwv2.InternalEndpointExposure}, + {name: "Public endpoints conflict", incoming: dwv2.PublicEndpointExposure, existing: dwv2.PublicEndpointExposure}, + {name: "Omitted exposure defaults to public and conflicts"}, + } { + t.Run(tc.name, func(t *testing.T) { + workspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + workspace.Spec.Template.Components[0].Container.Endpoints[0].Exposure = tc.incoming + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + otherWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Exposure = tc.existing + handler := &WebhookHandler{Decoder: admission.NewDecoder(scheme)} + if !tc.withoutClient { + handler.Client = newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + } + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Object: newRawExtension(t, workspace), + }} + + assert.NotPanics(t, func() { + resp := handler.ValidateDevfile(context.TODO(), req) + assert.Equal(t, tc.allowed, resp.Allowed, "Unexpected admission result: %v", resp.Result) + if !tc.allowed { + assert.Contains(t, resp.Result.Message, "test-endpoint") + assert.Contains(t, resp.Result.Message, "workspace-2") + } + }) + }) + } +} + +func TestValidateDevfileEndpointExposureChanges(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, dwv2.AddToScheme(scheme)) + + for _, tc := range []struct { + name string + before dwv2.EndpointExposure + after dwv2.EndpointExposure + check bool + }{ + {"none to internal", dwv2.NoneEndpointExposure, dwv2.InternalEndpointExposure, true}, + {"none to public", dwv2.NoneEndpointExposure, dwv2.PublicEndpointExposure, true}, + {"none to omitted", dwv2.NoneEndpointExposure, "", true}, + {"internal to none", dwv2.InternalEndpointExposure, dwv2.NoneEndpointExposure, false}, + {"public to none", dwv2.PublicEndpointExposure, dwv2.NoneEndpointExposure, false}, + {"omitted to none", "", dwv2.NoneEndpointExposure, false}, + {"internal to public", dwv2.InternalEndpointExposure, dwv2.PublicEndpointExposure, false}, + {"public to internal", dwv2.PublicEndpointExposure, dwv2.InternalEndpointExposure, false}, + } { + t.Run(tc.name, func(t *testing.T) { + oldWorkspace := setupWorkspace(t, "workspace-1", "uid-1", "test-namespace") + oldWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Exposure = tc.before + newWorkspace := oldWorkspace.DeepCopy() + newWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Exposure = tc.after + handler := &WebhookHandler{Decoder: admission.NewDecoder(scheme)} + if tc.check { + otherWorkspace := setupWorkspace(t, "workspace-2", "uid-2", "test-namespace") + handler.Client = newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(otherWorkspace).Build() + } + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Update, + Object: newRawExtension(t, newWorkspace), + OldObject: newRawExtension(t, oldWorkspace), + }} + + assert.Equal(t, tc.check, handler.shouldCheckEndpointConflicts(req, discoverableEndpointNames(newWorkspace))) + assert.NotPanics(t, func() { + resp := handler.ValidateDevfile(context.TODO(), req) + assert.Equal(t, !tc.check, resp.Allowed, "Unexpected admission result: %v", resp.Result) + if tc.check { + assert.Contains(t, resp.Result.Message, "test-endpoint") + assert.Contains(t, resp.Result.Message, "workspace-2") + } + }) + }) + } +} + +// Generated by Codex. +func TestValidateDevfileNamespaceFallback(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, dwv2.AddToScheme(scheme)) + + for _, operation := range []admissionv1.Operation{admissionv1.Create, admissionv1.Update} { + for _, tc := range []struct { + name string + peerNamespace string + allowed bool + }{ + {name: "same request namespace conflicts", peerNamespace: "request-namespace", allowed: false}, + {name: "different namespace is allowed", peerNamespace: "other-namespace", allowed: true}, + } { + t.Run(string(operation)+"/"+tc.name, func(t *testing.T) { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "") + peer := setupWorkspace(t, "peer", "peer-uid", tc.peerNamespace) + handler := &WebhookHandler{ + Client: newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(peer).Build(), + Decoder: admission.NewDecoder(scheme), + } + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: operation, + Namespace: "request-namespace", + Object: newRawExtension(t, workspace), + }} + if operation == admissionv1.Update { + oldWorkspace := setupWorkspace(t, "incoming", "incoming-uid", "") + oldWorkspace.Spec.Template.Components[0].Container.Endpoints[0].Attributes = nil + req.OldObject = newRawExtension(t, oldWorkspace) + } + + response := handler.ValidateDevfile(context.Background(), req) + assert.Equal(t, tc.allowed, response.Allowed, "Unexpected admission response: %v", response.Result) + }) + } + } + + for _, tc := range []struct { + name string + peerNamespace string + allowed bool + }{ + {name: "object namespace wins", peerNamespace: "object-namespace", allowed: false}, + {name: "request namespace is ignored", peerNamespace: "request-namespace", allowed: true}, + } { + t.Run("explicit namespace/"+tc.name, func(t *testing.T) { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "object-namespace") + peer := setupWorkspace(t, "peer", "peer-uid", tc.peerNamespace) + handler := &WebhookHandler{ + Client: newIndexedWorkspaceClientBuilder(t, scheme).WithObjects(peer).Build(), + Decoder: admission.NewDecoder(scheme), + } + response := handler.ValidateDevfile(context.Background(), admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Namespace: "request-namespace", + Object: newRawExtension(t, workspace), + }}) + assert.Equal(t, tc.allowed, response.Allowed, "Unexpected admission response: %v", response.Result) + }) + } + + t.Run("lookup failure with request namespace returns internal error", func(t *testing.T) { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "") + lookupErr := errors.New("list unavailable") + lookupClient := &endpointQueryClient{Client: endpointListFailureClient{err: lookupErr}} + handler := &WebhookHandler{Client: lookupClient, Decoder: admission.NewDecoder(scheme)} + response := handler.ValidateDevfile(context.Background(), admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Namespace: "test-namespace", + Object: newRawExtension(t, workspace), + }}) + assert.False(t, response.Allowed) + assert.EqualValues(t, 500, response.Result.Code) + assert.Contains(t, response.Result.Message, lookupErr.Error()) + }) +} + +// Generated by Codex. +func TestValidateDevfileNamespaceMissing(t *testing.T) { + scheme := runtime.NewScheme() + assert.NoError(t, dwv2.AddToScheme(scheme)) + handler := &WebhookHandler{Decoder: admission.NewDecoder(scheme)} + + t.Run("required namespace returns bad request before listing", func(t *testing.T) { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "") + var response admission.Response + assert.NotPanics(t, func() { + response = handler.ValidateDevfile(context.Background(), admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: admissionv1.Create, + Object: newRawExtension(t, workspace), + }}) + }) + if response.Result == nil { + return + } + assert.False(t, response.Allowed) + assert.EqualValues(t, 400, response.Result.Code) + assert.Equal(t, "namespace is required to validate discoverable endpoint conflicts", response.Result.Message) + }) + + for _, tc := range []struct { + name string + operation admissionv1.Operation + workspace *dwv2.DevWorkspace + oldWorkspace *dwv2.DevWorkspace + }{ + { + name: "create with no discoverable endpoints", + operation: admissionv1.Create, + workspace: func() *dwv2.DevWorkspace { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "") + workspace.Spec.Template.Components[0].Container.Endpoints = nil + return workspace + }(), + }, + { + name: "unchanged update", + operation: admissionv1.Update, + workspace: setupWorkspace(t, "incoming", "incoming-uid", ""), + oldWorkspace: setupWorkspace(t, "incoming", "incoming-uid", ""), + }, + { + name: "removal-only update", + operation: admissionv1.Update, + workspace: setupWorkspace(t, "incoming", "incoming-uid", ""), + oldWorkspace: func() *dwv2.DevWorkspace { + workspace := setupWorkspace(t, "incoming", "incoming-uid", "") + secondEndpoint := workspace.Spec.Template.Components[0].Container.Endpoints[0] + secondEndpoint.Name = "second-endpoint" + workspace.Spec.Template.Components[0].Container.Endpoints = append( + workspace.Spec.Template.Components[0].Container.Endpoints, secondEndpoint) + return workspace + }(), + }, + } { + t.Run(tc.name, func(t *testing.T) { + req := admission.Request{AdmissionRequest: admissionv1.AdmissionRequest{ + Operation: tc.operation, + Object: newRawExtension(t, tc.workspace), + }} + if tc.oldWorkspace != nil { + req.OldObject = newRawExtension(t, tc.oldWorkspace) + } + response := handler.ValidateDevfile(context.Background(), req) + assert.True(t, response.Allowed, "Unexpected admission response: %v", response.Result) + }) + } +}