- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for convertResources (0.15 sec)
-
pilot/pkg/config/kube/gateway/fuzz_test.go
package gateway import ( "testing" "istio.io/istio/pkg/fuzz" ) func FuzzConvertResources(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { r := fuzz.Struct[GatewayResources](fg) convertResources(r) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 25 15:27:36 UTC 2023 - 802 bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion_test.go
Services: services, Instances: instances, }) kr := splitInput(t, input) kr.Context = NewGatewayContext(cg.PushContext(), "Kubernetes") output := convertResources(kr) output.AllowedReferences = AllowedReferences{} // Not tested here output.ReferencedNamespaceKeys = nil // Not tested here output.ResourceReferences = nil // Not tested here
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 20:24:52 UTC 2024 - 34.9K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/controller.go
credentials, err := c.credentialsController.ForCluster(c.cluster) if err != nil { return fmt.Errorf("failed to get credentials: %v", err) } input.Credentials = credentials } output := convertResources(input) // Handle all status updates c.QueueStatusUpdates(input) c.stateMu.Lock() defer c.stateMu.Unlock() c.state = output return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 13.5K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
return in < jn } return configs[i].CreationTimestamp.Before(configs[j].CreationTimestamp) }) } // convertResources is the top level entrypoint to our conversion logic, computing the full state based // on KubernetesResources inputs. func convertResources(r GatewayResources) IstioResources { // sort HTTPRoutes by creation timestamp and namespace/name sortConfigByCreationTime(r.HTTPRoute)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0)